{
  "openapi": "3.0.1",
  "info": {
    "title": "Portal API",
    "version": "1.0",
    "description": "\n<h1>Authentication</h1> In order to use APIs you need to obtain a JWT token. To do so, you must authenticate using mTLS (Mutal TLS Client Authentication) or OAuth 2.0 client credentials depending on your configuration.<br> <h3>Authenticate and obtain a token with OAuth 2.0 client credentials</h3> <pre> <code>curl -X POST &quot;PORTAL_API_URL/oauth2/v2.0/token&quot; &#92;<br> --data &quot;grant_type=client_credentials&client_id=[CLIENTID]&client_secret=[CLIENTSECRET]&quot; </code> </pre>\n<h3>Authenticate and obtain a token with OAuth2 mTLS</h3> <pre> <code>curl --cacert ca.crt &#92;<br> --key client.key &#92;<br> --cert client.crt &#92;<br> PORTAL_API_URL/oauth2/v2.0/token </code> </pre>\n<h3>Call API using JWT Bearer token</h3> Then you can use the OAuth 2.0 bearer token to call the API. You need to add the token to the Authorization header of your request. For example: <br> <pre> <code>curl -k PORTAL_API_URL/devices/v1.0/organizations/[ORGANIZATIONID] &#92;<br> -H &quot;Accept: application/json&quot; &#92;<br> -H &quot;Authorization: Bearer YOUR_SECRET_TOKEN&quot; </code> </pre>\n<h1>OrganizationCode</h1> In each query you must specify your organizationCode.\n<h1>Filters, sorts and pagination</h1> The API uses Sieve grammar, extensive documentation can be found here:<br> <a href='https://github.com/Biarity/Sieve/blob/master/README.md#send-a-request' target='_blank'>https://github.com/Biarity/Sieve/blob/master/README.md#send-a-request</a> <br> <br> You can send GET requests that includes a sort/filter/page query: <br> <pre> <code>?sorts=     LikeCount,CommentCount,-created         // sort by likes, then comments, then descendingly by date created <br> &filters=   types==Infra Access|Security Investigations, Title@=awesome title,     // filter on item type 'Infra Acces' OR 'Security Investigations', and a title that contains the phrase 'awesome title' <br> &page=      1                                       // get the first page... <br> &pageSize=  10                                      // ...which contains 10 items </code> </pre> <br>\n<h2>More formally</h2> <ul><b>sorts</b> is a comma-delimited ordered list of property names to sort by. Adding a <b>-</b> before the name switches to sorting <b>descendingly</b>.<br></ul> <ul><b>filters</b> is a comma-delimited list of Name-Operator-Value where : <br> <ul><b>name</b> is the name of a property with the Sieve attribute or the name of a custom filter method for resource.<br> You can also have multiple names (for OR logic) by enclosing them in brackets and using a pipe delimiter, eg. (LikeCount|CommentCount)>10 asks if LikeCount or CommentCount is > 10.<br></ul> <ul><b>operator</b> is one of the Operators.<br></ul> <ul><b>Value</b> is the value to use for filtering.<br> You can also have multiple values (for OR logic) by using a pipe delimiter, eg. Title@=new|hot will return posts with titles that contain the text 'new' or 'hot'.<br></ul></ul> <ul><b>page</b> is the number of page to return.<br></ul> <ul><b>pageSize</b> is the number of items returned per page. Maximum value is 1000<br></ul> <br> <ul>You can use backslashes to escape special characters and sequences.</ul> <ul>You can have spaces anywhere except within Name or Operator fields <br></ul> <br> <h3>Operators</h3> <table> <tr> <td>Operator</td> <td>Meaning</td> </tr>   <tr> <td>`==`</td> <td>Equals</td> </tr> <tr> <td>`!=`</td> <td>Not equals</td> </tr>\t <tr> <td>`>`</td> <td> Greater than</td> </tr>\t\t\t <tr> <td>`<`</td> <td> Less than</td> </tr>\t\t  \t <tr> <td>`>=`</td> <td> Greater than or equal to </td> </tr> <tr> <td>`<=`</td> <td> Less than or equal to </td> </tr> <tr> <td>`@=`</td> <td> Contains </td> </tr> <tr> <td>`_=`</td> <td> Starts with </td> </tr> <tr> <td>`_-=`</td> <td> Ends with </td> </tr> <tr> <td>`!@=`</td> <td> Does not Contains </td> </tr> <tr> <td>`!_=`</td> <td> Does not Starts with </td> </tr> <tr> <td>`!_-=`</td> <td> Does not Ends with </td> </tr> <tr> <td>`@=*`</td> <td> Case-insensitive string Contains </td> </tr> <tr> <td>`_=*`</td> <td> Case-insensitive string Starts with </td> </tr> <tr> <td>`_-=*`</td> <td> Case-insensitive string Ends with </td> </tr> <tr> <td>`==*`</td> <td> Case-insensitive string Equals </td> </tr> <tr> <td>`!=*`</td> <td> Case-insensitive string Not equals </td> </tr> <tr> <td>`!@=*`</td> <td> Case-insensitive string does not Contains </td> </tr> <tr> <td>`!_=*`</td> <td> Case-insensitive string does not Starts with </td> </tr> </table> <br> <h1>Search Query</h1> Each endpoints that return many items can be filtered using a search query. The search query is a string that can contain multiple words. It is applied to fields relevant to the entity in question. Quotation marks can be used to group words together.<br><br> **For example:**<br> XXX\tFilter items that contain XXX XXX YYY\tFilter items that contain either XXX or YYY<br> \"XXX YYY\"\tFilter items that contain XXX YYY<br> \"XXX YY\" AAA\tFilter items that contain XXX YY or AAA<br> \"X Y\" \"XX YY\"\tFilter items that contain either X Y or XX YY<br>\n<h1>Date Format</h1> All dates and times sent or received by the API are in ISO 8601 format, for example 2023-05-16T00:00:00.000Z. The timezone is always UTC. <br><br> <h1>APIs</h1>",
    "x-logo": {
      "url": "https://portal.hacknowledge.ch/assets/logos/spcs.svg",
      "backgroundColor": "#FFFFFF",
      "altText": "Swiss Post Cybersecurity"
    }
  },
  "tags": [
    {
      "name": "hk-sofa-srv-kaduu_Health",
      "description": "Health Check",
      "x-displayName": "Health"
    },
    {
      "name": "hk-sofa-srv-kaduu_Disclaimer",
      "x-displayName": "Disclaimer"
    },
    {
      "name": "hk-sofa-srv-kaduu_Internal",
      "x-displayName": "Internal"
    },
    {
      "name": "hk-sofa-srv-kaduu_InternetPresence",
      "x-displayName": "InternetPresence"
    },
    {
      "name": "hk-sofa-srv-kaduu_Keyword",
      "x-displayName": "Keyword"
    },
    {
      "name": "hk-sofa-srv-kaduu_permissions",
      "x-displayName": "permissions"
    },
    {
      "name": "hk-sofa-srv-kaduu_roles",
      "x-displayName": "roles"
    },
    {
      "name": "hk-sofa-srv-kaduu_users",
      "x-displayName": "users"
    },
    {
      "name": "hk-sofa-srv-vulns_Assets",
      "description": "Assets endpoints",
      "x-displayName": "Assets"
    },
    {
      "name": "hk-sofa-srv-vulns_AssetsExport",
      "description": "Assets Export",
      "x-displayName": "AssetsExport"
    },
    {
      "name": "hk-sofa-srv-vulns_FindingsExport",
      "description": "Assets Export",
      "x-displayName": "FindingsExport"
    },
    {
      "name": "hk-sofa-srv-vulns_Groups",
      "description": "Groups endpoints",
      "x-displayName": "Groups"
    },
    {
      "name": "hk-sofa-srv-vulns_Jobs",
      "description": "Jobs endpoints",
      "x-displayName": "Jobs"
    },
    {
      "name": "hk-sofa-srv-vulns_Scans",
      "description": "Scans endpoints",
      "x-displayName": "Scans"
    },
    {
      "name": "hk-sofa-srv-vulns_ScanType",
      "description": "Scan trust type endpoints",
      "x-displayName": "ScanType"
    },
    {
      "name": "hk-sofa-srv-vulns_Tags",
      "description": "Tags endpoints",
      "x-displayName": "Tags"
    },
    {
      "name": "hk-sofa-srv-vulns_Vulns",
      "description": "Vulns endpoints",
      "x-displayName": "Vulns"
    },
    {
      "name": "hk-sofa-srv-vulns_VulnsExport",
      "description": "Vulns Export",
      "x-displayName": "VulnsExport"
    },
    {
      "name": "hk-sofa-srv-vulns_Zones",
      "description": "Assets endpoints",
      "x-displayName": "Zones"
    },
    {
      "name": "hk-sofa-srv-vulns_Health",
      "description": "Health Check",
      "x-displayName": "Health"
    },
    {
      "name": "hk-sofa-srv-vulns_IngestionRules",
      "x-displayName": "IngestionRules"
    },
    {
      "name": "hk-sofa-srv-vulns_permissions",
      "x-displayName": "permissions"
    },
    {
      "name": "hk-sofa-srv-vulns_PurgeRules",
      "x-displayName": "PurgeRules"
    },
    {
      "name": "hk-sofa-srv-vulns_roles",
      "x-displayName": "roles"
    },
    {
      "name": "hk-sofa-srv-vulns_users",
      "x-displayName": "users"
    },
    {
      "name": "hk-sofa-usecases_UsecasesExport",
      "description": "Usecases Export",
      "x-displayName": "UsecasesExport"
    },
    {
      "name": "hk-sofa-usecases_Sync",
      "description": "Sync Endpoints",
      "x-displayName": "Sync"
    },
    {
      "name": "hk-sofa-usecases_Usecases",
      "description": "Endpoints",
      "x-displayName": "Usecases"
    },
    {
      "name": "hk-sofa-usecases_Internal",
      "x-displayName": "Internal"
    },
    {
      "name": "hk-sofa-usecases_Mitre",
      "x-displayName": "Mitre"
    },
    {
      "name": "hk-sofa-srv-anyrun_Analysis",
      "x-displayName": "Analysis"
    },
    {
      "name": "hk-sofa-srv-anyrun_Health Check",
      "x-displayName": "Health Check"
    },
    {
      "name": "hk-sofa-tickets_CostCenter",
      "description": "Cost Center Endpoints",
      "x-displayName": "CostCenter"
    },
    {
      "name": "hk-sofa-tickets_Export",
      "description": "Ticket Export",
      "x-displayName": "Export"
    },
    {
      "name": "hk-sofa-tickets_Hook",
      "description": "Hook Endpoints",
      "x-displayName": "Hook"
    },
    {
      "name": "hk-sofa-tickets_Jobs",
      "description": "Jobs Endpoints",
      "x-displayName": "Jobs"
    },
    {
      "name": "hk-sofa-tickets_Project",
      "description": "Project Metadata",
      "x-displayName": "Project"
    },
    {
      "name": "hk-sofa-tickets_Stats",
      "description": "Stats Endpoints",
      "x-displayName": "Stats"
    },
    {
      "name": "hk-sofa-tickets_Subscriptions",
      "description": "Subscriptions Endpoints",
      "x-displayName": "Subscriptions"
    },
    {
      "name": "hk-sofa-tickets_Sync",
      "description": "Sync Endpoints",
      "x-displayName": "Sync"
    },
    {
      "name": "hk-sofa-tickets_Templates",
      "description": "Templates Endpoints",
      "x-displayName": "Templates"
    },
    {
      "name": "hk-sofa-tickets_Tickets",
      "description": "Tickets Endpoints",
      "x-displayName": "Tickets"
    },
    {
      "name": "hk-sofa-tickets_Uploads",
      "description": "Uploads endpoints",
      "x-displayName": "Uploads"
    },
    {
      "name": "hk-sofa-tickets_Dashboard",
      "x-displayName": "Dashboard"
    },
    {
      "name": "hk-sofa-tickets_Internal",
      "x-displayName": "Internal"
    },
    {
      "name": "hk-sofa-srv-reporting_Health",
      "description": "Health Check",
      "x-displayName": "Health"
    },
    {
      "name": "hk-sofa-srv-reporting_Datasource",
      "x-displayName": "Datasource"
    },
    {
      "name": "hk-sofa-srv-reporting_permissions",
      "x-displayName": "permissions"
    },
    {
      "name": "hk-sofa-srv-reporting_Report",
      "x-displayName": "Report"
    },
    {
      "name": "hk-sofa-srv-reporting_roles",
      "x-displayName": "roles"
    },
    {
      "name": "hk-sofa-srv-reporting_Template",
      "x-displayName": "Template"
    },
    {
      "name": "hk-sofa-srv-reporting_users",
      "x-displayName": "users"
    },
    {
      "name": "hk-sofa-incidents_CallTrees",
      "description": "CallTrees endpoints",
      "x-displayName": "CallTrees"
    },
    {
      "name": "hk-sofa-incidents_Export",
      "description": "Incident Export",
      "x-displayName": "Export"
    },
    {
      "name": "hk-sofa-incidents_Incidents",
      "description": "Incident endpoints",
      "x-displayName": "Incidents"
    },
    {
      "name": "hk-sofa-incidents_Jobs",
      "description": "Jobs Endpoints",
      "x-displayName": "Jobs"
    },
    {
      "name": "hk-sofa-incidents_NotificationRule",
      "description": "Notification rules endpoints",
      "x-displayName": "NotificationRule"
    },
    {
      "name": "hk-sofa-incidents_Satisfaction",
      "description": "Satisfaction endpoints",
      "x-displayName": "Satisfaction"
    },
    {
      "name": "hk-sofa-incidents_Splunk",
      "description": "Splunk incidents endpoints",
      "x-displayName": "Splunk"
    },
    {
      "name": "hk-sofa-incidents_Template",
      "description": "Templates endpoints",
      "x-displayName": "Template"
    },
    {
      "name": "hk-sofa-incidents_Uploads",
      "description": "Uploads endpoints",
      "x-displayName": "Uploads"
    },
    {
      "name": "hk-sofa-incidents_Dashboard",
      "x-displayName": "Dashboard"
    },
    {
      "name": "hk-sofa-incidents_Internal",
      "x-displayName": "Internal"
    },
    {
      "name": "hk-sofa-incidents_Organization",
      "x-displayName": "Organization"
    },
    {
      "name": "hk-sofa-incidents_Hook",
      "x-displayName": "Hook"
    },
    {
      "name": "hk-sofa-incidents_NotificationGroup",
      "x-displayName": "NotificationGroup"
    },
    {
      "name": "hk-sofa-incidents_Sync",
      "x-displayName": "Sync"
    },
    {
      "name": "hk-sofa-authentifier_Auth",
      "description": "Endpoints",
      "x-displayName": "Auth"
    },
    {
      "name": "hk-sofa-authentifier_Contractual",
      "description": "Endpoints",
      "x-displayName": "Contractual"
    },
    {
      "name": "hk-sofa-authentifier_Information",
      "description": "Endpoints",
      "x-displayName": "Information"
    },
    {
      "name": "hk-sofa-authentifier_Jobs",
      "description": "Jobs Endpoints",
      "x-displayName": "Jobs"
    },
    {
      "name": "hk-sofa-authentifier_Permissions",
      "description": "Endpoints",
      "x-displayName": "Permissions"
    },
    {
      "name": "hk-sofa-authentifier_PermissionTemplate",
      "description": "Endpoints",
      "x-displayName": "PermissionTemplate"
    },
    {
      "name": "hk-sofa-authentifier_Users",
      "description": "Endpoints",
      "x-displayName": "Users"
    },
    {
      "name": "hk-sofa-authentifier_UsersGroups",
      "description": "Endpoints",
      "x-displayName": "UsersGroups"
    },
    {
      "name": "hk-sofa-authentifier_Internal",
      "x-displayName": "Internal"
    },
    {
      "name": "hk-sofa-authentifier_PermissionTemplates",
      "x-displayName": "PermissionTemplates"
    },
    {
      "name": "hk-sofa-authentifier_Users Group",
      "x-displayName": "Users Group"
    },
    {
      "name": "hk-sofa-authentifier_UsersShort",
      "x-displayName": "UsersShort"
    },
    {
      "name": "hk-sofa-phishing_Brand",
      "description": "Endpoints",
      "x-displayName": "Brand"
    },
    {
      "name": "hk-sofa-phishing_Phishing",
      "description": "Endpoints",
      "x-displayName": "Phishing"
    },
    {
      "name": "hk-sofa-phishing_Health",
      "description": "Health Check",
      "x-displayName": "Health"
    },
    {
      "name": "hk-sofa-phishing_permissions",
      "x-displayName": "permissions"
    },
    {
      "name": "hk-sofa-phishing_roles",
      "x-displayName": "roles"
    },
    {
      "name": "hk-sofa-phishing_users",
      "x-displayName": "users"
    },
    {
      "name": "hk-sofa-consulting_Jobs",
      "description": "Jobs Endpoints",
      "x-displayName": "Jobs"
    },
    {
      "name": "hk-sofa-consulting_Mission",
      "description": "Missions Endpoints",
      "x-displayName": "Mission"
    },
    {
      "name": "hk-sofa-consulting_MissionManagement",
      "description": "Management Endpoints",
      "x-displayName": "MissionManagement"
    },
    {
      "name": "hk-sofa-consulting_Quotes",
      "description": "Quotes Endpoints",
      "x-displayName": "Quotes"
    },
    {
      "name": "hk-sofa-consulting_Users",
      "description": "Registered Users Endpoints",
      "x-displayName": "Users"
    },
    {
      "name": "hk-sofa-consulting_Internal",
      "x-displayName": "Internal"
    },
    {
      "name": "hk-sofa-consulting_Missions",
      "x-displayName": "Missions"
    },
    {
      "name": "hk-sofa-consulting_Missions, Internal, Management",
      "x-displayName": "Missions, Internal, Management"
    },
    {
      "name": "hk-sofa-consulting_Quote",
      "x-displayName": "Quote"
    },
    {
      "name": "hk-sofa-consulting_Users, Internal, Management",
      "x-displayName": "Users, Internal, Management"
    },
    {
      "name": "hk-sofa-filesharing_FileSharing",
      "description": "filesharing endpoints",
      "x-displayName": "FileSharing"
    },
    {
      "name": "hk-sofa-filesharing_Health",
      "description": "Health Check",
      "x-displayName": "Health"
    },
    {
      "name": "hk-sofa-filesharing_permissions",
      "x-displayName": "permissions"
    },
    {
      "name": "hk-sofa-filesharing_roles",
      "x-displayName": "roles"
    },
    {
      "name": "hk-sofa-filesharing_users",
      "x-displayName": "users"
    },
    {
      "name": "hk-sofa-srv-sensors_Devices",
      "description": "Devices v2 endpoints",
      "x-displayName": "Devices"
    },
    {
      "name": "hk-sofa-srv-sensors_Sensors",
      "description": "Sensors endpoints",
      "x-displayName": "Sensors"
    },
    {
      "name": "hk-sofa-srv-sensors_HealthCheck",
      "description": "Health check endpoints",
      "x-displayName": "HealthCheck"
    },
    {
      "name": "hk-sofa-srv-sensors_Ids",
      "description": "Ids Variables endpoints",
      "x-displayName": "Ids"
    },
    {
      "name": "hk-sofa-srv-sensors_Internal",
      "description": "Internal endpoints",
      "x-displayName": "Internal"
    },
    {
      "name": "hk-sofa-srv-sensors_Jobs",
      "description": "Jobs endpoints",
      "x-displayName": "Jobs"
    },
    {
      "name": "hk-sofa-srv-sensors_Stats",
      "description": "Sensors stats by organization",
      "x-displayName": "Stats"
    },
    {
      "name": "hk-sofa-srv-sensors_WarrantyBypass",
      "description": "Warranty Bypass endpoints",
      "x-displayName": "WarrantyBypass"
    },
    {
      "name": "hk-sofa-srv-sensors_WebHook",
      "description": "Gitlab WebHook Endpoints",
      "x-displayName": "WebHook"
    },
    {
      "name": "hk-sofa-srv-sensors_Whitelist",
      "description": "Whitelist endpoints",
      "x-displayName": "Whitelist"
    },
    {
      "name": "hk-sofa-srv-sensors_Health",
      "description": "Health Check",
      "x-displayName": "Health"
    },
    {
      "name": "hk-sofa-srv-sensors_permissions",
      "x-displayName": "permissions"
    },
    {
      "name": "hk-sofa-srv-sensors_roles",
      "x-displayName": "roles"
    },
    {
      "name": "hk-sofa-srv-sensors_users",
      "x-displayName": "users"
    },
    {
      "name": "hk-sofa-int-credit_Jobs",
      "description": "Jobs endpoints",
      "x-displayName": "Jobs"
    },
    {
      "name": "hk-sofa-int-credit_Order",
      "description": "order endpoints",
      "x-displayName": "Order"
    },
    {
      "name": "hk-sofa-int-credit_Transaction",
      "description": "transaction endpoints",
      "x-displayName": "Transaction"
    },
    {
      "name": "hk-sofa-int-credit_WebHook",
      "description": "hook endpoints",
      "x-displayName": "WebHook"
    },
    {
      "name": "hk-sofa-int-credit_Health Check",
      "x-displayName": "Health Check"
    }
  ],
  "paths": {
    "/internet-presence/v1.0/acceptDisclaimer": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-kaduu_Disclaimer"
        ],
        "summary": "Accept disclaimer",
        "description": "The disclaimer is mandatory and should be accepted before using Internet Presence",
        "operationId": "internet-presence_accept_disclaimer",
        "responses": {
          "200": {
            "description": "Accepted."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/statusDisclaimer": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_Disclaimer"
        ],
        "summary": "Get disclaimer status",
        "description": "Get the status of the disclaimer. Returns true if accepted, false if not",
        "operationId": "internet-presence_disclaimer_status",
        "responses": {
          "200": {
            "description": "Status.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/health": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_Health"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/reload": {
      "servers": [],
      "put": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Reload internet presence findings",
        "description": "Trigger a job that reloads internet presence findings for a particular customer",
        "operationId": "internet-presence_reload_findings",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/keyword/{keywordID}/reload": {
      "servers": [],
      "put": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Reload internet presence by keyword",
        "description": "Trigger a job that reloads internet presence findings by keyword for a particular customer",
        "operationId": "internet-presence_reload_findings_by_keyword",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keywordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/leaks": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get leaks",
        "description": "Get paginated list of leaks by customer",
        "operationId": "internet-presence_get_leaks",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Leaks",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LeakDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeakDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeakDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/accounts": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get accounts",
        "description": "Get paginated list of accounts by customer",
        "operationId": "internet-presence_get_accounts",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Accounts",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/mails": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get mails",
        "description": "Get paginated list of mails by customer",
        "operationId": "internet-presence_get_mails",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mails",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MailDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MailDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MailDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/pastes": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get pastes",
        "description": "Get paginated list of pastes by customer",
        "operationId": "internet-presence_get_pastes",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Pastes",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PasteDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PasteDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PasteDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/posts": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get posts",
        "description": "Get paginated list of posts by customer",
        "operationId": "internet-presence_get_posts",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Posts",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PostDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/socials": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get socials",
        "description": "Get paginated list of socials by customer",
        "operationId": "internet-presence_get_socials",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Socials",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SocialDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SocialDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SocialDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/certificates": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get certificates",
        "description": "Get paginated list of certificates by customer",
        "operationId": "internet-presence_get_certificates",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Certificates",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/ransomwares": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get ransomwares",
        "description": "Get paginated list of ransomwares by customer",
        "operationId": "internet-presence_get_ransomwares",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ransomwares",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RansomwareDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RansomwareDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RansomwareDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/domains": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get domains",
        "description": "Get paginated list of domains by customer",
        "operationId": "internet-presence_get_domains",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Domains",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DomainReturnDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DomainReturnDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DomainReturnDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/botnetslogs": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get botnets logs",
        "description": "Get paginated list of botnets logs by customer",
        "operationId": "internet-presence_get_botnetslogs",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Botnets logs",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BotnetLogDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotnetLogDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotnetLogDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/discussionsposts": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get discussion posts",
        "description": "Get paginated list of discussion posts by customer",
        "operationId": "internet-presence_get_discussionsposts",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Discussions posts",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DiscussionPostDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscussionPostDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscussionPostDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/totals": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get totals stats",
        "description": "Get stats of total findings by category",
        "operationId": "internet-presence_get_totals",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Totals",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TotalDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TotalDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TotalDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/statusScan": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Scan status",
        "description": "Get the status of ongoing scans",
        "operationId": "internet-presence_get_scan_status",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Scan status"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/statusScanKeyword": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Scan status by keyword",
        "description": "Get the status of ongoing scans by keyword",
        "operationId": "internet-presence_get_scan_status_by_keyword",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Scan status",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "boolean"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "boolean"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/domains/{idDomain}/providers": {
      "servers": [],
      "put": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Reload domain providers",
        "description": "Triggers a job that reloads the list of providers of a particular domain",
        "operationId": "internet-presence_reload_domain_providers",
        "parameters": [
          {
            "name": "idDomain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job triggered"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/domains/{idDomain}/providers/statusReload": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get domain providers reload status",
        "description": "Get the status of onoing reload of the reloading of a particular domain providers",
        "operationId": "internet-presence_reload_status_domain_providers",
        "parameters": [
          {
            "name": "idDomain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job triggered"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/domains/{idDomain}/providers/{provider}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_InternetPresence"
        ],
        "summary": "Get a single provider",
        "description": "Get a single provider of a domain",
        "operationId": "internet-presence_get_single_provider",
        "parameters": [
          {
            "name": "idDomain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "provider",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job triggered"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Provider"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/keywords": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_Keyword"
        ],
        "summary": "Get list of keywords",
        "description": "Get the list of currently configured keywords",
        "operationId": "internet-presence_get_all_keywords",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of keywords",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KeywordDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KeywordDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KeywordDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Provider"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/keyword/add": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-kaduu_Keyword"
        ],
        "summary": "Add keyword",
        "description": "Submit a keyword addition request",
        "operationId": "internet-presence_add_keyword",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "termsAccepted",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Keyword addition requested"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Provider"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/keyword/{keywordId}/delete": {
      "servers": [],
      "delete": {
        "tags": [
          "hk-sofa-srv-kaduu_Keyword"
        ],
        "summary": "Delete keyword",
        "description": "Submit a keyword deletion request",
        "operationId": "internet-presence_delete_keyword",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keywordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Keyword removal requested"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Provider"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/deletedKeywords": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-kaduu_Keyword"
        ],
        "summary": "List of deleted keywords",
        "description": "Get the list of deleted keywords",
        "operationId": "internet-presence_deleted_keywords",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of keywords",
            "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"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Provider"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/internet-presence/v1.0/organizations/{organizationCode}/keyword/{keywordId}/enable": {
      "servers": [],
      "put": {
        "tags": [
          "hk-sofa-srv-kaduu_Keyword"
        ],
        "summary": "Enable a keyword",
        "description": "Enable a keyword. Must be admin",
        "operationId": "internet-presence_enable_keyword",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keywordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Keyword enabled"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Provider"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/assets": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Assets"
        ],
        "summary": "Get many assets",
        "description": "Get many assets according to the query<br>\n        <br>\n        Valid filters are:<br>\n        - **credentialedScan**: true, false, null<br>\n        - **assetTags**: *free text*<br>\n        - **searchQuery**: *search pattern*<br>        \n        <br>\n        Example:<br>\n        <pre>\n        <code>curl -G PORTAL_API_URL/vulnerabilities/v1.0/organizations/[ORGANIZATIONID]/assets\n        -H \"Accept: application/json\"\n        -H \"Authorization: Bearer YOUR_SECRET_TOKEN\"\n        --data-urlencode \"page=1&pageSize=10&filters=assetTags==tag2|tag3,credentialedScan==true\"\n        </code>\n        </pre>\n        <br>",
        "operationId": "vulnerabilities_get_assets",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns assets.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Assets"
        ],
        "summary": "Create asset",
        "description": "Create an asset in a zone. You can't create a duplicate asset.",
        "operationId": "vulnerabilities_create_assets",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "IPAddress",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/IPAddress"
            }
          },
          {
            "name": "MacAdress",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Os",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "OperatingSystem",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Rdns",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "NetbiosName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ZoneId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Risk",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/Risk"
            }
          },
          {
            "name": "CredentialedScan",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "The asset has been created.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AssetDtoPaginatedList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetDtoPaginatedList"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetDtoPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          },
          "404": {
            "description": "Associated zone not found"
          },
          "409": {
            "description": "The asset has not been created."
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/assets/count": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Assets"
        ],
        "summary": "Get count of assets",
        "description": "Get the total of the assets according to the query",
        "operationId": "vulnerabilities_get total assets",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the count.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/assets/risk": {
      "servers": [],
      "patch": {
        "tags": [
          "hk-sofa-srv-vulns_Assets"
        ],
        "summary": "Update assets risk",
        "description": "Update the risk of an array of asset guids.",
        "operationId": "vulnerabilities_update_assets_risk",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskChangeMultipleAssets"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskChangeMultipleAssets"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RiskChangeMultipleAssets"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/assets/{assetId}/execute-rules": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Assets"
        ],
        "summary": "Update assets risk",
        "description": "Update the risk of an array of asset guids.",
        "operationId": "vulnerabilities_execute_assets_rules",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "deprecated": true
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/assets/{assetId}/merge": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Assets"
        ],
        "summary": "Merge multiple assets",
        "description": "Merge multiple assets into one asset. The assets must be in the same zone. The oldest created date and the most recent last_seen are taken in account",
        "operationId": "vulnerabilities_merge_assets",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/assets/export": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_AssetsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exportFormat",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_AssetsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/assets/export/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_AssetsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/assets/export/{id}/download": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_AssetsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/findings/export": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_FindingsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exportFormat",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_FindingsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/findings/export/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_FindingsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/findings/export/{id}/download": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_FindingsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/groups": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Groups"
        ],
        "summary": "Get Groups",
        "description": "Get Groups according to the query",
        "operationId": "vulnerabilities_get_Groups",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns all groups"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/groups/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Groups"
        ],
        "summary": "Get Group",
        "description": "Get Group",
        "operationId": "vulnerabilities_get_Group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns all groups"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-vulns_Groups"
        ],
        "summary": "delete Group",
        "description": "delete Group by Id",
        "operationId": "vulnerabilities_delete_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/groups/{id}/{newName}": {
      "servers": [],
      "patch": {
        "tags": [
          "hk-sofa-srv-vulns_Groups"
        ],
        "summary": "Update Group",
        "description": "update Group by Id",
        "operationId": "vulnerabilities_update_Group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "newName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/groups/{name}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Groups"
        ],
        "summary": "create Group",
        "description": "create Group by name",
        "operationId": "vulnerabilities_create_Group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/groups/{groupId}/users/{userId}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Groups"
        ],
        "summary": "Link user to group",
        "description": "",
        "operationId": "vulnerabilities_link_user_to_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-vulns_Groups"
        ],
        "summary": "Unlink user to group",
        "description": "",
        "operationId": "vulnerabilities_unlink_user_to_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/health": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Health"
        ],
        "summary": "Get health check",
        "description": "Get service's health check",
        "responses": {
          "200": {
            "description": "Status",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/ingestion-rules": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_IngestionRules"
        ],
        "summary": "Get ingestion rules",
        "description": "Get ingestion rules",
        "operationId": "vulnerabilities_get_ingestion_rules",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_IngestionRules"
        ],
        "summary": "Create ingestion rule",
        "description": "Create ingestion rule",
        "operationId": "vulnerabilities_create_ingestion_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIngestionRuleCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIngestionRuleCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIngestionRuleCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-srv-vulns_IngestionRules"
        ],
        "summary": "Update ingestion rule",
        "description": "Update ingestion Rule",
        "operationId": "vulnerabilities_update_ingestion_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIngestionRuleCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIngestionRuleCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIngestionRuleCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Ingestion rule is updated"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/ingestion-rules/{id}": {
      "servers": [],
      "delete": {
        "tags": [
          "hk-sofa-srv-vulns_IngestionRules"
        ],
        "summary": "Delete ingestion rule",
        "description": "Delete Ingestion Rule",
        "operationId": "vulnerabilities_delete_ingestion_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ingestion rule is deleted"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/jobs/{jobCode}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Jobs"
        ],
        "summary": "Execute a job",
        "description": "Add a job to the queue",
        "operationId": "vulnerabilities_queue_job",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jobCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/purge-rules": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_PurgeRules"
        ],
        "summary": "Get purge rules",
        "description": "Get purge rules",
        "operationId": "vulnerabilities_get_purge_rules",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_PurgeRules"
        ],
        "summary": "Create purge rule",
        "description": "Create purge rule",
        "operationId": "vulnerabilities_create_purge_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePurgeRuleCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePurgeRuleCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePurgeRuleCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-srv-vulns_PurgeRules"
        ],
        "summary": "Update Purge rule",
        "description": "Update Purge Rule",
        "operationId": "vulnerabilities_update_purge_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePurgeRuleCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePurgeRuleCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePurgeRuleCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Purge rule is updated"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/purge-rules/{id}": {
      "servers": [],
      "delete": {
        "tags": [
          "hk-sofa-srv-vulns_PurgeRules"
        ],
        "summary": "Delete Purge rule",
        "description": "Delete Purge Rule",
        "operationId": "vulnerabilities_delete_purge_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Purge rule is deleted"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/scans-history": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Scans"
        ],
        "summary": "Scans history",
        "description": "Fetch the latest scans of a zone",
        "operationId": "vulnerabilities_scans_history",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/scan-type": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_ScanType"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "deprecated": true
      },
      "patch": {
        "tags": [
          "hk-sofa-srv-vulns_ScanType"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrustSource"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TrustSource"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TrustSource"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "deprecated": true
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Get Tags",
        "description": "Get Tags according to the query",
        "operationId": "vulnerabilities_get_Tags",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns all tags"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "get Tag",
        "description": "get Tag by Id",
        "operationId": "vulnerabilities_get_Tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "delete Tag",
        "description": "delete Tag by Id",
        "operationId": "vulnerabilities_delete_Tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags/{id}/{newLabel}": {
      "servers": [],
      "patch": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Update Tag",
        "description": "update Tag by Id",
        "operationId": "vulnerabilities_update_Tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "newLabel",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags/{label}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "create Tag",
        "description": "create Tag by label",
        "operationId": "vulnerabilities_create_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "label",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags/{tagId}/assets/{assetId}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Link asset to tag",
        "description": "",
        "operationId": "vulnerabilities_link_asset_to_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Unlink asset to tag",
        "description": "",
        "operationId": "vulnerabilities_unlink_asset_to_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags/{tagId}/assets": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Link assets to tag",
        "description": "",
        "operationId": "vulnerabilities_link_assets_to_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Unlink assets to tag",
        "description": "",
        "operationId": "vulnerabilities_unlink_assets_to_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags/{tagId}/assets/all": {
      "servers": [],
      "delete": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Unlink all assets to tag",
        "description": "",
        "operationId": "vulnerabilities_unlink_all_assets_to_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags/{tagId}/groups/{groupId}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Link group to tag",
        "description": "",
        "operationId": "vulnerabilities_link_group_to_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Unlink group to tag",
        "description": "",
        "operationId": "vulnerabilities_unlink_group_to_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags/{tagId}/apply": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "Apply tag",
        "description": "",
        "operationId": "vulnerabilities_apply_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/tags/{tagId}/rule": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Tags"
        ],
        "summary": "change rule for autotagging",
        "description": "",
        "operationId": "vulnerabilities_rule_tag",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RuleQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RuleQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RuleQuery"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Get many vulnerabilities",
        "description": "Get many vulnerabilities according to the query<br>\n        <br>\n        Valid filters are:<br>\n        - **severity**: 1, 2, 3, 4<br>\n        - **status**: present, remediated, ignored, obsolete<br>\n        - **priority**: from 0 to 4 (from low to urgent)<br>\n        - **cvssScore**: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 (you can also use ranges, for example filters=cvssScore>=1,cvssScore<=5)<br>\n        - **ticketQuery**: all, with_ticket, no_ticket<br>\n        - **family**: *free text*<br>\n        - **zoneName**: *free text*<br>\n        - **tag**: *free text*<br>\n        - **lastSeen**: *date range*, for example lastSeen>=2023-05-14T00:00:00.000Z,lastSeen<=2023-05-16T00:00:00.000Z<br>\n        - **firstSeen**: *date range*, for example firstSeen>=2023-05-14T00:00:00.000Z,firstSeen<=2023-05-16T00:00:00.000Z<br>\n        - **searchQuery**: *search pattern*<br>\n        <br>\n        Example:<br>\n        <pre>\n        <code>curl -G PORTAL_API_URL/vulnerabilities/v1.0/organizations/[ORGANIZATIONID]/vulns\n        -H \"Accept: application/json\"\n        -H \"Authorization: Bearer YOUR_SECRET_TOKEN\"\n        --data-urlencode \"page=1&pageSize=10&filters=severity==1,cvssScore>=1,cvssScore<=5,lastSeen>=2023-05-14T00:00:00.000Z,lastSeen<=2023-05-16T00:00:00.000Z\"\n        </code>\n        </pre>\n        <br>",
        "operationId": "vulnerabilities_get vulnerabilities",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns vulnerabilities.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Update multiple vulnerabilities",
        "description": "Update multiple vulnerabilities Statuses and/or Ticket ID",
        "operationId": "vulnerabilities_patch_multiple_vulns",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VulnBulkDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VulnBulkDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VulnBulkDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Vulns updated successfully"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/count": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Get count of vulnerabilities",
        "description": "Get count of vulnerabilities according to the query<br>\n        <br>\n        Valid filters are:<br>\n        - **severity**: 1, 2, 3, 4<br>\n        - **status**: present, remediated, ignored, obsolete<br>\n        - **priority**: from 0 to 4 (from low to urgent)<br>\n        - **cvssScore**: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 (you can also use ranges, for example filters=cvssScore>=1,cvssScore<=5)<br>\n        - **ticketQuery**: all, with_ticket, no_ticket<br>\n        - **family**: *free text*<br>\n        - **zoneName**: *free text*<br>\n        - **tag**: *free text*<br>\n        - **lastSeen**: *date range*, for example lastSeen>=2023-05-14T00:00:00.000Z,lastSeen<=2023-05-16T00:00:00.000Z<br>\n        - **firstSeen**: *date range*, for example firstSeen>=2023-05-14T00:00:00.000Z,firstSeen<=2023-05-16T00:00:00.000Z<br>\n        - **searchQuery**: *search pattern*<br>\n        <br>\n        Example:<br>\n        <pre>\n        <code>curl -G PORTAL_API_URL/vulnerabilities/v1.0/organizations/[ORGANIZATIONID]/vulns\n        -H \"Accept: application/json\"\n        -H \"Authorization: Bearer YOUR_SECRET_TOKEN\"\n        --data-urlencode \"page=1&pageSize=10&filters=severity==1,cvssScore>=1,cvssScore<=5,lastSeen>=2023-05-14T00:00:00.000Z,lastSeen<=2023-05-16T00:00:00.000Z\"\n        </code>\n        </pre>\n        <br>",
        "operationId": "vulnerabilities_get vulnerabilities count",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns vulnerabilities.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Get one vulnerability by ID",
        "description": "Returns one vulnerability by it's ID",
        "operationId": "vulnerabilities_get_one_vuln_by_id",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Vuln returned successfully",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VulnResponseSingle"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnResponseSingle"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnResponseSingle"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/SaveVulnsDetail": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Save vuln's detail",
        "description": "save vuln's detail",
        "operationId": "vulnerabilities_save_vuln_detail",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "vulnName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VulnDetailDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VulnDetailDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VulnDetailDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "vuln's detail saved"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/ConvertXmlToJson": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Xml to json",
        "description": "Convert Xml file to json",
        "operationId": "vulnerabilities_xml_to_json",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/bulkEdit": {
      "servers": [],
      "patch": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Bulk edit vulns",
        "description": "Edit multiple vulns at once.",
        "operationId": "vulnerabilities_bulk_edit_vulns",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VulnBulkDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VulnBulkDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VulnBulkDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/familyList": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Get family values",
        "description": "Get family values according to the query",
        "operationId": "vulnerabilities_get_family_values",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns all family values"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/aggregated": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Get vulnerabilities aggregated data",
        "description": "Get vulnerabilities aggregated data according to the query",
        "operationId": "vulnerabilities_get_aggregated_vulns",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns vulnerabilities.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MongoAggregatedVulnResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Recalculate vulnerabilities aggregated data",
        "description": "Recalculate vulnerabilities aggregated data",
        "operationId": "vulnerabilities_recalculate_aggregated_vulns",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns vulnerabilities.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MongoAggregatedVulnResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/automatic-remediation": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Automatic remediation",
        "description": "Trigger automatic remediation for all companies",
        "operationId": "vulnerabilities_auto_remediation",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/{id}/status-history": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Status history",
        "description": "Status history",
        "operationId": "vulnerabilities_status_history",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/remediation": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_Vulns"
        ],
        "summary": "Automatic remediation by company",
        "description": "Trigger automatic remediation.",
        "operationId": "vulnerabilities_auto_remediation_by_company",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/export": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-vulns_VulnsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exportFormat",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_VulnsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/export/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_VulnsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/vulns/export/{id}/download": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_VulnsExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/zones": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Zones"
        ],
        "summary": "Get many zones",
        "description": "Get a paginated list of zones according to the query<br>\n        <br>\n        Valid filters are:<br>\n        - **risk**: lower, normal, higher<br>\n        - **searchQuery**: *search pattern*<br>        \n        <br>\n        Example:<br>\n        <pre>\n        <code>curl -G PORTAL_API_URL/vulnerabilities/v1.0/organizations/[ORGANIZATIONID]/zones\n        -H \"Accept: application/json\"\n        -H \"Authorization: Bearer YOUR_SECRET_TOKEN\"\n        --data-urlencode \"page=1&pageSize=10&filters=risk==higher\"\n        </code>\n        </pre>\n        <br>",
        "operationId": "vulnerabilities_get_zones",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns zones.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZoneDtoPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/zones/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Zones"
        ],
        "summary": "Get one zone",
        "description": "Get a single zone.",
        "operationId": "vulnerabilities_get_single_zone",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Return the zone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZoneDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/zones/{id}/risk": {
      "servers": [],
      "patch": {
        "tags": [
          "hk-sofa-srv-vulns_Zones"
        ],
        "summary": "Update zone risk",
        "description": "Update the risk of a zone.",
        "operationId": "vulnerabilities_update_zone_risk",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskChangeSingle"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskChangeSingle"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RiskChangeSingle"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Risk updated."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/zones/risk": {
      "servers": [],
      "patch": {
        "tags": [
          "hk-sofa-srv-vulns_Zones"
        ],
        "summary": "Update multiple zones risk",
        "description": "Update the risk of an array of zones.",
        "operationId": "vulnerabilities_update_multiple_zones_risk",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskChangeMultipleZones"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskChangeMultipleZones"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RiskChangeMultipleZones"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Risk updated."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/zones/{zoneId}/history": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Zones"
        ],
        "summary": "Get zone's history",
        "description": "Get the scan history of a zone.",
        "operationId": "vulnerabilities_get_zone_history",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Return the history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScanHistoryDtoPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/vulnerabilities/v1.0/organizations/{organizationCode}/zones/{zoneId}/download/{scanId}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-vulns_Zones"
        ],
        "summary": "Download a scan result",
        "description": "Download a scan result either in nessus or csv format. By default, the result is returned in nessus",
        "operationId": "vulnerabilities_download_scan_result",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Return the file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/usecases/v2.0/mitre/token/{organizationCode}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_Mitre"
        ],
        "summary": "Get token to access to mitre map",
        "description": "Returns a temporary token to access to mitre map from mitre navigator",
        "operationId": "usecases_get_mitre_token",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns token.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MitreTokenDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/usecases/v2.0/mitre/mitremap": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_Mitre"
        ],
        "summary": "Get mitre layer",
        "description": "Returns the mitre layer of the customer. Requires a valid token passed as a query string parameter.",
        "operationId": "usecases_get_mitre_map",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns tickets.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MitreLayer"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/usecases/v2.0/mitre/techniques": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_Mitre"
        ],
        "parameters": [
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/usecases/v2.0/mitre/techniques/sync": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_Mitre"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/usecases": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_Usecases"
        ],
        "summary": "Get usecases",
        "operationId": "usecases_get-all-uc",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UsecaseGeneralDtoPaginatedList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsecaseGeneralDtoPaginatedList"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsecaseGeneralDtoPaginatedList"
                }
              }
            }
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/usecases/filter": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_Usecases"
        ],
        "summary": "Get filter value and count for usecases",
        "operationId": "usecases_get-filter-uc",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicFiltersDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicFiltersDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicFiltersDto"
                }
              }
            }
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/usecases/{code}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_Usecases"
        ],
        "summary": "Get usecase",
        "operationId": "usecases_get-one-uc",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UsecaseSingleDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsecaseSingleDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsecaseSingleDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-usecases_Usecases"
        ],
        "summary": "Request a usecase",
        "operationId": "usecases_request-uc",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/usecases/{code}/template": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_Usecases"
        ],
        "summary": "Get usecase template",
        "operationId": "usecases_get-template",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/usecases/{code}/affinity": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-usecases_Usecases"
        ],
        "summary": "Switch affinity",
        "operationId": "usecases_switch-affinity",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "value",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/Affinity"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/usecases/affinities": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-usecases_Usecases"
        ],
        "summary": "Switch affinities",
        "operationId": "usecases_switch-affinities",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AffinityChangesDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AffinityChangesDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AffinityChangesDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/usecases/{code}/files/{path}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_Usecases"
        ],
        "summary": "Get file",
        "operationId": "usecases_get-file",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "path",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/export": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-usecases_UsecasesExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exportFormat",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "get": {
        "tags": [
          "hk-sofa-usecases_UsecasesExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/export/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_UsecasesExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/usecases/v2.0/organizations/{organizationCode}/export/{id}/download": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-usecases_UsecasesExport"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/sandbox/v1.0/organizations/{organizationCode}/analysis": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-anyrun_Analysis"
        ],
        "summary": "Get all analyses",
        "description": "Returns a paginated list of all requested analyses.",
        "operationId": "sandbox_get_all_analyses",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of Analysis",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisSingleDtoPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/sandbox/v1.0/organizations/{organizationCode}/analysis/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-anyrun_Analysis"
        ],
        "summary": "Get analysis",
        "description": "Returns a single analysis by its ID",
        "operationId": "sandbox_get_single_analysis",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Analysis",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "hk-sofa-srv-anyrun_Analysis"
        ],
        "summary": "Validate an analysis",
        "description": "Returns the modified analysis by its ID",
        "operationId": "sandbox_validate_analysis",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Validation"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Validation"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Validation"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Analysis",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/sandbox/v1.0/organizations/{organizationCode}/analysis/{id}/report": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-anyrun_Analysis"
        ],
        "summary": "Get report",
        "description": "Returns a report",
        "operationId": "sandbox_get_report",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/sandbox/v1.0/organizations/{organizationCode}/analysis/file": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-anyrun_Analysis"
        ],
        "summary": "Submit a file for analysis",
        "description": "Request the analysis of an uploaded file",
        "operationId": "sandbox_request_file_analysis",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Os": {
                    "$ref": "#/components/schemas/Os"
                  },
                  "Bitness": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "Version": {
                    "$ref": "#/components/schemas/Version"
                  },
                  "Type": {
                    "$ref": "#/components/schemas/Type"
                  },
                  "Locale": {
                    "type": "string"
                  },
                  "ExecutionTime": {
                    "type": "integer",
                    "format": "int32"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                },
                "Os": {
                  "style": "form"
                },
                "Bitness": {
                  "style": "form"
                },
                "Version": {
                  "style": "form"
                },
                "Type": {
                  "style": "form"
                },
                "Locale": {
                  "style": "form"
                },
                "ExecutionTime": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Analysis",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisSingleDto"
                }
              }
            }
          },
          "400": {
            "description": "File too big",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/sandbox/v1.0/organizations/{organizationCode}/analysis/download": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-anyrun_Analysis"
        ],
        "summary": "Analyze a file contained in a URL",
        "description": "Request the analysis a file contained in a URL",
        "operationId": "sandbox_request_download_analysis",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Url": {
                    "type": "string"
                  },
                  "Os": {
                    "$ref": "#/components/schemas/Os"
                  },
                  "Bitness": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "Version": {
                    "$ref": "#/components/schemas/Version"
                  },
                  "Type": {
                    "$ref": "#/components/schemas/Type"
                  },
                  "Locale": {
                    "type": "string"
                  },
                  "ExecutionTime": {
                    "type": "integer",
                    "format": "int32"
                  }
                }
              },
              "encoding": {
                "Url": {
                  "style": "form"
                },
                "Os": {
                  "style": "form"
                },
                "Bitness": {
                  "style": "form"
                },
                "Version": {
                  "style": "form"
                },
                "Type": {
                  "style": "form"
                },
                "Locale": {
                  "style": "form"
                },
                "ExecutionTime": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Analysis",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/sandbox/v1.0/organizations/{organizationCode}/analysis/url": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-anyrun_Analysis"
        ],
        "summary": "Analyze a URL",
        "description": "Request the analysis of an url",
        "operationId": "sandbox_request_url_analysis",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Url": {
                    "type": "string"
                  },
                  "Os": {
                    "$ref": "#/components/schemas/Os"
                  },
                  "Bitness": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "Version": {
                    "$ref": "#/components/schemas/Version"
                  },
                  "Type": {
                    "$ref": "#/components/schemas/Type"
                  },
                  "Locale": {
                    "type": "string"
                  },
                  "ExecutionTime": {
                    "type": "integer",
                    "format": "int32"
                  }
                }
              },
              "encoding": {
                "Url": {
                  "style": "form"
                },
                "Os": {
                  "style": "form"
                },
                "Bitness": {
                  "style": "form"
                },
                "Version": {
                  "style": "form"
                },
                "Type": {
                  "style": "form"
                },
                "Locale": {
                  "style": "form"
                },
                "ExecutionTime": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Analysis",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/sandbox/v1.0/health": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-anyrun_Health Check"
        ],
        "summary": "Get health check",
        "description": "Get service's health check",
        "responses": {
          "200": {
            "description": "Status"
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/costcenter": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_CostCenter"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-tickets_CostCenter"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NameDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NameDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/costcenter/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_CostCenter"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-tickets_CostCenter"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NameDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NameDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-tickets_CostCenter"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/costcenter/{ccId}/tickets/{ticketId}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-tickets_CostCenter"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ccId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-tickets_CostCenter"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ccId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/tickets/v2.0/dashboard/stats": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Dashboard"
        ],
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/export": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-tickets_Export"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exportFormat",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "get": {
        "tags": [
          "hk-sofa-tickets_Export"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/export/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Export"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/export/{id}/download": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Export"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/stats": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Stats"
        ],
        "summary": "Get count stats",
        "description": "Get the count of currently open tickets, split between pending SPCS and pending customer",
        "operationId": "tickets_get_counts",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns count stats",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatsCount"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/stats/cost": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Stats"
        ],
        "summary": "Get cost information",
        "description": "Get the cost of ticket in the periods split between open and close",
        "operationId": "tickets_get_cost",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns costs",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CostDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/stats/labels": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Stats"
        ],
        "summary": "Get all labels",
        "description": "Get a list of all labels already present in tickets",
        "operationId": "tickets_get_stats_labels",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns labels",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/stats/estimate-history/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Stats"
        ],
        "summary": "Get cost history by ticket",
        "description": "Get the cost history of a ticket",
        "operationId": "tickets_get_estimate_history",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns cost history",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstimateHistory"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/stats/estimate-history": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Stats"
        ],
        "summary": "Get cost history",
        "description": "Get the cost history of all tickets",
        "operationId": "tickets_get_all_estimate_histories",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns cost history",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstimateHistory"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/subscription": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Subscriptions"
        ],
        "summary": "See subscription status of ticket",
        "operationId": "tickets_get_subscription",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns subscription status.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/subscription/subscribe": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-tickets_Subscriptions"
        ],
        "summary": "Subscribe to ticket",
        "operationId": "tickets_subscribe",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/subscription/unsubscribe": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-tickets_Subscriptions"
        ],
        "summary": "Unsubscribe to ticket",
        "operationId": "tickets_unsubscribe",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/templates": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Templates"
        ],
        "summary": "Get Templates",
        "description": "Get the list of possible templates",
        "operationId": "tickets_get_templates",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/templates": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Templates"
        ],
        "summary": "Get Templates",
        "description": "Get the list of possible templates",
        "operationId": "tickets_get_templates_org",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Get many tickets",
        "description": "Get a paginated list of tickets according to the query<br>\n    <br>\n    Filters are not case sensitive. The valid ones are:<br>\n    - **q** or **searchQuery**: *search pattern*. Will match the pattern in __title__, __state__, __author__ and __labels__<br>    \n    - **priority**: high, medium, low<br>\n    - **state**: pending spcs, pending customer, opened, closed<br>\n    - **label**: *free text*<br>\n    <br>\n    Example:<br>\n    <pre>\n    <code>curl -G PORTAL_API_URL/tickets/v1.0/organizations/[ORGANIZATIONID]/tickets\n    -H \"Accept: application/json\"\n    -H \"Authorization: Bearer YOUR_SECRET_TOKEN\"\n    --data-urlencode \"page=1&pageSize=100&filters=q==logsource,priority!=high\"\n    </code>\n    </pre>\n    <br>",
        "operationId": "tickets_get_tickets",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns tickets.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueGeneralDtoPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Create a ticket",
        "description": "Create a new ticket",
        "operationId": "tickets_create_ticket",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketCreationDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketCreationDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketCreationDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the newly created ticket.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Get a single ticket",
        "description": "Get a single ticket",
        "operationId": "tickets_get_one_ticket",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns one ticket.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Update a ticket",
        "description": "Update a ticket",
        "operationId": "tickets_update_ticket",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketUpdateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketUpdateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketUpdateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Ticket updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/comment": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Add a comment to a ticket",
        "description": "Add a comment to a ticket",
        "operationId": "tickets_add_new_comment",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "isInternal",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            },
            "text/json": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Comment added to ticket.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/comment/{commentId}": {
      "servers": [],
      "put": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Update a comment",
        "description": "Update a comment",
        "operationId": "tickets_update_comment",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "commentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            },
            "text/json": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Comment updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/close": {
      "servers": [],
      "put": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Close a ticket",
        "description": "Close a ticket",
        "operationId": "tickets_close_ticket",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ticket closed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/reopen": {
      "servers": [],
      "put": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Reopen a ticket",
        "description": "Reopen a ticket",
        "operationId": "tickets_reopen_ticket",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ticket reopened.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/file": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Add a file to a ticket",
        "description": "Add a file to a ticket",
        "operationId": "tickets_add_file_to_ticket",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "File added.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/cost": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Add to the cost of a ticket",
        "description": "Add cost",
        "operationId": "tickets_add_ticket_cost",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "change",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "cost added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/costcenter": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "Get the cost center associated to a ticket",
        "description": "Get the cost center associated to a ticket",
        "operationId": "tickets_ticket_get_cost_center",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "cost center",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CostCenterDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          },
          "404": {
            "description": "No Associated Cost Center",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "unlink the ticket of associated cost center",
        "description": "unlink cost center",
        "operationId": "tickets_ticket_remove_cost_center",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          },
          "404": {
            "description": "No Associated Cost Center",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/tickets/{issueId}/costcenter/{ccid}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-tickets_Tickets"
        ],
        "summary": "link the ticket to a cost center",
        "description": "link cost center",
        "operationId": "tickets_ticket_add_cost_center",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issueId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "ccid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          },
          "404": {
            "description": "No Associated Cost Center",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/uploads/file": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-tickets_Uploads"
        ],
        "summary": "Upload file to ticket",
        "description": "Upload a file to a ticket",
        "operationId": "tickets_upload_file_to_ticket",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "File uploaded."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/uploads": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Uploads"
        ],
        "summary": "Get uploaded ticket file",
        "description": "Get uploaded ticket file from file info.",
        "operationId": "tickets_Get uploaded ticket file",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileDirectory",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "friendlyFileName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "File.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/tickets/v1.0/organizations/{organizationCode}/uploads/{fileDirectory}/{fileName}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-tickets_Uploads"
        ],
        "summary": "Get uploaded ticket file ",
        "description": "Get uploaded ticket file from file info without query string.",
        "operationId": "tickets_get_uploaded_ticket_file_path",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileDirectory",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "File uploaded."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/datasources": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Get the list of datasources",
        "description": "Retrieve all available datasources.",
        "operationId": "reporting_GetDatasources",
        "parameters": [
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceDtoWithStatsPaginatedList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceDtoWithStatsPaginatedList"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceDtoWithStatsPaginatedList"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Create a new datasource",
        "description": "Create a new datasource.",
        "operationId": "reporting_CreateDatasource",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDatasourceDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Update a datasource by its ID",
        "description": "Update a specific datasource using its ID.",
        "operationId": "reporting_UpdateDatasourceById",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDatasourceDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDatasourceDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDatasourceDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDatasourceDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/reporting/v1.0/datasources/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Get a datasource by its ID",
        "description": "Retrieve a specific datasource using its ID.",
        "operationId": "reporting_GetDatasourceById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceDto"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Partially update a datasource by its ID",
        "description": "Partially update a specific datasource using its ID.",
        "operationId": "reporting_PatchDatasourceById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Delete a datasource by its ID",
        "description": "Delete a specific datasource using its ID.",
        "operationId": "reporting_DeleteDatasourceById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/reporting/v1.0/datasources/{id}/test": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Test a datasource by its ID",
        "description": "Test a specific datasource using its ID.",
        "operationId": "reporting_GetTestDatasourceById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "organizationCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DatasourceType"
            }
          },
          {
            "name": "period_from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "period_to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceTestDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceTestDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceTestDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/datasources/{id}/stats": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Get statistics of a datasource by its ID",
        "description": "Get statistics of a specific datasource using its ID.",
        "operationId": "reporting_GetStatsDatasourceById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceStatsDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceStatsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceStatsDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/datasources/test": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Test a query",
        "description": "Test a specific query.",
        "operationId": "reporting_GetTestQuery",
        "parameters": [
          {
            "name": "sourceType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "organizationCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DatasourceType"
            }
          },
          {
            "name": "period_from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "period_to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "earliestTime",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceTestDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceTestDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceTestDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/datasources/sourcetypes": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Datasource"
        ],
        "summary": "Get all sourcetypes",
        "description": "Retrieve all sourcetypes.",
        "operationId": "reporting_GetAllSourcetypes",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/health": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Health"
        ],
        "summary": "Get health check",
        "description": "Get service's health check",
        "responses": {
          "200": {
            "description": "Status",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get the list of reports",
        "description": "Retrieve all reports<br>\n    <br>\n    Example:<br>\n    <pre>\n    <code>curl -G PORTAL_API_URL/reporting/v1.0/organizations/[ORGANIZATIONCODE]/reports\n    -H \"Accept: application/json\"\n    -H \"Authorization: Bearer YOUR_SECRET_TOKEN\"\n    --data-urlencode \"page=1&pageSize=100\"\n    </code>\n    </pre>\n    <br>",
        "operationId": "reporting_GetReports",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetReportDtoPaginatedList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetReportDtoPaginatedList"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetReportDtoPaginatedList"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Create a new report",
        "description": "Create a new report.",
        "operationId": "reporting_CreateReport",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReportDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Update a report by its ID",
        "description": "Update a specific report using its ID.",
        "operationId": "reporting_UpdateReport",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/latest": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get latest report",
        "description": "Retrieve the latest report.",
        "operationId": "reporting_GetLatestReport",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/datasources/{datasourceId}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get a datasource data for a report",
        "description": "Retrieve a specific datasource's data for a particular report.",
        "operationId": "reporting_GetReportDatasourceById",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "datasourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "periodFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "periodTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "widgetId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "timeline",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceTestDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceTestDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceTestDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/datasources/{datasourceId}/query": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get formatted query for a datasource in a report",
        "description": "Return the final formatted query for a particular datasource in a report.",
        "operationId": "reporting_GetFormattedQueryByDatasourceId",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "datasourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get a report by its ID",
        "description": "Retrieve a specific report using its ID.",
        "operationId": "reporting_GetReportById",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetReportLastReportingVersionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetReportLastReportingVersionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetReportLastReportingVersionDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Create a new version of a report",
        "description": "Create a new version of a specific report.",
        "operationId": "reporting_CreateReportReportingVersion",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportingVersionReportDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportingVersionReportDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportingVersionReportDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportingVersionReportDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Report"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Report"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Report"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Update a report by its ID",
        "description": "Update a specific report using its ID.",
        "operationId": "reporting_UpdateReportById",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Delete a report by its ID",
        "description": "Delete a specific report using its ID.",
        "operationId": "reporting_DeleteReportById",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/normalized": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get a full report by its ID",
        "description": "Retrieve detailed report data by its ID<br>\n    <br>\n    The versionId parameter is optional.\n    <br>\n    Example:<br>\n    <pre>\n    <code>curl -G PORTAL_API_URL/reporting/v1.0/organizations/[ORGANIZATIONCODE]/reports/[REPORTID]/normalized?versionId=[VERSIONID]\n    -H \"Accept: application/json\"\n    -H \"Authorization: Bearer YOUR_SECRET_TOKEN\"\n    </code>\n    </pre>\n    <br>",
        "operationId": "reporting_GetReportNormalizedById",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/NormalizedSection"
                    }
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/NormalizedSection"
                    }
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/NormalizedSection"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/checkReportingVersionNum": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get a version num by its ID and versionNum",
        "description": "Retrieve a specific versionNum using its ID.",
        "operationId": "reporting_CheckReportingVersionNum",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionNum",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CheckReportingVersionNumDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckReportingVersionNumDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckReportingVersionNumDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/versions/{versionId}/latest": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get the latest version of a report",
        "description": "Retrieve the latest version of a specific report.",
        "operationId": "reporting_GetReportLatestReportingVersion",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/securityPosture": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get the security posture of a report",
        "description": "Retrieve the security posture of a specific report.",
        "operationId": "reporting_GetReportSecurityPosture",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SecurityPostureDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SecurityPostureDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SecurityPostureDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/statusCache": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get the status cache of a report",
        "description": "Retrieve the status cache of a specific report.",
        "operationId": "reporting_GetReportStatusCache",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/latestReinitializedReportingVersion": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get the latest reinitialize version",
        "description": "Retrieve the latest version which have been reinitialized",
        "operationId": "reporting_GetLatestReinitializedReportingVersion",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportingVersion"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportingVersion"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportingVersion"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/generatePdf": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Generate PDF of a report",
        "description": "Generate PDF of a report.",
        "operationId": "reporting_GeneratePdfReport",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "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"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/reinitialize": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Reinitialize a report",
        "description": "Reinitialize a report.",
        "operationId": "reporting_ReinitializeReport",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/reinitializeCache": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Reinitialize cache",
        "description": "Reinitialize cache.",
        "operationId": "reporting_ReinitializeCache",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/reinitializeSecurityPosture": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "SecurityPosture",
        "description": "Reinitialize SecurityPosture.",
        "operationId": "reporting_ReinitializeSecurityPosture",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/widgets/{widgetId}/reinitializeCache": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Reinitialize cache by widget id",
        "description": "Reinitialize cache by widget id.",
        "operationId": "reporting_ReinitializeCacheByWidgetId",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "widgetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/versions/{versionId}/rollback": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Rollback a report to a previous version",
        "description": "Rollback a specific report to a previous version.",
        "operationId": "reporting_RollbackReport",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/presentationType": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Change the presentation type of a report",
        "description": "Change the presentation type of a specific report.",
        "operationId": "reporting_ChangePresentationTypeReport",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "presentationType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/{id}/anonymizeToDemo": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "anonymise data of a report to hk demo",
        "description": "anonymise data of a report to hk demo",
        "operationId": "reporting_anonymizeToDemo",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/predictNewReport": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Predict a new report",
        "description": "Predict a new report.",
        "operationId": "reporting_PredictNewReport",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/collectLastExecutionId": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "collect Last execution id",
        "description": "Collect Last execution id",
        "operationId": "reporting_collectLastExecutionId",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/reporting/v1.0/organizations/{organizationCode}/reports/lastExecutionId": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Report"
        ],
        "summary": "Get Last execution id",
        "description": "Get Last execution id",
        "operationId": "reporting_lastExecutionId",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LastExecutionIdDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LastExecutionIdDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LastExecutionIdDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/reporting/v1.0/templates": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Template"
        ],
        "summary": "Get the list of templates",
        "description": "Retrieve all available templates.",
        "operationId": "reporting_GetTemplates",
        "parameters": [
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplateDtoPaginatedList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplateDtoPaginatedList"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplateDtoPaginatedList"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-reporting_Template"
        ],
        "summary": "Create a new template",
        "description": "Create a new template.",
        "operationId": "reporting_CreateTemplate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTemplateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-srv-reporting_Template"
        ],
        "summary": "Update a template by its ID",
        "description": "Update a specific template using its ID.",
        "operationId": "reporting_UpdateTemplate",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/reporting/v1.0/templates/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-reporting_Template"
        ],
        "summary": "Get a template by its ID",
        "description": "Retrieve a specific template using its ID.",
        "operationId": "reporting_GetTemplateById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplateDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplateDto"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "hk-sofa-srv-reporting_Template"
        ],
        "summary": "Update a template by its ID",
        "description": "Update a specific template using its ID.",
        "operationId": "reporting_UpdatePatchTemplateById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-reporting_Template"
        ],
        "summary": "Delete a template by its ID",
        "description": "Delete a specific template using its ID.",
        "operationId": "reporting_DeleteTemplateById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/calltrees": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_CallTrees"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-incidents_CallTrees"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallTreeCreateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CallTreeCreateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CallTreeCreateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/calltrees/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_CallTrees"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-incidents_CallTrees"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-incidents_CallTrees"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallTreeCreateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CallTreeCreateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CallTreeCreateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/calltrees/convert": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_CallTrees"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/dashboard/stats": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Dashboard"
        ],
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/dashboard/satisfaction": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Dashboard"
        ],
        "parameters": [
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/export": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_Export"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exportFormat",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "get": {
        "tags": [
          "hk-sofa-incidents_Export"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/export/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Export"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/export/{id}/download": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Export"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Incidents"
        ],
        "summary": "Get all incidents",
        "description": "\r\nReturns a paginated list of incidents with optional filtering and search capabilities.  \r\n<br>\r\nSorting and Filtering follows the **Sieve** syntax\r\n<br>\r\nYou can sort, filter or search incidents using the following fields:\r\n- **Q**: Full-text search across *Title* and *ID*\r\n- **Backend**: Filter by backend (vision, sentinel, splunk)\r\n- **Status**: Filter by current incident status\r\n- **Severity**: Filter by severity (high, medium, low)\r\n- **CreatedAt**, **UpdatedAt**, **ClosedAt**: Filter by creation, last update, or closure date\r\n- **LastCommentedAt**: Filter by date of the most recent comment\r\n- **InvestigationTime**, **DetectionTime**, **FirstCustomerCommentTime**: Filter by corresponding timeline events\r\n\r\nPagination parameters (`page`, `pageSize`, etc.) can be provided to control the result set.\r\n",
        "operationId": "incidents_get_all_incidents",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Incidents",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentGeneralDtoPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Incidents"
        ],
        "summary": "Get one incident",
        "description": "Returns an incident",
        "operationId": "incidents_get_incident",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Incident",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/{id}/raw_data": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Incidents"
        ],
        "summary": "Get raw_data",
        "description": "Get raw_data of an incident.",
        "operationId": "incidents_get_raw_data",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Raw",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RawIncident"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/{id}/comments": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_Incidents"
        ],
        "summary": "Add a note to an incident.",
        "description": "add note to incident",
        "operationId": "incidents_add_note_to_incident",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NoteDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Incident",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/{id}/comments/admin": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_Incidents"
        ],
        "summary": "Add a note to an incident by admin.",
        "description": "add note to incident by admin",
        "operationId": "incidents_add_note_to_incident_by_admin",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NoteDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Incident",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/{id}/close/{status}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_Incidents"
        ],
        "summary": "Close incident",
        "description": "Use this endpoint to close an incident. The possible statuses are : \r\n<br>\r\n- **LegitAction**: Choose this outcome when this security incident is considered as True positive but your investigation resulted in a legitimate action done by a user or a system and no whitelisting can be done (eg: User account added to an AD critical monitored group, MultiFactor Authentication Manipulations).\r\n- **Mitigated**: Choose this outcome when a security incident is considered as True positive but has been mitigated or blocked by a security countermeasure (eg : a suspicious email detected but blocked by an email gateway).\r\n- **FalsePositive**: Choose this outcome when this security incident is considered as False positive because the UC should not have triggered and need to be adjusted  with whitelisting (IP, username, ...) (eg: Network internal scanner appliance hits honeypot, custom executable or script with inappropriate action)\r\n- **UsecaseTest**: Choose this outcome when this security incident is considered as True positive directly related to a scheduled test done by you or by the HK team.\r\n- **ImpactOnSecurity**:  Choose this outcome when this security incident is considered as True positive with an impact on your environment (Will count on the security grade in the report) (eg: Use of Break-Glass account or Malware outbreak)\r\n- **Pentest**: Choose this outcome when this security incident is considered as True positive directly related to a Penetration Test done by an external contractor.\r\n- **Indeterminate**: Choose this outcome when after your investigation it's not possible to determine whether it's True or False positive security incident.\r\n",
        "operationId": "incidents_close_incident",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "status",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NoteDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Incident",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/usecases": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Incidents"
        ],
        "summary": "Get usecases",
        "description": "Get usecases",
        "operationId": "incidents_get_usecases",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns distinct usecases",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/usecases/summary": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Incidents"
        ],
        "summary": "Get usecases summary",
        "description": "Get usecases summary",
        "operationId": "incidents_get_usecases_summary",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns usecases summary",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/UsecasesSummary"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/usecase/{usecase}/summary/advanced": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Incidents"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "usecase",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "end",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/notification-groups": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_NotificationGroup"
        ],
        "summary": "Create a notification group",
        "description": "Notification groups are used with notification rules to add a user or email to a list of mail notification recipients. This endpoint allows the creation of a notification group.",
        "operationId": "incidents_create_notification_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationGroupDtoSingle"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationGroupDtoSingle"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationGroupDtoSingle"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationGroupDtoSingle"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "hk-sofa-incidents_NotificationGroup"
        ],
        "summary": "Get all notification groups",
        "description": "Returns a paginated list of all notification groups",
        "operationId": "incidents_get_all_notification_groups",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationGroupDtoGeneralPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/notification-groups/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_NotificationGroup"
        ],
        "summary": "Get single notification group",
        "description": "Returns a single notification group by its ID",
        "operationId": "incidents_get_single_notification_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationGroupDtoSingle"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-incidents_NotificationGroup"
        ],
        "summary": "Delete notification group",
        "description": "Delete a single notification group by its ID",
        "operationId": "incidents_delete_single_notification_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-incidents_NotificationGroup"
        ],
        "summary": "Update notification group",
        "description": "Updates a single notification group",
        "operationId": "incidents_update_single_notification_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationGroupDtoSingle"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationGroupDtoSingle"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationGroupDtoSingle"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Notification groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/notification-groups/{id}/recipients/email/{email}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_NotificationGroup"
        ],
        "summary": "Add email to group",
        "description": "Adds a non portal user email to a notification group. This can be used to notify by mail systems like Service Now.",
        "operationId": "incidents_link_email_to_notification_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "email",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/notification-groups/{id}/recipients/user/{userId}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_NotificationGroup"
        ],
        "summary": "Add user to group",
        "description": "Adds a portal user to a notification group.",
        "operationId": "incidents_link_user_to_notification_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/notification-groups/{id}/recipients/{recipientId}": {
      "servers": [],
      "delete": {
        "tags": [
          "hk-sofa-incidents_NotificationGroup"
        ],
        "summary": "Unlink recipient",
        "description": "Unlins a recipient (user or email) by its ID from a notification group.",
        "operationId": "incidents_unlink_user_from_notification_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "recipientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification groups.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/notification-rules": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_NotificationRule"
        ],
        "summary": "Create a notification rule",
        "description": "Notification rules are used with notification groups to send mail notification to recipients based on the defined rules. This endpoint allows the creation of a notification rule.",
        "operationId": "incidents_create_notification_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationRuleDtoSingle"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationRuleDtoSingle"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationRuleDtoSingle"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationRuleDtoSingle"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "hk-sofa-incidents_NotificationRule"
        ],
        "summary": "Get all notification rules",
        "description": "Returns a paginated list of all currentlry defined notification rules.",
        "operationId": "incidents_get_notification_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification rules.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationRuleDtoGeneralPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/notification-rules/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_NotificationRule"
        ],
        "summary": "Get single rule",
        "description": "Returns a single notification rule by its ID",
        "operationId": "incidents_get_single_notification_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification rule.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationRuleDtoSingle"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-incidents_NotificationRule"
        ],
        "summary": "Update single rule",
        "description": "Updates a single notification rule by its ID",
        "operationId": "incidents_update_single_notification_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationRuleDtoSingle"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationRuleDtoSingle"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationRuleDtoSingle"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-incidents_NotificationRule"
        ],
        "summary": "Delete single rule",
        "description": "Deletes a single notification rule by its ID",
        "operationId": "incidents_delete_single_notification_rule",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/notification-rules/{id}/groups/{groupId}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_NotificationRule"
        ],
        "summary": "Link group to rule",
        "description": "Links a notification rule to a notification group",
        "operationId": "incidents_link_rule_to_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Linked.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-incidents_NotificationRule"
        ],
        "summary": "Unlink group from rule",
        "description": "Unlinks a notification rule from a notification group",
        "operationId": "incidents_unlink_rule_to_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Unlinked.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/notification-rules/templates": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_NotificationRule"
        ],
        "summary": "Get available notification templates",
        "description": "Returns a collection of available notification templates",
        "operationId": "incidents_get_notification_templates",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification templates.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationTemplateDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/incidents/{id}/satisfaction": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Satisfaction"
        ],
        "summary": "Get satisfaction of an incident",
        "description": "Return the satisfaction of a given incident. You must be Admin to get the satisfaction",
        "operationId": "incidents_get_incident_satisfaction",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Satisfaction",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SatisfactionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-incidents_Satisfaction"
        ],
        "summary": "Add satifaction to an incident",
        "description": "Add a satisfaction to a given incident. The satisfaction is a rate between 1 and 5 and an optional comment",
        "operationId": "incidents_add_incident_satisfaction",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SatisfactionCreateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SatisfactionCreateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SatisfactionCreateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Reviewed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SatisfactionCreateDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/sync": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_Sync"
        ],
        "summary": "Sync all incidents by organization",
        "description": "Trigger a job that syncs all the incidents of a given organization",
        "operationId": "incidents_sync_all_incidents_by_organization",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job triggered",
            "content": {
              "application/json": {}
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/sync/{iid}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_Sync"
        ],
        "summary": "Sync an incident",
        "description": "Trigger a job that sync a particular incident",
        "operationId": "incidents_sync_one_incident",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "iid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job triggered",
            "content": {
              "application/json": {}
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/sync/all": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Sync"
        ],
        "summary": "Sync all incidents of all customers",
        "description": "Trigger a job that syncs all incidents",
        "operationId": "incidents_sync_all_incidents",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job triggered",
            "content": {
              "application/json": {}
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/templates": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_Template"
        ],
        "summary": "Get formatted template by payload",
        "description": "Create an incident body from an incident payload. It fetches the template from usecase definition and replaces placeholders with variables from the payload.",
        "operationId": "incidents_get_template_by_payload",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {}
            },
            "text/json": {
              "schema": {}
            },
            "application/*+json": {
              "schema": {}
            }
          }
        },
        "responses": {
          "200": {
            "description": "Get template",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/uploads/file": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-incidents_Uploads"
        ],
        "summary": "Upload file to ticket",
        "description": "Upload a file to a ticket",
        "operationId": "incidents_upload_file_to_ticket",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "File uploaded."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/uploads": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Uploads"
        ],
        "summary": "Get uploaded ticket file",
        "description": "Get uploaded ticket file from file info.",
        "operationId": "incidents_Get uploaded ticket file",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileDirectory",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "friendlyFileName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "File.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/incidents/v2.0/organizations/{organizationCode}/uploads/{fileDirectory}/{fileName}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-incidents_Uploads"
        ],
        "summary": "Get uploaded ticket file ",
        "description": "Get uploaded ticket file from file info without query string.",
        "operationId": "incidents_get_uploaded_ticket_file_path",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileDirectory",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "File uploaded."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Organizations"
        ],
        "summary": "Get all organizations",
        "operationId": "authentifier_get_all_organizations",
        "parameters": [
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns all organizations",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationShortDtoPaginatedList"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-authentifier_Organizations"
        ],
        "summary": "Create organization",
        "operationId": "authentifier_create_one_organization",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrgCreateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrgCreateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrgCreateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Creates organization",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Organizations"
        ],
        "summary": "Get one organization",
        "operationId": "authentifier_get_one_organization",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns one organization",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthentifierOrganizationDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-authentifier_Organizations"
        ],
        "summary": "Update organization properties",
        "operationId": "authentifier_update_organization_properties",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {}
            },
            "text/json": {
              "schema": {}
            },
            "application/*+json": {
              "schema": {}
            }
          }
        },
        "responses": {
          "200": {
            "description": "Update organization properties",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/permissions": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Permissions"
        ],
        "summary": "Get all scoped permissions",
        "operationId": "authentifier_get_all_scoped_permissions",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get all scoped permissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/permissions/scopes": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Permissions"
        ],
        "summary": "Get all permission scopes",
        "operationId": "authentifier_get_all_permissions_scopes",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get all permissions scopes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/permissions/permissions": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Permissions"
        ],
        "summary": "Get all permssions ",
        "operationId": "authentifier_get_all_permissions",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get all permissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/self/permissions/{permission}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Permissions"
        ],
        "summary": "Check current user permission",
        "operationId": "authentifier_check_current_user_permission",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "permission",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Check current user permission",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/{userId}/permissions/{permission}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Permissions"
        ],
        "summary": "Check a particular permission for a user",
        "operationId": "authentifier_check_permission_for_user",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "permission",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns true if user has permssion",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/self/permissions": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Permissions"
        ],
        "summary": "Get current user permissions",
        "operationId": "authentifier_get_self_user_permissions",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get current user permissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PermissionDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/{userId}/permissions": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Permissions"
        ],
        "summary": "Get user permissions by ID",
        "operationId": "authentifier_get_user_permissions",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get user permissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PermissionDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/{userId}/permissions/copy/{sourceId}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-authentifier_Permissions"
        ],
        "summary": "copy permission from user",
        "operationId": "authentifier_copy_user_permissions",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "sourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Changed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/{userId}/Permissions": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-authentifier_Permissions"
        ],
        "summary": "Change user permissions",
        "operationId": "authentifier_change_user_permissions",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PermissionDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PermissionDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PermissionDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Changed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/permission_templates": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_PermissionTemplates"
        ],
        "summary": "Get all permission templates",
        "operationId": "authentifier_get_all_permission_templates",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns list of permission templates",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermissionTemplateGeneralDtoPaginatedList"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-authentifier_PermissionTemplates"
        ],
        "summary": "Create one permission template",
        "operationId": "authentifier_create_one_permission_template",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionTemplateUpdateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionTemplateUpdateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionTemplateUpdateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns created permission template",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermissionTemplateDto"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/permission_templates/{templateId}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_PermissionTemplates"
        ],
        "summary": "Get single permission template",
        "operationId": "authentifier_get_single_permission_template",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a single permission template",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermissionTemplateDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-authentifier_PermissionTemplates"
        ],
        "summary": "Update a single permission template",
        "operationId": "authentifier_update_single_permission_template",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionTemplateUpdateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionTemplateUpdateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionTemplateUpdateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns updated permission template",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermissionTemplateDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-authentifier_PermissionTemplates"
        ],
        "summary": "Delete single permission template",
        "operationId": "authentifier_delete_single_permission_template",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Deleted",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/auth": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get all users authorized to register to a company",
        "operationId": "authentifier_get_all_authorized_users",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns a list of users",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserAuthDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/contractual/contract": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get organization contract",
        "operationId": "authentifier_get_organization_contract",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns one organization's contract",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContractDto"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/contractual/services": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get organization services",
        "operationId": "authentifier_get_organization_services",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns one organization's services",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ServiceDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/contractual/devices": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get organization contractual devices",
        "operationId": "authentifier_get_organization_devices",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns one organization's contractual devices",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DevicesDto"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/information/kam": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get organization associated key account manager",
        "operationId": "authentifier_get_organization_kam",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns one organization's kam",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactDto"
                }
              }
            }
          },
          "204": {
            "description": "no kam associated"
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/information/csm": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get organization associated customer success manager",
        "operationId": "authentifier_get_organization_csm",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns one organization's csm",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactDto"
                }
              }
            }
          },
          "204": {
            "description": "no csm associated"
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/information/contacts": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get organization associated contacts",
        "operationId": "authentifier_get_organization_contacts",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns one organization's contacts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContactDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/information/contacts/non_primary": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get organization associated non primary contacts",
        "operationId": "authentifier_get_organization_non_primary_contacts",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns one organization's non primary contacts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContactDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/information/contacts/primary": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get organization associated primary contact",
        "operationId": "authentifier_get_organization_primary_contact",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns one organization's primary contact",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactDto"
                }
              }
            }
          },
          "204": {
            "description": "no primary contact associated"
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get all users",
        "operationId": "authentifier_get_all_users",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get all users",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthAuthentifierDtoPaginatedList"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/self": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get current user",
        "operationId": "authentifier_get_current_user",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get current user",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthAuthentifierDto"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/self/mfa": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Reset current user's MFA",
        "operationId": "authentifier_reset_current_user_mfa",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "MFA reset",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/{id}/mfa": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Reset MFA of a user. Requires the current user to be Admin",
        "operationId": "authentifier_reset_other_user_mfa",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "MFA reset",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/{id}/activation": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Switch activation state of an user. Requires the current user to be Admin. Won't work on a application or the requesting user.",
        "operationId": "authentifier_switch_user_activation",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "activation switch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthAuthentifierDto"
                }
              }
            }
          },
          "409": {
            "description": "user is an application",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "Get one user by its ID. Requires the current user to be Admin",
        "operationId": "authentifier_get_one_user",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Return user",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthAuthentifierDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-authentifier_Users"
        ],
        "summary": "delete one user by its ID. Requires the current user to be Admin. Won't work on the requesting user.",
        "operationId": "authentifier_delete_user",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "user deleted",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users_groups": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users Group"
        ],
        "summary": "Get all users groups",
        "operationId": "authentifier_get_all_users_groups",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get all users groups",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsersGroupGeneralDtoPaginatedList"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-authentifier_Users Group"
        ],
        "summary": "create an users group",
        "operationId": "authentifier_create_users_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersGroupCreateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersGroupCreateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UsersGroupCreateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "created users group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsersGroupSingleDto"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users_groups/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_Users Group"
        ],
        "summary": "Get one user group",
        "operationId": "authentifier_get_users_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get one users group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsersGroupSingleDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-authentifier_Users Group"
        ],
        "summary": "delete an users group",
        "operationId": "authentifier_delete_users_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "delete users group",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "put": {
        "tags": [
          "hk-sofa-authentifier_Users Group"
        ],
        "summary": "update an users group",
        "operationId": "authentifier_update_users_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersGroupCreateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersGroupCreateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UsersGroupCreateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "users group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsersGroupSingleDto"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users_groups/{id}/Users/{userId}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-authentifier_Users Group"
        ],
        "summary": "link an user to an users group",
        "operationId": "authentifier_link_user_users_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "users group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsersGroupSingleDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-authentifier_Users Group"
        ],
        "summary": "unlink an user of an users group",
        "operationId": "authentifier_unlink_user_users_group",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "users group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsersGroupSingleDto"
                }
              }
            }
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/hk/users/short": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_UsersShort"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/hacknowledge/users/short": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_UsersShort"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/spcs/users/short": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_UsersShort"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/authentifier/v1.0/organizations/{organizationCode}/users/short": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-authentifier_UsersShort"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/phishing/v1.0/brands": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-phishing_Brand"
        ],
        "summary": "Get all brands",
        "description": "Get all available brands. User must be admin",
        "operationId": "phishing_get_all_brands",
        "responses": {
          "200": {
            "description": "Brands.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/phishing/v1.0/brands/{search}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-phishing_Brand"
        ],
        "summary": "Serch brands",
        "description": "Search brands by query string. User must be admin",
        "operationId": "phishing_search_brands",
        "parameters": [
          {
            "name": "search",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Brands.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/phishing/v1.0/brands/sync": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-phishing_Brand"
        ],
        "summary": "Sync brands",
        "description": "Synchronizes list of available brands. User must be admin",
        "operationId": "phishing_sync_brands",
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/phishing/v1.0/health": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-phishing_Health"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              }
            }
          }
        }
      }
    },
    "/phishing/v1.0/organizations/{organizationCode}/phishing": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-phishing_Phishing"
        ],
        "summary": "Get all phishing reports",
        "description": "Returns a paginated list of all submitted phishing reports",
        "operationId": "phishing_get_all_phishing_reports",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns list of reports.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhishingReportGeneralDtoPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-phishing_Phishing"
        ],
        "summary": "Create a phishing report",
        "description": "Submit a phishing report request",
        "operationId": "phishing_create_phishing_report",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingReportSingleDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingReportSingleDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingReportSingleDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingReportSingleDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Created."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/phishing/v1.0/organizations/{organizationCode}/phishing/{reportId}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-phishing_Phishing"
        ],
        "summary": "Get one phishing report",
        "description": "Returns a single submitted phishing report by its ID",
        "operationId": "phishing_get_one_phishing_report",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns one report.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhishingReportSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-phishing_Phishing"
        ],
        "summary": "Delete a phishing report",
        "description": "Remove a submitted phishing report by its ID",
        "operationId": "phishing_delete_one_phishing_report",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Deleted."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "hk-sofa-phishing_Phishing"
        ],
        "summary": "Update phishing report",
        "description": "Update an already submitted phishing report by its ID.",
        "operationId": "phishing_update_one_phishing_report",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingReportSingleDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingReportSingleDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingReportSingleDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingReportSingleDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/phishing/v1.0/organizations/{organizationCode}/phishing/{reportId}/domains/{domainId}": {
      "servers": [],
      "patch": {
        "tags": [
          "hk-sofa-phishing_Phishing"
        ],
        "summary": "Update a domain in phishing report",
        "description": "Update a domain in an existing phishing report by their IDs",
        "operationId": "phishing_update_one_domain_phishing_report",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "domainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingDomainDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingDomainDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingDomainDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PhishingDomainDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/phishing/v1.0/organizations/{organizationCode}/phishing/{reportId}/domains/{domainId}/accept": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-phishing_Phishing"
        ],
        "summary": "Accept a phishing report",
        "description": "Accept a phishing report. User must be admin",
        "operationId": "phishing_accept_phishing_report",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "domainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "type": "string"
              }
            },
            "application/json": {
              "schema": {
                "type": "string"
              }
            },
            "text/json": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/phishing/v1.0/organizations/{organizationCode}/phishing/{reportId}/domains/{domainId}/reject": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-phishing_Phishing"
        ],
        "summary": "Reject a phishing report",
        "description": "Reject a phishing report. User must be admin",
        "operationId": "phishing_reject_phishing_report",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "domainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "type": "string"
              }
            },
            "application/json": {
              "schema": {
                "type": "string"
              }
            },
            "text/json": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Rejected.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReturnEnum"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/phishing/v1.0/organizations/{organizationCode}/phishing/sync-online": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-phishing_Phishing"
        ],
        "summary": "Sync reports online statuses",
        "description": "Synchronize the phishing reports with their online statuses",
        "operationId": "phishing_sync_phishing_reports",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Synchronized."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/missions": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-consulting_Missions"
        ],
        "summary": "Get all missions",
        "description": "Returns a paginated list of all requested missions.",
        "operationId": "consulting_get_all_missions",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of Missions",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissionGeneralDtoPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-consulting_Missions"
        ],
        "summary": "Request mission",
        "description": "Request a mission",
        "operationId": "consulting_request_mission",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Note",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartingDay",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "StartingSpan",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DaySpan"
            }
          },
          {
            "name": "EndingDay",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "EndingSpan",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DaySpan"
            }
          },
          {
            "name": "Type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/MissionType"
            }
          },
          {
            "name": "QuoteId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mission",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissionSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/missions/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-consulting_Missions"
        ],
        "summary": "Get mission",
        "description": "Returns a single mission by its ID",
        "operationId": "consulting_get_single_mission",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mission",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissionSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/missions/{id}/cancel": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-consulting_Missions"
        ],
        "summary": "cancel mission",
        "description": "cancel a mission. will only work if the mission status is requested",
        "operationId": "consulting_cancel_mission",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mission",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissionSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/management/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-consulting_Missions, Internal, Management"
        ],
        "summary": "Get mission",
        "description": "Returns a single mission by its ID",
        "operationId": "consulting_get_single_mission_management",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mission",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissionManagementDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/management/{id}/users": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-consulting_Missions, Internal, Management"
        ],
        "summary": "Get possible users for mission",
        "description": "Returns list of possible users",
        "operationId": "consulting_get_possible_users",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Users",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RegisteredConsultingDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-consulting_Missions, Internal, Management"
        ],
        "summary": "Assign User to the mission",
        "description": "Assign user to a mission, either by id or email. Replace the previously assigned users",
        "operationId": "consulting_assign_users",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "assignations",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mission",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissionManagementDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/management/{id}/accept": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-consulting_Missions, Internal, Management"
        ],
        "summary": "Accept the mission",
        "description": "accept the mission, will fail if no user is assigned",
        "operationId": "consulting_accept_mission",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "note",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mission",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissionManagementDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/management/{id}/decline": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-consulting_Missions, Internal, Management"
        ],
        "summary": "decline the mission",
        "description": "decline the mission",
        "operationId": "consulting_decline_mission",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "note",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mission",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissionManagementDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/management/{id}/done": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-consulting_Missions, Internal, Management"
        ],
        "summary": "mark the mission as done",
        "description": "mark the mission as done. Require the mission to be accepted",
        "operationId": "consulting_done_mission",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "note",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Mission",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MissionManagementDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/quotes": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-consulting_Quote"
        ],
        "summary": "Get quotes",
        "description": "Returns a paginated list of all quotes.",
        "operationId": "consulting_get_all_quotes",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of Quotes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteDtoPaginatedList"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-consulting_Quote"
        ],
        "summary": "Add a quote",
        "description": "",
        "operationId": "consulting_create_quote",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateQuoteDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateQuoteDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateQuoteDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Quote",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/quotes/active": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-consulting_Quote"
        ],
        "summary": "Get active quotes",
        "description": "return all active quotes",
        "operationId": "consulting_get_all_active_quotes",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of active Quotes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QuoteDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/consulting/v1.0/organizations/{organizationCode}/quotes/{quoteId}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-consulting_Quote"
        ],
        "summary": "mark a quote a inactive",
        "description": "",
        "operationId": "consulting_mark_quote_as_inactive",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "quoteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Quote",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDto"
                }
              }
            }
          }
        }
      }
    },
    "/file-sharing/v1.0/organizations/{organizationCode}/sent": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-filesharing_FileSharing"
        ],
        "summary": "Get sent Items From Sharepoint",
        "description": "get sent items from sharepoint",
        "operationId": "file-sharing_get_sent_items",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns the token",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileSharingDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileSharingDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileSharingDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action"
          }
        }
      }
    },
    "/file-sharing/v1.0/organizations/{organizationCode}/inbox": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-filesharing_FileSharing"
        ],
        "summary": "Get Inbox Items From Sharepoint",
        "description": "get Inbox items from sharepoint",
        "operationId": "file-sharing_get_Inbox_items",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns the token",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileSharingDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileSharingDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileSharingDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action"
          }
        }
      }
    },
    "/file-sharing/v1.0/organizations/{organizationCode}/hk": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-filesharing_FileSharing"
        ],
        "summary": "Get Hk Items From Sharepoint",
        "description": "get hk items from sharepoint",
        "operationId": "file-sharing_get_hk_items",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns the token",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileSharingDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileSharingDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileSharingDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action"
          }
        }
      }
    },
    "/file-sharing/v1.0/organizations/{organizationCode}": {
      "servers": [],
      "put": {
        "tags": [
          "hk-sofa-filesharing_FileSharing"
        ],
        "summary": "Upload Files To Sharepoint",
        "description": "upload files to sharepoint",
        "operationId": "file-sharing_upload_files",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Name": {
                    "type": "string"
                  },
                  "Description": {
                    "type": "string"
                  },
                  "Emails": {
                    "type": "string"
                  },
                  "ExpireOn": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "SharedWith.Organizations": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "SharedWith.Users": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "Files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  },
                  "FileType": {
                    "$ref": "#/components/schemas/FileType"
                  }
                }
              },
              "encoding": {
                "Name": {
                  "style": "form"
                },
                "Description": {
                  "style": "form"
                },
                "Emails": {
                  "style": "form"
                },
                "ExpireOn": {
                  "style": "form"
                },
                "SharedWith.Organizations": {
                  "style": "form"
                },
                "SharedWith.Users": {
                  "style": "form"
                },
                "Files": {
                  "style": "form"
                },
                "FileType": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "returns the token"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/x-www-form-urlencoded": {}
            }
          }
        }
      }
    },
    "/file-sharing/v1.0/organizations/{organizationCode}/{id}/downloadFile": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-filesharing_FileSharing"
        ],
        "summary": "Download file",
        "description": "download file",
        "operationId": "file-sharing_download_file",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns the token"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/x-www-form-urlencoded": {}
            }
          }
        }
      }
    },
    "/file-sharing/v1.0/organizations/{organizationCode}/{id}": {
      "servers": [],
      "delete": {
        "tags": [
          "hk-sofa-filesharing_FileSharing"
        ],
        "summary": "Delete file",
        "description": "delete file",
        "operationId": "file-sharing_delete_file",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns the token"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/x-www-form-urlencoded": {}
            }
          }
        }
      }
    },
    "/file-sharing/v1.0/organizations/{organizationCode}/{id}/sharepoint": {
      "servers": [],
      "delete": {
        "tags": [
          "hk-sofa-filesharing_FileSharing"
        ],
        "summary": "Delete file",
        "description": "delete file",
        "operationId": "file-sharing_delete_file_sharepoint",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns the token"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/x-www-form-urlencoded": {}
            }
          }
        }
      }
    },
    "/file-sharing/v1.0/health": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-filesharing_Health"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              }
            }
          }
        }
      }
    },
    "/devices/v2.0/organizations/{organizationCode}/devices": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Get devices",
        "description": "Get devices according to the query",
        "operationId": "devices_get_devices",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns list of devices"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Request device",
        "description": "Submit a configuation request of a device. The configuration must be passe in the body of the request",
        "operationId": "devices_request_device",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v2.0/organizations/{organizationCode}/devices/count": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Get devices Counts",
        "description": "Get various count of the devices",
        "operationId": "devices_get_count",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns devices count"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v2.0/organizations/{organizationCode}/devices/draft/{name}/{type}/{hardware}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Add device draft",
        "description": "Add device draft",
        "operationId": "devices_add_device_draft",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SensorSiemType"
            }
          },
          {
            "name": "hardware",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v2.0/organizations/{organizationCode}/devices/draft/{name}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Get device draft",
        "description": "Get device draft",
        "operationId": "devices_get_device_draft",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action"
          }
        }
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Delete device draft",
        "description": "Delete device draft",
        "operationId": "devices_delete_device_draft",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action"
          }
        }
      }
    },
    "/devices/v2.0/organizations/{organizationCode}/devices/GetRoles": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Get Roles",
        "description": "Get Roles according to the query",
        "operationId": "devices_get_Roles",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns distinct roles"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v2.0/organizations/{organizationCode}/devices/{id}/interfaces": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Change interfaces",
        "description": "Submit request to change interfaces of a device",
        "operationId": "devices_update_interfaces",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {}
            },
            "application/json": {
              "schema": {}
            },
            "text/json": {
              "schema": {}
            },
            "application/*+json": {
              "schema": {}
            }
          }
        },
        "responses": {
          "200": {
            "description": "Request submitted",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HolderSingleDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HolderSingleDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HolderSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v2.0/organizations/{organizationCode}/devices/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Get device",
        "description": "Get device",
        "operationId": "devices_get_device",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns device"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v2.0/organizations/{organizationCode}/devices/SynchronizeDevices": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Devices"
        ],
        "summary": "Synchronize devices",
        "description": "Synchronize devices configuration, whitelist list and IDS",
        "operationId": "devices_synchronize_devices",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Synchronized"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v1.0/health": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Health"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthDto"
                }
              }
            }
          }
        }
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/IdsVariable/{type}/{name}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Ids"
        ],
        "summary": "Get IDS variables",
        "description": "Get IDS variables of a particular device.",
        "operationId": "devices_get_ids_variables",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SensorSiemType"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns list.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdsVariableDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdsVariableDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdsVariableDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Ids"
        ],
        "summary": "Update IDS variables",
        "description": "Update IDS variables of a particular device.",
        "operationId": "devices_update_ids_variables",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SensorSiemType"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/IdsVariableDto"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/IdsVariableDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/IdsVariableDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/IdsVariableDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/IdsVariable/Synchronize": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Ids"
        ],
        "summary": "Synchronize IDS variables",
        "description": "Synchronize IDS variables from device configuration file.",
        "operationId": "devices_synchronize_ids_variables",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Updated."
          }
        }
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/sensors": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Sensors"
        ],
        "summary": "Get Sensors",
        "description": "Get Sensors according to the query",
        "operationId": "devices_get_Sensors",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns list of sensors"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        },
        "deprecated": true
      },
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Sensors"
        ],
        "summary": "Request sensor",
        "description": "request sensor",
        "operationId": "devices_request_sensor",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        },
        "deprecated": true
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/sensors/count": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Sensors"
        ],
        "summary": "Get Sensors Counts",
        "description": "Get various count of the sensors",
        "operationId": "devices_get_count_v1",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns sensor count"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        },
        "deprecated": true
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/sensors/draft/{name}/{type}/{hardware}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Sensors"
        ],
        "summary": "Add sensor draft",
        "description": "add sensor draft",
        "operationId": "devices_add_sensor_draft",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SensorSiemType"
            }
          },
          {
            "name": "hardware",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        },
        "deprecated": true
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/sensors/draft/{name}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Sensors"
        ],
        "summary": "Get sensor draft",
        "description": "get sensor draft",
        "operationId": "devices_get_sensor_draft",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action"
          }
        },
        "deprecated": true
      },
      "delete": {
        "tags": [
          "hk-sofa-srv-sensors_Sensors"
        ],
        "summary": "Delete sensor draft",
        "description": "delete sensor draft",
        "operationId": "devices_delete_sensor_draft",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action"
          }
        },
        "deprecated": true
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/sensors/GetRoles": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Sensors"
        ],
        "summary": "Get Roles",
        "description": "Get Roles according to the query",
        "operationId": "devices_get_Roles_v1",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns distinct roles"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        },
        "deprecated": true
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/sensors/sensors/{name}/interfaces": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Sensors"
        ],
        "summary": "Change interfaces",
        "description": "Submit request to change interfaces of a device",
        "operationId": "devices_update_interfaces_v1",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {}
            },
            "application/json": {
              "schema": {}
            },
            "text/json": {
              "schema": {}
            },
            "application/*+json": {
              "schema": {}
            }
          }
        },
        "responses": {
          "200": {
            "description": "Request submitted",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HolderSingleDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HolderSingleDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HolderSingleDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        },
        "deprecated": true
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/sensors/SynchronizeSensors": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Sensors"
        ],
        "summary": "Synchronize devices",
        "description": "Synchronize devices configuration, whitelist list and IDS",
        "operationId": "devices_synchronize_devices_v1",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Synchronized"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        },
        "deprecated": true
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/stats": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Stats"
        ],
        "summary": "Get Sensors Count",
        "description": "Get Sensors count according to the query",
        "operationId": "devices_get_Sensors_count",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "returns sensors count."
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/whitelist": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-srv-sensors_Whitelist"
        ],
        "summary": "Get whitelist",
        "description": "Get currently configured whitelist",
        "operationId": "devices_get_whitelist",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns data.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Whitelist"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Whitelist"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Whitelist"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/whitelist/add": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Whitelist"
        ],
        "summary": "Whitelist new IPs",
        "description": "Submits a list of IPs to be whitelisted",
        "operationId": "devices_add_to_whitelist",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommentedIp"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommentedIp"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommentedIp"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommentedIp"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/whitelist/remove": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Whitelist"
        ],
        "summary": "Remove from whitelist",
        "description": "Submits a lists of IPs to be removed from whitelist",
        "operationId": "devices_remove_from_whitelist",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommentedIp"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommentedIp"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommentedIp"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommentedIp"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/devices/v1.0/organizations/{organizationCode}/whitelist/sync": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-srv-sensors_Whitelist"
        ],
        "summary": "Sync whitelist",
        "description": "Synchronizes whitelist from configuration.",
        "operationId": "devices_sync_whitelist",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized action",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/credits/v1.0/health": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-int-credit_Health Check"
        ],
        "summary": "Get health check",
        "description": "Get service's health check",
        "responses": {
          "200": {
            "description": "Status"
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/jobs/{jobCode}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-int-credit_Jobs"
        ],
        "summary": "Start job",
        "description": "Start Job corresponding to code.\n        <br>OrganizationCode is used as parameter for some. Otherwise it is unused\n        <br>\n        <ul>\n        <li>MigrationJob</li>\n        <li>DebtEmailJob</li>\n        </ul>\n        <br>\\* indicate a job which use organization code.",
        "operationId": "credits_start_job",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jobCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/orders/balance/{pool}": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-int-credit_Order"
        ],
        "summary": "balance auto order of a given pool",
        "description": "-",
        "operationId": "credits_balanceAutoOrders",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pool",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Pool"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/orders/automatics": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-int-credit_Order"
        ],
        "summary": "return the status of all automatic orders",
        "description": "-",
        "operationId": "credits_GetAutoOrderss",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/AutoStatus"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/AutoStatus"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/AutoStatus"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/orders/balance": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-int-credit_Order"
        ],
        "summary": "return the status of automatic orders",
        "description": "-",
        "operationId": "credits_GetAutoOrders",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AutoStatus"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoStatus"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoStatus"
                }
              }
            }
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/orders": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-int-credit_Order"
        ],
        "summary": "Get a paginated list of orders",
        "description": "-",
        "operationId": "credits_GetAllOrders",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusDtoPaginatedList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusDtoPaginatedList"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusDtoPaginatedList"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-int-credit_Order"
        ],
        "summary": "Create order",
        "description": "-",
        "operationId": "credits_CreateOrder",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/orders/{id}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-int-credit_Order"
        ],
        "summary": "Get one order",
        "description": "-",
        "operationId": "credits_GetOneOrder",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDto"
                }
              }
            }
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/orders/current/{pool}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-int-credit_Order"
        ],
        "summary": "Get the order currently used",
        "description": "-",
        "operationId": "credits_GetOnCurrentOrder",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pool",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Pool"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDto"
                }
              }
            }
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/orders/total/{pool}": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-int-credit_Order"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pool",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Pool"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "end",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/orders/totals": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-int-credit_Order"
        ],
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/credits/v1.0/organizations/{organizationCode}/transactions": {
      "servers": [],
      "get": {
        "tags": [
          "hk-sofa-int-credit_Transaction"
        ],
        "summary": "Get a paginated list of transactions",
        "description": "-",
        "operationId": "credits_GetAllTransactions",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Filters",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sorts",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionDtoPaginatedList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionDtoPaginatedList"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionDtoPaginatedList"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "hk-sofa-int-credit_Transaction"
        ],
        "summary": "Create a transaction",
        "description": "-",
        "operationId": "credits_CreateTransaction",
        "parameters": [
          {
            "name": "organizationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTransactionDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTransactionDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTransactionDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusDtoPaginatedList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusDtoPaginatedList"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusDtoPaginatedList"
                }
              }
            }
          }
        }
      }
    },
    "/credits/v1.0/webhook": {
      "servers": [],
      "post": {
        "tags": [
          "hk-sofa-int-credit_WebHook"
        ],
        "summary": "Hook endpoint",
        "description": "-",
        "operationId": "credits_Hook",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {}
            },
            "text/json": {
              "schema": {}
            },
            "application/*+json": {
              "schema": {}
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Account": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "login": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "leakId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "leakName": {
            "type": "string",
            "nullable": true
          },
          "leakSource": {
            "type": "string",
            "nullable": true
          },
          "leakSize": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "leakTags": {
            "type": "string",
            "nullable": true
          },
          "leakPublishDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "leakDiscoverDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Account"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BotnetLog": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "collectedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "string",
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "ip": {
            "type": "string",
            "nullable": true
          },
          "asn": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "asnText": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "os": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "computerName": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "longitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "numberOfRecords": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "BotnetLogDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BotnetLog"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Certificate": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "notBefore": {
            "type": "string",
            "format": "date-time"
          },
          "notAfter": {
            "type": "string",
            "format": "date-time"
          },
          "domain": {
            "type": "string",
            "nullable": true
          },
          "algorithm": {
            "type": "string",
            "nullable": true
          },
          "fingerprint": {
            "type": "string",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "nullable": true
          },
          "issuer": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CertificateDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Certificate"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ColumnDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "show": {
            "type": "boolean",
            "nullable": true
          },
          "sort": {
            "$ref": "#/components/schemas/Sort"
          },
          "order": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DiscussionPost": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "threadUrl": {
            "type": "string",
            "nullable": true
          },
          "authorName": {
            "type": "string",
            "nullable": true
          },
          "authorProfileUrl": {
            "type": "string",
            "nullable": true
          },
          "threatActorId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "sourceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "sourceName": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DiscussionPostDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscussionPost"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DomainReturn": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "registrationDate": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "dns_provider_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dns_twist_provider_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "http_provider_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "port_provider_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "smtp_provider_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "whois_provider_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "geo_provider_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "screenshot_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DomainReturnDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DomainReturn"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ErrorDto": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "$ref": "#/components/schemas/ErrorResponseDto"
          }
        },
        "additionalProperties": false
      },
      "ErrorResponseDto": {
        "type": "object",
        "properties": {
          "exceptionMessage": {
            "type": "string",
            "nullable": true
          },
          "stackTrace": {
            "nullable": true
          },
          "validationErrors": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HealthDto": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternetPresenceFilterDto": {
        "type": "object",
        "properties": {
          "keywords": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KaduuHealthCheckDto": {
        "type": "object",
        "properties": {
          "lastUpdate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "kaduuStatus": {
            "type": "string",
            "nullable": true
          },
          "apiStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeywordDto": {
        "type": "object",
        "properties": {
          "keywordId": {
            "type": "string",
            "format": "uuid"
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "enabledBy": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "enabledDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastScan": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isPending": {
            "type": "boolean"
          },
          "canManage": {
            "type": "boolean"
          },
          "requestAddBy": {
            "type": "string",
            "nullable": true
          },
          "requestAddAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "requestDeleteBy": {
            "type": "string",
            "nullable": true
          },
          "requestDeleteAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "scanEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isScanning": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Leak": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "leakName": {
            "type": "string",
            "nullable": true
          },
          "leakSource": {
            "type": "string",
            "nullable": true
          },
          "leakSize": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "leakTags": {
            "type": "string",
            "nullable": true
          },
          "leakPublishDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "leakDiscoverDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "resultCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "result": {
            "$ref": "#/components/schemas/LeakResult"
          },
          "files": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LeakDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Leak"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LeakResult": {
        "type": "object",
        "properties": {
          "similarity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "numberOfRecords": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "numberOfAccounts": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "numberOfFiles": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "websites": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "similarLeaks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SimilarLeaks"
            },
            "nullable": true
          },
          "leakRansomware": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Mail": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "mail": {
            "type": "string",
            "nullable": true
          },
          "source": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MailDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Mail"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ObjectId": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "machine": {
            "type": "integer",
            "format": "int32",
            "readOnly": true,
            "deprecated": true
          },
          "pid": {
            "type": "integer",
            "format": "int32",
            "readOnly": true,
            "deprecated": true
          },
          "increment": {
            "type": "integer",
            "format": "int32",
            "readOnly": true,
            "deprecated": true
          },
          "creationTime": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "OperationType": {
        "enum": [
          "Add",
          "Remove",
          "Replace",
          "Move",
          "Copy",
          "Test",
          "Invalid"
        ],
        "type": "string"
      },
      "OrganizationDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of a department or a sector for exemple. Depending on your structure, it could be a client or a partner as well",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "description": "Free description",
            "nullable": true
          },
          "jsonProperties": {
            "description": "Organization properties",
            "nullable": true
          },
          "jsonContacts": {
            "description": "Organization contacts",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "ticketSystemUrlPattern": {
            "type": "string",
            "description": "Ticket System URL Pattern",
            "nullable": true
          },
          "isSynchronized": {
            "type": "boolean",
            "description": "Is synchronized with other services"
          },
          "isV3": {
            "type": "boolean",
            "description": "Is v3 organization"
          },
          "parentId": {
            "type": "string",
            "description": "The parent's ID -> the internal one, NOT the UID",
            "format": "uuid",
            "nullable": true
          },
          "companyId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "description": "The orgnization's ID this entity is related to",
            "format": "uuid",
            "nullable": true
          },
          "properties": {
            "type": "string",
            "description": "Organization properties",
            "nullable": true
          },
          "contacts": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "externalUId": {
            "type": "string",
            "description": "Optional External Id",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "example": {
          "name": "IT Department",
          "code": "it-dep",
          "description": "An awesome description for the IT departement",
          "isSynchronized": true,
          "parentId": "02277FAD-07BF-491E-A5AB-26136A79AF97",
          "organizationId": "A7182F64-A753-40FB-AD36-445490F9D80F"
        }
      },
      "OrganizationResponseDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of a department or a sector for exemple. Depending on your structure, it could be a client or a partner as well",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "description": "Free description",
            "nullable": true
          },
          "jsonProperties": {
            "description": "Organization properties",
            "nullable": true
          },
          "jsonContacts": {
            "description": "Organization contacts",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "ticketSystemUrlPattern": {
            "type": "string",
            "description": "Ticket System URL Pattern",
            "nullable": true
          },
          "isSynchronized": {
            "type": "boolean",
            "description": "Is synchronized with other services"
          },
          "isV3": {
            "type": "boolean",
            "description": "Is v3 organization"
          },
          "parentId": {
            "type": "string",
            "description": "The parent's ID -> the internal one, NOT the UID",
            "format": "uuid",
            "nullable": true
          },
          "companyId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "description": "The orgnization's ID this entity is related to",
            "format": "uuid",
            "nullable": true
          },
          "properties": {
            "type": "string",
            "description": "Organization properties",
            "nullable": true
          },
          "contacts": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "externalUId": {
            "type": "string",
            "description": "Optional External Id",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "example": {
          "name": "IT Department",
          "code": "it-dep",
          "description": "An awesome description for the IT departement",
          "isSynchronized": true,
          "parentId": "02277FAD-07BF-491E-A5AB-26136A79AF97",
          "organizationId": "A7182F64-A753-40FB-AD36-445490F9D80F"
        }
      },
      "Paste": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "sourceId": {
            "type": "string",
            "nullable": true
          },
          "sourceName": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PasteDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Paste"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PermissionResponseDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Post": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "threadUrl": {
            "type": "string",
            "nullable": true
          },
          "authorName": {
            "type": "string",
            "nullable": true
          },
          "authorProfileUrl": {
            "type": "string",
            "nullable": true
          },
          "threatActorId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "sourceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "sourceName": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Post"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PreferenceDtoSave": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ColumnDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "Provider": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "provider": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Ransomware": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "threat": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RansomwareDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Ransomware"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoleDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoleResponseDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SimilarLeaks": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "similarity": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Social": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string",
            "nullable": true
          },
          "keyword": {
            "type": "string",
            "nullable": true
          },
          "_id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "post": {
            "type": "string",
            "nullable": true
          },
          "link": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "likes": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "reposts": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "userAlias": {
            "type": "string",
            "nullable": true
          },
          "userProfileLink": {
            "type": "string",
            "nullable": true
          },
          "userImageLink": {
            "type": "string",
            "nullable": true
          },
          "userFriends": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "userLanguage": {
            "type": "string",
            "nullable": true
          },
          "userLocation": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SocialDto": {
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/InternetPresenceFilterDto"
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Social"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sort": {
        "enum": [
          "Asc",
          "Desc",
          "None"
        ],
        "type": "string"
      },
      "TotalDto": {
        "type": "object",
        "properties": {
          "totals": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          },
          "errors": {
            "type": "object",
            "additionalProperties": {
              "type": "boolean"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KaduuDto": {
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "apiToken": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "apiTokenExpiry": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "organizationWebsite": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "userRoles": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedAtDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserResponseCustomDto": {
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "organizationWebsite": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "userRoles": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "assignedRoles": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedAtDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserResponseDto": {
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "apiToken": {
            "type": "string",
            "nullable": true
          },
          "apiTokenExpiry": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "organizationWebsite": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "userRoles": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedAtDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserRoleOrganizationDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddressFamily": {
        "enum": [
          "Unspecified",
          "Unix",
          "InterNetwork",
          "ImpLink",
          "Pup",
          "Chaos",
          "NS",
          "Iso",
          "Ecma",
          "DataKit",
          "Ccitt",
          "Sna",
          "DecNet",
          "DataLink",
          "Lat",
          "HyperChannel",
          "AppleTalk",
          "NetBios",
          "VoiceView",
          "FireFox",
          "Banyan",
          "Atm",
          "InterNetworkV6",
          "Cluster",
          "Ieee12844",
          "Irda",
          "NetworkDesigners",
          "Max",
          "Packet",
          "ControllerAreaNetwork",
          "Unknown"
        ],
        "type": "string"
      },
      "AssetDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "ipAddress": {
            "type": "string",
            "nullable": true
          },
          "isHidden": {
            "type": "boolean"
          },
          "os": {
            "type": "string",
            "nullable": true
          },
          "operatingSystem": {
            "type": "string",
            "nullable": true
          },
          "rdns": {
            "type": "string",
            "nullable": true
          },
          "macAddress": {
            "type": "string",
            "nullable": true
          },
          "netbiosName": {
            "type": "string",
            "nullable": true
          },
          "credentialedScan": {
            "type": "boolean",
            "nullable": true
          },
          "severity": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "lastScanDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "zoneName": {
            "type": "string",
            "nullable": true
          },
          "totalUrgent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCritical": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalHigh": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalIgnored": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalObsolete": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "risk": {
            "$ref": "#/components/schemas/Risk"
          }
        },
        "additionalProperties": false
      },
      "AssetDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AssetResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "ipAddress": {
            "type": "string",
            "nullable": true
          },
          "isHidden": {
            "type": "boolean"
          },
          "os": {
            "type": "string",
            "nullable": true
          },
          "operatingSystem": {
            "type": "string",
            "nullable": true
          },
          "rdns": {
            "type": "string",
            "nullable": true
          },
          "macAddress": {
            "type": "string",
            "nullable": true
          },
          "netbiosName": {
            "type": "string",
            "nullable": true
          },
          "credentialedScan": {
            "type": "boolean",
            "nullable": true
          },
          "severity": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "lastScanDate": {
            "type": "string",
            "format": "date-time"
          },
          "zoneName": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "totalUrgent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCritical": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalHigh": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Condition": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateIngestionRuleCommand": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "ticketId": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreatePurgeRuleCommand": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "age": {
            "type": "integer",
            "format": "int32"
          },
          "ageToObsoleteInMonths": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "priority": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "notificationDelay": {
            "type": "integer",
            "format": "int32"
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "advanced": {
            "type": "boolean"
          },
          "isDefault": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "FileIngestionStatus": {
        "enum": [
          "Success",
          "Failed",
          "InProgress",
          "NotStarted",
          "Fatal",
          "Created",
          "NessusAborted",
          "NessusFailed",
          "DownloadNotAvailable"
        ],
        "type": "string"
      },
      "IContractResolver": {
        "type": "object",
        "additionalProperties": false
      },
      "IPAddress": {
        "type": "object",
        "properties": {
          "addressFamily": {
            "$ref": "#/components/schemas/AddressFamily"
          },
          "scopeId": {
            "type": "integer",
            "format": "int64"
          },
          "isIPv6Multicast": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv6LinkLocal": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv6SiteLocal": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv6Teredo": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv6UniqueLocal": {
            "type": "boolean",
            "readOnly": true
          },
          "isIPv4MappedToIPv6": {
            "type": "boolean",
            "readOnly": true
          },
          "address": {
            "type": "integer",
            "format": "int64",
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "MongoAggregatedVulnResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "cvss": {
            "type": "number",
            "format": "double"
          },
          "priority": {
            "$ref": "#/components/schemas/Priority"
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "family": {
            "type": "string",
            "nullable": true
          },
          "totalPresent": {
            "type": "integer",
            "format": "int32"
          },
          "totalRemediated": {
            "type": "integer",
            "format": "int32"
          },
          "totalObsolete": {
            "type": "integer",
            "format": "int32"
          },
          "totalIgnored": {
            "type": "integer",
            "format": "int32"
          },
          "pluginId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NessusPlugin": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "synopsis": {
            "type": "string",
            "nullable": true
          },
          "runRules": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "solution": {
            "type": "string",
            "nullable": true
          },
          "seeAlso": {
            "type": "string",
            "nullable": true
          },
          "severity": {
            "type": "string",
            "nullable": true
          },
          "pluginId": {
            "type": "integer",
            "format": "int32"
          },
          "pluginVersion": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "dependencies": {
            "type": "string",
            "nullable": true
          },
          "cvssScoreSource": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NessusVuln": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "output": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NessusVulnOutput"
            },
            "nullable": true
          },
          "plugin": {
            "$ref": "#/components/schemas/NessusPlugin"
          }
        },
        "additionalProperties": false
      },
      "NessusVulnOutput": {
        "type": "object",
        "properties": {
          "port": {
            "type": "string",
            "nullable": true
          },
          "output": {
            "type": "string",
            "nullable": true
          },
          "internalComment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrganizationDtoJsonMergePatchDocument": {
        "type": "object",
        "properties": {
          "model": {
            "$ref": "#/components/schemas/OrganizationDto"
          },
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrganizationDtoOperation"
            },
            "nullable": true,
            "readOnly": true
          },
          "contractResolver": {
            "$ref": "#/components/schemas/IContractResolver"
          }
        },
        "additionalProperties": false
      },
      "OrganizationDtoOperation": {
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationType"
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "op": {
            "type": "string",
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Priority": {
        "enum": [
          "Low",
          "Medium",
          "High",
          "Critical",
          "Urgent"
        ],
        "type": "string"
      },
      "Risk": {
        "enum": [
          "Lower",
          "Normal",
          "Higher"
        ],
        "type": "string"
      },
      "RiskChangeMultipleAssets": {
        "type": "object",
        "properties": {
          "risk": {
            "type": "string",
            "nullable": true
          },
          "assets": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RiskChangeMultipleZones": {
        "type": "object",
        "properties": {
          "risk": {
            "$ref": "#/components/schemas/Risk"
          },
          "zones": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RiskChangeSingle": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Risk"
          }
        },
        "additionalProperties": false
      },
      "RoleDtoJsonMergePatchDocument": {
        "type": "object",
        "properties": {
          "model": {
            "$ref": "#/components/schemas/RoleDto"
          },
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleDtoOperation"
            },
            "nullable": true,
            "readOnly": true
          },
          "contractResolver": {
            "$ref": "#/components/schemas/IContractResolver"
          }
        },
        "additionalProperties": false
      },
      "RoleDtoOperation": {
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationType"
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "op": {
            "type": "string",
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RuleQuery": {
        "type": "object",
        "properties": {
          "operator": {
            "type": "string",
            "nullable": true
          },
          "conditions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Condition"
            },
            "nullable": true
          },
          "subGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RuleQuery"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScanDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "targets": {
            "type": "string",
            "nullable": true
          },
          "runRules": {
            "type": "string",
            "nullable": true
          },
          "startedOn": {
            "type": "string",
            "format": "date-time"
          },
          "lastScanDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "averageDuration": {
            "type": "string",
            "format": "date-span"
          }
        },
        "additionalProperties": false
      },
      "ScanHistoryDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "nessusFileName": {
            "type": "string",
            "nullable": true
          },
          "fileIngestionStatus": {
            "$ref": "#/components/schemas/FileIngestionStatus"
          },
          "elapsedIngestionTime": {
            "type": "string",
            "format": "date-span"
          },
          "scanEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "scanStart": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "scannerEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "scannerStart": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "fileSize": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "scanDuration": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScanHistoryDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScanHistoryDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TrustSource": {
        "enum": [
          "LastScan",
          "MDE",
          "Nessus"
        ],
        "type": "string"
      },
      "VulnsDto": {
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "apiToken": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "apiTokenExpiry": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "organizationWebsite": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "userRoles": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedAtDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VulnsDtoJsonMergePatchDocument": {
        "type": "object",
        "properties": {
          "model": {
            "$ref": "#/components/schemas/VulnsDto"
          },
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VulnsDtoOperation"
            },
            "nullable": true,
            "readOnly": true
          },
          "contractResolver": {
            "$ref": "#/components/schemas/IContractResolver"
          }
        },
        "additionalProperties": false
      },
      "VulnsDtoOperation": {
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationType"
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "op": {
            "type": "string",
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VulnBulkDto": {
        "type": "object",
        "properties": {
          "vulns": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "ticketId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "ignoredDuration": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VulnDetailDto": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          },
          "ticket": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VulnResponseSingle": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "priority": {
            "$ref": "#/components/schemas/Priority"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "ipAddress": {
            "type": "string",
            "nullable": true
          },
          "zoneName": {
            "type": "string",
            "nullable": true
          },
          "assetName": {
            "type": "string",
            "nullable": true
          },
          "port": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "synopsis": {
            "type": "string",
            "nullable": true
          },
          "solution": {
            "type": "string",
            "nullable": true
          },
          "severity": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "age": {
            "type": "integer",
            "format": "int32"
          },
          "family": {
            "type": "string",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "ticketId": {
            "type": "string",
            "nullable": true
          },
          "assetId": {
            "type": "string",
            "nullable": true
          },
          "pluginId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vprScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "cve": {
            "type": "string",
            "nullable": true
          },
          "output": {
            "type": "string",
            "nullable": true
          },
          "nessusVulnData": {
            "$ref": "#/components/schemas/NessusVuln"
          },
          "assetRdns": {
            "type": "string",
            "nullable": true
          },
          "assetNetbiosName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VulnsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "priority": {
            "$ref": "#/components/schemas/Priority"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "ipAddress": {
            "type": "string",
            "nullable": true
          },
          "zoneName": {
            "type": "string",
            "nullable": true
          },
          "assetName": {
            "type": "string",
            "nullable": true
          },
          "port": {
            "type": "string",
            "nullable": true
          },
          "severity": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "age": {
            "type": "integer",
            "format": "int32"
          },
          "family": {
            "type": "string",
            "nullable": true
          },
          "cvssScore": {
            "type": "number",
            "format": "double"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "ticketId": {
            "type": "string",
            "nullable": true
          },
          "assetId": {
            "type": "string",
            "nullable": true
          },
          "pluginId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vprScore": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "cve": {
            "type": "string",
            "nullable": true
          },
          "assetRdns": {
            "type": "string",
            "nullable": true
          },
          "assetNetbiosName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ZoneDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "range": {
            "type": "string",
            "nullable": true
          },
          "lastScan": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "nextScan": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastEdit": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "startedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "risk": {
            "$ref": "#/components/schemas/Risk"
          },
          "plan": {
            "type": "string",
            "nullable": true
          },
          "rRules": {
            "type": "string",
            "nullable": true
          },
          "averageDuration": {
            "type": "string",
            "format": "date-span"
          },
          "nessusZoneData": {
            "$ref": "#/components/schemas/ScanDto"
          },
          "totalCredentialedScanSucceeded": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCredentialedScanFailed": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalAssets": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sensorName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ZoneDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ZoneDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Affinity": {
        "enum": [
          "Favorite",
          "Hidden",
          "Standard"
        ],
        "type": "string"
      },
      "AffinityChangesDto": {
        "type": "object",
        "properties": {
          "codes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "affinity": {
            "$ref": "#/components/schemas/Affinity"
          }
        },
        "additionalProperties": false
      },
      "DynamicFilterData": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DynamicFiltersDto": {
        "type": "object",
        "properties": {
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DynamicFilterData"
            },
            "nullable": true
          },
          "technology": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DynamicFilterData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImplementedUsecaseDto": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "nullable": true
          },
          "cluster": {
            "type": "string",
            "nullable": true
          },
          "tenant": {
            "type": "string",
            "nullable": true
          },
          "subscription": {
            "type": "string",
            "nullable": true
          },
          "workspace": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "is247": {
            "type": "boolean"
          },
          "isAutosend": {
            "type": "boolean"
          },
          "placeholders": {
            "nullable": true
          },
          "implementationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MitreGradient": {
        "type": "object",
        "properties": {
          "colors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "minValue": {
            "type": "integer",
            "format": "int32"
          },
          "maxValue": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MitreLayer": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "versions": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "domain": {
            "type": "string",
            "nullable": true
          },
          "sorting": {
            "type": "integer",
            "format": "int32"
          },
          "layout": {
            "$ref": "#/components/schemas/MitreLayout"
          },
          "hideDisabled": {
            "type": "boolean"
          },
          "techniques": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MitreTechnique"
            },
            "nullable": true
          },
          "gradients": {
            "$ref": "#/components/schemas/MitreGradient"
          },
          "legendItems": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "showTacticRowBackground": {
            "type": "boolean"
          },
          "tacticRowBackground": {
            "type": "string",
            "nullable": true
          },
          "selectTechniquesAcrossTactics": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "MitreLayout": {
        "type": "object",
        "properties": {
          "layout": {
            "type": "string",
            "nullable": true
          },
          "aggregateFunction": {
            "type": "string",
            "nullable": true
          },
          "showName": {
            "type": "boolean"
          },
          "showId": {
            "type": "boolean"
          },
          "showAggregateScore": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "MitreTechnique": {
        "type": "object",
        "properties": {
          "techniqueID": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "score": {
            "type": "integer",
            "format": "int32"
          },
          "color": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MitreTokenDto": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "RequestDto": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string",
            "nullable": true
          },
          "sourceDescription": {
            "$ref": "#/components/schemas/SourceDescription"
          }
        },
        "additionalProperties": false
      },
      "SourceDescription": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "nullable": true
          },
          "cluster": {
            "type": "string",
            "nullable": true
          },
          "tenant": {
            "type": "string",
            "nullable": true
          },
          "subscription": {
            "type": "string",
            "nullable": true
          },
          "workspace": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Tags": {
        "type": "object",
        "properties": {
          "killChainPhases": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "cve": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "impact": {
            "type": "string",
            "nullable": true
          },
          "hkTags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "mitre": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "generic": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "atomicTestGuid": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TriggerCountDto": {
        "type": "object",
        "properties": {
          "legitAction": {
            "type": "integer",
            "format": "int32"
          },
          "falsePositive": {
            "type": "integer",
            "format": "int32"
          },
          "mitigated": {
            "type": "integer",
            "format": "int32"
          },
          "indeterminate": {
            "type": "integer",
            "format": "int32"
          },
          "truePositive": {
            "type": "integer",
            "format": "int32"
          },
          "ucTest": {
            "type": "integer",
            "format": "int32"
          },
          "pentest": {
            "type": "integer",
            "format": "int32"
          },
          "totalOutcomes": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UsecaseGeneralDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "product": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "technology": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "implementationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "releaseDate": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "reviewDate": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "confidenceGeneral": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "readOnly": true
          },
          "confidenceCompany": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "readOnly": true
          },
          "incidents": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "latestIncident": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "severity": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "is247": {
            "type": "boolean",
            "readOnly": true
          },
          "isAutosend": {
            "type": "boolean",
            "readOnly": true
          },
          "possibleAutosend": {
            "type": "boolean",
            "readOnly": true
          },
          "backends": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "seen": {
            "type": "boolean",
            "readOnly": true
          },
          "affinity": {
            "$ref": "#/components/schemas/Affinity"
          },
          "yearlyAlerts": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "UsecaseGeneralDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsecaseGeneralDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UsecaseSingleDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "severity": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "technology": {
            "type": "string",
            "nullable": true
          },
          "product": {
            "type": "string",
            "nullable": true
          },
          "releaseDate": {
            "type": "string",
            "format": "date"
          },
          "possibleAutosend": {
            "type": "boolean"
          },
          "reviewDate": {
            "type": "string",
            "format": "date"
          },
          "latestIncident": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImplementedUsecaseDto"
            },
            "nullable": true
          },
          "triggerCount": {
            "$ref": "#/components/schemas/TriggerCountDto"
          },
          "confidenceGeneral": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "confidenceCompany": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "documentation": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "backends": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "tags": {
            "$ref": "#/components/schemas/Tags"
          },
          "affinity": {
            "$ref": "#/components/schemas/Affinity"
          },
          "files": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "yearlyAlerts": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AnalysisSingleDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "$ref": "#/components/schemas/Status"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "hasThreat": {
            "type": "boolean",
            "nullable": true
          },
          "environment": {
            "$ref": "#/components/schemas/Environment"
          },
          "verdict": {
            "$ref": "#/components/schemas/Verdict"
          },
          "requestedBy": {
            "$ref": "#/components/schemas/AnyrunDto"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "validated": {
            "type": "boolean"
          },
          "ticketId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AnalysisSingleDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalysisSingleDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Environment": {
        "type": "object",
        "properties": {
          "os": {
            "$ref": "#/components/schemas/Os"
          },
          "bitness": {
            "type": "integer",
            "format": "int32"
          },
          "version": {
            "$ref": "#/components/schemas/Version"
          },
          "type": {
            "$ref": "#/components/schemas/Type"
          },
          "locale": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Os": {
        "enum": [
          "Windows",
          "Linux",
          "Android"
        ],
        "type": "string"
      },
      "Status": {
        "enum": [
          "Invalid",
          "Request",
          "Sent",
          "Processing",
          "Success",
          "Failure"
        ],
        "type": "string"
      },
      "Type": {
        "enum": [
          "Complete",
          "Development"
        ],
        "type": "string"
      },
      "AnyrunDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isSpcs": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "organizationCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Validation": {
        "type": "object",
        "properties": {
          "newThreat": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Verdict": {
        "type": "object",
        "properties": {
          "score": {
            "type": "integer",
            "format": "int32"
          },
          "threatLevel": {
            "type": "integer",
            "format": "int32"
          },
          "threatLevelText": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Version": {
        "enum": [
          "Win10",
          "Win11",
          "Win7",
          "Linux22042",
          "Linux122",
          "Android14"
        ],
        "type": "string"
      },
      "AuthorDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "isHacknowledge": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CommentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "author": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "content": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CostCenterDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CostDto": {
        "type": "object",
        "properties": {
          "totalOpened": {
            "type": "integer",
            "format": "int32"
          },
          "totalClosed": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "EstimateHistory": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "estimate": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "File": {
        "type": "object",
        "additionalProperties": false
      },
      "IssueGeneralDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "lastUpdateDate": {
            "type": "string",
            "format": "date-time"
          },
          "closeDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "cost": {
            "type": "integer",
            "format": "int32"
          },
          "commentsCount": {
            "type": "integer",
            "format": "int32"
          },
          "author": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "lastCommenter": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "costCenter": {
            "$ref": "#/components/schemas/CostCenterDto"
          }
        },
        "additionalProperties": false
      },
      "IssueGeneralDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IssueGeneralDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "IssueSingleDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "author": {
            "$ref": "#/components/schemas/AuthorDto"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastUpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "closedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "files": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "cost": {
            "type": "integer",
            "format": "int32"
          },
          "comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommentDto"
            },
            "nullable": true
          },
          "locked": {
            "type": "boolean"
          },
          "costCenter": {
            "$ref": "#/components/schemas/CostCenterDto"
          }
        },
        "additionalProperties": false
      },
      "NameDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StatsCount": {
        "type": "object",
        "properties": {
          "spcs": {
            "type": "integer",
            "format": "int32"
          },
          "customer": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TicketCreationDto": {
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 255,
            "minLength": 3,
            "type": "string",
            "nullable": true
          },
          "description": {
            "minLength": 3,
            "type": "string",
            "nullable": true
          },
          "templateID": {
            "minLength": 1,
            "type": "string",
            "nullable": true
          },
          "priority": {
            "type": "string",
            "nullable": true
          },
          "isInternal": {
            "type": "boolean"
          },
          "costCenterId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TicketUpdateDto": {
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 255,
            "minLength": 3,
            "type": "string",
            "nullable": true
          },
          "description": {
            "minLength": 3,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthOrganization": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "externalUId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name",
            "nullable": true
          },
          "code": {
            "type": "string",
            "description": "Code",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "IsActive"
          },
          "description": {
            "type": "string",
            "description": "Description",
            "nullable": true
          },
          "properties": {
            "type": "string",
            "nullable": true
          },
          "contacts": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "Website",
            "nullable": true
          },
          "ticketSystemUrlPattern": {
            "type": "string",
            "description": "Ticket System URL Pattern",
            "nullable": true
          },
          "isSynchronized": {
            "type": "boolean"
          },
          "isV3": {
            "type": "boolean"
          },
          "parentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "parent": {
            "$ref": "#/components/schemas/AuthOrganization"
          },
          "childs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthOrganization"
            },
            "nullable": true,
            "readOnly": true
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthUser"
            },
            "nullable": true,
            "readOnly": true
          },
          "usersRolesOrganizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthUserRoleOrganization"
            },
            "nullable": true,
            "readOnly": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthPermission": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "externalUId": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "rolePermissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthRolePermission"
            },
            "nullable": true,
            "readOnly": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthRole": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "externalUId": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "rolePermissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthRolePermission"
            },
            "nullable": true,
            "readOnly": true
          },
          "usersRolesOrganizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthUserRoleOrganization"
            },
            "nullable": true,
            "readOnly": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthRolePermission": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "permissionId": {
            "type": "string",
            "format": "uuid"
          },
          "permission": {
            "$ref": "#/components/schemas/AuthPermission"
          },
          "roleId": {
            "type": "string",
            "format": "uuid"
          },
          "role": {
            "$ref": "#/components/schemas/AuthRole"
          },
          "order": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthUser": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "externalUId": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "IsActive"
          },
          "firstName": {
            "type": "string",
            "description": "FirstName",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "LastName",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Email",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastActivity": {
            "type": "string",
            "description": "LastActivity",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean"
          },
          "apiToken": {
            "type": "string",
            "nullable": true
          },
          "apiTokenSalt": {
            "type": "string",
            "nullable": true
          },
          "apiTokenExpiry": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedAtDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "userIdentity": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "organization": {
            "$ref": "#/components/schemas/AuthOrganization"
          },
          "usersRolesOrganizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthUserRoleOrganization"
            },
            "nullable": true,
            "readOnly": true
          },
          "userPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthUserRoleOrganization": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "user": {
            "$ref": "#/components/schemas/AuthUser"
          },
          "roleId": {
            "type": "string",
            "format": "uuid"
          },
          "role": {
            "$ref": "#/components/schemas/AuthRole"
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "organization": {
            "$ref": "#/components/schemas/AuthOrganization"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CheckReportingVersionNumDto": {
        "type": "object",
        "properties": {
          "isLast": {
            "type": "boolean"
          },
          "lastReportingVersion": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CreateDatasourceDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          },
          "query": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateReportDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "frequency": {
            "type": "string",
            "nullable": true
          },
          "templateId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateTemplateDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "backends": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JToken"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CybersecurityLeagueDto": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/DatasourceType"
          },
          "data": {
            "type": "array",
            "items": {},
            "nullable": true
          },
          "points": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CybersecurityScoreDto": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/DatasourceType"
          },
          "data": {
            "type": "array",
            "items": {},
            "nullable": true
          },
          "multi": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DatasourceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          },
          "query": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "locked": {
            "type": "boolean"
          },
          "isVuln": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DatasourceDtoWithStats": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          },
          "query": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "locked": {
            "type": "boolean"
          },
          "isVuln": {
            "type": "boolean"
          },
          "stats": {
            "$ref": "#/components/schemas/DatasourceStatsDto"
          }
        },
        "additionalProperties": false
      },
      "DatasourceDtoWithStatsPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DatasourceDtoWithStats"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DatasourceStatsDto": {
        "type": "object",
        "properties": {
          "reportUsed": {
            "type": "integer",
            "format": "int32"
          },
          "releasedReportUsed": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DatasourceTestDto": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/DatasourceType"
          },
          "data": {
            "type": "array",
            "items": {},
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DatasourceType": {
        "enum": [
          "Raw",
          "Table",
          "BarChart",
          "PieChart",
          "LineChart",
          "FunnelChart",
          "Gauge",
          "DashedGauge",
          "UsecaseCard",
          "IncidentTable",
          "IncidentTimeframe",
          "ColumnChart",
          "Tasks",
          "TextEditor",
          "EventsTable",
          "Custom",
          "Sunburst",
          "CounterCard"
        ],
        "type": "string"
      },
      "GetReportDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "frequency": {
            "type": "string",
            "nullable": true
          },
          "versions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportingVersionWithoutContentDto"
            },
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetReportDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetReportDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetReportLastReportingVersionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "authOrganizationCode": {
            "type": "string",
            "nullable": true
          },
          "authOrganizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "templateId": {
            "type": "string",
            "format": "uuid"
          },
          "templateName": {
            "type": "string",
            "nullable": true
          },
          "templateType": {
            "type": "string",
            "nullable": true
          },
          "frequency": {
            "type": "string",
            "nullable": true
          },
          "templateBackends": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/ReportingVersionDto"
          },
          "presentedByName": {
            "type": "string",
            "nullable": true
          },
          "presentedId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "presentedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "presentationType": {
            "type": "string",
            "nullable": true
          },
          "presenceNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "presenceId": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "presenceRaw": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "versionNum": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetTemplateDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "backends": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JToken"
            },
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "numberOfReports": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetTemplateDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetTemplateDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "JToken": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/JToken"
        }
      },
      "LastExecutionIdDto": {
        "type": "object",
        "properties": {
          "index": {
            "type": "string",
            "nullable": true
          },
          "sourcetype": {
            "type": "string",
            "nullable": true
          },
          "executionId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NormalizedSection": {
        "type": "object",
        "properties": {
          "widgetId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "widgetName": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {},
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Operation": {
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationType"
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "op": {
            "type": "string",
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PresenceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "raw": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Report": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "externalUId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "maxLength": 24,
            "type": "string",
            "nullable": true
          },
          "authOrganizationId": {
            "type": "string",
            "format": "uuid"
          },
          "authOrganization": {
            "$ref": "#/components/schemas/AuthOrganization"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "frequency": {
            "type": "string",
            "nullable": true
          },
          "templateId": {
            "type": "string",
            "format": "uuid"
          },
          "template": {
            "$ref": "#/components/schemas/Template"
          },
          "versions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportingVersion"
            },
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "presentedById": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "presentedBy": {
            "$ref": "#/components/schemas/AuthUser"
          },
          "presentedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "presentationType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "authOrganizationCode": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "templateId": {
            "type": "string",
            "format": "uuid"
          },
          "templateName": {
            "type": "string",
            "nullable": true
          },
          "templateType": {
            "type": "string",
            "nullable": true
          },
          "templateBackends": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SecurityPostureDto": {
        "type": "object",
        "properties": {
          "cybersecurityLeague": {
            "$ref": "#/components/schemas/CybersecurityLeagueDto"
          },
          "cybersecurityScore": {
            "$ref": "#/components/schemas/CybersecurityScoreDto"
          },
          "ranking": {
            "$ref": "#/components/schemas/SecurityPostureRankingDto"
          },
          "previousCybersecurityLeague": {
            "$ref": "#/components/schemas/CybersecurityLeagueDto"
          },
          "previousCybersecurityScore": {
            "$ref": "#/components/schemas/CybersecurityScoreDto"
          },
          "timeline": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/SecurityPostureWithoutTimelineDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SecurityPostureRankingDto": {
        "type": "object",
        "properties": {
          "min": {
            "type": "integer",
            "format": "int32"
          },
          "max": {
            "type": "integer",
            "format": "int32"
          },
          "avg": {
            "type": "integer",
            "format": "int32"
          },
          "score": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SecurityPostureWithoutTimelineDto": {
        "type": "object",
        "properties": {
          "cybersecurityLeague": {
            "$ref": "#/components/schemas/CybersecurityLeagueDto"
          },
          "cybersecurityScore": {
            "$ref": "#/components/schemas/CybersecurityScoreDto"
          },
          "ranking": {
            "$ref": "#/components/schemas/SecurityPostureRankingDto"
          }
        },
        "additionalProperties": false
      },
      "Template": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "externalUId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "maxLength": 128,
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "backends": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "content": {
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "TemplateDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "backends": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JToken"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateDatasourceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          },
          "query": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateReportDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "frequency": {
            "type": "string",
            "nullable": true
          },
          "templateId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateReportingVersionReportDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "frequency": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JToken"
            },
            "nullable": true
          },
          "presentedBy": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "presentedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "presences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PresenceDto"
            },
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ReportingDto": {
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "apiToken": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "apiTokenExpiry": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "organizationWebsite": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "userRoles": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedAtDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportingDtoJsonMergePatchDocument": {
        "type": "object",
        "properties": {
          "model": {
            "$ref": "#/components/schemas/ReportingDto"
          },
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportingDtoOperation"
            },
            "nullable": true,
            "readOnly": true
          },
          "contractResolver": {
            "$ref": "#/components/schemas/IContractResolver"
          }
        },
        "additionalProperties": false
      },
      "ReportingDtoOperation": {
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationType"
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "op": {
            "type": "string",
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportingVersion": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "externalUId": {
            "type": "string",
            "nullable": true
          },
          "reportId": {
            "type": "string",
            "format": "uuid"
          },
          "report": {
            "$ref": "#/components/schemas/Report"
          },
          "content": {
            "nullable": true
          },
          "statusCache": {
            "type": "string",
            "nullable": true
          },
          "action": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportingVersionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "reportId": {
            "type": "string",
            "format": "uuid"
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JToken"
            },
            "nullable": true
          },
          "statusCache": {
            "type": "string",
            "nullable": true
          },
          "action": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportingVersionWithoutContentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "reportId": {
            "type": "string",
            "format": "uuid"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          },
          "statusCache": {
            "type": "string",
            "nullable": true
          },
          "action": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AlertMetadata": {
        "type": "object",
        "properties": {
          "backend": {
            "type": "string",
            "nullable": true
          },
          "customer": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "is247": {
            "type": "string",
            "nullable": true
          },
          "level": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "usecase": {
            "type": "string",
            "nullable": true
          },
          "owner": {
            "type": "string",
            "nullable": true
          },
          "notableId": {
            "type": "string",
            "nullable": true
          },
          "incidentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detectionTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "investigationTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "autoSend": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IncidentAuthorDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isSpcs": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CallTreeCreateContactDto": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "isPhoneFromAllCountries": {
            "type": "boolean"
          },
          "slaMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "position": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CallTreeCreateDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "remarks": {
            "type": "string",
            "nullable": true
          },
          "timeSlots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CallTreeTimeSlot"
            },
            "nullable": true
          },
          "severities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CallTreeSeverity"
            },
            "nullable": true
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CallTreeCreateContactDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CallTreeSeverity": {
        "enum": [
          "Critical",
          "High",
          "Medium",
          "Low"
        ],
        "type": "string"
      },
      "CallTreeTimeSlot": {
        "enum": [
          "WorkingHours",
          "OutsideWorkingHours"
        ],
        "type": "string"
      },
      "IncidentCommentDto": {
        "type": "object",
        "properties": {
          "author": {
            "$ref": "#/components/schemas/IncidentAuthorDto"
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "content": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isClosure": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IncidentGeneralDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "backend": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "severity": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "usecases": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "detectionTime": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "investigationTime": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "closedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "eventCreationTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "viewTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "commentsCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "slaInvestigation": {
            "$ref": "#/components/schemas/SLADto"
          },
          "slaNotification": {
            "$ref": "#/components/schemas/SLADto"
          },
          "slaCustomer": {
            "$ref": "#/components/schemas/SLADto"
          },
          "slaClosure": {
            "$ref": "#/components/schemas/SLADto"
          },
          "is247": {
            "type": "boolean",
            "readOnly": true
          },
          "isAutosend": {
            "type": "boolean",
            "readOnly": true
          },
          "owner": {
            "$ref": "#/components/schemas/IncidentAuthorDto"
          }
        },
        "additionalProperties": false
      },
      "IncidentGeneralDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IncidentGeneralDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "IncidentSingleDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "backend": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "severity": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "usecases": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "detectionTime": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "investigationTime": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "closedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "eventCreationTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "viewTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "commentsCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "slaInvestigation": {
            "$ref": "#/components/schemas/SLADto"
          },
          "slaNotification": {
            "$ref": "#/components/schemas/SLADto"
          },
          "slaCustomer": {
            "$ref": "#/components/schemas/SLADto"
          },
          "slaClosure": {
            "$ref": "#/components/schemas/SLADto"
          },
          "is247": {
            "type": "boolean",
            "readOnly": true
          },
          "isAutosend": {
            "type": "boolean",
            "readOnly": true
          },
          "owner": {
            "$ref": "#/components/schemas/IncidentAuthorDto"
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IncidentCommentDto"
            },
            "nullable": true,
            "readOnly": true
          },
          "files": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "NoteDto": {
        "type": "object",
        "properties": {
          "body": {
            "type": "string",
            "nullable": true
          },
          "isInternal": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NotificationGroupDtoGeneral": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "rulesCount": {
            "type": "integer",
            "format": "int32"
          },
          "recipientsCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NotificationGroupDtoGeneralPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationGroupDtoGeneral"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NotificationGroupDtoLimited": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotificationGroupDtoSingle": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationRuleDtoLimited"
            },
            "nullable": true
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationRecipientDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotificationRecipientDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotificationRuleDtoGeneral": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "template": {
            "$ref": "#/components/schemas/TemplateType"
          },
          "groupsCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NotificationRuleDtoGeneralPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationRuleDtoGeneral"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NotificationRuleDtoLimited": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotificationRuleDtoSingle": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "template": {
            "$ref": "#/components/schemas/TemplateType"
          },
          "condition": {
            "$ref": "#/components/schemas/RuleQuery"
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationGroupDtoLimited"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotificationTemplateDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/TemplateType"
          }
        },
        "additionalProperties": false
      },
      "RawIncident": {
        "type": "object",
        "properties": {
          "alertData": {
            "nullable": true
          },
          "alertMetadata": {
            "$ref": "#/components/schemas/AlertMetadata"
          }
        },
        "additionalProperties": false
      },
      "ReturnEnum": {
        "enum": [
          "Ok",
          "Removed",
          "NotRemoved",
          "Created",
          "NotCreated",
          "Modified",
          "NotModified",
          "Linked",
          "NotLinked",
          "UnLinked",
          "NotUnLinked"
        ],
        "type": "string"
      },
      "SLADto": {
        "type": "object",
        "properties": {
          "threshold": {
            "type": "integer",
            "format": "int32"
          },
          "duration": {
            "type": "integer",
            "format": "int32"
          },
          "respected": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SatisfactionCreateDto": {
        "type": "object",
        "properties": {
          "rating": {
            "type": "integer",
            "format": "int32"
          },
          "comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SatisfactionDto": {
        "type": "object",
        "properties": {
          "rater": {
            "$ref": "#/components/schemas/IncidentsDto"
          },
          "rating": {
            "type": "integer",
            "format": "int32"
          },
          "undrafter": {
            "$ref": "#/components/schemas/IncidentsDto"
          },
          "comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TemplateType": {
        "enum": [
          "HTMLRaw",
          "OpenHTMLEN",
          "CloseHTMLEN",
          "ReopenHTMLEN",
          "ReplyHTMLEN",
          "OpenHTMLDE",
          "CloseHTMLDE",
          "ReopenHTMLDE",
          "ReplyHTMLDE",
          "OpenHTMLFR",
          "CloseHTMLFR",
          "ReopenHTMLFR",
          "ReplyHTMLFR",
          "OpenPlainEN",
          "ClosePlainEN",
          "ReopenPlainEN",
          "ReplyPlainEN",
          "OpenPlainFR",
          "ClosePlainFR",
          "ReopenPlainFR",
          "ReplyPlainFR",
          "OpenPlainDE",
          "ClosePlainDE",
          "ReopenPlainDE",
          "ReplyPlainDE",
          "PlainRaw"
        ],
        "type": "string"
      },
      "UsecasesSummary": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "lastTrigger": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "IncidentsDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isSpcs": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "organizationCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthAuthentifierDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "email": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "organizationCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isActive": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AuthAuthentifierDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthAuthentifierDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ContactDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContractDto": {
        "type": "object",
        "properties": {
          "eps": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "credits": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "reports": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "logRetention": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "appliances": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "sensors": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "scanners": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "cloudGb": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "maxEndpoint": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DeviceDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DevicesDto": {
        "type": "object",
        "properties": {
          "sensors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceDto"
            },
            "nullable": true
          },
          "appliances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrgCreateDto": {
        "required": [
          "code",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "code": {
            "minLength": 1,
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "properties": {},
          "parentCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthentifierOrganizationDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isActive": {
            "type": "boolean",
            "readOnly": true
          },
          "csm": {
            "$ref": "#/components/schemas/ContactDto"
          },
          "kam": {
            "$ref": "#/components/schemas/ContactDto"
          },
          "primaryContact": {
            "$ref": "#/components/schemas/ContactDto"
          },
          "otherContacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactDto"
            },
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "service": {
            "type": "string",
            "nullable": true
          },
          "siem": {
            "type": "string",
            "nullable": true
          },
          "setup": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrganizationShortDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "OrganizationShortDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrganizationShortDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PermissionDto": {
        "type": "object",
        "properties": {
          "permission": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PermissionTemplateDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PermissionTemplateGeneralDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PermissionTemplateGeneralDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionTemplateGeneralDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PermissionTemplateUpdateDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServiceDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "sla": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "startDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "enabled": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "UserAuthDto": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "isCreated": {
            "type": "boolean"
          },
          "templateName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthentifierDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isSpcs": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "organizationCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UsersGroupCreateDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UsersGroupGeneralDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "usersCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UsersGroupGeneralDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersGroupGeneralDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UsersGroupSingleDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthentifierDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhishingDomainDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/PhishingStatus"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isOnline": {
            "type": "boolean"
          },
          "files": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhishingReportGeneralDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "pending": {
            "type": "boolean"
          },
          "submissionDate": {
            "type": "string",
            "format": "date-time"
          },
          "submittedBy": {
            "type": "string",
            "nullable": true
          },
          "gitlabId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhishingReportGeneralDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhishingReportGeneralDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PhishingReportSingleDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "pending": {
            "type": "boolean"
          },
          "submissionDate": {
            "type": "string",
            "format": "date-time"
          },
          "submittedBy": {
            "type": "string",
            "nullable": true
          },
          "gitlabId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "domains": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhishingDomainDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhishingStatus": {
        "enum": [
          "Pending",
          "Refused",
          "Accepted"
        ],
        "type": "string"
      },
      "PhishingDto": {
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "apiToken": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "apiTokenExpiry": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "organizationWebsite": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "userRoles": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedAtDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateQuoteDto": {
        "type": "object",
        "properties": {
          "quoteId": {
            "type": "string",
            "nullable": true
          },
          "ticketId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "DaySpan": {
        "enum": [
          "Morning",
          "Afternoon"
        ],
        "type": "string"
      },
      "MissionGeneralDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "quoteId": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "requestDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/RequestStatus"
          },
          "requestedBy": {
            "$ref": "#/components/schemas/ConsultingDto"
          },
          "missionType": {
            "$ref": "#/components/schemas/MissionType"
          },
          "hours": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MissionGeneralDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MissionGeneralDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MissionManagementDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "quoteId": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "requestDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/RequestStatus"
          },
          "requestedBy": {
            "$ref": "#/components/schemas/ConsultingDto"
          },
          "requestNote": {
            "type": "string",
            "nullable": true
          },
          "answerNote": {
            "type": "string",
            "nullable": true
          },
          "missionType": {
            "$ref": "#/components/schemas/MissionType"
          },
          "assignees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsultingDto"
            },
            "nullable": true
          },
          "hours": {
            "type": "integer",
            "format": "int32"
          },
          "statusUpdatedBy": {
            "$ref": "#/components/schemas/ConsultingDto"
          }
        },
        "additionalProperties": false
      },
      "MissionSingleDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "quoteId": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "requestDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/RequestStatus"
          },
          "requestedBy": {
            "$ref": "#/components/schemas/ConsultingDto"
          },
          "requestNote": {
            "type": "string",
            "nullable": true
          },
          "answerNote": {
            "type": "string",
            "nullable": true
          },
          "missionType": {
            "$ref": "#/components/schemas/MissionType"
          },
          "assignees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsultingDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MissionType": {
        "enum": [
          "Splunk",
          "Azure",
          "Other"
        ],
        "type": "string"
      },
      "QuoteDto": {
        "type": "object",
        "properties": {
          "quoteId": {
            "type": "string",
            "nullable": true
          },
          "ticketId": {
            "type": "integer",
            "format": "int64"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "QuoteDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuoteDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RegisterConsultingDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "missionTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MissionType"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisteredConsultingDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isSpcs": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "organizationCode": {
            "type": "string",
            "nullable": true
          },
          "missionTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MissionType"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisteredConsultingDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RegisteredConsultingDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RequestStatus": {
        "enum": [
          "Requested",
          "Accepted",
          "Refused",
          "Done",
          "Canceled"
        ],
        "type": "string"
      },
      "ConsultingDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isSpcs": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "organizationCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FileSharingDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name",
            "nullable": true
          },
          "description": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string",
            "description": "Description",
            "nullable": true
          },
          "expireOn": {
            "type": "integer",
            "description": "Expire On",
            "format": "int32",
            "nullable": true
          },
          "sharedWith": {
            "type": "string",
            "description": "Shared With",
            "nullable": true
          },
          "fileType": {
            "$ref": "#/components/schemas/FileType"
          },
          "size": {
            "type": "string",
            "description": "Size",
            "nullable": true
          },
          "sharedAt": {
            "type": "string",
            "description": "Shared At",
            "format": "date-time"
          },
          "sharedBy": {
            "type": "string",
            "description": "Shared By",
            "nullable": true
          },
          "organization": {
            "type": "string",
            "description": "Organization",
            "nullable": true
          },
          "fileId": {
            "type": "string",
            "nullable": true
          },
          "linkUrl": {
            "type": "string",
            "nullable": true
          },
          "emails": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FileType": {
        "enum": [
          "General",
          "Private",
          "Anonymous",
          "Hk"
        ],
        "type": "string"
      },
      "FilesharingDto": {
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "apiToken": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "apiTokenExpiry": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "organizationWebsite": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "userRoles": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedAtDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FilesharingDtoJsonMergePatchDocument": {
        "type": "object",
        "properties": {
          "model": {
            "$ref": "#/components/schemas/FilesharingDto"
          },
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FilesharingDtoOperation"
            },
            "nullable": true,
            "readOnly": true
          },
          "contractResolver": {
            "$ref": "#/components/schemas/IContractResolver"
          }
        },
        "additionalProperties": false
      },
      "FilesharingDtoOperation": {
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationType"
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "op": {
            "type": "string",
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CidrLine": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string",
            "nullable": true
          },
          "isDraft": {
            "type": "boolean"
          },
          "isToBeRemoved": {
            "type": "boolean"
          },
          "ip": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommentedIp": {
        "type": "object",
        "properties": {
          "cidr": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConnectorType": {
        "enum": [
          "rj45",
          "sfp_plus",
          "sfp28"
        ],
        "type": "string"
      },
      "Dns": {
        "type": "object",
        "properties": {
          "public_dns_fallback": {
            "type": "boolean",
            "nullable": true
          },
          "servers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "domains": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DraftStatus": {
        "enum": [
          "Drafting",
          "Requesting",
          "Refused",
          "Accepted"
        ],
        "type": "string"
      },
      "ExpeditionData": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HolderSingleDto": {
        "type": "object",
        "properties": {
          "branchName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isDraft": {
            "type": "boolean",
            "nullable": true
          },
          "notConfigured": {
            "type": "boolean",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/SensorSiemType"
          },
          "statusCode": {
            "$ref": "#/components/schemas/StatusCode"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "lastPing": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expeditionData": {
            "$ref": "#/components/schemas/ExpeditionData"
          },
          "draftStatus": {
            "$ref": "#/components/schemas/DraftStatus"
          },
          "lastSync": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "sensor": {
            "$ref": "#/components/schemas/SensorDto"
          },
          "siem": {
            "$ref": "#/components/schemas/SiemDto"
          },
          "healthData": {
            "nullable": true,
            "readOnly": true
          },
          "nessusServerProperties": {
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IdsVariableDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "cidrLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CidrLine"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InterfaceLabelSensor": {
        "enum": [
          "cowrie",
          "dionaea",
          "honeypots",
          "honeypots_dhcp",
          "ids",
          "ipmi",
          "mgmt",
          "mgmt_ssh",
          "nessus",
          "logs_collection",
          "bond",
          "backend"
        ],
        "type": "string"
      },
      "InterfaceLabelSiem": {
        "enum": [
          "backend",
          "ipmi",
          "mgmt",
          "mgmt_ssh",
          "logs_collection",
          "bond",
          "honeypots",
          "ids"
        ],
        "type": "string"
      },
      "InterfaceMode": {
        "enum": [
          "balance_rr",
          "active_backup",
          "balance_xor",
          "broadcast",
          "n802_3ad",
          "balance_tlb",
          "balance_alb"
        ],
        "type": "string"
      },
      "InterfaceSensorDto": {
        "type": "object",
        "properties": {
          "label": {
            "$ref": "#/components/schemas/InterfaceLabelSensor"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "ip": {
            "type": "string",
            "nullable": true
          },
          "net": {
            "type": "string",
            "nullable": true
          },
          "gw": {
            "type": "string",
            "nullable": true
          },
          "interfaces": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "connector": {
            "$ref": "#/components/schemas/ConnectorType"
          },
          "bondMode": {
            "$ref": "#/components/schemas/InterfaceMode"
          },
          "lacpRate": {
            "$ref": "#/components/schemas/LacpRate"
          },
          "miiMonitorInterval": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InterfaceSiemDto": {
        "type": "object",
        "properties": {
          "label": {
            "$ref": "#/components/schemas/InterfaceLabelSiem"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "ip": {
            "type": "string",
            "nullable": true
          },
          "net": {
            "type": "string",
            "nullable": true
          },
          "gw": {
            "type": "string",
            "nullable": true
          },
          "interfaces": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "connector": {
            "$ref": "#/components/schemas/ConnectorType"
          }
        },
        "additionalProperties": false
      },
      "LacpRate": {
        "enum": [
          "fast",
          "slow"
        ],
        "type": "string"
      },
      "PlatformReturn": {
        "type": "object",
        "properties": {
          "hostinfo": {},
          "rolesVariables": {
            "type": "object",
            "additionalProperties": {},
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SensorDto": {
        "type": "object",
        "properties": {
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SensorRole"
            },
            "nullable": true
          },
          "machineName": {
            "type": "string",
            "nullable": true
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "proxy": {
            "type": "string",
            "nullable": true
          },
          "dns": {
            "$ref": "#/components/schemas/Dns"
          },
          "interfaces": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceSensorDto"
            },
            "nullable": true
          },
          "hwVersion": {
            "$ref": "#/components/schemas/SensorHw"
          },
          "clusterName": {
            "type": "string",
            "nullable": true
          },
          "clusterTenant": {
            "type": "string",
            "nullable": true
          },
          "warrantyStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "warrantyEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ntp": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SensorHw": {
        "enum": [
          "s_v1",
          "s_v2",
          "s_v2b",
          "s_v2c",
          "s_v3",
          "s_v3b",
          "s_virtual",
          "s_iot",
          "s_iot_v2",
          "HWm2"
        ],
        "type": "string"
      },
      "SensorRole": {
        "enum": [
          "sensor",
          "auditbeat",
          "aws_s3",
          "amp",
          "azure",
          "collector",
          "collector_watchdog",
          "filebeat",
          "govcert_pdns",
          "haproxy",
          "honeypots",
          "honeypots_dhcp",
          "ids",
          "keepalived",
          "logstash",
          "mca",
          "nessus",
          "nexthink",
          "nginx",
          "sentinel",
          "umbrella",
          "defender",
          "logstash_lognorm",
          "log_collector",
          "nfs_client",
          "zenith_client",
          "logstash_sensor",
          "crowdstrike",
          "velociraptor",
          "splunk",
          "splunk_docker",
          "docker",
          "ueba_consumer",
          "passivedns",
          "ironeagle",
          "drogon",
          "zeek",
          "elastalert",
          "elastic_agent",
          "elasticsearch",
          "consumer",
          "kafka",
          "iptables"
        ],
        "type": "string"
      },
      "SensorSiemType": {
        "enum": [
          "sensor",
          "siem"
        ],
        "type": "string"
      },
      "SiemDto": {
        "type": "object",
        "properties": {
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SiemRole"
            },
            "nullable": true
          },
          "machineName": {
            "type": "string",
            "nullable": true
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "proxy": {
            "type": "string",
            "nullable": true
          },
          "dns": {
            "$ref": "#/components/schemas/Dns"
          },
          "interfaces": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InterfaceSiemDto"
            },
            "nullable": true
          },
          "hwVersion": {
            "$ref": "#/components/schemas/SiemHw"
          },
          "clusterName": {
            "type": "string",
            "nullable": true
          },
          "warrantyStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "warrantyEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ntp": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SiemHw": {
        "enum": [
          "a_v1",
          "a_v1b",
          "a_v2",
          "a_v2b",
          "a_v3",
          "a_v3b",
          "a_virtual",
          "elastic",
          "s_v2c",
          "s_v3"
        ],
        "type": "string"
      },
      "SiemRole": {
        "enum": [
          "siems",
          "sensor",
          "azure",
          "cerebro",
          "collector",
          "deadshot",
          "elastalert",
          "elasticsearch",
          "filebeat",
          "graylog",
          "haproxy",
          "mongodb",
          "nessus",
          "nfs_client",
          "nfs_server",
          "zenith_server",
          "nginx",
          "logstash_lognorm",
          "splunk",
          "splunk_docker",
          "kibana",
          "kafka",
          "consumer",
          "ueba_producer",
          "minio",
          "docker",
          "honeypots",
          "ids",
          "zeek",
          "alerter",
          "elastic_agent",
          "fleet"
        ],
        "type": "string"
      },
      "StatusCode": {
        "enum": [
          "Success",
          "Warning",
          "Error",
          "Undefined"
        ],
        "type": "string"
      },
      "SensorsDto": {
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "apiToken": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "apiTokenExpiry": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "organizationWebsite": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "userRoles": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deletedAtDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WarrantyBypass": {
        "type": "object",
        "properties": {
          "createdById": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedById": {
            "type": "string",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "externalUId": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "hostName": {
            "type": "string",
            "nullable": true
          },
          "warrantyStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "warrantyEndDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Whitelist": {
        "type": "object",
        "properties": {
          "whitelistedIps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WhitelistedIp"
            },
            "nullable": true
          },
          "organization": {
            "type": "string",
            "nullable": true
          },
          "branchName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "filePath": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "WhitelistedIp": {
        "type": "object",
        "properties": {
          "isDraft": {
            "type": "boolean"
          },
          "isToBeRemoved": {
            "type": "boolean"
          },
          "ip": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AutoStatus": {
        "type": "object",
        "properties": {
          "hasDebt": {
            "type": "boolean"
          },
          "status": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateOrderDto": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string",
            "nullable": true
          },
          "quoteId": {
            "type": "string",
            "nullable": true
          },
          "orderId": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "integer",
            "format": "int32"
          },
          "pool": {
            "$ref": "#/components/schemas/Pool"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateTransactionDto": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "integer",
            "format": "int32"
          },
          "pool": {
            "$ref": "#/components/schemas/Pool"
          },
          "executionDate": {
            "type": "string",
            "format": "date-time"
          },
          "orderId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "force": {
            "type": "boolean",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "quoteId": {
            "type": "string",
            "nullable": true
          },
          "orderId": {
            "type": "string",
            "nullable": true
          },
          "pool": {
            "$ref": "#/components/schemas/Pool"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          },
          "value": {
            "type": "integer",
            "format": "int32"
          },
          "left": {
            "type": "integer",
            "format": "int32"
          },
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderStatusDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "pool": {
            "$ref": "#/components/schemas/Pool"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          },
          "value": {
            "type": "integer",
            "format": "int32"
          },
          "used": {
            "type": "integer",
            "format": "int32"
          },
          "left": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "orderId": {
            "type": "string",
            "nullable": true
          },
          "quoteId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderStatusDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderStatusDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Pool": {
        "enum": [
          "SOC",
          "CSIRT",
          "Consulting"
        ],
        "type": "string"
      },
      "TransactionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "executionDate": {
            "type": "string",
            "format": "date-time"
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "integer",
            "format": "int32"
          },
          "pool": {
            "$ref": "#/components/schemas/Pool"
          },
          "orderComment": {
            "type": "string",
            "nullable": true
          },
          "orderId": {
            "type": "string",
            "nullable": true
          },
          "quoteId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransactionDtoPaginatedList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionDto"
            },
            "nullable": true
          },
          "pageCurrent": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "description": "OAuth2 authentication using client_credentials flow",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "PORTAL_API_URL/oauth2/v2.0/token",
            "scopes": {
              "read": "Grants read access"
            }
          }
        }
      },
      "Bearer": {
        "type": "http",
        "description": "Please enter token",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "x-tagGroups": [
    {
      "name": "Internet Presence",
      "tags": [
        "hk-sofa-srv-kaduu_Health",
        "hk-sofa-srv-kaduu_Organizations",
        "hk-sofa-srv-kaduu_Preferences",
        "hk-sofa-srv-kaduu_Disclaimer",
        "hk-sofa-srv-kaduu_Internal",
        "hk-sofa-srv-kaduu_InternetPresence",
        "hk-sofa-srv-kaduu_Keyword",
        "hk-sofa-srv-kaduu_permissions",
        "hk-sofa-srv-kaduu_roles",
        "hk-sofa-srv-kaduu_users",
        "hk-sofa-srv-kaduu_User"
      ]
    },
    {
      "name": "Vulnerabilities",
      "tags": [
        "hk-sofa-srv-vulns_Assets",
        "hk-sofa-srv-vulns_AssetsExport",
        "hk-sofa-srv-vulns_FindingsExport",
        "hk-sofa-srv-vulns_Groups",
        "hk-sofa-srv-vulns_Jobs",
        "hk-sofa-srv-vulns_Scans",
        "hk-sofa-srv-vulns_ScanType",
        "hk-sofa-srv-vulns_Tags",
        "hk-sofa-srv-vulns_Vulns",
        "hk-sofa-srv-vulns_VulnsExport",
        "hk-sofa-srv-vulns_Zones",
        "hk-sofa-srv-vulns_Health",
        "hk-sofa-srv-vulns_Organizations",
        "hk-sofa-srv-vulns_Preferences",
        "hk-sofa-srv-vulns_IngestionRules",
        "hk-sofa-srv-vulns_permissions",
        "hk-sofa-srv-vulns_PurgeRules",
        "hk-sofa-srv-vulns_roles",
        "hk-sofa-srv-vulns_users",
        "hk-sofa-srv-vulns_User"
      ]
    },
    {
      "name": "Usecases",
      "tags": [
        "hk-sofa-usecases_UsecasesExport",
        "hk-sofa-usecases_Sync",
        "hk-sofa-usecases_Usecases",
        "hk-sofa-usecases_Internal",
        "hk-sofa-usecases_Mitre"
      ]
    },
    {
      "name": "Sandbox",
      "tags": [
        "hk-sofa-srv-anyrun_Analysis",
        "hk-sofa-srv-anyrun_Health Check"
      ]
    },
    {
      "name": "Tickets",
      "tags": [
        "hk-sofa-tickets_CostCenter",
        "hk-sofa-tickets_Export",
        "hk-sofa-tickets_Hook",
        "hk-sofa-tickets_Jobs",
        "hk-sofa-tickets_Organizations",
        "hk-sofa-tickets_Project",
        "hk-sofa-tickets_Stats",
        "hk-sofa-tickets_Subscriptions",
        "hk-sofa-tickets_Sync",
        "hk-sofa-tickets_Templates",
        "hk-sofa-tickets_Tickets",
        "hk-sofa-tickets_Uploads",
        "hk-sofa-tickets_Dashboard",
        "hk-sofa-tickets_Internal"
      ]
    },
    {
      "name": "Reporting",
      "tags": [
        "hk-sofa-srv-reporting_Health",
        "hk-sofa-srv-reporting_Organizations",
        "hk-sofa-srv-reporting_Preferences",
        "hk-sofa-srv-reporting_Datasource",
        "hk-sofa-srv-reporting_permissions",
        "hk-sofa-srv-reporting_Report",
        "hk-sofa-srv-reporting_roles",
        "hk-sofa-srv-reporting_Template",
        "hk-sofa-srv-reporting_users",
        "hk-sofa-srv-reporting_User"
      ]
    },
    {
      "name": "Incidents",
      "tags": [
        "hk-sofa-incidents_Organizations",
        "hk-sofa-incidents_CallTrees",
        "hk-sofa-incidents_Export",
        "hk-sofa-incidents_Incidents",
        "hk-sofa-incidents_Jobs",
        "hk-sofa-incidents_NotificationRule",
        "hk-sofa-incidents_Satisfaction",
        "hk-sofa-incidents_Splunk",
        "hk-sofa-incidents_Template",
        "hk-sofa-incidents_Uploads",
        "hk-sofa-incidents_Dashboard",
        "hk-sofa-incidents_Internal",
        "hk-sofa-incidents_Organization",
        "hk-sofa-incidents_Hook",
        "hk-sofa-incidents_NotificationGroup",
        "hk-sofa-incidents_Sync"
      ]
    },
    {
      "name": "Authentifier",
      "tags": [
        "hk-sofa-authentifier_Auth",
        "hk-sofa-authentifier_Contractual",
        "hk-sofa-authentifier_Information",
        "hk-sofa-authentifier_Jobs",
        "hk-sofa-authentifier_Organizations",
        "hk-sofa-authentifier_Permissions",
        "hk-sofa-authentifier_PermissionTemplate",
        "hk-sofa-authentifier_Users",
        "hk-sofa-authentifier_UsersGroups",
        "hk-sofa-authentifier_Internal",
        "hk-sofa-authentifier_PermissionTemplates",
        "hk-sofa-authentifier_Users Group",
        "hk-sofa-authentifier_UsersShort"
      ]
    },
    {
      "name": "Phishing",
      "tags": [
        "hk-sofa-phishing_Brand",
        "hk-sofa-phishing_Phishing",
        "hk-sofa-phishing_Health",
        "hk-sofa-phishing_Organizations",
        "hk-sofa-phishing_Preferences",
        "hk-sofa-phishing_permissions",
        "hk-sofa-phishing_roles",
        "hk-sofa-phishing_users",
        "hk-sofa-phishing_User"
      ]
    },
    {
      "name": "Consulting",
      "tags": [
        "hk-sofa-consulting_Jobs",
        "hk-sofa-consulting_Mission",
        "hk-sofa-consulting_MissionManagement",
        "hk-sofa-consulting_Quotes",
        "hk-sofa-consulting_Users",
        "hk-sofa-consulting_Internal",
        "hk-sofa-consulting_Missions",
        "hk-sofa-consulting_Missions, Internal, Management",
        "hk-sofa-consulting_Quote",
        "hk-sofa-consulting_Users, Internal, Management"
      ]
    },
    {
      "name": "File Sharing",
      "tags": [
        "hk-sofa-filesharing_FileSharing",
        "hk-sofa-filesharing_Health",
        "hk-sofa-filesharing_Organizations",
        "hk-sofa-filesharing_Preferences",
        "hk-sofa-filesharing_permissions",
        "hk-sofa-filesharing_roles",
        "hk-sofa-filesharing_users",
        "hk-sofa-filesharing_User"
      ]
    },
    {
      "name": "Devices",
      "tags": [
        "hk-sofa-srv-sensors_Devices",
        "hk-sofa-srv-sensors_Sensors",
        "hk-sofa-srv-sensors_HealthCheck",
        "hk-sofa-srv-sensors_Ids",
        "hk-sofa-srv-sensors_Internal",
        "hk-sofa-srv-sensors_Jobs",
        "hk-sofa-srv-sensors_Stats",
        "hk-sofa-srv-sensors_WarrantyBypass",
        "hk-sofa-srv-sensors_WebHook",
        "hk-sofa-srv-sensors_Whitelist",
        "hk-sofa-srv-sensors_Health",
        "hk-sofa-srv-sensors_Organizations",
        "hk-sofa-srv-sensors_Preferences",
        "hk-sofa-srv-sensors_permissions",
        "hk-sofa-srv-sensors_roles",
        "hk-sofa-srv-sensors_users",
        "hk-sofa-srv-sensors_User"
      ]
    },
    {
      "name": "Credits",
      "tags": [
        "hk-sofa-int-credit_Jobs",
        "hk-sofa-int-credit_Order",
        "hk-sofa-int-credit_Transaction",
        "hk-sofa-int-credit_WebHook",
        "hk-sofa-int-credit_Health Check"
      ]
    }
  ],
  "servers": [
    {
      "url": "PORTAL_API_URL",
      "description": "ENVIRONMENT"
    }
  ],
  "security": [
    {
      "OAuth2": [
        "read"
      ]
    },
    {
      "Bearer": []
    }
  ]
}