{
  "openapi": "3.0.1",
  "info": {
    "title": "Fleeti API",
    "description": "API Key management legal conditions.\n\n\r\n            Key Management\r\n                While Fleeti implements reasonable security measures to protect keys, the user is fully responsible\r\n                 for the management, protection, and security of their own keys. Fleeti does not guarantee the absolute \r\n                security of keys and cannot be held responsible for consequences related to any mismanagement, exposure, \r\n                or unauthorized use of keys.\r\n            \r\n            Key Storage\r\n                The user is required to take all necessary measures to ensure secure storage of their keys. Fleeti cannot \r\n                be held responsible for consequences arising from insecure storage, loss, or unauthorized access to the user's keys.\r\n            \r\n            Key Exposure\r\n                In the event of unintentional or unauthorized exposure of keys, the user agrees to promptly inform Fleeti \r\n                of this situation. Fleeti cannot be held responsible for consequences arising from key exposure if the user \r\n                does not report this situation promptly.\r\n            \r\n            Limitation of Liability\r\n                In no event shall Fleeti, including its officers, employees, affiliates, and partners, be liable for losses, \r\n                damages, costs, or consequences arising directly or indirectly from the user's use, management, or storage of keys.\r\n            \r\n            Key Compromise\r\n                In the event of the user's API key being compromised, the user agrees to promptly notify Fleeti of the situation. \r\n                A key compromise is defined as any unauthorized access, exposure, or suspected misuse of the API key.\r\n            \r\n            If the API key has been compromised, Fleeti will take appropriate measures to regenerate a new API key for the user. \r\n                The compromised key will be deactivated to prevent further unauthorized access, a new key will be generated for the customer.\r\n            ",
    "contact": {
      "name": "Fleeti Development Team",
      "url": "https://fleeti.co/",
      "email": "developpers@fleeti.co"
    },
    "version": "v1"
  },
  "paths": {
    "/v1/Asset/TrackersHistory": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Customer Trackers History",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TrackersHistoryApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackersHistoryApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackersHistoryApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TrackersHistoryApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackerHistoryResponseResultsResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Search": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Search assets by filter.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UseLegacySearch",
            "in": "query",
            "description": "When true, uses the original MongoDB search instead of OpenSearch",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "GatewayIds",
            "in": "query",
            "description": "Search by gateway id.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "GatewayProviderTypes",
            "in": "query",
            "description": "Search by type of provider types.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ProviderTypeEnum"
              }
            }
          },
          {
            "name": "GatewayFeatures",
            "in": "query",
            "description": "Search by type of gateway feature.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/GatewayFeatureEnum"
              }
            }
          },
          {
            "name": "IsGatewayOnline",
            "in": "query",
            "description": "Search by availability of the asset (If true, returned asset with a communication date less than 24h).",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IsGatewayInstalled",
            "in": "query",
            "description": "If True, return asset is at least one connected gateway.\r\n\n\r\nIf False, return asset with no gateway.\r\n\n\r\nIf null, return all assets.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "GatewayUpdatedAt",
            "in": "query",
            "description": "Get assets with gateways.state.updatedAt lower than this date.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "AccessoriesType",
            "in": "query",
            "description": "Search by type of Accessories.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccessoryTypeEnum"
              }
            }
          },
          {
            "name": "AccessoriesTypeExcluded",
            "in": "query",
            "description": "Exclude by type of Accessories.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccessoryTypeEnum"
              }
            }
          },
          {
            "name": "AccessoryUpdatedAt",
            "in": "query",
            "description": "Get assets with gateways.accessories.providerSensors.valueUpdatedAt lower than this date.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "MinAccessoryValue",
            "in": "query",
            "description": "Search by accessory with a value greater than.",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "MaxAccessoryValue",
            "in": "query",
            "description": "Search by accessory with value lower than.",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "IsMinMaxAccessoryInRange",
            "in": "query",
            "description": "If true, accessory value greater than MinAccessoryValue and accessory value lower than MaxAccessoryValue.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IsProviderAccessoryEmpty",
            "in": "query",
            "description": "If true, search by accessory with empty ProviderSensors.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "CustomerGroupId",
            "in": "query",
            "description": "Search by group id ONLY if you define a customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Search by country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AssetIds",
            "in": "query",
            "description": "List of asset ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Status",
            "in": "query",
            "description": "Search by status of asset.",
            "schema": {
              "$ref": "#/components/schemas/AssetStatusEnum"
            }
          },
          {
            "name": "AssetTypes",
            "in": "query",
            "description": "Search by type of asset.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AssetTypeEnum"
              }
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of assets.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchAssetApiResultsResponse"
                }
              }
            }
          },
          "204": {
            "description": "Returns an empty list if the asset group is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "If the customer filter is confidential. | If the user session is not authorized to the country filter.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "If the filter is null.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Get": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Get asset by ID.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Asset ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of assets.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "If the asset not found. | If the customer is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "If the asset is deleted. | If the user session is not authorized to access to the asset or the customer or the country. | If the customer is deleted or confidential.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/SearchLight": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Search light assets by filter.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin, FleetiSales ]\r\n\r\nUses OpenSearch by default for improved performance on text searches.\r\nSet UseLegacySearch=true in the filter to use the original MongoDB search.",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UseLegacySearch",
            "in": "query",
            "description": "When true, uses the original MongoDB search instead of OpenSearch",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "CustomerGroupId",
            "in": "query",
            "description": "Search by group id ONLY if you define a customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Search by country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AssetIds",
            "in": "query",
            "description": "List of asset ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Status",
            "in": "query",
            "description": "Search by status of asset.",
            "schema": {
              "$ref": "#/components/schemas/AssetStatusEnum"
            }
          },
          {
            "name": "AssetTypes",
            "in": "query",
            "description": "Search by type of asset.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AssetTypeEnum"
              }
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchLightAssetApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/ExportExcel": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Export a list of asset as Excel file.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Fields",
            "in": "query",
            "description": "List of fields to export (fields must be defined into AssetApi model).",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Language",
            "in": "query",
            "description": "Language code (2 letters).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UseLegacySearch",
            "in": "query",
            "description": "When true, uses the original MongoDB search instead of OpenSearch",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "GatewayIds",
            "in": "query",
            "description": "Search by gateway id.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "GatewayProviderTypes",
            "in": "query",
            "description": "Search by type of provider types.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ProviderTypeEnum"
              }
            }
          },
          {
            "name": "GatewayFeatures",
            "in": "query",
            "description": "Search by type of gateway feature.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/GatewayFeatureEnum"
              }
            }
          },
          {
            "name": "IsGatewayOnline",
            "in": "query",
            "description": "Search by availability of the asset (If true, returned asset with a communication date less than 24h).",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IsGatewayInstalled",
            "in": "query",
            "description": "If True, return asset is at least one connected gateway.\r\n\n\r\nIf False, return asset with no gateway.\r\n\n\r\nIf null, return all assets.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "GatewayUpdatedAt",
            "in": "query",
            "description": "Get assets with gateways.state.updatedAt lower than this date.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "AccessoriesType",
            "in": "query",
            "description": "Search by type of Accessories.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccessoryTypeEnum"
              }
            }
          },
          {
            "name": "AccessoriesTypeExcluded",
            "in": "query",
            "description": "Exclude by type of Accessories.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccessoryTypeEnum"
              }
            }
          },
          {
            "name": "AccessoryUpdatedAt",
            "in": "query",
            "description": "Get assets with gateways.accessories.providerSensors.valueUpdatedAt lower than this date.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "MinAccessoryValue",
            "in": "query",
            "description": "Search by accessory with a value greater than.",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "MaxAccessoryValue",
            "in": "query",
            "description": "Search by accessory with value lower than.",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "IsMinMaxAccessoryInRange",
            "in": "query",
            "description": "If true, accessory value greater than MinAccessoryValue and accessory value lower than MaxAccessoryValue.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IsProviderAccessoryEmpty",
            "in": "query",
            "description": "If true, search by accessory with empty ProviderSensors.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "CustomerGroupId",
            "in": "query",
            "description": "Search by group id ONLY if you define a customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Search by country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AssetIds",
            "in": "query",
            "description": "List of asset ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Status",
            "in": "query",
            "description": "Search by status of asset.",
            "schema": {
              "$ref": "#/components/schemas/AssetStatusEnum"
            }
          },
          {
            "name": "AssetTypes",
            "in": "query",
            "description": "Search by type of asset.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AssetTypeEnum"
              }
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": null,
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Create": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Create a new asset.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nThe list of 'Properties' depending on the AssetType (If you try to set a property which is not listed here, you will have an error).\r\n\r\nAssetType = 10 (Vehicle)\r\n- LicensePlate* (string) : At least 2 characters, should be unique.\r\n- VehicleType* (VehicleTypeEnum) : Light = 1 | Boat = 2 | Truck = 3 | Heavy = 4 | Agricultural = 5 | Minivan = 6 | Van = 7 | Car = 8 | Pickup = 9 | Minibus = 10 | Motorbike = 11 | Machine = 12 | Genset = 13 | Scooter = 14 | ColdRoom = 15 | Bus = 16 | Tricycle = 17\r\n- EnergyType (EnergyTypeEnum) : Gasoline = 1 | Diesel = 2 | BioDiesel = 3 | Ethanol = 4\r\n- ManufacturedYear (long)\r\n- ReleaseYear (long)\r\n- TankCapacity (double)\r\n- IsTankAccessible (bool)\r\n- TheoriticalFuelConsumption (double)\r\n\r\nAssetType = 20 (Equipment)\r\n- EquipmentType (EquipmentTypeEnum) : FuelTank = 1 | ElectricGenerator = 2 | Trailer = 3 | Container = 4 | PortableEquipment = 5 | AgriculturalImplement = 6 | Attachment = 7\r\n- EnergyType (EnergyTypeEnum) : Gasoline = 1 | Diesel = 2 | BioDiesel = 3 | Ethanol = 4\r\n- IsPowered (bool)\r\n\r\nAssetType = 30 (Site)\r\n- Address (AddressNested) : Composed of the following properties: { AddressLine (string), City (string), State (string), Region (string), PostalCode (string), Country (string), Timezone (string) }.\r\n- SiteType (SiteTypeEnum) : Coldroom = 10 | Warehouse = 20 | Parking = 30 | Garage = 40 | Workshop = 50 | FuelChargingStation = 60 | CustomerSite = 70 | ConstructionWorkSite = 80 | Office = 90 | Farm = 100 | RestrictedZone = 110\r\n- Dimension (double) : Dimension in square meters (m2).\r\n- ThresholdTemperature* (double) : Required if SiteType = Coldroom, threshold temperature in degrees Celsius (°C).\r\n- IsInternal (bool)\r\n\r\nAssetType = 40 (Phone)\r\n- Imei (string)\r\n- Platform (string)",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Import": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Create by importing a list of asset.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiSales, Customer ]\r\n\r\nCheck the documentation on 'Create a new asset' to see the 'Properties' by AssetType.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ImportAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ImportAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Update": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Update the asset.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/{assetId}/Patch": {
      "patch": {
        "tags": [
          "Asset"
        ],
        "summary": "Update the asset.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "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": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Move": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Move the asset from a customer to another.",
        "description": "**Restricted Access** [ Fleeti Super Admin, Fleeti Admin, Fleeti Customer Service Admin, Fleeti Customer Service, Fleeti Customer Service Finance ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/MoveAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MoveAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/UpdateCounter": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Update counter value for a gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCounterAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCounterAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCounterAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCounterAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/UpdateCounterSource": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Update counter source for a gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]\r\n            \r\nSet the IsSource = true of each counter of the selected gateway.\r\nSet the IsSource = false of each counter for the others gateway(s).",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCounterSourceAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCounterSourceAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCounterSourceAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCounterSourceAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/UpdateGroup": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Update the group on the asset.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nTo remove the group, set the GroupId to null.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/BindOperation": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Bind the asset to an operation.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]\r\n            \r\nOperation must not be already bind to an asset.\r\nOperation Status must be Pending, InConfiguration, Configured, Planned or Ongoing.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BindOperationAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BindOperationAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BindOperationAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BindOperationAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Remove": {
      "delete": {
        "tags": [
          "Asset"
        ],
        "summary": "Remove the asset.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "parameters": [
          {
            "name": "Comments",
            "in": "query",
            "description": "Comments.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Id",
            "in": "query",
            "description": "Asset ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/Bind": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Bind a gateway.",
        "description": "**Restricted Access**\r\nBind Gateway: [ FleetiSuperAdmin  ]\r\nBind Clone Gateway: [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin  ]\r\n            \r\nThe gateway must be located from the warehouse.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BindGatewayAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BindGatewayAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BindGatewayAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BindGatewayAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/Unbind": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Unbind a gateway.",
        "description": "The gateway is removed from the asset, but not from the customer provider.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UnbindGatewayAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UnbindGatewayAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UnbindGatewayAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UnbindGatewayAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/UpdateName": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Update gateway name.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNameAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNameAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNameAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNameAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/UpdateSim": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Update gateway sim.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]\r\n\r\nEndpoint execution could take up to 30s due to Operator latency (we asked all data if the @EndpointId is not set or unknown).\r\nOperatorTypeEnum: [ Undefined = 0, Bics = 10, Locale = 20, Caburn = 30, Matooma = 40, Kore = 50 ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSimAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSimAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSimAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSimAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/UpdateFeatures": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Update gateway features.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFeaturesAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFeaturesAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFeaturesAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFeaturesAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/DeAllocate": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "De-allocate the gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]\r\n\r\nUnbind and move the gateway to the warehouse account.\r\nAll the data of the gateway will be removed.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DeAllocateGatewayAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeAllocateGatewayAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeAllocateGatewayAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeAllocateGatewayAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/SendCommand": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Send command to the gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin, Customer ]\r\n\r\nGatewayCommandEnum: [ GetRecord = 1, WebConnect = 2, CpuReset = 3, OpenDoor = 4, CloseDoor = 5, KeepOnline = 6, Immobilize = 7, Unimmobilize = 8 ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SendCommandGatewayAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendCommandGatewayAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendCommandGatewayAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendCommandGatewayAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOperatorResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/GetLastConfigurationFile": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Get the last configuration file data of a gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnicianAdmin, FleetiTechnician ]",
        "parameters": [
          {
            "name": "AssetId",
            "in": "query",
            "description": "Asset ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GatewayId",
            "in": "query",
            "description": "Gateway ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayConfigurationFileNestedApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/DownloadLastConfigurationFile": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Download the last configuration file of a gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnicianAdmin, FleetiTechnician ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadLastConfigurationFileApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadLastConfigurationFileApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadLastConfigurationFileApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadLastConfigurationFileApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": null,
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/BindAccessories": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Bind accessories on the gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]\r\n\r\nThe accessories to add are already existing on the gateway provider.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BindAccessoriesGatewayAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BindAccessoriesGatewayAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BindAccessoriesGatewayAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BindAccessoriesGatewayAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/CreateAccessory": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Create an accessory for an asset gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/UpdateAccessory": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Update an accessory for an asset gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/RemoveAccessory": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Remove an accessory for an asset gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveAccessoryAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveAccessoryAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveAccessoryAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveAccessoryAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/Gateway/UpdateAccessoryName": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Update an accessory name on the gateway.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nThe accessory to update must exist on the gateway provider.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryNameAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryNameAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryNameAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryNameAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/CreateInsurance": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Create a new insurance.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInsuranceAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInsuranceAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInsuranceAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInsuranceAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/UpdateInsurance": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Update the insurance.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInsuranceAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInsuranceAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInsuranceAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInsuranceAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/RemoveInsurance": {
      "delete": {
        "tags": [
          "Asset"
        ],
        "summary": "Remove the insurance.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "AssetId",
            "in": "query",
            "description": "Asset ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Id",
            "in": "query",
            "description": "Insurance ID to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/CreateRental": {
      "post": {
        "tags": [
          "Asset"
        ],
        "summary": "Create a new rental.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\n- The mileage or engine hours must be defined.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRentalAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRentalAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRentalAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRentalAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/UpdateRental": {
      "put": {
        "tags": [
          "Asset"
        ],
        "summary": "Update the rental.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRentalAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRentalAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRentalAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRentalAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/RemoveRental": {
      "delete": {
        "tags": [
          "Asset"
        ],
        "summary": "Remove the rental.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveRentalAssetApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveRentalAssetApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveRentalAssetApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveRentalAssetApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/History/SearchAllValues": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Search all values data.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "From",
            "in": "query",
            "description": "The start date of the time period.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "description": "The end date of the time period.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "AssetIds",
            "in": "query",
            "description": "Search by asset Ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "GroupIds",
            "in": "query",
            "description": "Search by group Ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Makes",
            "in": "query",
            "description": "Search by type of make.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Models",
            "in": "query",
            "description": "Search by type of model.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "AssetTypes",
            "in": "query",
            "description": "Search by type of asset.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AssetTypeEnum"
              }
            }
          },
          {
            "name": "VehicleTypes",
            "in": "query",
            "description": "Search by vehicle type.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/VehicleTypeEnum"
              }
            }
          },
          {
            "name": "AssetName",
            "in": "query",
            "description": "Search by asset name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllValuesHistoryApiDataHistoryResultsResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/History/SearchEngineHours": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Search engine hours data.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "From",
            "in": "query",
            "description": "The start date of the time period.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "description": "The end date of the time period.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "AssetIds",
            "in": "query",
            "description": "Search by asset Ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "GroupIds",
            "in": "query",
            "description": "Search by group Ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Makes",
            "in": "query",
            "description": "Search by type of make.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Models",
            "in": "query",
            "description": "Search by type of model.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "AssetTypes",
            "in": "query",
            "description": "Search by type of asset.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AssetTypeEnum"
              }
            }
          },
          {
            "name": "VehicleTypes",
            "in": "query",
            "description": "Search by vehicle type.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/VehicleTypeEnum"
              }
            }
          },
          {
            "name": "AssetName",
            "in": "query",
            "description": "Search by asset name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineHoursHistoryApiEngineHoursSummaryDataHistoryEngineHoursWidgetWidgetHistoryResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/History/SearchTripsAndStopsEcoDriving": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Search trips and stops eco-driving data.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "EcoDrivingEvents",
            "in": "query",
            "description": "Search by type of eco-driving event.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "From",
            "in": "query",
            "description": "The start date of the time period.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "description": "The end date of the time period.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "AssetIds",
            "in": "query",
            "description": "Search by asset Ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "GroupIds",
            "in": "query",
            "description": "Search by group Ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Makes",
            "in": "query",
            "description": "Search by type of make.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Models",
            "in": "query",
            "description": "Search by type of model.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "AssetTypes",
            "in": "query",
            "description": "Search by type of asset.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AssetTypeEnum"
              }
            }
          },
          {
            "name": "VehicleTypes",
            "in": "query",
            "description": "Search by vehicle type.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/VehicleTypeEnum"
              }
            }
          },
          {
            "name": "AssetName",
            "in": "query",
            "description": "Search by asset name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TripsAndStopsEcoDrivingSummaryHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistoryTripsAndStopsEcoDrivingWidgetWidgetHistoryResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Asset/History/GetTripsAndStopsEcoDriving": {
      "get": {
        "tags": [
          "Asset"
        ],
        "summary": "Get trips and stops eco-driving data.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AssetId",
            "in": "query",
            "description": "Asset ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "From",
            "in": "query",
            "description": "The start date of the time period.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "description": "The end date of the time period.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TripsAndStopsEcoDrivingHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistoryResultsResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Auth/Login": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Log in into Fleeti with a login / password.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nSample request:\r\n            \r\n    POST /Login\r\n    {\r\n       \"email\": \"test@example.com\",\r\n       \"password\": \"1234\",\r\n       \"timeZone\": \"Europe/Paris\"\r\n    }",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginAuthApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginAuthApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginAuthApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginAuthApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Auth/Token": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Log in into Fleeti with a token.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenAuthApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenAuthApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenAuthApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenAuthApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Auth/Logout": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Log out to the Fleeti platform.",
        "description": "**Restricted Access** [ All Roles ]",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Auth/TokenCrisp": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Get a token access to be authenticated and use crisp support.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nCrisp official documentation: https://help.crisp.chat/en/article/how-can-i-setup-the-ticket-center-plugin-bncsbh/",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationTokenAuthApi"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Auth/TokenRealTime": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Get an authentication token to subscribe to SignalR service.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nSignalR official documentation for JS client: https://docs.microsoft.com/fr-fr/aspnet/core/signalr/javascript-client?view=aspnetcore-6.0",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RequestRealTimeTokenApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestRealTimeTokenApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestRealTimeTokenApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RequestRealTimeTokenApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealTimeTokenAuthApi"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Customer/Search": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Search customers by filter.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nUses OpenSearch by default for improved performance on text searches.\r\nSet UseLegacySearch=true in the filter to use the original MongoDB search.",
        "parameters": [
          {
            "name": "UseLegacySearch",
            "in": "query",
            "description": "When true, uses the original MongoDB search instead of OpenSearch",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Business",
            "in": "query",
            "description": "Search by type of business.",
            "schema": {
              "$ref": "#/components/schemas/CustomerBusinessEnum"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Search by country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "References",
            "in": "query",
            "description": "Search by customer references.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "SubCustomerId",
            "in": "query",
            "description": "Search by sub customer Id.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Suspended",
            "in": "query",
            "description": "Filter to show suspended/active customers only.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "IsDeleted",
            "in": "query",
            "description": "Filter to show deleted customers only.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/Get": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "Get customer by reference.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Reference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/Create": {
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Create a new customer.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/Update": {
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Update the customer.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/Remove": {
      "delete": {
        "tags": [
          "Customer"
        ],
        "summary": "Remove the customer.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerServiceAdmin ]\r\n\r\nRemove the customer all associated assets, users, operations (use soft delete, except for users).",
        "parameters": [
          {
            "name": "Comments",
            "in": "query",
            "description": "Comments.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Reference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/Suspend": {
      "post": {
        "tags": [
          "Customer"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendCustomersRequestApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendCustomersRequestApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendCustomersRequestApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendCustomersRequestApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuspendCustomerResponseResultsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Customer/CreateGroup": {
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Create a new asset group.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/UpdateGroup": {
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Update the asset group.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/UpdateAssetGroup": {
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Update assets that belong to the asset group.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetGroupCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetGroupCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetGroupCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetGroupCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/RemoveGroup": {
      "delete": {
        "tags": [
          "Customer"
        ],
        "summary": "Remove a group.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GroupId",
            "in": "query",
            "description": "Group Id of the customer asset group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/CreateProvider": {
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Create a new customer's provider.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrUpdateProviderCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrUpdateProviderCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrUpdateProviderCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrUpdateProviderCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/ResetPasswordProvider": {
      "post": {
        "tags": [
          "Customer"
        ],
        "summary": "Reset customer's provider password.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordProviderCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordProviderCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordProviderCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordProviderCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/UpdateProvider": {
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Update a customer's provider.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrUpdateProviderCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrUpdateProviderCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrUpdateProviderCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrUpdateProviderCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/UpdateSetting": {
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Update the settings.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiSales, FleetiOperator ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSettingCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSettingCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSettingCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSettingCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/UpdateModules": {
      "put": {
        "tags": [
          "Customer"
        ],
        "summary": "Update the modules.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiSales, FleetiOperator ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModuleCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModuleCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModuleCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModuleCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/ToggleEmbeddedModule": {
      "patch": {
        "tags": [
          "Customer"
        ],
        "summary": "Toggle an embedded module for a customer.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerServiceAdmin ]\r\n\r\nToggles the enabled/disabled state of an embedded module for a specific customer.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleEmbeddedModuleApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleEmbeddedModuleApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleEmbeddedModuleApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleEmbeddedModuleApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/ToggleFleetiOne": {
      "patch": {
        "tags": [
          "Customer"
        ],
        "summary": "Toggle Fleeti One access to a specific customer",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]\r\n            \r\nToggles the enabled/disabled state of fleeti one for a specific customer.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleFleetiOneAccessApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleFleetiOneAccessApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleFleetiOneAccessApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleFleetiOneAccessApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Customer/UpdateFleetiOneUserAccess": {
      "patch": {
        "tags": [
          "Customer"
        ],
        "summary": "Invite a user to a Fleeti One organization",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, or Customer with Admin role ]\r\n            \r\nInvites an existing or new Fleeti One user to an organization with a specified role.\r\nNew users receive first login and access granted emails.\r\nExisting users receive access granted email.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFleetiOneUserAccessApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFleetiOneUserAccessApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFleetiOneUserAccessApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFleetiOneUserAccessApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Customer/SendInvitationEmail": {
      "post": {
        "tags": [
          "Customer"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SendInvitationEmailApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendInvitationEmailApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendInvitationEmailApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendInvitationEmailApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Customer/InviteFleetiOneUser": {
      "post": {
        "tags": [
          "Customer"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/InviteFleetiOneUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteFleetiOneUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteFleetiOneUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InviteFleetiOneUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InviteFleetiOneUserResultApiResultResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Customer/GetUsers": {
      "get": {
        "tags": [
          "Customer"
        ],
        "summary": "List Fleeti One users for a specific organization.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, or Customer with Admin/Owner role on the organization ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExcludeRoles",
            "in": "query",
            "description": "Roles to leave out, e.g. Driver for the organization users page. Applied before paging,\r\nso the page sizes and the total count match what is returned.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/UserCustomerRoleEnum"
              }
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerUserApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Customer/SyncPanelData": {
      "post": {
        "tags": [
          "Customer"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SyncPanelDataApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncPanelDataApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncPanelDataApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SyncPanelDataApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/EmbeddedModule/Search": {
      "get": {
        "tags": [
          "EmbeddedModule"
        ],
        "summary": "Search embedded modules by filter.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nReturns a paginated list of embedded modules that can be filtered and sorted.",
        "parameters": [
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmbeddedModuleApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/EmbeddedModule/Get": {
      "get": {
        "tags": [
          "EmbeddedModule"
        ],
        "summary": "Get an embedded module by Id or Label.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nReturns the details of a specific embedded module identified by its Id or Label.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmbeddedModuleApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/EmbeddedModule/Create": {
      "post": {
        "tags": [
          "EmbeddedModule"
        ],
        "summary": "Create a new embedded module.",
        "description": "**Restricted Access** [ Fleeti SuperAdmin only ]\r\n\r\nCreates a new embedded module with the provided configuration.\r\nThe Label must be unique across all modules.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmbeddedModuleApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmbeddedModuleApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmbeddedModuleApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmbeddedModuleApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmbeddedModuleApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/EmbeddedModule/Update": {
      "put": {
        "tags": [
          "EmbeddedModule"
        ],
        "summary": "Update an existing embedded module.",
        "description": "**Restricted Access** [ Fleeti Super Admin only ]\r\n\r\nUpdates an existing embedded module with the provided configuration.\r\nThe Label must be unique across all modules (excluding the current module).",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmbeddedModuleApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmbeddedModuleApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmbeddedModuleApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmbeddedModuleApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmbeddedModuleApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/EmbeddedModule/Remove": {
      "delete": {
        "tags": [
          "EmbeddedModule"
        ],
        "summary": "Remove an embedded module.",
        "description": "**Restricted Access** [ Fleeti Super Admin only ]\r\n\r\nPermanently removes an embedded module from the system.\r\nThe module can be identified by its Id or Label.",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Id or Label of the module to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ExternalAsset/Search": {
      "get": {
        "tags": [
          "ExternalAsset"
        ],
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "required": true,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "AssetNames",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "AssetTypes",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AssetTypeEnum"
              }
            }
          },
          {
            "name": "Makes",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Models",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "GroupNames",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "EnergyTypes",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/EnergyTypeEnum"
              }
            }
          },
          {
            "name": "AccessoryTypes",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccessoryTypeEnum"
              }
            }
          },
          {
            "name": "ConnectivityTypes",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AssetConnectivityFilterEnum"
              }
            }
          },
          {
            "name": "LicensePlates",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Vins",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "SerialNumbers",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "IsUngrouped",
            "in": "query",
            "description": "When true, returns only assets with no group assigned.\r\nMutually exclusive with GroupNames.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "UseLegacySearch",
            "in": "query",
            "description": "When true, bypasses OpenSearch and queries MongoDB directly.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchAssetApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAsset/Get": {
      "get": {
        "tags": [
          "ExternalAsset"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Asset ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAsset/Create": {
      "post": {
        "tags": [
          "ExternalAsset"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExternalAssetRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExternalAssetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExternalAssetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExternalAssetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAsset/ImportOemVehicles": {
      "post": {
        "tags": [
          "ExternalAsset"
        ],
        "summary": "Batch create-or-merge vehicles imported from an External OEM connection. For each vehicle,\r\neither creates a new asset with an External OEM gateway attached or attaches the OEM gateway\r\nto an existing asset. The attached gateway defaults to Pending until Fleeti verification.\r\nA per-vehicle failure is reported via 'isSuccess: false' without failing the whole batch.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ImportOemVehiclesRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportOemVehiclesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportOemVehiclesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ImportOemVehiclesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportOemVehicleResultApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAsset/SetOemConnectionStatus": {
      "post": {
        "tags": [
          "ExternalAsset"
        ],
        "summary": "Batch connect/disconnect assets on an External OEM connection. For each asset, sets the dedicated\r\nProvider.OemConnectionStatus on the gateway whose Provider.OemConnectionId matches the connection and\r\nreports whether the value changed. Idempotent (already-in-state returns changed: false) and disconnect\r\nkeeps the gateway. A per-asset failure is reported via 'isSuccess: false' without failing the whole batch.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SetOemConnectionStatusRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetOemConnectionStatusRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetOemConnectionStatusRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetOemConnectionStatusRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetOemConnectionStatusResultApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAsset/RemoveOemGateways": {
      "post": {
        "tags": [
          "ExternalAsset"
        ],
        "summary": "Batch remove the External OEM gateways of a connection from assets, used when the connection\r\nis deleted (the assets themselves are kept). Removes every gateway whose Provider.OemConnectionId\r\nmatches the connection. Idempotent: an asset without a matching gateway succeeds with\r\n'removedGatewayCount: 0'. When 'assetIds' is omitted, every asset of the customer carrying a\r\ngateway of this connection is cleaned (orphan cleanup). A per-asset failure is reported via\r\n'isSuccess: false' without failing the whole batch.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveOemGatewaysRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveOemGatewaysRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveOemGatewaysRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveOemGatewaysRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveOemGatewayResultApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAsset/Update": {
      "put": {
        "tags": [
          "ExternalAsset"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExternalAssetRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExternalAssetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExternalAssetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateExternalAssetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetApiResultResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/Token": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenAuthApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenAuthApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenAuthApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenAuthApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ExternalAuthentication/GetCustomers": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalCustomerApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/GetCustomer": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "parameters": [
          {
            "name": "Reference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalCustomerApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/UpdateCustomer": {
      "patch": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalUpdateCustomerApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalUpdateCustomerApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalUpdateCustomerApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalUpdateCustomerApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalCustomerApiResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/Create": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFleetiOneUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFleetiOneUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFleetiOneUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFleetiOneUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenApiResultResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/Login": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginAuthApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginAuthApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginAuthApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginAuthApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalLoginResponseApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ExternalAuthentication/Get": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/ValidateToken": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/UpdateUser": {
      "patch": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalUpdateUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalUpdateUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalUpdateUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalUpdateUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/Logout": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/InviteUser": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/InviteFleetiOneUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteFleetiOneUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteFleetiOneUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InviteFleetiOneUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InviteFleetiOneUserResultApiResultResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/SendInvitationEmail": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SendInvitationEmailApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendInvitationEmailApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendInvitationEmailApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendInvitationEmailApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/UpdateFleetiOneUserAccess": {
      "patch": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFleetiOneUserAccessApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFleetiOneUserAccessApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFleetiOneUserAccessApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFleetiOneUserAccessApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/SendPassword": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SendPasswordUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendPasswordUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendPasswordUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendPasswordUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ExternalAuthentication/ResetPassword": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ExternalAuthentication/ChangePassword": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/FleetiOneUserChangePasswordApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FleetiOneUserChangePasswordApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FleetiOneUserChangePasswordApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FleetiOneUserChangePasswordApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenApiResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/ValidateResetPasswordToken": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "parameters": [
          {
            "name": "Token",
            "in": "query",
            "description": "Token sent by email.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ExternalAuthentication/Search": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "parameters": [
          {
            "name": "Ids",
            "in": "query",
            "description": "Search by a list of user IDs.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/GetCustomerOwner": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "summary": "Get the Fleeti One account that owns the organization (primary access on the customer).",
        "description": "**Restricted Access** [ Api Key ]",
        "parameters": [
          {
            "name": "Reference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/GetUsers": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExcludeRoles",
            "in": "query",
            "description": "Roles to leave out, e.g. Driver for the organization users page. Applied before paging,\r\nso the page sizes and the total count match what is returned.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/UserCustomerRoleEnum"
              }
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerUserApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/GetUsersByIds": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UserIds",
            "in": "query",
            "description": "Ids of the Fleeti One users to look up. Ids without access to the organization are omitted\r\nfrom the response rather than reported, so one organization cannot probe another's accounts.",
            "required": true,
            "schema": {
              "maxItems": 200,
              "minItems": 1,
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerUserApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/SearchGroups": {
      "get": {
        "tags": [
          "ExternalAuthentication"
        ],
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchGroupItemApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/CreateAssetGroup": {
      "post": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetGroupApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetGroupApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetGroupApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetGroupApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/UpdateAssetGroup": {
      "put": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetGroupApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetGroupApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetGroupApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetGroupApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApiResultResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalAuthentication/DeleteAssetGroup": {
      "delete": {
        "tags": [
          "ExternalAuthentication"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAssetGroupApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAssetGroupApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAssetGroupApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAssetGroupApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/ExternalGateway/SearchGateways": {
      "get": {
        "tags": [
          "ExternalGateway"
        ],
        "summary": "Search immobilizer gateways.",
        "description": "**Restricted Access** [ All Fleeti Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UserId",
            "in": "query",
            "description": "Tracking platform user ID.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SubuserId",
            "in": "query",
            "description": "Optional tracking platform subuser ID.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ImmobilizationStatus",
            "in": "query",
            "description": "Search by immobilization status.\r\n0 --> Mobilized\r\n1 --> Immobilized",
            "schema": {
              "$ref": "#/components/schemas/ImmobilizationStatusEnum"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalGatewayApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ExternalGateway/SendImmobilizationCommand": {
      "post": {
        "tags": [
          "ExternalGateway"
        ],
        "summary": "Send immobilization commands to a gateway.",
        "description": "**Supported Commands:**\r\n- Immobilize = 7: Activates the immobilizer to prevent vehicle operation\r\n- Unimmobilize = 8: Deactivates the immobilizer to allow vehicle operation",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SendImmobilizationCommandsApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendImmobilizationCommandsApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendImmobilizationCommandsApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendImmobilizationCommandsApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SendImmobilizationCommandsResponseResultResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ExternalGateway/WakeUpGateway": {
      "post": {
        "tags": [
          "ExternalGateway"
        ],
        "summary": "Wake up a gateway and report whether it is reachable.",
        "description": "Probes the device with getrecord and falls back to an SMS wake-up when the SIM supports it.\r\nNever sends immobilization or iButton commands. An unreachable device returns 200 with isOnline = false.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/WakeUpGatewayApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WakeUpGatewayApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WakeUpGatewayApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WakeUpGatewayApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WakeUpGatewayResponseResultResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Health/HealthCheck": {
      "get": {
        "tags": [
          "Health"
        ],
        "summary": "Healthcheck for fleeti system.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Health/ProviderHealthCheck": {
      "get": {
        "tags": [
          "Health"
        ],
        "summary": "Healthcheck for provider.",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Log/GetAssetStateLogs": {
      "get": {
        "tags": [
          "Log"
        ],
        "summary": "Get the Application Insight logs from the ReceivedEvent Job Program.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "ProviderUserId",
            "in": "query",
            "description": "Provider user Id (associated unique identifier of the customer object on provider side).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GatewayId",
            "in": "query",
            "description": "Gateway Id.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "From",
            "in": "query",
            "description": "Start date of the log research (Default value will be yesterday at 00:00:00).",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "description": "End date of the log research (Default value will be today at 23:59:59).",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/MonitoringSync/Start": {
      "post": {
        "tags": [
          "MonitoringSync"
        ],
        "summary": "Start tracking platform-MongoDB real-time sync monitoring task.",
        "description": "**Restricted Access** [ FleetiSuperAdmin ]\r\n\r\nThis endpoint triggers an AWS ECS task to monitor the real-time sync between the tracking platform and MongoDB.\r\nThe task will run with the specified parameters to monitor sync performance.\r\n\r\n**Environment Restrictions:**\r\n- This operation is only available in production environments\r\n- Will return 400 Bad Request in development environment",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/StartMonitoringSyncApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartMonitoringSyncApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StartMonitoringSyncApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StartMonitoringSyncApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitoringSyncTaskStatusApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/MonitoringSync/Task/GetTaskStatus": {
      "get": {
        "tags": [
          "MonitoringSync"
        ],
        "summary": "Get tracking platform-MongoDB monitoring task status.",
        "description": "**Restricted Access** [ FleetiSuperAdmin ]\r\n\r\nGet the current status of a tracking platform-MongoDB monitoring task.\r\n\r\n**Environment Restrictions:**\r\n- This operation is only available in production environments\r\n- Will return 400 Bad Request in development environment",
        "parameters": [
          {
            "name": "taskArn",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitoringSyncTaskStatusApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/MonitoringSync/GetJobs": {
      "get": {
        "tags": [
          "MonitoringSync"
        ],
        "summary": "Get monitoring sync jobs (tasks) with filtering and pagination.",
        "description": "**Restricted Access** [ FleetiSuperAdmin ]\r\n\r\nRetrieve monitoring sync jobs (task records) from MongoDB with various filtering options.\r\nReturns only records with type \"task\".\r\n\r\n**Environment Support:**\r\n- Available in all environments (DEV, PROD)\r\n- Read-only operation that queries MongoDB data",
        "parameters": [
          {
            "name": "TaskId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Customers",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Status",
            "in": "query",
            "description": "Running = 0 | Completed = 1 | Failed = 2",
            "schema": {
              "$ref": "#/components/schemas/JobStatusEnum"
            }
          },
          {
            "name": "CustomerMode",
            "in": "query",
            "description": "All = 0 | Specific = 1",
            "schema": {
              "$ref": "#/components/schemas/CustomerModeEnum"
            }
          },
          {
            "name": "ScheduleMode",
            "in": "query",
            "description": "Scheduled = 0 | OnDemand = 1",
            "schema": {
              "$ref": "#/components/schemas/ScheduleModeEnum"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitoringSyncJobSummaryApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/MonitoringSync/Jobs/{taskId}": {
      "get": {
        "tags": [
          "MonitoringSync"
        ],
        "summary": "Get monitoring sync job details by ID with customer-level statistics.",
        "description": "**Restricted Access** [ FleetiSuperAdmin ]\r\n\r\nRetrieve detailed information about a specific monitoring job including \r\naggregated statistics for each customer.\r\n\r\n**Query Parameters:**\r\n- `customerFilter` (optional): Filter customer statistics by customer reference or name (case-insensitive partial match)\r\n\r\n**Environment Support:**\r\n- Available in all environments (DEV, PROD)\r\n- Read-only operation that queries MongoDB data",
        "parameters": [
          {
            "name": "taskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerFilter",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitoringSyncJobDetailsResponseApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/MonitoringSync/Jobs/{jobId}/Customer/{customerReference}": {
      "get": {
        "tags": [
          "MonitoringSync"
        ],
        "summary": "Get all monitoring sync records for a specific customer within a job.",
        "description": "**Restricted Access** [ FleetiSuperAdmin ]\r\n\r\nRetrieve all monitoring sync records (matches, mismatches, errors) for a specific customer within a specific job.\r\nExcludes task records and provides detailed record information.\r\n\r\n**Environment Support:**\r\n- Available in all environments (DEV, PROD)\r\n- Read-only operation that queries MongoDB data",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerReference",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "description": "Match = 0 | Mismatch = 1 | Error = 2",
            "schema": {
              "$ref": "#/components/schemas/RecordStatusEnum"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitoringSyncCustomerRecordsResponseApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/Search": {
      "get": {
        "tags": [
          "Operation"
        ],
        "summary": "Search operations by filter.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nUses OpenSearch by default for improved performance on text searches.\r\nSet UseLegacySearch=true in the filter to use the original MongoDB search.",
        "parameters": [
          {
            "name": "UseLegacySearch",
            "in": "query",
            "description": "When true, uses the original MongoDB search instead of OpenSearch",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Search by country code. Must be defined in the parameters (api/v1/resource/searchcountry).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "References",
            "in": "query",
            "description": "Search by references of the operation.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Technicians",
            "in": "query",
            "description": "Search by technician user Id.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "OperationTypes",
            "in": "query",
            "description": "Search by types of the operation.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/OperationTypeEnum"
              }
            }
          },
          {
            "name": "Statuses",
            "in": "query",
            "description": "Search by statuses of the operation.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/OperationStatusEnum"
              }
            }
          },
          {
            "name": "Accessories",
            "in": "query",
            "description": "Search by accessories linked in the operation.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccessoryTypeEnum"
              }
            }
          },
          {
            "name": "VisitDate",
            "in": "query",
            "description": "Search by the visit date, try to match the date in between the start date and the end date of the visit.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "From",
            "in": "query",
            "description": "Search by the start date of the visit.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "description": "Search by the end date of the visit.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "GatewayIds",
            "in": "query",
            "description": "Search by a list of gateway id.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/Get": {
      "get": {
        "tags": [
          "Operation"
        ],
        "summary": "Get operation by reference.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Reference",
            "in": "query",
            "description": "Operation reference.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Operation/ExportExcel": {
      "get": {
        "tags": [
          "Operation"
        ],
        "summary": "Export a list of operations as Excel file.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Fields",
            "in": "query",
            "description": "List of fields to export (fields must be defined into OperationApi model).",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Language",
            "in": "query",
            "description": "Language code (2 letters).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UseLegacySearch",
            "in": "query",
            "description": "When true, uses the original MongoDB search instead of OpenSearch",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Search by country code. Must be defined in the parameters (api/v1/resource/searchcountry).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "References",
            "in": "query",
            "description": "Search by references of the operation.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Technicians",
            "in": "query",
            "description": "Search by technician user Id.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "OperationTypes",
            "in": "query",
            "description": "Search by types of the operation.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/OperationTypeEnum"
              }
            }
          },
          {
            "name": "Statuses",
            "in": "query",
            "description": "Search by statuses of the operation.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/OperationStatusEnum"
              }
            }
          },
          {
            "name": "Accessories",
            "in": "query",
            "description": "Search by accessories linked in the operation.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccessoryTypeEnum"
              }
            }
          },
          {
            "name": "VisitDate",
            "in": "query",
            "description": "Search by the visit date, try to match the date in between the start date and the end date of the visit.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "From",
            "in": "query",
            "description": "Search by the start date of the visit.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "description": "Search by the end date of the visit.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "GatewayIds",
            "in": "query",
            "description": "Search by a list of gateway id.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": null,
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/Create": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Create a new operation.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/Update": {
      "put": {
        "tags": [
          "Operation"
        ],
        "summary": "Update the operation.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/Remove": {
      "delete": {
        "tags": [
          "Operation"
        ],
        "summary": "Remove the operation.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "parameters": [
          {
            "name": "Reference",
            "in": "query",
            "description": "Reference of the operation.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Comments",
            "in": "query",
            "description": "Reasons why the operations is being deleted.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/ConfigureSim": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Configure the Sim for an operation gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]\r\n            \r\nOperatorType = International: It takes time because all endpoints are loaded from International API.\r\n                     Get or create a new endpoint on Bics with the name 'ADMIN_{operation_reference}'.\r\nIt creates a new Operation with a new gateway, the gateway configuration is SimCardConfigured.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureSimOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureSimOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureSimOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureSimOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/ConfigureGateway": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Configure the gateway for an operation gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureGatewayOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureGatewayOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureGatewayOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureGatewayOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/UpdateGatewayConfigurationFile": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Update the gateway configuration file url for an operation gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayFileOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayFileOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayFileOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayFileOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/ConfigureAccessories": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Configure accessories for an operation gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureAccessoriesOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureAccessoriesOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureAccessoriesOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureAccessoriesOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/VerifyConfiguration": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Verify the configuration for an operation gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyConfigurationOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyConfigurationOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyConfigurationOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyConfigurationOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/UpdateCalibrationData": {
      "put": {
        "tags": [
          "Operation"
        ],
        "summary": "Update calibration data for an operation. Applicable only on FuelCapacity accessory.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFuelAccessoryCalibrationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFuelAccessoryCalibrationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFuelAccessoryCalibrationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFuelAccessoryCalibrationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/ValidateConfiguration": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Validate the configuration for an operation.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateConfigurationOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateConfigurationOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateConfigurationOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateConfigurationOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/CreateAccessory": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Create an accessory for an operation gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/UpdateAccessory": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Update an accessory for an operation gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/RemoveAccessory": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Remove an accessory for an operation gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveAccessoryOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveAccessoryOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveAccessoryOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveAccessoryOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/UpdateReport": {
      "put": {
        "tags": [
          "Operation"
        ],
        "summary": "Update the report of an operation gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/StartOperation": {
      "put": {
        "tags": [
          "Operation"
        ],
        "summary": "Start the operation.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/StartOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StartOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StartOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/AddReportAttachment": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Add file of an operation gateway report.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AddReportAttachmentOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddReportAttachmentOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddReportAttachmentOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddReportAttachmentOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/RemoveReportAttachment": {
      "delete": {
        "tags": [
          "Operation"
        ],
        "summary": "Remove attached file of an operation gateway report.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveReportAttachmentOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveReportAttachmentOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveReportAttachmentOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveReportAttachmentOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/GetReport": {
      "get": {
        "tags": [
          "Operation"
        ],
        "summary": "Get the report result of the operation.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Reference",
            "in": "query",
            "description": "Reference of the operation.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GatewayImei",
            "in": "query",
            "description": "Gateway Imei.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResultStorageResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/Operation/GetVerification": {
      "get": {
        "tags": [
          "Operation"
        ],
        "summary": "Get the verification result of the operation.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "parameters": [
          {
            "name": "Reference",
            "in": "query",
            "description": "Reference of the operation.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GatewayId",
            "in": "query",
            "description": "Gateway Id from the Provider.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationOperationStorageResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/UpdateVerification": {
      "put": {
        "tags": [
          "Operation"
        ],
        "summary": "Update the verification.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVerificationOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVerificationOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVerificationOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVerificationOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Operation/Terminate": {
      "post": {
        "tags": [
          "Operation"
        ],
        "summary": "Terminate the operation.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/TerminateOperationApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TerminateOperationApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TerminateOperationApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TerminateOperationApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/SearchGeofence": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Search geofences.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GeofenceNestedResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/SearchLocation": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Search for locations.",
        "description": "**Restricted Access** [ All Roles ]\r\n \r\nSearch for geofence or poi on the provider.",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Search by type of provider.",
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          },
          {
            "name": "LocationType",
            "in": "query",
            "description": "Search by type of location.",
            "schema": {
              "$ref": "#/components/schemas/LocationTypeEnum"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchLocationProviderApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetAllAssetTrack": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Get all tracks.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, Customer, FleetiReadOnlyUser ]\r\n            \r\nGet the asset history tracks.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetTrackProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetTrackProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetTrackProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetTrackProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayTrackProviderResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetAllAssetTrackPoint": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Get all points of a track.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, Customer, FleetiReadOnlyUser ]\r\n            \r\nGet the GPS points of a track for an asset.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetTrackPointProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetTrackPointProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetTrackPointProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetTrackPointProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayTrackPointProviderResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetGateway": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Get the asset gateway.",
        "description": "**Restricted Access** [ All Fleeti Roles ]",
        "parameters": [
          {
            "name": "GatewayId",
            "in": "query",
            "description": "Gateway Id.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          },
          {
            "name": "ProviderPlan",
            "in": "query",
            "description": "Plan of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderPlanEnum"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchAssetApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetGatewaysStateByCustomer": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Get asset gateways by IDs for a specific customer.",
        "description": "**Restricted Access** [ All Fleeti Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetGatewaysStateByCustomerProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetGatewaysStateByCustomerProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetGatewaysStateByCustomerProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetGatewaysStateByCustomerProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringStateNestedDictionaryResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetAllGatewayModelCodes": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Get all model code gateways.",
        "description": "**Restricted Access** [ All Fleeti Roles ]\r\n            \r\nFor Fleeti provider:\r\n- search: entities will be returned only if 'search' parameter contain one of the following fields:\r\nName, Provider.TrackerId, Provider.SourceId, Provider.UserId, ModelCode, Sim.Phone.\r\n- sortBy: it can be one of the following fields: Name, CreatedAt, ModelCode. Default sort is the CreatedAt.\r\n- sortAsc: if true, ordering will be ascending, descending otherwise. Default is false.",
        "parameters": [
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayModelProviderResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetAllAvailableGatewayAccessories": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Get all available accessories from gateway.",
        "description": "**Restricted Access** [ All Fleeti Roles ]\r\n            \r\nGet all accessories installed but not linked to a gateway.",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AssetId",
            "in": "query",
            "description": "Asset Id.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GatewayId",
            "in": "query",
            "description": "Gateway Id.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessoryNestedApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetAllUnbindGateways": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Get all unbind asset gateways.",
        "description": "**Restricted Access** [ All Fleeti Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          },
          {
            "name": "ShowClones",
            "in": "query",
            "description": "If True, return only gateways that are clones. If False, return all gateways",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchGatewayNestedApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/SearchWarehouseGateways": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Search gateways in warehouse account .",
        "description": "**Restricted Access** [ All Fleeti Roles ]",
        "parameters": [
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Search by type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          },
          {
            "name": "ProviderPlan",
            "in": "query",
            "description": "Search by plan of provider.",
            "schema": {
              "$ref": "#/components/schemas/ProviderPlanEnum"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Search by country code.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExcludeClones",
            "in": "query",
            "description": "If True, search by exclude clones.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchGatewayNestedApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/Gateway/SendCommand": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Send command to the gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin, Customer ]\r\n\r\nGatewayCommandEnum: [ GetRecord = 1 ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SendCommandGatewayApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendCommandGatewayApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendCommandGatewayApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendCommandGatewayApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseOperatorResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/RemoveGateway": {
      "delete": {
        "tags": [
          "Provider"
        ],
        "summary": "Remove the gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnicianAdmin, FleetiTechnician ]\r\n\r\nThe gateway must be in the warehouse account.",
        "parameters": [
          {
            "name": "GatewayId",
            "in": "query",
            "description": "Gateway Id to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          },
          {
            "name": "ProviderPlan",
            "in": "query",
            "description": "Provider plan.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderPlanEnum"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "IsClone",
            "in": "query",
            "description": "If true, remove only cloned gateway, if false remove only real gateway.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/RegisterPhoneGateway": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Register on warehouse account a phone gateway.",
        "description": "**Restricted Access** [ FleetiSuperAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPhoneGatewayApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPhoneGatewayApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPhoneGatewayApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterPhoneGatewayApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayNestedApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetAllAvailableUsers": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Get the available users.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          },
          {
            "name": "ProviderPlan",
            "in": "query",
            "description": "Provider plan.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderPlanEnum"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProviderResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetCustomerHash": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Get the customer hash.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin, Customer ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/ResetPassword": {
      "put": {
        "tags": [
          "Provider"
        ],
        "summary": "Reset password.",
        "description": "**Restricted Access** [ All Fleeti Roles ]\r\n\r\nThe reset password will use the customer email.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/SearchUser": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Search user in all providers.",
        "description": "**Restricted Access** [ Fleeti Super Admin ]",
        "parameters": [
          {
            "name": "ProviderCountryCode",
            "in": "query",
            "description": "Provider country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderPlan",
            "in": "query",
            "description": "Provider plan.",
            "schema": {
              "$ref": "#/components/schemas/ProviderPlanEnum"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProviderResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/SearchSubUser": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Search subuser in all providers.",
        "description": "**Restricted Access** [ Fleeti Super Admin ]",
        "parameters": [
          {
            "name": "ProviderCountryCode",
            "in": "query",
            "description": "Provider country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderPlan",
            "in": "query",
            "description": "Provider plan.",
            "schema": {
              "$ref": "#/components/schemas/ProviderPlanEnum"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubuserProviderResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/SearchGateway": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Search gateway in all providers.",
        "description": "**Restricted Access** [ Fleeti Super Admin ]\r\n\r\nThe reset password will use the customer email.",
        "parameters": [
          {
            "name": "ProviderCountryCode",
            "in": "query",
            "description": "Provider country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ProviderPlan",
            "in": "query",
            "description": "Provider plan.",
            "schema": {
              "$ref": "#/components/schemas/ProviderPlanEnum"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayNestedApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetUserRoles": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Get user roles (only TrackingFleeti).",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRoleProviderResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/CreateUserRole": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Create all the user roles (only TrackingFleeti).",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRoleProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRoleProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRoleProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRoleProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRoleProviderResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/UpdateUserRole": {
      "put": {
        "tags": [
          "Provider"
        ],
        "summary": "Update the user role (only TrackingFleeti).",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRoleProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRoleProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRoleProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRoleProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRoleProviderResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/RemoveUserRole": {
      "delete": {
        "tags": [
          "Provider"
        ],
        "summary": "Remove the user role (only TrackingFleeti).",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UserRoleId",
            "in": "query",
            "description": "User role Id to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetSubusers": {
      "get": {
        "tags": [
          "Provider"
        ],
        "summary": "Get all the subusers (only TrackingFleeti).",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubuserProviderResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/CreateSubuser": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Create a new subuser (only TrackingFleeti).",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubuserProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubuserProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubuserProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubuserProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubuserProviderResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/UpdateSubuser": {
      "put": {
        "tags": [
          "Provider"
        ],
        "summary": "Update the subuser (only TrackingFleeti).",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSubuserProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSubuserProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSubuserProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSubuserProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubuserProviderResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/RemoveSubuser": {
      "delete": {
        "tags": [
          "Provider"
        ],
        "summary": "Remove the subuser (only TrackingFleeti).",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SubuserId",
            "in": "query",
            "description": "Id of the subuser to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetAllAssetsBoundSubuser": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Get all the assets Ids bound to the subuser.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllSubuserBoundGatewayProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllSubuserBoundGatewayProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllSubuserBoundGatewayProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllSubuserBoundGatewayProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/BindSubuserGateways": {
      "put": {
        "tags": [
          "Provider"
        ],
        "summary": "Bind gateways to subuser.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BindSubuserGatewaysProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BindSubuserGatewaysProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BindSubuserGatewaysProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BindSubuserGatewaysProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/CreateGeofence": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Create a new geofence.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGeofenceProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGeofenceProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGeofenceProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGeofenceProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GeofenceNestedResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/UpdateGeofence": {
      "put": {
        "tags": [
          "Provider"
        ],
        "summary": "Update the geofence.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGeofenceProviderdApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGeofenceProviderdApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGeofenceProviderdApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGeofenceProviderdApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GeofenceNestedResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/RemoveGeofence": {
      "delete": {
        "tags": [
          "Provider"
        ],
        "summary": "Remove the geofence.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Customer reference.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Id",
            "in": "query",
            "description": "Id of the geofence to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetEcoDrivingReport": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Get eco-driving report.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, Customer ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EcoDrivingProviderReportReportResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetTripsStopsReport": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Get trips stops report.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, Customer ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TripsStopsProviderReportReportResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetEngineHoursReport": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Get engine hours report.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, Customer ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineHoursProviderReportReportResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/v1/Provider/GetFuelReport": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Get fuel report.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, Customer ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetReportProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Fuel2ProviderReportReportResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Provider/GetAllAssetLocation": {
      "post": {
        "tags": [
          "Provider"
        ],
        "summary": "Get all locations.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, Customer ]\r\n\r\nSearch real time geofence or poi label depending on the asset location.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetLocationProviderApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetLocationProviderApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetLocationProviderApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllAssetLocationProviderApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LocationPointProviderResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/Search": {
      "get": {
        "tags": [
          "Report"
        ],
        "summary": "Search reports by filter.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ReportType",
            "in": "query",
            "description": "Search by type of report.",
            "schema": {
              "$ref": "#/components/schemas/ReportTypeEnum"
            }
          },
          {
            "name": "CreatedAt",
            "in": "query",
            "description": "Search by date of creation.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/Get": {
      "get": {
        "tags": [
          "Report"
        ],
        "summary": "Get the report.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Id of the report.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/CreateRmr": {
      "post": {
        "tags": [
          "Report"
        ],
        "summary": "Create RMR report.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRmrReportApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRmrReportApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRmrReportApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRmrReportApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/CreateLocation": {
      "post": {
        "tags": [
          "Report"
        ],
        "summary": "Create geofence or POI report.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLocationVisitReportApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLocationVisitReportApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLocationVisitReportApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLocationVisitReportApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/CreateFuel": {
      "post": {
        "tags": [
          "Report"
        ],
        "summary": "Create a fuel report.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFuelReportApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFuelReportApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFuelReportApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFuelReportApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/CreateRental": {
      "post": {
        "tags": [
          "Report"
        ],
        "summary": "Create a rental report.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRentalReportApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRentalReportApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRentalReportApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRentalReportApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/CreateScenario": {
      "post": {
        "tags": [
          "Report"
        ],
        "summary": "Create a scenario report.",
        "description": "A scenario report is a report that is generated based on a set of inputs which contains periods and assets ids, groups or types.\r\n**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScenarioReportApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScenarioReportApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScenarioReportApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScenarioReportApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScenarioReportApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/SearchScenarios": {
      "get": {
        "tags": [
          "Report"
        ],
        "summary": "Search scenario reports.",
        "description": "A scenario report is a report that is generated based on a set of inputs which contains periods and assets ids, groups or types.\r\n**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "parameters": [
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ReportType",
            "in": "query",
            "description": "Search by type of report.",
            "schema": {
              "$ref": "#/components/schemas/ReportTypeEnum"
            }
          },
          {
            "name": "RecurrenceType",
            "in": "query",
            "description": "Search by type of the recurrence.",
            "schema": {
              "$ref": "#/components/schemas/ScenarioRecurrenceTypeEnum"
            }
          },
          {
            "name": "CreatedAt",
            "in": "query",
            "description": "Search by date of the scenario creation.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "LastExecution",
            "in": "query",
            "description": "Search by date of last execution.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScenarioReportApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/Remove": {
      "delete": {
        "tags": [
          "Report"
        ],
        "summary": "Remove a report.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Id of the report.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/RemoveScenario": {
      "delete": {
        "tags": [
          "Report"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Id of the scenario.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/Export": {
      "get": {
        "tags": [
          "Report"
        ],
        "summary": "Export report as base64 file.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Id of the report.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LanguageCode",
            "in": "query",
            "description": "Language of the report generation (only fr or en are supported).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Colmuns",
            "in": "query",
            "description": "List of columns to be displayed.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Report/ExportExcel": {
      "get": {
        "tags": [
          "Report"
        ],
        "summary": "Export report as Excel file.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Id of the report.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LanguageCode",
            "in": "query",
            "description": "Language of the report generation (only fr or en are supported).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Colmuns",
            "in": "query",
            "description": "List of columns to be displayed.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": null,
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/SearchAssetMake": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Search asset makes by filter.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "AssetType",
            "in": "query",
            "description": "Search by type of asset.",
            "schema": {
              "$ref": "#/components/schemas/AssetTypeEnum"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetMakeResourceApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/SearchEnums": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Search enums definition by filter.",
        "parameters": [
          {
            "name": "EnumNames",
            "in": "query",
            "description": "Search by the names of enum.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnumApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/SearchCountry": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Search countries by filter.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryResourceApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/SearchCountryRoadsStats": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Get all countries stats with pagination and search.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "parameters": [
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryRoadsStatsApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/{id}/GetCountryDefaultSpeeds": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Get country by ID, including default speeds for each road type.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryDefaultSpeedsApiResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/CreateCountry": {
      "post": {
        "tags": [
          "Resource"
        ],
        "summary": "Create a new country.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCountryResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCountryResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCountryResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCountryResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/UpdateCountry": {
      "put": {
        "tags": [
          "Resource"
        ],
        "summary": "Update the country.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiSales ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/UpdateCountryBillingContact": {
      "put": {
        "tags": [
          "Resource"
        ],
        "summary": "Update the country billing contacts.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryBillingContactResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryBillingContactResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryBillingContactResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryBillingContactResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/{id}/UpdateCountryDefaultSpeed": {
      "patch": {
        "tags": [
          "Resource"
        ],
        "summary": "Update default speed limits for one or more road types of a specific country.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryDefaultSpeedApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryDefaultSpeedApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryDefaultSpeedApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCountryDefaultSpeedApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryDefaultSpeedsApiResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/SearchGateway": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Search gateway models by filter.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayResourceApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/CreateGateway": {
      "post": {
        "tags": [
          "Resource"
        ],
        "summary": "Create a new gateway model.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerServiceAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiOperator, FleetiTechnicianAdmin, FleetiTechnician ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/UpdateGateway": {
      "put": {
        "tags": [
          "Resource"
        ],
        "summary": "Update the gateway model.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerServiceAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiOperator, FleetiTechnicianAdmin, FleetiTechnician ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/RemoveGateway": {
      "delete": {
        "tags": [
          "Resource"
        ],
        "summary": "Remove the gateway model.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerServiceAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiOperator, FleetiTechnicianAdmin, FleetiTechnician]",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Gateway Id to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/GetAllGatewayFiles": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Get all the gateway model configuration files.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Model",
            "in": "query",
            "description": "Gateway model. Must be defined in the parameters (api/v1/resource/searchgateway).",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayFileResourceApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/DownloadGatewayFile": {
      "post": {
        "tags": [
          "Resource"
        ],
        "summary": "Download the gateway model configuration file.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadGatewayFileResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadGatewayFileResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadGatewayFileResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadGatewayFileResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": null,
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/CreateGatewayFile": {
      "post": {
        "tags": [
          "Resource"
        ],
        "summary": "Create a new gateway model configuration file.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayFileResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayFileResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayFileResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayFileResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayFileResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/UpdateGatewayFile": {
      "put": {
        "tags": [
          "Resource"
        ],
        "summary": "Update the gateway model configuration file.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayFileResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayFileResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayFileResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayFileResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayFileResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/RemoveGatewayFile": {
      "delete": {
        "tags": [
          "Resource"
        ],
        "summary": "Remove the gateway model configuration file.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "parameters": [
          {
            "name": "Model",
            "in": "query",
            "description": "Gateway model. Must be defined in the parameters (api/v1/resource/searchgateway).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FileName",
            "in": "query",
            "description": "File name. Must be defined in the parameters (api/v1/resource/getallgatewayfiles).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FileVersion",
            "in": "query",
            "description": "File version. Must be defined in the parameters (api/v1/resource/getallgatewayfiles).",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatewayFileResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/SearchAccessory": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Search accessories by filters.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Type",
            "in": "query",
            "description": "Search by type of accessory.",
            "schema": {
              "$ref": "#/components/schemas/AccessoryTypeEnum"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessoryResourceApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/CreateAccessory": {
      "post": {
        "tags": [
          "Resource"
        ],
        "summary": "Create a new accessory model.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerServiceAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiOperator, FleetiTechnicianAdmin, FleetiTechnician ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccessoryResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessoryResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/UpdateAccessory": {
      "put": {
        "tags": [
          "Resource"
        ],
        "summary": "Update the accessory model.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerServiceAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiOperator, FleetiTechnicianAdmin, FleetiTechnician ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccessoryResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessoryResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/RemoveAccessory": {
      "delete": {
        "tags": [
          "Resource"
        ],
        "summary": "Remove the accessory model.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerServiceAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiOperator, FleetiTechnicianAdmin, FleetiTechnician ]",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Accessory Id to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/CreateAssetMake": {
      "post": {
        "tags": [
          "Resource"
        ],
        "summary": "Create a new asset make.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetMakeResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetMakeResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetMakeResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetMakeResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetMakeResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/UpdateAssetMake": {
      "put": {
        "tags": [
          "Resource"
        ],
        "summary": "Update the asset make.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetMakeResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetMakeResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetMakeResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetMakeResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetMakeResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/RemoveAssetMake": {
      "delete": {
        "tags": [
          "Resource"
        ],
        "summary": "Remove the asset make.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "description": "Asset Make Id to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/CreateAssetModel": {
      "post": {
        "tags": [
          "Resource"
        ],
        "summary": "Create a new asset make model.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetModelResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetModelResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetModelResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetModelResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetMakeResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/UpdateAssetModel": {
      "put": {
        "tags": [
          "Resource"
        ],
        "summary": "Update the asset make model.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetModelResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetModelResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetModelResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetModelResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetMakeResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/RemoveAssetModel": {
      "delete": {
        "tags": [
          "Resource"
        ],
        "summary": "Remove the asset make model.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "AssetMakeId",
            "in": "query",
            "description": "Asset make Id.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AssetModelId",
            "in": "query",
            "description": "Asset model Id.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetMakeResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/SearchProvider": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Search providers by filter.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin, FleetiCustomerService, FleetiCustomerServiceFinance, FleetiCustomerServiceAdmin, FleetiOperator, FleetiTechnician, FleetiTechnicianAdmin ]",
        "parameters": [
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Search by type of provider.",
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          },
          {
            "name": "ProviderPlan",
            "in": "query",
            "description": "Search by plan of provider.",
            "schema": {
              "$ref": "#/components/schemas/ProviderPlanEnum"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Search by country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "IsHealcheckRequired",
            "in": "query",
            "description": "If true, process a healcheck on each provider.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderResourceApiResultsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/CreateProvider": {
      "post": {
        "tags": [
          "Resource"
        ],
        "summary": "Create a new provider.",
        "description": "**Restricted Access** [ FleetiSuperAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProviderResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProviderResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProviderResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProviderResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/UpdateProvider": {
      "put": {
        "tags": [
          "Resource"
        ],
        "summary": "Update the provider.",
        "description": "**Restricted Access** [ FleetiSuperAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProviderResourceApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProviderResourceApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProviderResourceApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProviderResourceApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderResourceApiResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Resource/GetProviderPassword": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Get the provider passwords.",
        "description": "Only these users can access this endpoint: \r\n- nina@fleeti.co\r\n- nina.tchalla@fleeti.co\r\n- iban@fleeti.co\r\n- gabriel@fleeti.co\r\n- stephan.arnas@fleeti.co\r\n- marius.niemet@fleeti.co\r\n- guillaume.coste@fleeti.co",
        "parameters": [
          {
            "name": "ProviderType",
            "in": "query",
            "description": "Type of provider.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderTypeEnum"
            }
          },
          {
            "name": "ProviderPlan",
            "in": "query",
            "description": "Provider plan.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ProviderPlanEnum"
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry).",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PasswordProviderDataSettingApi"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Roads/Search": {
      "get": {
        "tags": [
          "Roads"
        ],
        "summary": "Search roads with pagination and filters",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "parameters": [
          {
            "name": "CountryName",
            "in": "query",
            "description": "Filter by country name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RoadType",
            "in": "query",
            "description": "Filter by road type.",
            "schema": {
              "$ref": "#/components/schemas/RoadTypeEnum"
            }
          },
          {
            "name": "HasSpeedLimit",
            "in": "query",
            "description": "Filter by speed limit presence: true = has speed limit, false = no speed limit, null = skip.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text search string.\r\nSpecial characters will be replaced.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"Id\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is true.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return per page. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LastId",
            "in": "query",
            "description": "Id of the last document from the previous page. Null for first page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoadsApiCursorResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Roads/Get": {
      "get": {
        "tags": [
          "Roads"
        ],
        "summary": "Get road by ID, including Waypoints.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "parameters": [
          {
            "name": "RoadId",
            "in": "query",
            "description": "Road Id to get",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoadDetailApiResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Roads/{roadId}/UpdateOverrideSpeed": {
      "patch": {
        "tags": [
          "Roads"
        ],
        "summary": "Update the Fleeti override speed for a road.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "parameters": [
          {
            "name": "roadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOverrideSpeedApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOverrideSpeedApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOverrideSpeedApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOverrideSpeedApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoadsApiResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Roads/Remove": {
      "delete": {
        "tags": [
          "Roads"
        ],
        "summary": "Remove a road.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "parameters": [
          {
            "name": "RoadId",
            "in": "query",
            "description": "Road Id to remove",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Roads/Export": {
      "post": {
        "tags": [
          "Roads"
        ],
        "summary": "Export roads for the given countries.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ExportRoadsApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExportRoadsApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ExportRoadsApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ExportRoadsApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportJobApiResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Roads/GetExportStatus/{id}": {
      "get": {
        "tags": [
          "Roads"
        ],
        "summary": "Get the status of a roads export job.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportStatusApiResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/Roads/SearchExportProcess": {
      "get": {
        "tags": [
          "Roads"
        ],
        "summary": "Search export processes with pagination.",
        "description": "**Restricted Access** [ FleetiSuperAdmin, FleetiAdmin ]",
        "parameters": [
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportProcessApiResultsResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/User/Search": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Search users by filter.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nUses OpenSearch by default for improved performance on text searches.\r\nSet UseLegacySearch=true in the filter to use the original MongoDB search.",
        "parameters": [
          {
            "name": "UseLegacySearch",
            "in": "query",
            "description": "When true, uses the original MongoDB search instead of OpenSearch",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "CustomerReference",
            "in": "query",
            "description": "Search by customer reference.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Roles",
            "in": "query",
            "description": "Search by user roles.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/UserRoleEnum"
              }
            }
          },
          {
            "name": "ExcludeRoles",
            "in": "query",
            "description": "Search by excluding user roles.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/UserRoleEnum"
              }
            }
          },
          {
            "name": "CountryCode",
            "in": "query",
            "description": "Search by user country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Ids",
            "in": "query",
            "description": "Search by a list of user IDs.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "Search",
            "in": "query",
            "description": "Text Search string.\r\nSpecial characters will be replaced like \"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Sort results by field. Default value is \"CreatedAt\".",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortAsc",
            "in": "query",
            "description": "If true, ordering will be ascending, descending otherwise. Default value is false.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "description": "Starting offset: Number of page Skipped, used for pagination. Default value is 0.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Number of elements to return, used for pagination. Default value is 20.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/Get": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Get the current user.",
        "description": "**Restricted Access** [ All Roles ]",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/Create": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "Create a new user.",
        "description": "**Restricted Access** [ All Roles ]\r\n\r\nThe email is transform to lower case.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/Update": {
      "put": {
        "tags": [
          "User"
        ],
        "summary": "Update the user.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/UpdateEmail": {
      "put": {
        "tags": [
          "User"
        ],
        "summary": "Update the user email.",
        "description": "**Restricted Access** [ All Roles ]\r\n*Not supported by API Key*\r\n            \r\nThis method require the current password.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmailUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmailUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmailUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmailUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/UpdatePassword": {
      "put": {
        "tags": [
          "User"
        ],
        "summary": "Update the user password.",
        "description": "**Restricted Access** [ All Roles ]\r\n*Not supported by API Key*\r\n            \r\nThis method require the current password.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePasswordUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePasswordUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePasswordUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePasswordUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/AssignAssets": {
      "put": {
        "tags": [
          "User"
        ],
        "summary": "Assign assets to the user.",
        "description": "**Restricted Access** [ All Roles ]\r\n            \r\n- UserId should belongs to the customer reference with a CustomerRole = Basic.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignAssetsUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignAssetsUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignAssetsUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignAssetsUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/UpdateModules": {
      "put": {
        "tags": [
          "User"
        ],
        "summary": "Update the modules.",
        "description": "**Restricted Access** [ All Roles ]",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModuleUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModuleUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModuleUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModuleUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserApiResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/Remove": {
      "delete": {
        "tags": [
          "User"
        ],
        "summary": "Remove the user.",
        "description": "**Restricted Access** [ All Roles ]",
        "parameters": [
          {
            "name": "Email",
            "in": "query",
            "description": "Email of the user to remove.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "email"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/Confirm": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "Confirm the user account.",
        "description": "**Restricted Access** [ All Roles ]\r\n*Not supported by API Key*",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/User/SendConfirmation": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "Send email to confirm the account.",
        "description": "**Restricted Access** [ All Roles ]\r\n*Not supported by API Key*",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    },
    "/v1/User/SendPassword": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "Send an email with a link to reset the password.",
        "description": "**Restricted Access** [ All Roles ]\r\n*Not supported by API Key*",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SendPasswordUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendPasswordUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendPasswordUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendPasswordUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/User/ResetPassword": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "Reset the user password.",
        "description": "**Restricted Access** [ All Roles ]\r\n*Not supported by API Key*",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordUserApi"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordUserApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordUserApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordUserApi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmptyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/User/Export": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Export all the user data.",
        "description": "**Restricted Access** [ All Roles ]",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": [ ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AccessActionEnum": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32",
        "x-enumNames": [
          "Set",
          "Remove"
        ],
        "x-enumDescriptions": [
          "Set",
          "Remove"
        ],
        "x-displayName": [
          "Set",
          "Remove"
        ]
      },
      "AccessChangeApi": {
        "required": [
          "action",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "minLength": 1,
            "type": "string"
          },
          "action": {
            "$ref": "#/components/schemas/AccessActionEnum"
          },
          "role": {
            "$ref": "#/components/schemas/UserCustomerRoleEnum"
          }
        },
        "additionalProperties": false
      },
      "AccessoryConnectionEnum": {
        "enum": [
          10,
          20,
          30
        ],
        "type": "integer",
        "description": "Wire = 10 | Bluetooth = 20 | Wifi = 30",
        "format": "int32",
        "x-enumNames": [
          "Wire",
          "Bluetooth",
          "Wifi"
        ],
        "x-enumDescriptions": [
          "Wire",
          "Bluetooth",
          "Wifi"
        ],
        "x-displayName": [
          "Wire",
          "Bluetooth",
          "Wifi"
        ]
      },
      "AccessoryNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the accessory.",
            "nullable": true
          },
          "operationId": {
            "type": "string",
            "description": "Id of the operation.",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          },
          "name": {
            "type": "string",
            "description": "Name of the accessory.",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model of the accessory.",
            "nullable": true
          },
          "macAddress": {
            "type": "string",
            "description": "Mac address.",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Unique identifier.",
            "nullable": true
          },
          "fuelType": {
            "$ref": "#/components/schemas/FuelTypeEnum"
          },
          "outputNumber": {
            "type": "integer",
            "description": "Output number on which the accessory in installed.",
            "format": "int32",
            "nullable": true
          },
          "immobilizationStatus": {
            "$ref": "#/components/schemas/ImmobilizationStatusEnum"
          },
          "discountedPrice": {
            "type": "number",
            "description": "Discount price.",
            "format": "double"
          },
          "providerSensors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderSensorNestedApi"
            },
            "description": "Sensor (data about the bind sensor on provider side).",
            "nullable": true
          },
          "bluetoothConnexionNumber": {
            "type": "integer",
            "description": "Pin of the bluetooth connection.",
            "format": "int32",
            "nullable": true
          },
          "calibrationData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FuelSensorCalibrationDataNestedApi"
            },
            "description": "List of the calibration data (used for fuel capacity).",
            "nullable": true
          },
          "verification": {
            "$ref": "#/components/schemas/VerificationNestedApi"
          }
        },
        "additionalProperties": false
      },
      "AccessoryNestedApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryNestedApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccessoryPriceCountryDataSettingApi": {
        "type": "object",
        "properties": {
          "accessory": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          },
          "price": {
            "type": "number",
            "description": "Set the accessory price.",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "AccessoryPriceNested": {
        "type": "object",
        "properties": {
          "accessory": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          },
          "price": {
            "type": "number",
            "description": "",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "AccessoryResourceApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Accessory Id.",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "manufacturer": {
            "type": "string",
            "description": "Manufacturer.",
            "nullable": true
          },
          "supplier": {
            "type": "string",
            "description": "Supplier.",
            "nullable": true
          },
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryTypeNested"
            },
            "description": "List of accessory types.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccessoryResourceApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/AccessoryResourceApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccessoryResourceApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryResourceApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccessoryTypeEnum": {
        "enum": [
          1,
          2,
          3,
          4,
          6,
          7,
          8,
          9,
          11,
          13,
          15,
          16,
          17,
          18,
          19
        ],
        "type": "integer",
        "description": "Immobilizer = 1 | Temperature = 2 | Led = 3 | RfidReader = 4 | FuelCapacity = 6 | iButtonReader = 7 | Digicode = 8 | DoorOpening = 9 | Buzzer = 11 | FuelFlow = 12 | AngleMovement = 13 | LiquidCapacity = 14 | Weight = 15 | SosButton = 16 | ExternalCamera = 17 | MonitoringScreen = 18 | Can = 19",
        "format": "int32",
        "x-enumNames": [
          "Immobilizer",
          "Temperature",
          "Led",
          "RfidReader",
          "FuelCapacity",
          "IButtonReader",
          "Digicode",
          "DoorOpening",
          "Buzzer",
          "AngleMovement",
          "Weight",
          "SosButton",
          "ExternalCamera",
          "MonitoringScreen",
          "Can"
        ],
        "x-enumDescriptions": [
          "Immobilizer",
          "Temperature",
          "Led",
          "RfidReader",
          "FuelCapacity",
          "IButtonReader",
          "Digicode",
          "DoorOpening",
          "Buzzer",
          "AngleMovement",
          "Weight",
          "SosButton",
          "ExternalCamera",
          "MonitoringScreen",
          "Can"
        ],
        "x-displayName": [
          "Immobilizer",
          "Temperature",
          "Led",
          "RfidReader",
          "FuelCapacity",
          "IButtonReader",
          "Digicode",
          "DoorOpening",
          "Buzzer",
          "AngleMovement",
          "Weight",
          "SosButton",
          "ExternalCamera",
          "MonitoringScreen",
          "Can"
        ]
      },
      "AccessoryTypeNested": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          }
        },
        "additionalProperties": false
      },
      "AccessoryTypeResourceApi": {
        "required": [
          "connection"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          }
        },
        "additionalProperties": false
      },
      "AccessoryVerificationStorageBase": {
        "type": "object",
        "properties": {
          "accessoryId": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "value": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "response": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ActionScenarioReportApi": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/ScenarioActionTypeEnum"
          }
        },
        "additionalProperties": false
      },
      "AddReportAttachmentOperationApi": {
        "required": [
          "fileBase64",
          "fileName",
          "gatewayId",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id from the Provider."
          },
          "fileName": {
            "minLength": 1,
            "pattern": ".*\\.(jpg|jpeg|png)$",
            "type": "string",
            "description": "File name."
          },
          "fileBase64": {
            "minLength": 1,
            "type": "string",
            "description": "File encoded in base64."
          }
        },
        "additionalProperties": false
      },
      "AddressNested": {
        "type": "object",
        "properties": {
          "addressLine": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "region": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "timezone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddressNestedApi": {
        "type": "object",
        "properties": {
          "addressLine": {
            "type": "string",
            "description": "Address line.",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "City.",
            "nullable": true
          },
          "state": {
            "type": "string",
            "description": "State.",
            "nullable": true
          },
          "region": {
            "type": "string",
            "description": "Region.",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postal code.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AllValuesHistoryApi": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "inputs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InputProvider"
            },
            "nullable": true
          },
          "sensors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValueDateNested"
            },
            "nullable": true
          },
          "counters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValueDateNested"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AllValuesHistoryApiDataHistory": {
        "type": "object",
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/AssetHistory"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AllValuesHistoryApi"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AllValuesHistoryApiDataHistoryResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AllValuesHistoryApiDataHistory"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ApplicationEnum": {
        "enum": [
          10,
          20
        ],
        "type": "integer",
        "description": "FleetiAdmin = 10 | Flow = 20",
        "format": "int32",
        "x-enumNames": [
          "FleetiAdmin",
          "Flow"
        ],
        "x-enumDescriptions": [
          "FleetiAdmin",
          "Flow"
        ],
        "x-displayName": [
          "FleetiAdmin",
          "Flow"
        ]
      },
      "AssetApi": {
        "type": "object",
        "properties": {
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OperationNestedApi"
            },
            "description": "List of operations.",
            "nullable": true
          },
          "insurances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsuranceNestedApi"
            },
            "description": "List of insurances.",
            "nullable": true
          },
          "rentals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RentalNestedApi"
            },
            "description": "List of rentals.",
            "nullable": true
          },
          "group": {
            "$ref": "#/components/schemas/AssetGroupNestedApi"
          },
          "gateways": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayNestedApi"
            },
            "description": "List of gateways.",
            "nullable": true
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerNestedApi"
          },
          "id": {
            "type": "string",
            "description": "Asset id.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Creation date.",
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "description": "Name.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description.",
            "nullable": true
          },
          "make": {
            "type": "string",
            "description": "Manufacturer. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Unique serial number.",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/AssetStatusEnum"
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "settings": {
            "$ref": "#/components/schemas/AssetSettingNestedApi"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Contains all properties depending on the asset type.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssetApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/AssetApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssetConnectivityFilterEnum": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "FleetiHardware = 1 | FleetiOem = 2 | ExternalOem = 3 | NoConnection = 4",
        "format": "int32",
        "x-enumNames": [
          "FleetiHardware",
          "FleetiOem",
          "ExternalOem",
          "NoConnection"
        ],
        "x-enumDescriptions": [
          "FleetiHardware",
          "FleetiOem",
          "ExternalOem",
          "NoConnection"
        ],
        "x-displayName": [
          "FleetiHardware",
          "FleetiOem",
          "ExternalOem",
          "NoConnection"
        ]
      },
      "AssetGroupNested": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssetGroupNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID of the asset group.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name of the group.",
            "nullable": true
          },
          "color": {
            "type": "string",
            "description": "Color to be displayed.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssetHistory": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "gatewayId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "make": {
            "type": "string",
            "nullable": true
          },
          "group": {
            "$ref": "#/components/schemas/AssetGroupNested"
          }
        },
        "additionalProperties": false
      },
      "AssetMakeResourceApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Asset Make Id.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name of asset maker.",
            "nullable": true
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "models": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetModelNested"
            },
            "description": "List of the asset models.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssetMakeResourceApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/AssetMakeResourceApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssetMakeResourceApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetMakeResourceApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssetModelNested": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Asset model Id.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Asset name.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssetNested": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "isDeleted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AssetNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Asset id.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name.",
            "nullable": true
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "isDeleted": {
            "type": "boolean",
            "description": "True if the asset is deleted."
          }
        },
        "additionalProperties": false
      },
      "AssetResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "gatewayId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "make": {
            "type": "string",
            "nullable": true
          },
          "group": {
            "$ref": "#/components/schemas/Group"
          }
        },
        "additionalProperties": false
      },
      "AssetSettingNestedApi": {
        "type": "object",
        "properties": {
          "isConfidential": {
            "type": "boolean",
            "description": "If True, the asset is confidential."
          }
        },
        "additionalProperties": false
      },
      "AssetStatusEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "Undefined = 0 | InParc = 1 | OutOfParc = 2 | InReparation = 3 | NotInstalled = 4",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Operational",
          "NonOperational",
          "InRepair",
          "NotInstalled"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "Operational",
          "NonOperational",
          "InRepair",
          "NotInstalled"
        ],
        "x-displayName": [
          "Undefined",
          "Operational",
          "NonOperational",
          "InRepair",
          "NotInstalled"
        ]
      },
      "AssetTypeEnum": {
        "enum": [
          0,
          10,
          20,
          30,
          40
        ],
        "type": "integer",
        "description": "Undefined = 0 | Vehicle = 10 | Equipment = 20 | Site = 30 | Phone = 40",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Vehicle",
          "Equipment",
          "Site",
          "Phone"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "Vehicle",
          "Equipment",
          "Site",
          "Phone"
        ],
        "x-displayName": [
          "Undefined",
          "Vehicle",
          "Equipment",
          "Site",
          "Phone"
        ]
      },
      "AssignAssetsUserApi": {
        "required": [
          "assetIds",
          "customerReference",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the user the assets will be assigned (the user must have Role = Customer and CustomerRole = Basic)."
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of asset id to be assigned to the user."
          }
        },
        "additionalProperties": false
      },
      "BaseResponse": {
        "type": "object",
        "properties": {
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BatteryNested": {
        "type": "object",
        "properties": {
          "level": {
            "type": "integer",
            "format": "int64"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BatteryNestedApi": {
        "type": "object",
        "properties": {
          "level": {
            "type": "integer",
            "description": "Current battery level as a percentage.",
            "format": "int64"
          },
          "updatedAt": {
            "type": "string",
            "description": "The date and time when the battery level was last updated.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "BindAccessoriesGatewayAssetApi": {
        "required": [
          "accessories",
          "assetId",
          "gatewayId",
          "provider"
        ],
        "type": "object",
        "properties": {
          "provider": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "accessories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BindAccessoryAssetApi"
            },
            "description": "List of accessories to bind to the gateway."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "BindAccessoryAssetApi": {
        "required": [
          "connection",
          "id",
          "sensor",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Accessory ID."
          },
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          },
          "name": {
            "type": "string",
            "description": "Name of the accessory.",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model of the accessory.",
            "nullable": true
          },
          "macAddress": {
            "type": "string",
            "description": "Mac address of the accessory.",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Serial number.",
            "nullable": true
          },
          "sensor": {
            "$ref": "#/components/schemas/BindProviderSensorAssetApi"
          }
        },
        "additionalProperties": false
      },
      "BindGatewayAssetApi": {
        "required": [
          "assetId",
          "gatewayId",
          "isClone",
          "provider"
        ],
        "type": "object",
        "properties": {
          "provider": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "isClone": {
            "type": "boolean",
            "description": "If True, the Gateway is a clone."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "BindOperationAssetApi": {
        "required": [
          "assetId",
          "operationReference"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "operationReference": {
            "minLength": 1,
            "type": "string",
            "description": "Installation Reference."
          }
        },
        "additionalProperties": false
      },
      "BindProviderSensorAssetApi": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Sensor ID."
          }
        },
        "additionalProperties": false
      },
      "BindSubuserGatewaysProviderApi": {
        "required": [
          "assetIds",
          "customerReference",
          "subuserId"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "subuserId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the subuser."
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of asset Ids to bind."
          }
        },
        "additionalProperties": false
      },
      "BooleanResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "type": "boolean",
            "description": "Result."
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BooleanResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "boolean"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BoundsNested": {
        "type": "object",
        "properties": {
          "nw": {
            "$ref": "#/components/schemas/LocationNested"
          },
          "se": {
            "$ref": "#/components/schemas/LocationNested"
          }
        },
        "additionalProperties": false
      },
      "CodeLanguageCountryDataSettingApi": {
        "required": [
          "codeLanguage",
          "countryName"
        ],
        "type": "object",
        "properties": {
          "codeLanguage": {
            "minLength": 1,
            "type": "string",
            "description": "Code language (eg: en, fr, es, etc.)."
          },
          "countryName": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the country in the language (eg: French, Spain, etc.)."
          }
        },
        "additionalProperties": false
      },
      "CommandExecutionStatusEnum": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "Success = 1 | Failed = 2",
        "format": "int32",
        "x-enumNames": [
          "Success",
          "Failed"
        ],
        "x-enumDescriptions": [
          "Success",
          "Failed"
        ],
        "x-displayName": [
          "Success",
          "Failed"
        ]
      },
      "CommentFileUserNested": {
        "type": "object",
        "properties": {
          "fileUrl": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "fileName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommentFileUserNestedApi": {
        "type": "object",
        "properties": {
          "fileUrl": {
            "type": "string",
            "description": "File url.",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "description": "Uploaded date.",
            "format": "date-time"
          },
          "fileName": {
            "type": "string",
            "description": "File Name.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommentUserNested": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/UserNested"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "comments": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommentUserNestedApi": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/UserNestedApi"
          },
          "updatedAt": {
            "type": "string",
            "description": "Updated date of the comment.",
            "format": "date-time"
          },
          "comment": {
            "type": "string",
            "description": "Comment.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigurationVerificationNestedApi": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/OperationConfigurationStatusEnum"
          },
          "result": {
            "$ref": "#/components/schemas/ResultEnum"
          },
          "updatedAt": {
            "type": "string",
            "description": "Date of verification.",
            "format": "date-time"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValueNestedApi"
            },
            "description": "Errors detected during the verification process.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigureAccessoriesOperationApi": {
        "required": [
          "accessories",
          "gatewayId",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id from the Provider."
          },
          "accessories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfigureAccessoryOperationApi"
            },
            "description": "List of accessories to configure."
          }
        },
        "additionalProperties": false
      },
      "ConfigureAccessoryOperationApi": {
        "required": [
          "connection",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the accessory."
          },
          "model": {
            "type": "string",
            "description": "Model of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Serial number of the accessory (optional).",
            "nullable": true
          },
          "macAddress": {
            "type": "string",
            "description": "Address mac of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "bluetoothConnexionNumber": {
            "maximum": 4,
            "minimum": 1,
            "type": "integer",
            "description": "Bluetooth's connexion number (mandatory for Bluetooth). It specifies a Bluetooth sensor's position in the Gateway's configuration, ranging from 1 to 4.",
            "format": "int32",
            "nullable": true
          },
          "fuelType": {
            "$ref": "#/components/schemas/FuelTypeEnum"
          },
          "outputNumber": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "description": "Output number on which the accessory in installed. Applicable if the accessory type is Led or Immobilizer.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigureGatewayOperationApi": {
        "required": [
          "imei",
          "model",
          "name",
          "providerCountryCode",
          "providerPlan",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "providerCountryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Provider country code. Must be defined in the parameters (api/v1/resource/searchcountry)."
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "model": {
            "minLength": 1,
            "type": "string",
            "description": "The model of the gateway. Must be defined in the parameters (api/v1/resource/searchgateway)."
          },
          "imei": {
            "minLength": 1,
            "type": "string",
            "description": "The IMEI (International Mobile Equipment Identity) is a unique number assigned to every mobile device.\r\nThe IMEI is composed of 15 digits, validated only if the model belongs to Teltonika manufacturer."
          },
          "name": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "The name of the gateway which is displayed on the provider interface."
          },
          "fileName": {
            "type": "string",
            "description": "File name from the api/resource/getallgatewayfiles?model=FMB130.",
            "nullable": true
          },
          "fileVersion": {
            "type": "string",
            "description": "File version from the api/resource/getallgatewayfiles?model=FMB130.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigureSimOperationApi": {
        "required": [
          "operatorType",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "operatorType": {
            "$ref": "#/components/schemas/OperatorTypeEnum"
          },
          "iccid": {
            "type": "string",
            "description": "Last 7 digits of the ICCID (for International operators).\r\nThe ICCID (Integrated Circuit Card Identifier) is a unique serial number and is specific to your SIM card. \r\nIt is usually printed on the Sim card.\r\nRequired for International (7-20 characters) and Kore (any length) operators.",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "description": "The phone number of the Sim card.\r\nRequired if the operator tye is Locale, Caburn or Matooma.",
            "nullable": true
          },
          "apn": {
            "type": "string",
            "description": "The APN, (Access Point Name) is a gateway between a mobile network and the internet that allows a device to connect to the internet over the mobile network.\r\n\n \r\nRequired if the operator tye is Locale, Caburn or Matooma.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfirmUserApi": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "User token for the confirmation (received by email).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CoordinateNested": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CounterNestedApi": {
        "type": "object",
        "properties": {
          "value": {
            "type": "number",
            "description": "Value.",
            "format": "double",
            "nullable": true
          },
          "unitType": {
            "type": "string",
            "description": "Unit type.",
            "nullable": true
          },
          "counterType": {
            "$ref": "#/components/schemas/GatewayCounterTypeEnum"
          },
          "updatedAt": {
            "type": "string",
            "description": "Last update of the counter value.",
            "format": "date-time",
            "nullable": true
          },
          "isSource": {
            "type": "boolean",
            "description": "If True, this gateway is the main source for the counter.\r\n\n\r\nUseful when the asset is associated with more than one gateway."
          }
        },
        "additionalProperties": false
      },
      "CountryDefaultSpeedNestedApi": {
        "type": "object",
        "properties": {
          "roadType": {
            "$ref": "#/components/schemas/RoadTypeEnum"
          },
          "defaultSpeed": {
            "type": "integer",
            "description": "Default speed limit for the road type.",
            "format": "int32"
          },
          "roadsCount": {
            "type": "integer",
            "description": "Number of roads for each road type",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CountryDefaultSpeedsApi": {
        "type": "object",
        "properties": {
          "countryName": {
            "type": "string",
            "description": "Country name.",
            "nullable": true
          },
          "defaultSpeeds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CountryDefaultSpeedNestedApi"
            },
            "description": "List of default speed limits per road type.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CountryDefaultSpeedsApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/CountryDefaultSpeedsApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CountryResourceApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier.",
            "nullable": true
          },
          "code": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "codeImageUrl": {
            "type": "string",
            "description": "Country image url.",
            "nullable": true,
            "readOnly": true
          },
          "codeLanguages": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Languages available for the country.",
            "nullable": true
          },
          "phoneCode": {
            "type": "string",
            "description": "Phone code.",
            "nullable": true
          },
          "currencyCode": {
            "type": "string",
            "description": "Currency code.",
            "nullable": true
          },
          "currencySymbol": {
            "type": "string",
            "description": "Currency symbol.",
            "nullable": true
          },
          "timezone": {
            "type": "string",
            "description": "Timezone.",
            "nullable": true
          },
          "defaultLanguage": {
            "type": "string",
            "description": "Default language.",
            "nullable": true
          },
          "minimumTimeBetweenVisit": {
            "type": "integer",
            "description": "Minimum time between visit for operation.",
            "format": "int32"
          },
          "gatewayPrices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayPriceNested"
            },
            "description": "List of gateway prices.",
            "nullable": true
          },
          "accessoriesPrice": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryPriceNested"
            },
            "description": "List of accessory prices.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CountryResourceApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/CountryResourceApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CountryResourceApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CountryResourceApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CountryRoadsStatsApi": {
        "type": "object",
        "properties": {
          "countryId": {
            "type": "string",
            "description": "Country Id.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "countryName": {
            "type": "string",
            "description": "Country name.",
            "nullable": true
          },
          "totalRoads": {
            "type": "integer",
            "description": "Total number of roads recorded for the country.",
            "format": "int32"
          },
          "osmTotalRoads": {
            "type": "integer",
            "description": "Total number of roads available in OSM for this country (all road types).",
            "format": "int32"
          },
          "excludedRoads": {
            "type": "integer",
            "description": "Number of OSM roads not imported (OsmTotalRoads - TotalRoads).",
            "format": "int32"
          },
          "apiCoverage": {
            "type": "number",
            "description": "Coverage percentage of the API for the country (0 to 100).",
            "format": "double"
          },
          "roadCoveragePercentage": {
            "type": "number",
            "description": "Percentage of OSM roads imported (TotalRoads / OsmTotalRoads × 100).",
            "format": "double"
          },
          "lastUpdatedAt": {
            "type": "string",
            "description": "Last date and time when the country's road data was updated.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CountryRoadsStatsApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CountryRoadsStatsApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAccessoryAssetApi": {
        "required": [
          "assetId",
          "connection",
          "gatewayId",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the accessory."
          },
          "model": {
            "type": "string",
            "description": "Model of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Serial number of the accessory (optional).",
            "nullable": true
          },
          "macAddress": {
            "type": "string",
            "description": "Address mac of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "bluetoothConnexionNumber": {
            "maximum": 4,
            "minimum": 0,
            "type": "integer",
            "description": "Bluetooth's connexion number (mandatory for Bluetooth). It specifies a Bluetooth sensor's position in the Gateway's configuration, ranging from 1 to 4.",
            "format": "int32",
            "nullable": true
          },
          "fuelType": {
            "$ref": "#/components/schemas/FuelTypeEnum"
          },
          "outputNumber": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "description": "Output number on which the accessory in installed. Applicable if the accessory type is Led or Immobilizer.",
            "format": "int32",
            "nullable": true
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "CreateAccessoryOperationApi": {
        "required": [
          "connection",
          "gatewayId",
          "name",
          "reference",
          "type"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id from the Provider."
          },
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the accessory."
          },
          "model": {
            "type": "string",
            "description": "Model of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Serial number of the accessory (optional).",
            "nullable": true
          },
          "macAddress": {
            "type": "string",
            "description": "Address mac of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "bluetoothConnexionNumber": {
            "maximum": 4,
            "minimum": 1,
            "type": "integer",
            "description": "Bluetooth's connexion number (mandatory for Bluetooth). It specifies a Bluetooth sensor's position in the Gateway's configuration, ranging from 1 to 4.",
            "format": "int32",
            "nullable": true
          },
          "fuelType": {
            "$ref": "#/components/schemas/FuelTypeEnum"
          },
          "outputNumber": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "description": "Output number on which the accessory in installed. Applicable if the accessory type is Led or Immobilizer.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAccessoryResourceApi": {
        "required": [
          "manufacturer",
          "model",
          "supplier"
        ],
        "type": "object",
        "properties": {
          "model": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Gateway model (eg: FMB130, FMB140, etc.)."
          },
          "manufacturer": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Manufacturer."
          },
          "supplier": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Supplier."
          },
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryTypeResourceApi"
            },
            "description": "Set the list of accessory types.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAssetApi": {
        "required": [
          "assetType",
          "customerReference",
          "name",
          "status"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "phoneGateway": {
            "$ref": "#/components/schemas/RegisterPhoneGatewayApi"
          },
          "insurances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateInsurancesAssetApi"
            },
            "description": "List of insurances.",
            "nullable": true
          },
          "rentals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateRentalsAssetApi"
            },
            "description": "List of rentals.",
            "nullable": true
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name."
          },
          "description": {
            "type": "string",
            "description": "Description.",
            "nullable": true
          },
          "make": {
            "type": "string",
            "description": "Manufacturer. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Unique serial number.",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/AssetStatusEnum"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Properties depending on the asset type.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAssetGroupApi": {
        "required": [
          "color",
          "customerReference",
          "name"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "name": {
            "maxLength": 60,
            "minLength": 2,
            "type": "string",
            "description": "Name of the group (2–60 characters)."
          },
          "color": {
            "maxLength": 6,
            "minLength": 6,
            "type": "string",
            "description": "Color of the group (6-character hex, no # prefix)."
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Optional list of asset IDs to assign to this group.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for creating an asset group."
      },
      "CreateAssetMakeResourceApi": {
        "required": [
          "assetType",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Set the name of asset maker."
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "models": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Set the asset models.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAssetModelResourceApi": {
        "required": [
          "modelName"
        ],
        "type": "object",
        "properties": {
          "assetMakeId": {
            "type": "string",
            "description": "Asset make Id.",
            "nullable": true
          },
          "modelName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Set the asset model name."
          }
        },
        "additionalProperties": false
      },
      "CreateCountryResourceApi": {
        "required": [
          "code",
          "codeLanguages",
          "currencyCode",
          "currencySymbol",
          "defaultLanguage",
          "phoneCode",
          "timezone"
        ],
        "type": "object",
        "properties": {
          "code": {
            "minLength": 1,
            "type": "string",
            "description": "Country code."
          },
          "codeLanguages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CodeLanguageCountryDataSettingApi"
            },
            "description": "Set list of code languages."
          },
          "phoneCode": {
            "maxLength": 3,
            "minLength": 1,
            "type": "string",
            "description": "Country phone code."
          },
          "currencyCode": {
            "minLength": 1,
            "type": "string",
            "description": "Country currency code."
          },
          "currencySymbol": {
            "minLength": 1,
            "type": "string",
            "description": "Country currency symbol."
          },
          "timezone": {
            "minLength": 1,
            "type": "string",
            "description": "Country timezone."
          },
          "defaultLanguage": {
            "minLength": 1,
            "type": "string",
            "description": "Country default language."
          },
          "minimumTimeBetweenVisit": {
            "type": "integer",
            "description": "Set the minimum time between visit for operation.",
            "format": "int32"
          },
          "gatewayPrices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayPriceCountryDataSettingApi"
            },
            "description": "Set the gateway prices for the country.",
            "nullable": true
          },
          "accessoriesPrice": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryPriceCountryDataSettingApi"
            },
            "description": "Set the accessory prices for the country.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateCustomerApi": {
        "required": [
          "accountManagerUserId",
          "address",
          "companyName",
          "countryCode",
          "email",
          "firstName",
          "lastName"
        ],
        "type": "object",
        "properties": {
          "providers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateProviderNestedCustomerApi"
            },
            "description": "List of provider to connect.",
            "nullable": true
          },
          "relations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateRelationNestedCustomerApi"
            },
            "description": "List of customer relations.",
            "nullable": true
          },
          "shouldSendEmailPassword": {
            "type": "boolean",
            "description": "If True, an email will be sent to the customer with the password at the creation.\r\n\n\r\nYou can use api/v1/customer/resetpasswordprovider to send a new password later."
          },
          "companyName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Name of the company."
          },
          "business": {
            "$ref": "#/components/schemas/CustomerBusinessEnum"
          },
          "role": {
            "$ref": "#/components/schemas/CustomerRoleEnum"
          },
          "firstName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "First name."
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Last name."
          },
          "email": {
            "minLength": 1,
            "type": "string",
            "description": "Email.",
            "format": "email"
          },
          "countryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry)."
          },
          "phoneNumber": {
            "maxLength": 10,
            "type": "string",
            "description": "Phone number (the country phone code will be added using the context of the country code).",
            "format": "tel",
            "nullable": true
          },
          "accountManagerUserId": {
            "minLength": 1,
            "type": "string",
            "description": "User Id of the account manager."
          },
          "address": {
            "$ref": "#/components/schemas/CreateOrUpdateAddressNestedApi"
          }
        },
        "additionalProperties": false
      },
      "CreateEmbeddedModuleApi": {
        "required": [
          "label",
          "subtitle",
          "title",
          "urlTemplate"
        ],
        "type": "object",
        "properties": {
          "label": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "description": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "title": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "subtitle": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "urlTemplate": {
            "maxLength": 2000,
            "minLength": 5,
            "type": "string",
            "description": "URL template for the module (can contain placeholders)."
          },
          "icon": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "Icon identifier or URL for the module (optional).",
            "nullable": true
          },
          "requiresFleetiOne": {
            "type": "boolean",
            "description": "True when the module can only be enabled for customers with Fleeti One activated (optional, default false)."
          }
        },
        "additionalProperties": false,
        "description": "API model for creating a new embedded module"
      },
      "CreateExternalAssetRequest": {
        "required": [
          "assetType",
          "customerReference",
          "name",
          "status"
        ],
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "nullable": true
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "phoneGateway": {
            "$ref": "#/components/schemas/RegisterPhoneGatewayApi"
          },
          "insurances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateInsurancesAssetApi"
            },
            "description": "List of insurances.",
            "nullable": true
          },
          "rentals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateRentalsAssetApi"
            },
            "description": "List of rentals.",
            "nullable": true
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name."
          },
          "description": {
            "type": "string",
            "description": "Description.",
            "nullable": true
          },
          "make": {
            "type": "string",
            "description": "Manufacturer. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Unique serial number.",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/AssetStatusEnum"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Properties depending on the asset type.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateFleetiOneUserApi": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateFuelReportApi": {
        "required": [
          "customerReference",
          "endAt",
          "startAt"
        ],
        "type": "object",
        "properties": {
          "gasolinePrice": {
            "type": "number",
            "description": "Price of the gasoline.",
            "format": "double"
          },
          "minimumLiter": {
            "type": "number",
            "description": "Minimum liter of gasoline.",
            "format": "double"
          },
          "tankMonitoring": {
            "type": "string",
            "description": "Tank monitoring.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Title of the report.",
            "nullable": true
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of asset to generate the report (Leave empty to generate for all assets).",
            "nullable": true
          },
          "vehicleTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VehicleTypeEnum"
            },
            "description": "List of vehicles types to generate the report.",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "description": "Start date for the report.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date of the report.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CreateGatewayFileResourceApi": {
        "required": [
          "fileName",
          "fileVersion",
          "isActive",
          "model"
        ],
        "type": "object",
        "properties": {
          "fileBytes": {
            "type": "string",
            "description": "File bytes. Either FileBytes or FileBase64 must be defined.",
            "format": "byte",
            "nullable": true
          },
          "fileBase64": {
            "type": "string",
            "description": "File base64. Either FileBytes or FileBase64 must be defined.",
            "nullable": true
          },
          "model": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway model. Must be defined in the parameters (api/v1/resource/searchgateway)."
          },
          "fileName": {
            "minLength": 1,
            "type": "string",
            "description": "Set the file name."
          },
          "fileDescription": {
            "type": "string",
            "description": "Set the file description.",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "If true, the gateway file will be available and selectable on operations process."
          },
          "fileVersion": {
            "minLength": 1,
            "type": "string",
            "description": "Set the file version."
          }
        },
        "additionalProperties": false
      },
      "CreateGatewayResourceApi": {
        "required": [
          "accessories",
          "codes",
          "features",
          "isCan",
          "manufacturer",
          "model",
          "supplier"
        ],
        "type": "object",
        "properties": {
          "model": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Gateway model (eg: FMB130, FMB140, etc.)."
          },
          "manufacturer": {
            "$ref": "#/components/schemas/ManufacturerTypeEnum"
          },
          "supplier": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Supplier."
          },
          "isCan": {
            "type": "boolean",
            "description": "True if the Gateway Model is CAN."
          },
          "features": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayFeatureNestedApi"
            },
            "description": "Set the list of gateway features."
          },
          "accessories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayAccessoryNestedApi"
            },
            "description": "Set the list of gateway accessories."
          },
          "codes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayProviderCodeNestedApi"
            },
            "description": "Set the list of gateway provider codes."
          }
        },
        "additionalProperties": false
      },
      "CreateGeofenceProviderApi": {
        "required": [
          "color",
          "customerReference",
          "label",
          "radius",
          "type"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "type": {
            "$ref": "#/components/schemas/LocationGeofenceTypeEnum"
          },
          "label": {
            "minLength": 1,
            "type": "string",
            "description": "Display name of the geofence."
          },
          "address": {
            "type": "string",
            "description": "Address of the geofence.",
            "nullable": true
          },
          "radius": {
            "type": "integer",
            "description": "Radius.",
            "format": "int64"
          },
          "color": {
            "minLength": 1,
            "type": "string",
            "description": "Color."
          },
          "center": {
            "$ref": "#/components/schemas/LocationNested"
          },
          "points": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateLocationPointNestedApi"
            },
            "description": "List of points of the geofence.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateGroupCustomerApi": {
        "required": [
          "color",
          "customerReference",
          "name"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "name": {
            "maxLength": 60,
            "minLength": 2,
            "type": "string",
            "description": "Name of the group."
          },
          "color": {
            "maxLength": 6,
            "minLength": 6,
            "type": "string",
            "description": "Color of the group."
          }
        },
        "additionalProperties": false
      },
      "CreateInsuranceAssetApi": {
        "required": [
          "assetId",
          "companyName"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "companyName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Company name."
          },
          "policyNumber": {
            "type": "string",
            "description": "Contract number.",
            "nullable": true
          },
          "policyName": {
            "type": "string",
            "description": "Policy name.",
            "nullable": true
          },
          "registeredAt": {
            "type": "string",
            "description": "Registration date.",
            "format": "date-time",
            "nullable": true
          },
          "expiredAt": {
            "type": "string",
            "description": "Expiration date.",
            "format": "date-time",
            "nullable": true
          },
          "totalAmount": {
            "type": "number",
            "description": "Maximum amount for the insurance.",
            "format": "double",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "Is insurance contract active."
          }
        },
        "additionalProperties": false
      },
      "CreateInsurancesAssetApi": {
        "required": [
          "companyName"
        ],
        "type": "object",
        "properties": {
          "companyName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Company name."
          },
          "policyNumber": {
            "type": "string",
            "description": "Contract number.",
            "nullable": true
          },
          "policyName": {
            "type": "string",
            "description": "Policy name.",
            "nullable": true
          },
          "registeredAt": {
            "type": "string",
            "description": "Registration date.",
            "format": "date-time",
            "nullable": true
          },
          "expiredAt": {
            "type": "string",
            "description": "Expiration date.",
            "format": "date-time",
            "nullable": true
          },
          "totalAmount": {
            "type": "number",
            "description": "Maximum amount for the insurance.",
            "format": "double",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "Is insurance contract active."
          }
        },
        "additionalProperties": false
      },
      "CreateLocationPointNestedApi": {
        "required": [
          "latitude",
          "longitude",
          "node"
        ],
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "description": "Latitude.",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "description": "Longitude.",
            "format": "double"
          },
          "node": {
            "type": "boolean",
            "description": "Node."
          }
        },
        "additionalProperties": false
      },
      "CreateLocationVisitReportApi": {
        "required": [
          "customerReference",
          "endAt",
          "locationIds",
          "startAt",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/ProviderReportEnum"
          },
          "isGlobal": {
            "type": "boolean",
            "description": "Is report global (input parameter)."
          },
          "minimumMinuteInLocation": {
            "type": "integer",
            "description": "Minimum minute in location (input parameter).",
            "format": "int32"
          },
          "minimumMinuteInZone": {
            "type": "integer",
            "description": "Minimum minute in zone (input parameter).",
            "format": "int32"
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of location ids (input parameter)."
          },
          "title": {
            "type": "string",
            "description": "Title of the report.",
            "nullable": true
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of asset to generate the report (Leave empty to generate for all assets).",
            "nullable": true
          },
          "vehicleTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VehicleTypeEnum"
            },
            "description": "List of vehicles types to generate the report.",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "description": "Start date for the report.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date of the report.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CreateOperationApi": {
        "required": [
          "countryCode",
          "operationType"
        ],
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationTypeEnum"
          },
          "countryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry)."
          },
          "providerCountryCode": {
            "type": "string",
            "description": "Provider country code. Must be defined in the parameters (api/v1/resource/searchprovider).",
            "nullable": true
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "customerReference": {
            "type": "string",
            "description": "Reference of the customer.",
            "nullable": true
          },
          "assetId": {
            "type": "string",
            "description": "Id of the asset.",
            "nullable": true
          },
          "gatewayToMaintainImei": {
            "type": "string",
            "description": "IMEI of the gateway to maintain. Required for Gateway Replacement or Gateway Uninstallation Operations.\r\nThe IMEI is composed of 15 digits.",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "description": "Comments on the reasons the gateway is being maintained. Required for Gateway Uninstallation Operations.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateOrUpdateAddressNestedApi": {
        "required": [
          "addressLine",
          "city"
        ],
        "type": "object",
        "properties": {
          "addressLine": {
            "maxLength": 200,
            "minLength": 2,
            "type": "string",
            "description": "Address line."
          },
          "city": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "City."
          },
          "state": {
            "type": "string",
            "description": "State.",
            "nullable": true
          },
          "region": {
            "type": "string",
            "description": "Region.",
            "nullable": true
          },
          "postalCode": {
            "maxLength": 10,
            "minLength": 0,
            "pattern": "^\\d+$",
            "type": "string",
            "description": "Postal code.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateOrUpdateProviderCustomerApi": {
        "required": [
          "customerReference",
          "type"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "type": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "plan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "countryCode": {
            "type": "string",
            "description": "Country code (mandatory for TrackingFleeti). Must be defined in the parameters (api/v1/resource/searchcountry).",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Provider Login (associated unique identifier of the customer object on provider side).\r\nUserId for FleetiTracking. If empty, the user will be created on FleetiTracking\r\nEmail for Hiboo. Mandatory",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "Provider password (associated unique identifier of the customer object on provider side). Mandatory for Hiboo.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateOrUpdateUserRolePrivilegeProviderApi": {
        "required": [
          "storePeriod"
        ],
        "type": "object",
        "properties": {
          "rights": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserRightProviderEnum"
            },
            "description": "Type of user access.",
            "nullable": true
          },
          "storePeriod": {
            "$ref": "#/components/schemas/CreateOrUpdateUserStorePeriodProviderApi"
          }
        },
        "additionalProperties": false
      },
      "CreateOrUpdateUserStorePeriodProviderApi": {
        "required": [
          "periodDuration",
          "periodNumber"
        ],
        "type": "object",
        "properties": {
          "periodNumber": {
            "type": "integer",
            "description": "Period number.",
            "format": "int32"
          },
          "periodDuration": {
            "$ref": "#/components/schemas/StorePeriodProviderEnum"
          }
        },
        "additionalProperties": false
      },
      "CreateProviderNestedCustomerApi": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "plan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "countryCode": {
            "type": "string",
            "description": "Country code (mandatory for TrackingFleeti). Must be defined in the parameters (api/v1/resource/searchcountry).",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Provider Login (associated unique identifier of the customer object on provider side).\r\nUserId for FleetiTracking. If empty, the user will be created on FleetiTracking\r\nEmail for Hiboo. Mandatory",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "Provider password (associated unique identifier of the customer object on provider side). Mandatory for Hiboo.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateProviderResourceApi": {
        "required": [
          "adminUsername",
          "countryCode",
          "customerWebAppUrl",
          "loginUsername",
          "providerPlan",
          "providerType"
        ],
        "type": "object",
        "properties": {
          "isHealthCheckRequired": {
            "type": "boolean",
            "description": "If true, process a health check on each provider."
          },
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "countryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry)."
          },
          "adminUsername": {
            "minLength": 1,
            "type": "string",
            "description": "Set the admin username of the provider."
          },
          "adminPassword": {
            "type": "string",
            "description": "Set the admin password of the provider.",
            "nullable": true
          },
          "loginUsername": {
            "minLength": 1,
            "type": "string",
            "description": "Set the login username of the provider."
          },
          "loginPassword": {
            "type": "string",
            "description": "Set the login password of the provider.",
            "nullable": true
          },
          "warehouseUserId": {
            "type": "string",
            "description": "Set the warehouse user id of the provider.",
            "nullable": true
          },
          "customerWebAppUrl": {
            "minLength": 1,
            "type": "string",
            "description": "Set the customer web app url of the provider."
          }
        },
        "additionalProperties": false
      },
      "CreateRelationNestedCustomerApi": {
        "required": [
          "customerReference",
          "isParent"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "isParent": {
            "type": "boolean",
            "description": "True if the customer is a parent."
          },
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerRelationTypeEnum"
            },
            "description": "Define the type of relation.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRentalAssetApi": {
        "required": [
          "assetId",
          "contractNumber",
          "durationMonths",
          "endAt",
          "startAt"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "contractNumber": {
            "minLength": 1,
            "type": "string",
            "description": "Unique contract number."
          },
          "durationMonths": {
            "type": "integer",
            "description": "Number of months of the contract.",
            "format": "int64"
          },
          "totalMileage": {
            "type": "integer",
            "description": "Total Mileage of the contract.",
            "format": "int64"
          },
          "startMileage": {
            "type": "integer",
            "description": "Number of miles from the start of the contract.",
            "format": "int64"
          },
          "totalEngineHours": {
            "type": "integer",
            "description": "Total Engine hours of the contract.",
            "format": "int64"
          },
          "startEngineHours": {
            "type": "integer",
            "description": "Number of hours from the start of the contract.",
            "format": "int64"
          },
          "startAt": {
            "type": "string",
            "description": "Start date of the contract.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date of the contract.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CreateRentalReportApi": {
        "required": [
          "assetIds",
          "customerReference"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Title of the report.",
            "nullable": true
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of asset to generate the report.(Leave empty to generate for all assets)."
          }
        },
        "additionalProperties": false
      },
      "CreateRentalsAssetApi": {
        "required": [
          "contractNumber",
          "durationMonths",
          "endAt",
          "startAt"
        ],
        "type": "object",
        "properties": {
          "contractNumber": {
            "minLength": 1,
            "type": "string",
            "description": "Unique contract number."
          },
          "durationMonths": {
            "type": "integer",
            "description": "Number of months of the contract.",
            "format": "int64"
          },
          "totalMileage": {
            "type": "integer",
            "description": "Total Mileage of the contract.",
            "format": "int64"
          },
          "startMileage": {
            "type": "integer",
            "description": "Number of miles from the start of the contract.",
            "format": "int64"
          },
          "totalEngineHours": {
            "type": "integer",
            "description": "Total Engine hours of the contract.",
            "format": "int64"
          },
          "startEngineHours": {
            "type": "integer",
            "description": "Number of hours from the start of the contract.",
            "format": "int64"
          },
          "startAt": {
            "type": "string",
            "description": "Start date of the contract.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date of the contract.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CreateRmrReportApi": {
        "required": [
          "customerReference",
          "endAt",
          "speedLimit",
          "startAt"
        ],
        "type": "object",
        "properties": {
          "speedLimit": {
            "type": "integer",
            "description": "Retrieve all the data from the asset only under the speed limit. \r\nIf speed limit is 0, retrieve all the data.",
            "format": "int32"
          },
          "title": {
            "type": "string",
            "description": "Title of the report.",
            "nullable": true
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of asset to generate the report (Leave empty to generate for all assets).",
            "nullable": true
          },
          "vehicleTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VehicleTypeEnum"
            },
            "description": "List of vehicles types to generate the report.",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "description": "Start date for the report.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date of the report.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CreateScenarioReportApi": {
        "required": [
          "customerReference",
          "description",
          "isEnabled",
          "name",
          "reportDocumentType"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "schedule": {
            "$ref": "#/components/schemas/ScheduleScenarioReportApi"
          },
          "reportDocumentType": {
            "minLength": 1,
            "type": "string",
            "description": "Type of report (RmrReportStorage | FuelReportStorage)."
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name."
          },
          "description": {
            "minLength": 1,
            "type": "string",
            "description": "Description."
          },
          "isEnabled": {
            "type": "boolean",
            "description": "If true, the report will be executed."
          },
          "inputs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InputScenarioReportApi"
            },
            "description": "List of inputs (one input represent a table in the Excel report).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateSubuserProviderApi": {
        "required": [
          "customerReference",
          "firstName",
          "lastName",
          "login"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "userRoleId": {
            "type": "string",
            "description": "Id of the user role.",
            "nullable": true
          },
          "login": {
            "minLength": 1,
            "type": "string",
            "description": "Email of the subuser.",
            "format": "email"
          },
          "firstName": {
            "minLength": 1,
            "type": "string",
            "description": "First name of the subuser."
          },
          "lastName": {
            "minLength": 1,
            "type": "string",
            "description": "Last name of the subuser."
          },
          "phoneNumber": {
            "type": "string",
            "description": "Phone number of the subuser.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateUserApi": {
        "required": [
          "email",
          "firstName",
          "languageCode",
          "lastName",
          "role"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "type": "string",
            "description": "Customer reference.",
            "nullable": true
          },
          "customerRole": {
            "$ref": "#/components/schemas/UserCustomerRoleEnum"
          },
          "firstName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "First name."
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Last name."
          },
          "email": {
            "minLength": 1,
            "type": "string",
            "description": "Email.",
            "format": "email"
          },
          "phoneNumber": {
            "maxLength": 10,
            "type": "string",
            "description": "Phone number.",
            "format": "tel",
            "nullable": true
          },
          "languageCode": {
            "minLength": 1,
            "type": "string",
            "description": "Language code."
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "role": {
            "$ref": "#/components/schemas/UserRoleEnum"
          },
          "accessCountry": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of countries the user has access to.",
            "nullable": true
          },
          "workingHours": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkingHoursNestedApi"
            },
            "description": "List of working hours.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateUserRoleProviderApi": {
        "required": [
          "customerReference",
          "label",
          "privileges"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "label": {
            "minLength": 1,
            "type": "string",
            "description": "Name of user role."
          },
          "privileges": {
            "$ref": "#/components/schemas/CreateOrUpdateUserRolePrivilegeProviderApi"
          }
        },
        "additionalProperties": false
      },
      "CustomerApi": {
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AddressNestedApi"
          },
          "deleted": {
            "$ref": "#/components/schemas/CommentUserNestedApi"
          },
          "id": {
            "type": "string",
            "description": "Customer Id.",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "description": "Customer reference (eg. 2112-001).",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Date of creation.",
            "format": "date-time"
          },
          "companyName": {
            "type": "string",
            "description": "Name of the company.",
            "nullable": true
          },
          "business": {
            "$ref": "#/components/schemas/CustomerBusinessEnum"
          },
          "role": {
            "$ref": "#/components/schemas/CustomerRoleEnum"
          },
          "firstName": {
            "type": "string",
            "description": "First name.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name.",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Email.",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "description": "Phone number.",
            "nullable": true
          },
          "countryPhoneCode": {
            "type": "string",
            "description": "Country phone code.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "currencyCode": {
            "type": "string",
            "description": "Country currency code.",
            "nullable": true
          },
          "currencySymbol": {
            "type": "string",
            "description": "Country currency symbol.",
            "nullable": true
          },
          "providers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderNestedApi"
            },
            "description": "List of associated providers.",
            "nullable": true
          },
          "assetsCounted": {
            "type": "integer",
            "description": "Number total of assets.",
            "format": "int64"
          },
          "assetsUninstalledCounted": {
            "type": "integer",
            "description": "Number of uninstalled assets (asset with no gateway).",
            "format": "int64"
          },
          "assetsOnlineCounted": {
            "type": "integer",
            "description": "Number of installed assets (asset with at least one gateway and gateways[0].state.UpdatedAt less than the last 24h).",
            "format": "int64"
          },
          "assetsOfflineCounted": {
            "type": "integer",
            "description": "Number of offline assets (asset with at least one gateway and gateways[0].state.UpdatedAt more than the last 24h).",
            "format": "int64"
          },
          "assetGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerAssetGroupNestedApi"
            },
            "description": "List of asset groups.",
            "nullable": true
          },
          "accountManager": {
            "$ref": "#/components/schemas/UserNestedApi"
          },
          "modules": {
            "$ref": "#/components/schemas/CustomerModuleNestedApi"
          },
          "settings": {
            "$ref": "#/components/schemas/CustomerSettingNestedApi"
          },
          "embeddedModules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerEmbeddedModuleNestedApi"
            },
            "description": "List of embedded modules enabled for this customer.",
            "nullable": true
          },
          "relations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerRelationNestedApi"
            },
            "description": "List of relations between customer (eg. a customer could have subsidiaries).",
            "nullable": true
          },
          "isSuspended": {
            "type": "boolean",
            "description": "True if the customer is suspended."
          }
        },
        "additionalProperties": false
      },
      "CustomerApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/CustomerApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerAssetGroupNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Group Id.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Group name.",
            "nullable": true
          },
          "color": {
            "type": "string",
            "description": "Color of the group.",
            "nullable": true
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of asset Ids associated to the group.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerBusinessEnum": {
        "enum": [
          0,
          20,
          40
        ],
        "type": "integer",
        "description": "Undefined = 0 | Business = 20 | Individual = 40",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Business",
          "Individual"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "Business",
          "Individual"
        ],
        "x-displayName": [
          "Undefined",
          "Business",
          "Individual"
        ]
      },
      "CustomerEmbeddedModuleAuthorizationNestedApi": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/EmbeddedModuleAuthorizationTypeEnum"
          },
          "hash": {
            "type": "string",
            "description": "Optional hash for API key authentication",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents authorization configuration for a customer embedded module (API model)"
      },
      "CustomerEmbeddedModuleNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of the embedded module document",
            "nullable": true
          },
          "label": {
            "type": "string",
            "description": "Unique label/identifier for the module",
            "nullable": true
          },
          "provider": {
            "$ref": "#/components/schemas/CustomerEmbeddedModuleProviderNestedApi"
          },
          "authorization": {
            "$ref": "#/components/schemas/CustomerEmbeddedModuleAuthorizationNestedApi"
          },
          "displayMethod": {
            "$ref": "#/components/schemas/EmbeddedModuleDisplayMethodEnum"
          }
        },
        "additionalProperties": false,
        "description": "Represents an embedded module configuration for a customer (API model)"
      },
      "CustomerEmbeddedModuleProviderNestedApi": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "The ID of the user in the tracking platform",
            "nullable": true
          },
          "userLocale": {
            "type": "string",
            "description": "The locale of the user in the tracking platform",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents provider configuration for a customer embedded module (API model)"
      },
      "CustomerLogoApi": {
        "type": "object",
        "properties": {
          "removeLogo": {
            "type": "boolean",
            "nullable": true
          },
          "fileName": {
            "pattern": "(?i).*\\.(jpg|jpeg|png)$",
            "type": "string",
            "description": "File name.",
            "nullable": true
          },
          "fileBase64": {
            "type": "string",
            "description": "File encoded in base64.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Organization logo upload/remove."
      },
      "CustomerModeEnum": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "All = 0 | Specific = 1",
        "format": "int32",
        "x-enumNames": [
          "all",
          "specific"
        ],
        "x-enumDescriptions": [
          "all",
          "specific"
        ],
        "x-displayName": [
          "all",
          "specific"
        ]
      },
      "CustomerModuleNestedApi": {
        "required": [
          "isAlerts",
          "isApi",
          "isAssetManagement",
          "isEngineHours",
          "isFleetiOne",
          "isGroupManagement",
          "isLiveMap",
          "isTrackingFleeti",
          "isTripsAndEcoDriving",
          "isUserManagement"
        ],
        "type": "object",
        "properties": {
          "isApi": {
            "type": "boolean",
            "description": "If true, the customer can integrate Fleeti API in its system."
          },
          "isTrackingFleeti": {
            "type": "boolean",
            "description": "If true, the users could access to Tracking Fleeti."
          },
          "isTemperature": {
            "type": "boolean",
            "description": "If True, the temperature module is enabled on Fleeti One."
          },
          "isFuel": {
            "type": "boolean",
            "description": "If True, the fuel module is enabled on Fleeti One."
          },
          "isLiveMap": {
            "type": "boolean",
            "description": "If true, the live map module is enabled on Fleeti One."
          },
          "isAssetManagement": {
            "type": "boolean",
            "description": "If true, the asset management module is enabled on Fleeti One."
          },
          "isGroupManagement": {
            "type": "boolean",
            "description": "If true, the group management module is enabled on Fleeti One."
          },
          "isUserManagement": {
            "type": "boolean",
            "description": "If true, the user management module is enabled on Fleeti One."
          },
          "isTripsAndEcoDriving": {
            "type": "boolean",
            "description": "If true, the trips and Eco driving module is enabled on Fleeti One."
          },
          "isEngineHours": {
            "type": "boolean",
            "description": "If true, the engine hours module is enabled on Fleeti One."
          },
          "isAlerts": {
            "type": "boolean",
            "description": "If true, the alerts module is enabled on Fleeti One."
          },
          "gatewayCommands": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayCommandEnum"
            },
            "description": "List of commands the user is allowed to execute on an asset (if null, all commands are allowed).",
            "nullable": true
          },
          "isFleetiOne": {
            "type": "boolean",
            "description": "If true, the customer has access to Fleeti One."
          }
        },
        "additionalProperties": false
      },
      "CustomerNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Customer id.",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "description": "Customer reference.",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Company name.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "description": "True if the customer is deleted."
          }
        },
        "additionalProperties": false
      },
      "CustomerRelationNestedApi": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "description": "Customer Id.",
            "nullable": true
          },
          "customerReference": {
            "type": "string",
            "description": "Customer reference.",
            "nullable": true
          },
          "isParent": {
            "type": "boolean",
            "description": "True if the customer is the parent of this customer."
          },
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerRelationTypeEnum"
            },
            "description": "Defines the type of relation.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerRelationTypeEnum": {
        "enum": [
          10,
          20,
          30
        ],
        "type": "integer",
        "description": "Subsidiary = 10 | Renter = 20 | DealerCustomer = 30",
        "format": "int32",
        "x-enumNames": [
          "Subsidiary",
          "Renter",
          "DealerCustomer"
        ],
        "x-enumDescriptions": [
          "Subsidiary",
          "Renter",
          "DealerCustomer"
        ],
        "x-displayName": [
          "Subsidiary",
          "Renter",
          "DealerCustomer"
        ]
      },
      "CustomerRoleEnum": {
        "enum": [
          0,
          10
        ],
        "type": "integer",
        "description": "None = 0 | CreateSubCustomer = 10",
        "format": "int32",
        "x-enumNames": [
          "None",
          "CreateSubCustomer"
        ],
        "x-enumDescriptions": [
          "None",
          "CreateSubCustomer"
        ],
        "x-displayName": [
          "None",
          "CreateSubCustomer"
        ]
      },
      "CustomerSettingNestedApi": {
        "required": [
          "isVinMandatory"
        ],
        "type": "object",
        "properties": {
          "isConfidential": {
            "type": "boolean",
            "description": "If True, assets should be visible only by the customer's users and admin roles."
          },
          "isVinMandatory": {
            "type": "boolean",
            "description": "If true, the VIN property is mandatory on customer's assets."
          },
          "isDataUsageConsent": {
            "type": "boolean",
            "description": "If true, the organization consents to Fleeti using aggregated and anonymized data for product improvements."
          }
        },
        "additionalProperties": false
      },
      "CustomerUserApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "description": "Id of the organization the row was requested for, i.e. the customer resolved from the\r\nrequest's customer reference.",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "customerRole": {
            "$ref": "#/components/schemas/UserCustomerRoleEnum"
          },
          "lastConnectionAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isOwner": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "description": "When the account itself was created. Note this is global to the account, not per\r\norganization — an account invited to a second organization keeps its original value, because\r\nper-organization access entries carry no timestamp.",
            "format": "date-time"
          },
          "isTemporaryPassword": {
            "type": "boolean",
            "description": "True while the account still holds the generated password from its invitation, i.e. the\r\ninvitation has not been completed. Combined with Fleeti.Model.Api.ExternalAuthentication.CustomerUserApi.LastConnectionAt this\r\ndistinguishes an invited account from an active one."
          }
        },
        "additionalProperties": false
      },
      "CustomerUserApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerUserApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DayOfTheWeek": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "type": "integer",
        "description": "Monday = 1 | Tuesday = 2 | Wednesday = 3 | Thursday = 4 | Friday = 5 | Saturday = 6 | Sunday = 0 | Day = 7 | Weekday = 8 | WeekendDay = 9",
        "format": "int32",
        "x-enumNames": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday",
          "Day",
          "Weekday",
          "WeekendDay"
        ],
        "x-enumDescriptions": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday",
          "Day",
          "Weekday",
          "WeekendDay"
        ],
        "x-displayName": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday",
          "Day",
          "Weekday",
          "WeekendDay"
        ]
      },
      "DayOfWeek": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32",
        "x-enumNames": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ],
        "x-enumDescriptions": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ],
        "x-displayName": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ]
      },
      "DeAllocateGatewayAssetApi": {
        "required": [
          "assetId",
          "gatewayId",
          "provider"
        ],
        "type": "object",
        "properties": {
          "provider": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "DeleteAssetGroupApi": {
        "required": [
          "customerReference",
          "groupId"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "groupId": {
            "minLength": 1,
            "type": "string",
            "description": "Group ID of the asset group to delete."
          },
          "moveToGroupId": {
            "type": "string",
            "description": "Optional target group ID to move assets to before deleting.\r\nIf omitted, assets become ungrouped.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for deleting an asset group."
      },
      "DownloadGatewayFileResourceApi": {
        "required": [
          "fileName",
          "fileVersion",
          "model"
        ],
        "type": "object",
        "properties": {
          "model": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway model. Must be defined in the parameters (api/v1/resource/searchgateway)."
          },
          "fileName": {
            "minLength": 1,
            "type": "string",
            "description": "File name. Must be defined in the parameters (api/v1/resource/getallgatewayfiles)."
          },
          "fileVersion": {
            "minLength": 1,
            "type": "string",
            "description": "File version. Must be defined in the parameters (api/v1/resource/getallgatewayfiles)."
          }
        },
        "additionalProperties": false
      },
      "DownloadLastConfigurationFileApi": {
        "required": [
          "assetId",
          "configurationFileName",
          "gatewayId"
        ],
        "type": "object",
        "properties": {
          "configurationFileName": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the configuration file."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "EcoDrivingEvent": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "penalty": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EcoDrivingProviderReport": {
        "type": "object",
        "properties": {
          "averageOverSpeeds": {
            "type": "number",
            "description": "Average over speed.",
            "format": "double",
            "nullable": true
          },
          "harshBreakingCounted": {
            "type": "integer",
            "description": "Number of harsh breaking counted.",
            "format": "int64",
            "nullable": true
          },
          "harshTurnCounted": {
            "type": "integer",
            "description": "Number of harsh turn counted.",
            "format": "int64",
            "nullable": true
          },
          "harshAccelerationCounted": {
            "type": "integer",
            "description": "Number of harsh acceleration counted.",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EcoDrivingProviderReportItemReportResponse": {
        "type": "object",
        "properties": {
          "gatewayId": {
            "type": "string",
            "description": "Gateway Id.",
            "nullable": true
          },
          "gatewayName": {
            "type": "string",
            "description": "Gateway name.",
            "nullable": true
          },
          "asset": {
            "$ref": "#/components/schemas/AssetNested"
          },
          "group": {
            "$ref": "#/components/schemas/AssetGroupNested"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of errors.",
            "nullable": true
          },
          "report": {
            "$ref": "#/components/schemas/EcoDrivingProviderReport"
          }
        },
        "additionalProperties": false
      },
      "EcoDrivingProviderReportReportResponse": {
        "type": "object",
        "properties": {
          "reportId": {
            "type": "string",
            "description": "Report id (from the provider).",
            "nullable": true
          },
          "input": {
            "$ref": "#/components/schemas/InputReportResponse"
          },
          "reports": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EcoDrivingProviderReportItemReportResponse"
            },
            "description": "List of reports.",
            "nullable": true
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EcoDrivingSpeedViolation": {
        "type": "object",
        "properties": {
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "maxSpeedAddress": {
            "type": "string",
            "nullable": true
          },
          "speedLimit": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxSpeed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "duration": {
            "type": "string",
            "nullable": true
          },
          "penalty": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmbeddedModuleActionEnum": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "Represents the action to perform on embedded modules\r\nEnable = 1 | Disable = 2",
        "format": "int32",
        "x-enumNames": [
          "Enable",
          "Disable"
        ],
        "x-enumDescriptions": [
          "Enable",
          "Disable"
        ],
        "x-displayName": [
          "Enable",
          "Disable"
        ]
      },
      "EmbeddedModuleApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Module Id.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Creation date.",
            "format": "date-time"
          },
          "label": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "description": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "title": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "subtitle": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "urlTemplate": {
            "type": "string",
            "description": "URL template for the module (can contain placeholders).",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "description": "Icon identifier or URL for the module (optional).",
            "nullable": true
          },
          "requiresFleetiOne": {
            "type": "boolean",
            "description": "True when the module can only be enabled for customers with Fleeti One activated."
          }
        },
        "additionalProperties": false,
        "description": "Represents an embedded module"
      },
      "EmbeddedModuleApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/EmbeddedModuleApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmbeddedModuleApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmbeddedModuleApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmbeddedModuleAuthorizationTypeEnum": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "Represents the authorization type for embedded modules\r\nApiKey = 1 | UserSession | 2",
        "format": "int32",
        "x-enumNames": [
          "ApiKey",
          "UserSession"
        ],
        "x-enumDescriptions": [
          "ApiKey",
          "UserSession"
        ],
        "x-displayName": [
          "ApiKey",
          "UserSession"
        ]
      },
      "EmbeddedModuleDisplayMethodEnum": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "Represents the display method for embedded modules\r\nNewTab = 1 | Embedded = 2",
        "format": "int32",
        "x-enumNames": [
          "NewTab",
          "Embedded"
        ],
        "x-enumDescriptions": [
          "NewTab",
          "Embedded"
        ],
        "x-displayName": [
          "NewTab",
          "Embedded"
        ]
      },
      "EmptyResponse": {
        "type": "object",
        "properties": {
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EnergyTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "type": "integer",
        "description": "Undefined = 0 | Gasoline = 1 | Diesel = 2 | BioDiesel = 3 | Ethanol = 4 | UnleadedGasoline = 5 | BioEthanol = 6 | Gaz = 7 | Hybrid = 8 | Other = 9",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Gasoline",
          "Diesel",
          "BioDiesel",
          "Ethanol",
          "UnleadedGasoline",
          "BioEthanol",
          "Gaz",
          "Hybrid",
          "Other",
          "Electric"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "Gasoline",
          "Diesel",
          "BioDiesel",
          "Ethanol",
          "UnleadedGasoline",
          "BioEthanol",
          "Gaz",
          "Hybrid",
          "Other",
          "Electric"
        ],
        "x-displayName": [
          "Undefined",
          "Gasoline",
          "Diesel",
          "BioDiesel",
          "Ethanol",
          "UnleadedGasoline",
          "BioEthanol",
          "Gaz",
          "Hybrid",
          "Other",
          "Electric"
        ]
      },
      "EngineHoursHistoryApi": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "duration": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "inMovement": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "inMovementPercents": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "idle": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "idlePercents": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "mileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "averageSpeed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "periodCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "engineHoursCounter": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EngineHoursHistoryApiEngineHoursSummaryDataHistory": {
        "type": "object",
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/AssetHistory"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EngineHoursHistoryApi"
            },
            "nullable": true
          },
          "summary": {
            "$ref": "#/components/schemas/EngineHoursSummary"
          }
        },
        "additionalProperties": false
      },
      "EngineHoursHistoryApiEngineHoursSummaryDataHistoryEngineHoursWidgetWidgetHistory": {
        "type": "object",
        "properties": {
          "assets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EngineHoursHistoryApiEngineHoursSummaryDataHistory"
            },
            "nullable": true
          },
          "assetsCounted": {
            "type": "integer",
            "format": "int64"
          },
          "widget": {
            "$ref": "#/components/schemas/EngineHoursWidget"
          }
        },
        "additionalProperties": false
      },
      "EngineHoursHistoryApiEngineHoursSummaryDataHistoryEngineHoursWidgetWidgetHistoryResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/EngineHoursHistoryApiEngineHoursSummaryDataHistoryEngineHoursWidgetWidgetHistory"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EngineHoursProviderReport": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EngineHoursProviderReportItem"
            },
            "nullable": true
          },
          "summary": {
            "$ref": "#/components/schemas/EngineHoursProviderReportItem"
          }
        },
        "additionalProperties": false
      },
      "EngineHoursProviderReportItem": {
        "type": "object",
        "properties": {
          "dateTime": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "dateTime2": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "duration": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "inMovement": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "inMovementPercents": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "idle": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "idlePercents": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "averagePeriod": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "mileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "averageSpeed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "periodCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "engineHoursCounter": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EngineHoursProviderReportItemReportResponse": {
        "type": "object",
        "properties": {
          "gatewayId": {
            "type": "string",
            "description": "Gateway Id.",
            "nullable": true
          },
          "gatewayName": {
            "type": "string",
            "description": "Gateway name.",
            "nullable": true
          },
          "asset": {
            "$ref": "#/components/schemas/AssetNested"
          },
          "group": {
            "$ref": "#/components/schemas/AssetGroupNested"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of errors.",
            "nullable": true
          },
          "report": {
            "$ref": "#/components/schemas/EngineHoursProviderReport"
          }
        },
        "additionalProperties": false
      },
      "EngineHoursProviderReportReportResponse": {
        "type": "object",
        "properties": {
          "reportId": {
            "type": "string",
            "description": "Report id (from the provider).",
            "nullable": true
          },
          "input": {
            "$ref": "#/components/schemas/InputReportResponse"
          },
          "reports": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EngineHoursProviderReportItemReportResponse"
            },
            "description": "List of reports.",
            "nullable": true
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EngineHoursSummary": {
        "type": "object",
        "properties": {
          "duration": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "inMovement": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "inMovementPercents": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "idle": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "idlePercents": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "mileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "averageSpeed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "periodCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "engineHoursCounter": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EngineHoursWidget": {
        "type": "object",
        "properties": {
          "usageRatePercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalEngineHoursHour": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalEngineHoursMovementHour": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalEngineHoursIdleHour": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "dailyEngineHoursAvg": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "assetEngineHoursAvg": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "assetDailyEngineHoursAvg": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EnumApi": {
        "type": "object",
        "properties": {
          "enum": {
            "type": "string",
            "description": "Name of the enum.",
            "nullable": true
          },
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EnumValueApi"
            },
            "description": "Values of the enum.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EnumApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EnumApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EnumValueApi": {
        "type": "object",
        "properties": {
          "value": {
            "type": "integer",
            "description": "Enum value.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Enum name.",
            "nullable": true
          },
          "image": {
            "type": "string",
            "description": "Enum image.",
            "nullable": true
          },
          "fr": {
            "type": "string",
            "description": "Enum french name.",
            "nullable": true
          },
          "en": {
            "type": "string",
            "description": "Enum english name.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EquipmentAssetProperties": {
        "type": "object",
        "properties": {
          "equipmentType": {
            "$ref": "#/components/schemas/EquipmentTypeEnum"
          },
          "energyType": {
            "$ref": "#/components/schemas/EnergyTypeEnum"
          },
          "isPowered": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "EquipmentTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "description": "Undefined = 0 | FuelTank = 1 | ElectricGenerator = 2 | Trailer = 3 | Container = 4 |\r\nPortableEquipment = 5 | AgriculturalImplement = 6 | Attachment = 7",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "FuelTank",
          "ElectricGenerator",
          "Trailer",
          "Container",
          "PortableEquipment",
          "AgriculturalImplement",
          "Attachment"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "FuelTank",
          "ElectricGenerator",
          "Trailer",
          "Container",
          "PortableEquipment",
          "AgriculturalImplement",
          "Attachment"
        ],
        "x-displayName": [
          "Undefined",
          "FuelTank",
          "ElectricGenerator",
          "Trailer",
          "Container",
          "PortableEquipment",
          "AgriculturalImplement",
          "Attachment"
        ]
      },
      "EventStatWidget": {
        "type": "object",
        "properties": {
          "eventType": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "percent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "assetCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "assetPercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "count100Km": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExportJobApi": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "description": "Export job ID",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExportJobApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ExportJobApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExportProcessApi": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "description": "Export job ID",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ExportStatusEnum"
          },
          "createdAt": {
            "type": "string",
            "description": "When the export job was created (UTC).",
            "format": "date-time"
          },
          "countryIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of country IDs that are exported",
            "nullable": true
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerNestedApi"
          }
        },
        "additionalProperties": false
      },
      "ExportProcessApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExportProcessApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExportRoadsApi": {
        "required": [
          "countryIds",
          "customerReference"
        ],
        "type": "object",
        "properties": {
          "countryIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of country IDs to export roads for"
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer Reference"
          }
        },
        "additionalProperties": false
      },
      "ExportStatusApi": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "description": "Export job ID",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ExportStatusEnum"
          },
          "completedAt": {
            "type": "string",
            "description": "Date and time the export completed",
            "format": "date-time",
            "nullable": true
          },
          "totalSent": {
            "type": "integer",
            "description": "Total number of zones successfully sent",
            "format": "int32",
            "nullable": true
          },
          "totalFailed": {
            "type": "integer",
            "description": "Total number of zones that permanently failed after all retries",
            "format": "int32",
            "nullable": true
          },
          "totalCreated": {
            "type": "integer",
            "description": "Total number of new zones.",
            "format": "int32",
            "nullable": true
          },
          "totalUpdated": {
            "type": "integer",
            "description": "Total number of existing zones updated on the tracking platform (speed tag changed)",
            "format": "int32",
            "nullable": true
          },
          "totalDeleted": {
            "type": "integer",
            "description": "Total number of zones deleted.",
            "format": "int32",
            "nullable": true
          },
          "totalSkipped": {
            "type": "integer",
            "description": "Total number of zones skipped (already in sync, no changes needed)",
            "format": "int32",
            "nullable": true
          },
          "failedRoadIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Road IDs that could not be created after all retry rounds (empty if none).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExportStatusApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ExportStatusApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExportStatusEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32",
        "x-enumNames": [
          "Pending",
          "Running",
          "Completed",
          "Failed",
          "OverQuota"
        ],
        "x-enumDescriptions": [
          "Pending",
          "Running",
          "Completed",
          "Failed",
          "OverQuota"
        ],
        "x-displayName": [
          "Pending",
          "Running",
          "Completed",
          "Failed",
          "OverQuota"
        ]
      },
      "ExternalAddressNestedApi": {
        "type": "object",
        "properties": {
          "timezone": {
            "type": "string",
            "description": "Timezone (IANA timezone identifier, e.g., \"Europe/Paris\").",
            "nullable": true
          },
          "addressLine": {
            "type": "string",
            "description": "Address line.",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "City.",
            "nullable": true
          },
          "state": {
            "type": "string",
            "description": "State.",
            "nullable": true
          },
          "region": {
            "type": "string",
            "description": "Region.",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postal code.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Extended address model that includes timezone information."
      },
      "ExternalCustomerApi": {
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/ExternalAddressNestedApi"
          },
          "logoUrl": {
            "type": "string",
            "nullable": true
          },
          "defaultCurrencyCode": {
            "type": "string",
            "description": "Currency of the customer's country record, used when the customer has no currency of its own.",
            "nullable": true
          },
          "userRole": {
            "$ref": "#/components/schemas/UserCustomerRoleEnum"
          },
          "isOwner": {
            "type": "boolean"
          },
          "id": {
            "type": "string",
            "description": "Customer Id.",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "description": "Customer reference (eg. 2112-001).",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Date of creation.",
            "format": "date-time"
          },
          "companyName": {
            "type": "string",
            "description": "Name of the company.",
            "nullable": true
          },
          "business": {
            "$ref": "#/components/schemas/CustomerBusinessEnum"
          },
          "role": {
            "$ref": "#/components/schemas/CustomerRoleEnum"
          },
          "firstName": {
            "type": "string",
            "description": "First name.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name.",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Email.",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "description": "Phone number.",
            "nullable": true
          },
          "countryPhoneCode": {
            "type": "string",
            "description": "Country phone code.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "currencyCode": {
            "type": "string",
            "description": "Country currency code.",
            "nullable": true
          },
          "currencySymbol": {
            "type": "string",
            "description": "Country currency symbol.",
            "nullable": true
          },
          "providers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderNestedApi"
            },
            "description": "List of associated providers.",
            "nullable": true
          },
          "assetsCounted": {
            "type": "integer",
            "description": "Number total of assets.",
            "format": "int64"
          },
          "assetsUninstalledCounted": {
            "type": "integer",
            "description": "Number of uninstalled assets (asset with no gateway).",
            "format": "int64"
          },
          "assetsOnlineCounted": {
            "type": "integer",
            "description": "Number of installed assets (asset with at least one gateway and gateways[0].state.UpdatedAt less than the last 24h).",
            "format": "int64"
          },
          "assetsOfflineCounted": {
            "type": "integer",
            "description": "Number of offline assets (asset with at least one gateway and gateways[0].state.UpdatedAt more than the last 24h).",
            "format": "int64"
          },
          "assetGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerAssetGroupNestedApi"
            },
            "description": "List of asset groups.",
            "nullable": true
          },
          "accountManager": {
            "$ref": "#/components/schemas/UserNestedApi"
          },
          "modules": {
            "$ref": "#/components/schemas/CustomerModuleNestedApi"
          },
          "settings": {
            "$ref": "#/components/schemas/CustomerSettingNestedApi"
          },
          "embeddedModules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerEmbeddedModuleNestedApi"
            },
            "description": "List of embedded modules enabled for this customer.",
            "nullable": true
          },
          "relations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerRelationNestedApi"
            },
            "description": "List of relations between customer (eg. a customer could have subsidiaries).",
            "nullable": true
          },
          "isSuspended": {
            "type": "boolean",
            "description": "True if the customer is suspended."
          }
        },
        "additionalProperties": false,
        "description": "Extended customer model that includes timezone in the address."
      },
      "ExternalCustomerApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ExternalCustomerApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExternalGatewayApi": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "string",
            "description": "ID of the associated asset.",
            "nullable": true
          },
          "imei": {
            "type": "string",
            "description": "IMEI of the gateway.",
            "nullable": true
          },
          "gatewayId": {
            "type": "string",
            "description": "ID of the gateway.",
            "nullable": true
          },
          "gatewayName": {
            "type": "string",
            "description": "Name of the gateway.",
            "nullable": true
          },
          "groupName": {
            "type": "string",
            "description": "Name of the group associated with the gateway.",
            "nullable": true
          },
          "connectionStatus": {
            "$ref": "#/components/schemas/GatewayConnectionStatusEnum"
          },
          "lastCommunicationDate": {
            "type": "string",
            "description": "Last communication date of the gateway.",
            "format": "date-time"
          },
          "immobilizationStatus": {
            "$ref": "#/components/schemas/ImmobilizationStatusEnum"
          },
          "isClone": {
            "type": "boolean",
            "description": "Indicates if the gateway is a clone.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExternalGatewayApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExternalGatewayApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExternalLoginResponseApi": {
        "type": "object",
        "properties": {
          "token": {
            "$ref": "#/components/schemas/TokenDocument"
          },
          "lastConnectionAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ExternalLoginResponseApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ExternalLoginResponseApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExternalUpdateCustomerApi": {
        "required": [
          "reference"
        ],
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/ExternalAddressNestedApi"
          },
          "logo": {
            "$ref": "#/components/schemas/CustomerLogoApi"
          },
          "isDataUsageConsent": {
            "type": "boolean",
            "nullable": true
          },
          "currencyCode": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          }
        },
        "additionalProperties": false,
        "description": "Partial update of organization address, timezone and logo."
      },
      "ExternalUpdateUserApi": {
        "required": [
          "firstName",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "minLength": 1,
            "type": "string",
            "description": "User ID."
          },
          "firstName": {
            "maxLength": 200,
            "minLength": 0,
            "pattern": "^[\\p{L}\\s'\\-]+$",
            "type": "string",
            "description": "First name (required)."
          },
          "lastName": {
            "maxLength": 200,
            "minLength": 0,
            "pattern": "^[\\p{L}\\s'\\-]*$",
            "type": "string",
            "description": "Last name (optional). Omit to leave unchanged; send empty to clear.",
            "nullable": true
          },
          "image": {
            "$ref": "#/components/schemas/UserImageApi"
          }
        },
        "additionalProperties": false,
        "description": "Partial update of the signed-in user's profile."
      },
      "FeatureNestedApi": {
        "type": "object",
        "properties": {
          "feature": {
            "$ref": "#/components/schemas/GatewayFeatureEnum"
          },
          "discountedPrice": {
            "maximum": 1,
            "minimum": 0,
            "type": "number",
            "description": "Discount price for the feature. Should be between 0 and 1. 0 means no discount, 0.1 means 10% discount, 1 means 100% discount.",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "FeaturePriceCountryDataSettingApi": {
        "type": "object",
        "properties": {
          "feature": {
            "$ref": "#/components/schemas/GatewayFeatureEnum"
          },
          "price": {
            "type": "number",
            "description": "Set the feature price.",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "FeaturePriceNested": {
        "type": "object",
        "properties": {
          "feature": {
            "$ref": "#/components/schemas/GatewayFeatureEnum"
          },
          "price": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "FileResponse": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "description": "File name.",
            "nullable": true
          },
          "fileBase64": {
            "type": "string",
            "description": "File encoded in base 64.",
            "nullable": true
          },
          "fileBytes": {
            "type": "string",
            "description": "File bytes.",
            "format": "byte",
            "nullable": true
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Fleeti.Model.ExtrasProperties.EquipmentAssetProperties": {
        "$ref": "#/components/schemas/EquipmentAssetProperties"
      },
      "Fleeti.Model.ExtrasProperties.FleetiTrackingProviderProperties": {
        "$ref": "#/components/schemas/FleetiTrackingProviderProperties"
      },
      "Fleeti.Model.ExtrasProperties.PhoneAssetProperties": {
        "$ref": "#/components/schemas/PhoneAssetProperties"
      },
      "Fleeti.Model.ExtrasProperties.SiteAssetProperties": {
        "$ref": "#/components/schemas/SiteAssetProperties"
      },
      "Fleeti.Model.ExtrasProperties.VehicleAssetProperties": {
        "$ref": "#/components/schemas/VehicleAssetProperties"
      },
      "FleetiOneAccessActionEnum": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "Represents Fleeti One access\r\nEnable = 1 | Disable = 2",
        "format": "int32",
        "x-enumNames": [
          "Enable",
          "Disable"
        ],
        "x-enumDescriptions": [
          "Enable",
          "Disable"
        ],
        "x-displayName": [
          "Enable",
          "Disable"
        ]
      },
      "FleetiOneUserChangePasswordApi": {
        "required": [
          "currentPassword",
          "newPassword"
        ],
        "type": "object",
        "properties": {
          "currentPassword": {
            "minLength": 1,
            "type": "string",
            "description": "User's current password for verification."
          },
          "newPassword": {
            "minLength": 1,
            "pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^A-Za-z0-9]).{8,}$",
            "type": "string",
            "description": "New password. Must be at least 8 characters and include uppercase, lowercase, a number, and a special character."
          }
        },
        "additionalProperties": false
      },
      "FleetiTrackingProviderProperties": {
        "type": "object",
        "properties": {
          "isClone": {
            "type": "boolean"
          },
          "isBlocked": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Fuel2Event": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "volume": {
            "type": "number",
            "format": "double"
          },
          "startVolume": {
            "type": "number",
            "format": "double"
          },
          "endVolume": {
            "type": "number",
            "format": "double"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "location": {
            "$ref": "#/components/schemas/LocationProviderReport"
          },
          "mileage": {
            "type": "number",
            "format": "double"
          },
          "fuelConsumptionKm": {
            "type": "number",
            "format": "double"
          },
          "fuelConsumptionKmCorrected": {
            "type": "number",
            "format": "double"
          },
          "fuelConsumptionHour": {
            "type": "number",
            "format": "double"
          },
          "fuelConsumptionHourCorrected": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "Fuel2Point": {
        "type": "object",
        "properties": {
          "vavlue": {
            "type": "number",
            "format": "double"
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Fuel2ProviderReport": {
        "type": "object",
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/AssetNested"
          },
          "group": {
            "$ref": "#/components/schemas/AssetGroupNested"
          },
          "firstFillingAt": {
            "type": "string",
            "description": "Date of the first filling.",
            "format": "date-time",
            "nullable": true
          },
          "lastFillingAt": {
            "type": "string",
            "description": "Date of the last filling.",
            "format": "date-time",
            "nullable": true
          },
          "totalTraveledKm": {
            "type": "number",
            "description": "Total traveled distance.",
            "format": "double",
            "nullable": true
          },
          "totalFuelConsumed": {
            "type": "number",
            "description": "Total fuel consumed.",
            "format": "double",
            "nullable": true
          },
          "totalFuelConsumedCorrected": {
            "type": "number",
            "description": "Total fuel consumed.",
            "format": "double",
            "nullable": true
          },
          "totalFuelConsumptionKm": {
            "type": "number",
            "description": "Total fuel consumed in km.",
            "format": "double",
            "nullable": true
          },
          "totalFuelConsumptionHour": {
            "type": "number",
            "description": "Total fuel consumed in hour.",
            "format": "double",
            "nullable": true
          },
          "totalFuelConsumptionKmCorrected": {
            "type": "number",
            "description": "Total fuel consumed in corrected km.",
            "format": "double",
            "nullable": true
          },
          "totalFuelConsumptionHourCorrected": {
            "type": "number",
            "description": "Total fuel consumed in corrected hour.",
            "format": "double",
            "nullable": true
          },
          "hoursBetweenFillings": {
            "type": "number",
            "description": "Number of hours between fillings.",
            "format": "double",
            "nullable": true
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fuel2Event"
            },
            "description": "List of events.",
            "nullable": true
          },
          "points": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fuel2Point"
            },
            "description": "List of points.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Fuel2ProviderReportItemReportResponse": {
        "type": "object",
        "properties": {
          "gatewayId": {
            "type": "string",
            "description": "Gateway Id.",
            "nullable": true
          },
          "gatewayName": {
            "type": "string",
            "description": "Gateway name.",
            "nullable": true
          },
          "asset": {
            "$ref": "#/components/schemas/AssetNested"
          },
          "group": {
            "$ref": "#/components/schemas/AssetGroupNested"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of errors.",
            "nullable": true
          },
          "report": {
            "$ref": "#/components/schemas/Fuel2ProviderReport"
          }
        },
        "additionalProperties": false
      },
      "Fuel2ProviderReportReportResponse": {
        "type": "object",
        "properties": {
          "reportId": {
            "type": "string",
            "description": "Report id (from the provider).",
            "nullable": true
          },
          "input": {
            "$ref": "#/components/schemas/InputReportResponse"
          },
          "reports": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fuel2ProviderReportItemReportResponse"
            },
            "description": "List of reports.",
            "nullable": true
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FuelSensorCalibrationDataNestedApi": {
        "required": [
          "in",
          "out"
        ],
        "type": "object",
        "properties": {
          "in": {
            "type": "integer",
            "description": "Calibration In value.",
            "format": "int32"
          },
          "out": {
            "type": "integer",
            "description": "Calibration Out value.",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "FuelTypeEnum": {
        "enum": [
          2,
          3
        ],
        "type": "integer",
        "description": "Undefined = 1 | Digital = 2 | Analogic = 3",
        "format": "int32",
        "x-enumNames": [
          "Digital",
          "Analogic"
        ],
        "x-enumDescriptions": [
          "Digital",
          "Analogic"
        ],
        "x-displayName": [
          "Digital",
          "Analogic"
        ]
      },
      "GatewayAccessoryNested": {
        "type": "object",
        "properties": {
          "accessory": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          }
        },
        "additionalProperties": false
      },
      "GatewayAccessoryNestedApi": {
        "required": [
          "accessory",
          "connection"
        ],
        "type": "object",
        "properties": {
          "accessory": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          }
        },
        "additionalProperties": false
      },
      "GatewayCommandEnum": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15
        ],
        "type": "integer",
        "description": "GetRecord = 1 | WebConnect = 2 | CpuReset = 3 | OpenDoor = 4 | CloseDoor = 5 | KeepOnline = 6 | Immobilize = 7 | Unimmobilize = 8 | EnableEngineHoursOnCounter = 9 | EnableDigitalOutput = 13 | EnableIButton = 14 | DisableIButton = 15 | SetSmsLogin = 10 | SetSmsPassword = 11 | SetKey = 12",
        "format": "int32",
        "x-enumNames": [
          "GetRecord",
          "WebConnect",
          "CpuReset",
          "OpenDoor",
          "CloseDoor",
          "KeepOnline",
          "Immobilize",
          "Unimmobilize",
          "EnableEngineHoursOnCounter",
          "SetSmsLogin",
          "SetSmsPassword",
          "SetKey",
          "EnableDigitalOutput",
          "EnableIButton",
          "DisableIButton"
        ],
        "x-enumDescriptions": [
          "GetRecord",
          "WebConnect",
          "CpuReset",
          "OpenDoor",
          "CloseDoor",
          "KeepOnline",
          "Immobilize",
          "Unimmobilize",
          "EnableEngineHoursOnCounter",
          "SetSmsLogin",
          "SetSmsPassword",
          "SetKey",
          "EnableDigitalOutput",
          "EnableIButton",
          "DisableIButton"
        ],
        "x-displayName": [
          "GetRecord",
          "WebConnect",
          "CpuReset",
          "OpenDoor",
          "CloseDoor",
          "KeepOnline",
          "Immobilize",
          "Unimmobilize",
          "EnableEngineHoursOnCounter",
          "SetSmsLogin",
          "SetSmsPassword",
          "SetKey",
          "EnableDigitalOutput",
          "EnableIButton",
          "DisableIButton"
        ]
      },
      "GatewayConfigurationFileNestedApi": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayConfigurationFileNestedApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/GatewayConfigurationFileNestedApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayConnectionStatusEnum": {
        "enum": [
          10,
          20,
          22,
          30,
          40,
          50
        ],
        "type": "integer",
        "description": "SignalLost = 10 | JustRegistered = 20 | JustReplaced = 22 | Offline = 30 | Idle = 40 | Active = 50",
        "format": "int32",
        "x-enumNames": [
          "SignalLost",
          "JustRegistered",
          "JustReplaced",
          "Offline",
          "Idle",
          "Active"
        ],
        "x-enumDescriptions": [
          "SignalLost",
          "JustRegistered",
          "JustReplaced",
          "Offline",
          "Idle",
          "Active"
        ],
        "x-displayName": [
          "SignalLost",
          "JustRegistered",
          "JustReplaced",
          "Offline",
          "Idle",
          "Active"
        ]
      },
      "GatewayCounterTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "Undefined = 0 | Odometer = 1 | EngineHours = 2 | EngineHoursOnCounter = 3",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Odometer",
          "EngineHours",
          "EngineHoursOnCounter"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "Odometer",
          "EngineHours",
          "EngineHoursOnCounter"
        ],
        "x-displayName": [
          "Undefined",
          "Odometer",
          "EngineHours",
          "EngineHoursOnCounter"
        ]
      },
      "GatewayFeatureEnum": {
        "enum": [
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          1000,
          2000
        ],
        "type": "integer",
        "description": "TrackingHistorique = 100 | EngineHoursMileage = 101 | EcoConduite = 102 | Can = 103 | WaterproofDustproof = 104 | AdvancedDriverAssistanceSystems = 105 | WifiHubspot = 106 | HighVoltageReady = 107 | Forms = 108 | ConnectedLocalAssets = 109 | VideoStreaming = 1000 | VideoLocalStorage = 2000",
        "format": "int32",
        "x-enumNames": [
          "TrackingHistorique",
          "EngineHoursMileage",
          "EcoConduite",
          "Can",
          "WaterproofDustproof",
          "AdvancedDriverAssistanceSystems",
          "WifiHubspot",
          "HighVoltageReady",
          "Forms",
          "ConnectedLocalAssets",
          "VideoStreaming",
          "VideoLocalStorage"
        ],
        "x-enumDescriptions": [
          "TrackingHistorique",
          "EngineHoursMileage",
          "EcoConduite",
          "Can",
          "WaterproofDustproof",
          "AdvancedDriverAssistanceSystems",
          "WifiHubspot",
          "HighVoltageReady",
          "Forms",
          "ConnectedLocalAssets",
          "VideoStreaming",
          "VideoLocalStorage"
        ],
        "x-displayName": [
          "TrackingHistorique",
          "EngineHoursMileage",
          "EcoConduite",
          "Can",
          "WaterproofDustproof",
          "AdvancedDriverAssistanceSystems",
          "WifiHubspot",
          "HighVoltageReady",
          "Forms",
          "ConnectedLocalAssets",
          "VideoStreaming",
          "VideoLocalStorage"
        ]
      },
      "GatewayFeatureNested": {
        "type": "object",
        "properties": {
          "feature": {
            "$ref": "#/components/schemas/GatewayFeatureEnum"
          }
        },
        "additionalProperties": false
      },
      "GatewayFeatureNestedApi": {
        "required": [
          "feature"
        ],
        "type": "object",
        "properties": {
          "feature": {
            "$ref": "#/components/schemas/GatewayFeatureEnum"
          }
        },
        "additionalProperties": false
      },
      "GatewayFileResourceApi": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "description": "File name.",
            "nullable": true
          },
          "versions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayVersionNested"
            },
            "description": "List of file versions.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayFileResourceApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/GatewayFileResourceApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayFileResourceApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayFileResourceApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayModelProvider": {
        "type": "object",
        "properties": {
          "vendor": {
            "type": "string",
            "description": "Seller name.",
            "nullable": true
          },
          "code": {
            "type": "string",
            "description": "Model code (required on the gateway model on settings).",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayModelProviderResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayModelProvider"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayMovementStatusEnum": {
        "enum": [
          10,
          20,
          30
        ],
        "type": "integer",
        "description": "Parked = 10 | Moving = 20 | Stopped = 30",
        "format": "int32",
        "x-enumNames": [
          "Parked",
          "Moving",
          "Stopped"
        ],
        "x-enumDescriptions": [
          "Parked",
          "Moving",
          "Stopped"
        ],
        "x-displayName": [
          "Parked",
          "Moving",
          "Stopped"
        ]
      },
      "GatewayNestedApi": {
        "type": "object",
        "properties": {
          "features": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeatureNestedApi"
            },
            "description": "List of the features.",
            "nullable": true
          },
          "accessories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryNestedApi"
            },
            "description": "List of the accessories.",
            "nullable": true
          },
          "counters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CounterNestedApi"
            },
            "description": "List of the counters.",
            "nullable": true
          },
          "lastConfigurationFile": {
            "$ref": "#/components/schemas/GatewayConfigurationFileNestedApi"
          },
          "name": {
            "type": "string",
            "description": "Name.",
            "nullable": true
          },
          "imei": {
            "type": "string",
            "description": "IMEI.",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model of the gateway.",
            "nullable": true
          },
          "modelFileUrl": {
            "type": "string",
            "description": "URL of the gateway configuration file.",
            "nullable": true
          },
          "manufacturer": {
            "$ref": "#/components/schemas/ManufacturerTypeEnum"
          },
          "supplier": {
            "type": "string",
            "description": "Supplier.",
            "nullable": true
          },
          "isOnline": {
            "type": "boolean",
            "description": "True if the gateway has communicated in the last 24 hours."
          },
          "isCan": {
            "type": "boolean",
            "description": "True if the gateway has CAN technology integrated."
          },
          "createdAt": {
            "type": "string",
            "description": "Date of the creation of the gateway.",
            "format": "date-time"
          },
          "provider": {
            "$ref": "#/components/schemas/ProviderGatewayNestedApi"
          },
          "sim": {
            "$ref": "#/components/schemas/SimNestedApi"
          },
          "state": {
            "$ref": "#/components/schemas/StateNestedApi"
          },
          "providerSensors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderSensorNestedApi"
            },
            "description": "Provider sensors.",
            "nullable": true
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Extra properties.",
            "nullable": true
          },
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OperationNestedApi"
            },
            "description": "List of operations linked to the gateway.",
            "nullable": true
          },
          "isProviderOutOfSync": {
            "type": "boolean",
            "description": "True if the provider reports this gateway (or its provider user) as no longer associated with the customer account, false if the provider matched it on this request, null if not checked. Only set on token-authenticated requests; api-key responses omit unmatched gateways instead.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayNestedApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/GatewayNestedApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayNestedApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayNestedApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayOperationNestedApi": {
        "type": "object",
        "properties": {
          "installedAt": {
            "type": "string",
            "description": "Date of the operation.",
            "format": "date-time",
            "nullable": true
          },
          "gateway": {
            "$ref": "#/components/schemas/GatewayNestedApi"
          },
          "gatewayToMaintain": {
            "$ref": "#/components/schemas/GatewayNestedApi"
          },
          "maintenanceComment": {
            "$ref": "#/components/schemas/CommentUserNestedApi"
          },
          "verification": {
            "$ref": "#/components/schemas/VerificationNestedApi"
          },
          "configuration": {
            "$ref": "#/components/schemas/ConfigurationVerificationNestedApi"
          },
          "report": {
            "$ref": "#/components/schemas/ReportCommentUserNestedApi"
          }
        },
        "additionalProperties": false
      },
      "GatewayPriceCountryDataSettingApi": {
        "required": [
          "model"
        ],
        "type": "object",
        "properties": {
          "model": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway model. Must be defined in the parameters (api/v1/resource/searchgateway)."
          },
          "rentalPrice": {
            "type": "number",
            "description": "Gateway rental price.",
            "format": "double"
          },
          "featuresPrice": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeaturePriceCountryDataSettingApi"
            },
            "description": "Set the list of features with their prices.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayPriceNested": {
        "type": "object",
        "properties": {
          "model": {
            "type": "string",
            "description": "Gateway model (should be defined in the list of GatewayDataSetting).",
            "nullable": true
          },
          "rentalPrice": {
            "type": "number",
            "description": "Price for rental.",
            "format": "double"
          },
          "featuresPrice": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeaturePriceNested"
            },
            "description": "List of features with their prices.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayProviderCodeNested": {
        "type": "object",
        "properties": {
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "code": {
            "type": "string",
            "description": "Gateway provider code.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayProviderCodeNestedApi": {
        "required": [
          "code",
          "providerType"
        ],
        "type": "object",
        "properties": {
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "code": {
            "minLength": 1,
            "type": "string",
            "description": "Set gateway provider code."
          }
        },
        "additionalProperties": false
      },
      "GatewayResourceApi": {
        "required": [
          "isCan"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Gateway Id.",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model of the gateway (eg: FMB130, FMB140, etc.).",
            "nullable": true
          },
          "manufacturer": {
            "$ref": "#/components/schemas/ManufacturerTypeEnum"
          },
          "supplier": {
            "type": "string",
            "description": "Supplier.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the gateway.",
            "nullable": true
          },
          "isCan": {
            "type": "boolean",
            "description": "True if the Gateway Model is CAN."
          },
          "features": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayFeatureNested"
            },
            "description": "List of available features.",
            "nullable": true
          },
          "accessories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayAccessoryNested"
            },
            "description": "List of available accessories.",
            "nullable": true
          },
          "codes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayProviderCodeNested"
            },
            "description": "List of provider codes.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayResourceApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/GatewayResourceApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayResourceApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayResourceApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayTrackPointProvider": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "Address.",
            "nullable": true
          },
          "mileage": {
            "type": "number",
            "description": "Mileage.",
            "format": "double"
          },
          "heading": {
            "type": "number",
            "description": "Heading.",
            "format": "double"
          },
          "speed": {
            "type": "number",
            "description": "Speed.",
            "format": "double"
          },
          "getAt": {
            "type": "string",
            "description": "Time of the point.",
            "format": "date-time",
            "nullable": true
          },
          "altitude": {
            "type": "number",
            "description": "Altitude.",
            "format": "double"
          },
          "latitude": {
            "type": "number",
            "description": "Latitude.",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "description": "Longitude.",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "GatewayTrackPointProviderResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayTrackPointProvider"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayTrackProvider": {
        "type": "object",
        "properties": {
          "trackId": {
            "type": "string",
            "description": "Id of the track.",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "description": "Start time of the track.",
            "format": "date-time",
            "nullable": true
          },
          "endAt": {
            "type": "string",
            "description": "End time of the track.",
            "format": "date-time",
            "nullable": true
          },
          "avgSpeed": {
            "type": "number",
            "description": "Average speed.",
            "format": "double"
          },
          "length": {
            "type": "number",
            "description": "Length of the track.",
            "format": "double"
          },
          "maxSpeed": {
            "type": "number",
            "description": "Max speed.",
            "format": "double"
          },
          "eventCount": {
            "type": "integer",
            "description": "Number of events.",
            "format": "int64",
            "nullable": true
          },
          "startAddress": {
            "type": "string",
            "description": "Start address of the track.",
            "nullable": true
          },
          "endAddress": {
            "type": "string",
            "description": "End address of the track.",
            "nullable": true
          },
          "pointsCount": {
            "type": "integer",
            "description": "Number of points.",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GatewayTrackProviderResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayTrackProvider"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GatewayVerificationStorageBase": {
        "type": "object",
        "properties": {
          "stateUpdatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ignitionState": {
            "type": "boolean",
            "nullable": true
          },
          "analogInput1": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "analogInput2": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "canTotalFuelUsed": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "canFuelLevelLitre": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "canFuelLevelPercent": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "canRelativeFuelConsumption": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "canSpeed": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "canMileage": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "canRelativeMileage": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "canRpm": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "canCoolantTemperature": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          },
          "canEngineHours": {
            "$ref": "#/components/schemas/SensorValueDateNested"
          }
        },
        "additionalProperties": false
      },
      "GatewayVersionNested": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string",
            "description": "File version.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "File description.",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "If true, the gateway file will be available and selectable on operations process."
          },
          "size": {
            "type": "string",
            "description": "File size.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "File creation date.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "GeoCoordinateNested": {
        "type": "object",
        "properties": {
          "signalLevel": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "speed": {
            "type": "number",
            "format": "double"
          },
          "altitude": {
            "type": "number",
            "format": "double"
          },
          "heading": {
            "type": "number",
            "format": "double"
          },
          "precision": {
            "type": "integer",
            "format": "int64"
          },
          "location": {
            "$ref": "#/components/schemas/LocationNested"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GeoCoordinateNestedApi": {
        "type": "object",
        "properties": {
          "signalLevel": {
            "type": "integer",
            "description": "GPS signal level.",
            "format": "int64"
          },
          "speed": {
            "type": "number",
            "description": "Current speed of the device in m/s.",
            "format": "double"
          },
          "altitude": {
            "type": "number",
            "description": "Current altitude of the device in meters.",
            "format": "double"
          },
          "heading": {
            "type": "number",
            "description": "Current heading of the device in degrees.",
            "format": "double"
          },
          "precision": {
            "type": "integer",
            "description": "Location accuracy in meters.",
            "format": "int64"
          },
          "location": {
            "$ref": "#/components/schemas/LocationNestedApi"
          },
          "updatedAt": {
            "type": "string",
            "description": "The date and time when the geolocation information was last updated.",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GeofenceNested": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/LocationGeofenceTypeEnum"
          },
          "bounds": {
            "$ref": "#/components/schemas/BoundsNested"
          },
          "radius": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "center": {
            "$ref": "#/components/schemas/LocationNested"
          },
          "isEnabled": {
            "type": "boolean"
          },
          "points": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LocationPointNested"
            },
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GeofenceNestedResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/GeofenceNested"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GeofenceNestedResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GeofenceNested"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAllAssetLocationProviderApi": {
        "required": [
          "assetIds",
          "customerReference"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of assets Ids."
          }
        },
        "additionalProperties": false
      },
      "GetAllAssetTrackPointProviderApi": {
        "required": [
          "assetId",
          "customerReference",
          "endAt",
          "startAt",
          "trackId"
        ],
        "type": "object",
        "properties": {
          "trackId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the track."
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the asset."
          },
          "startAt": {
            "type": "string",
            "description": "Start date of the period.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date of the period.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "GetAllAssetTrackProviderApi": {
        "required": [
          "assetId",
          "customerReference",
          "endAt",
          "startAt"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the asset."
          },
          "startAt": {
            "type": "string",
            "description": "Start date of the period.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date of the period.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "GetAllSubuserBoundGatewayProviderApi": {
        "required": [
          "customerReference",
          "subuserId"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "subuserId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the subuser."
          }
        },
        "additionalProperties": false
      },
      "GetGatewaysStateByCustomerProviderApi": {
        "required": [
          "customerReference",
          "gatewayIds",
          "providerType"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "gatewayIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of gateway Ids."
          },
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          }
        },
        "additionalProperties": false
      },
      "GetReportProviderApi": {
        "required": [
          "customerReference",
          "reportId"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "reportId": {
            "minLength": 1,
            "type": "string",
            "description": "Report Id from provider."
          }
        },
        "additionalProperties": false
      },
      "Group": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImmobilizationCommandMetadata": {
        "type": "object",
        "properties": {
          "iButtonDisabled": {
            "type": "boolean",
            "description": "Indicates whether iButton was successfully disabled.",
            "nullable": true
          },
          "iButtonReenabled": {
            "type": "boolean",
            "description": "Indicates whether iButton was successfully re-enabled.",
            "nullable": true
          },
          "commandStatus": {
            "$ref": "#/components/schemas/CommandExecutionStatusEnum"
          },
          "failureReason": {
            "$ref": "#/components/schemas/ImmobilizationFailureReasonEnum"
          },
          "errorMessage": {
            "type": "string",
            "description": "Detailed error message if the command failed.",
            "nullable": true
          },
          "errorCategory": {
            "$ref": "#/components/schemas/ImmobilizationErrorCategoryEnum"
          }
        },
        "additionalProperties": false,
        "description": "Implementation of immobilization command execution metadata."
      },
      "ImmobilizationErrorCategoryEnum": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "TimedOutRetry = 1 | TemporaryIssueRetryLater = 2 | IssueContactUs = 3",
        "format": "int32",
        "x-enumNames": [
          "TimedOutRetry",
          "TemporaryIssueRetryLater",
          "IssueContactUs"
        ],
        "x-enumDescriptions": [
          "TimedOutRetry",
          "TemporaryIssueRetryLater",
          "IssueContactUs"
        ],
        "x-displayName": [
          "TimedOutRetry",
          "TemporaryIssueRetryLater",
          "IssueContactUs"
        ]
      },
      "ImmobilizationFailureReasonEnum": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20
        ],
        "type": "integer",
        "description": "IButtonDisableFailed = 1 | IButtonReenableFailed = 2 | ImmobilizerFailed = 3 | ProviderSettingsFailed = 4 | ConsoleApiKeyFailed = 5 | SmsWakeupNotSupported = 6 | SmsWakeupSendFailed = 7 | SmsWakeupNoResponse = 8 | DeviceConnectivityTimeout = 9 | ImmobilizationCommandTimeout = 10 | IButtonCommandTimeout = 11 | DeviceCommandTimeout = 12 | ProviderNotSupported = 13 | NoImmobilizerAccessory = 14 | ImmobilizerAccessoryNotFound = 15 | DeviceRejectedCommand = 16 | CommandNotSupported = 17 | AccessDenied = 18 | NoImmobilizationConfirmation = 19 | SystemException = 20",
        "format": "int32",
        "x-enumNames": [
          "IButtonDisableFailed",
          "IButtonReenableFailed",
          "ImmobilizerFailed",
          "ProviderSettingsFailed",
          "ConsoleApiKeyFailed",
          "SmsWakeupNotSupported",
          "SmsWakeupSendFailed",
          "SmsWakeupNoResponse",
          "DeviceConnectivityTimeout",
          "ImmobilizationCommandTimeout",
          "IButtonCommandTimeout",
          "DeviceCommandTimeout",
          "ProviderNotSupported",
          "NoImmobilizerAccessory",
          "ImmobilizerAccessoryNotFound",
          "DeviceRejectedCommand",
          "CommandNotSupported",
          "AccessDenied",
          "NoImmobilizationConfirmation",
          "SystemException"
        ],
        "x-enumDescriptions": [
          "IButtonDisableFailed",
          "IButtonReenableFailed",
          "ImmobilizerFailed",
          "ProviderSettingsFailed",
          "ConsoleApiKeyFailed",
          "SmsWakeupNotSupported",
          "SmsWakeupSendFailed",
          "SmsWakeupNoResponse",
          "DeviceConnectivityTimeout",
          "ImmobilizationCommandTimeout",
          "IButtonCommandTimeout",
          "DeviceCommandTimeout",
          "ProviderNotSupported",
          "NoImmobilizerAccessory",
          "ImmobilizerAccessoryNotFound",
          "DeviceRejectedCommand",
          "CommandNotSupported",
          "AccessDenied",
          "NoImmobilizationConfirmation",
          "SystemException"
        ],
        "x-displayName": [
          "IButtonDisableFailed",
          "IButtonReenableFailed",
          "ImmobilizerFailed",
          "ProviderSettingsFailed",
          "ConsoleApiKeyFailed",
          "SmsWakeupNotSupported",
          "SmsWakeupSendFailed",
          "SmsWakeupNoResponse",
          "DeviceConnectivityTimeout",
          "ImmobilizationCommandTimeout",
          "IButtonCommandTimeout",
          "DeviceCommandTimeout",
          "ProviderNotSupported",
          "NoImmobilizerAccessory",
          "ImmobilizerAccessoryNotFound",
          "DeviceRejectedCommand",
          "CommandNotSupported",
          "AccessDenied",
          "NoImmobilizationConfirmation",
          "SystemException"
        ]
      },
      "ImmobilizationStatusEnum": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "Mobilized = 0 | Immobilized = 1",
        "format": "int32",
        "x-enumNames": [
          "Mobilized",
          "Immobilized"
        ],
        "x-enumDescriptions": [
          "Mobilized",
          "Immobilized"
        ],
        "x-displayName": [
          "Mobilized",
          "Immobilized"
        ]
      },
      "ImportAssetApi": {
        "required": [
          "customerReference"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "fileBytes": {
            "type": "string",
            "description": "File bytes. Either FileBytes or FileBase64 must be defined.",
            "format": "byte",
            "nullable": true
          },
          "fileBase64": {
            "type": "string",
            "description": "File base64. Either FileBytes or FileBase64 must be defined.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportOemVehicleItem": {
        "required": [
          "action",
          "name",
          "oemExternalId"
        ],
        "type": "object",
        "properties": {
          "oemExternalId": {
            "minLength": 1,
            "type": "string",
            "description": "Unique identifier of the vehicle in the OEM system; used as the idempotency key and stored on Provider.OemExternalId."
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Vehicle name; used as the asset name and the attached gateway name."
          },
          "serialNumber": {
            "type": "string",
            "description": "Optional serial number. Stored as-is (no VIN length validation for OEM vehicles).",
            "nullable": true
          },
          "vin": {
            "type": "string",
            "description": "Optional vehicle VIN. Stored on the created asset's Properties.Vin when provided, and mirrored\r\nto the asset SerialNumber when no explicit serial number is supplied.",
            "nullable": true
          },
          "licensePlate": {
            "type": "string",
            "description": "Optional licence plate. Stored on the created asset's Properties.LicensePlate when provided.\r\nExternal OEM imports leave this null (AEMP fleets do not carry a plate); Fleeti OEM imports\r\nalways supply it, because the aggregator requires it alongside the VIN.",
            "nullable": true
          },
          "vehicleType": {
            "$ref": "#/components/schemas/VehicleTypeEnum"
          },
          "aggregatorSource": {
            "$ref": "#/components/schemas/OemAggregatorSourceEnum"
          },
          "make": {
            "type": "string",
            "description": "Optional vehicle make; registered as a known make and stored on the asset.",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Optional vehicle model; registered under the make and stored on the asset.",
            "nullable": true
          },
          "fuelTankCapacity": {
            "type": "number",
            "description": "Optional fuel tank capacity. Stored on the created asset's Properties.TankCapacity when provided.",
            "format": "double",
            "nullable": true
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "action": {
            "$ref": "#/components/schemas/OemImportActionEnum"
          },
          "existingAssetId": {
            "type": "string",
            "description": "Target asset for LinkToExisting; ignored for CreateNew.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportOemVehicleResultApi": {
        "type": "object",
        "properties": {
          "oemExternalId": {
            "type": "string",
            "description": "OEM external id of the processed vehicle (echoed from the request).",
            "nullable": true
          },
          "assetId": {
            "type": "string",
            "description": "Fleeti asset id the vehicle was created as or merged into; null on failure.",
            "nullable": true
          },
          "action": {
            "$ref": "#/components/schemas/OemImportResultActionEnum"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True when the vehicle was imported successfully."
          },
          "errorCode": {
            "type": "string",
            "description": "Error code when the vehicle failed; null on success.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Error message when the vehicle failed; null on success.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportOemVehicleResultApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportOemVehicleResultApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportOemVehiclesRequest": {
        "required": [
          "customerReference",
          "service",
          "vehicles"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the customer the vehicles are imported for."
          },
          "connectionId": {
            "type": "string",
            "description": "External OEM only: connection ID, written to each created/merged gateway's\r\nProvider.OemConnectionId. Required for External OEM; ignored for Fleeti OEM, whose gateways\r\nbelong to no connection.",
            "nullable": true
          },
          "service": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "connectionName": {
            "type": "string",
            "description": "External OEM only: connection name, written to each gateway's Provider.OemConnectionName.\r\nRequired for External OEM; ignored for Fleeti OEM.",
            "nullable": true
          },
          "vehicles": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportOemVehicleItem"
            },
            "description": "Vehicles to import; each is created or merged independently."
          }
        },
        "additionalProperties": false,
        "description": "Batch create-or-merge of vehicles imported from an External OEM connection."
      },
      "ImportResponse": {
        "type": "object",
        "properties": {
          "importCounted": {
            "type": "integer",
            "description": "Number of imported items.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InputPeriodScenarioReportApi": {
        "type": "object",
        "properties": {
          "startAt": {
            "type": "string",
            "description": "Start of the period.",
            "format": "date-time",
            "nullable": true
          },
          "endAt": {
            "type": "string",
            "description": "End of the period.",
            "format": "date-time",
            "nullable": true
          },
          "recurrenceDays": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayOfWeek"
            },
            "description": "Recurrence day (only used when PeriodType is Weekly).",
            "nullable": true
          },
          "periodType": {
            "$ref": "#/components/schemas/ScenarioRecurrenceTypeEnum"
          },
          "periodLength": {
            "type": "integer",
            "description": "Period length.",
            "format": "int32"
          },
          "periodSkip": {
            "type": "integer",
            "description": "Period skip.",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InputProvider": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          },
          "units": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "unitsType": {
            "type": "string",
            "nullable": true
          },
          "convertedUnitsType": {
            "type": "string",
            "nullable": true
          },
          "convertedValue": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "minValue": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "maxValue": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InputReportResponse": {
        "type": "object",
        "properties": {
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "startAt": {
            "type": "string",
            "description": "Start date.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date.",
            "format": "date-time"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValueNested"
            },
            "description": "List of parameters.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InputScenarioReportApi": {
        "type": "object",
        "properties": {
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of asset ids.",
            "nullable": true
          },
          "groupIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of group ids.",
            "nullable": true
          },
          "vehicleTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VehicleTypeEnum"
            },
            "description": "List of vehicles types.",
            "nullable": true
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValueNestedApi"
            },
            "description": "List of input parameters (depend of the report type).",
            "nullable": true
          },
          "periods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InputPeriodScenarioReportApi"
            },
            "description": "List of periods.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsuranceNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Insurance id.",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Company name.",
            "nullable": true
          },
          "policyNumber": {
            "type": "string",
            "description": "Contract number.",
            "nullable": true
          },
          "policyName": {
            "type": "string",
            "description": "Policy name.",
            "nullable": true
          },
          "registeredAt": {
            "type": "string",
            "description": "Registration date.",
            "format": "date-time"
          },
          "expiredAt": {
            "type": "string",
            "description": "Expiration date.",
            "format": "date-time",
            "nullable": true
          },
          "totalAmount": {
            "type": "number",
            "description": "Maximum amount for the insurance.",
            "format": "double"
          },
          "isActive": {
            "type": "boolean",
            "description": "Is insurance contract active."
          }
        },
        "additionalProperties": false
      },
      "InviteFleetiOneUserApi": {
        "required": [
          "customerReference",
          "email",
          "role"
        ],
        "type": "object",
        "properties": {
          "email": {
            "minLength": 1,
            "type": "string",
            "format": "email"
          },
          "role": {
            "$ref": "#/components/schemas/UserCustomerRoleEnum"
          },
          "customerReference": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          },
          "sendInvitationEmail": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InviteFleetiOneUserResultApi": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "Id of the Fleeti One user that now has access to the organization — newly created when the\r\nemail was unknown, or the pre-existing account when the email already had one. Callers use it\r\nto link the account to their own records without a follow-up lookup by email.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InviteFleetiOneUserResultApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/InviteFleetiOneUserResultApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JobStatusEnum": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "Running = 0 | Completed = 1 | Failed = 2",
        "format": "int32",
        "x-enumNames": [
          "running",
          "completed",
          "failed"
        ],
        "x-enumDescriptions": [
          "running",
          "completed",
          "failed"
        ],
        "x-displayName": [
          "running",
          "completed",
          "failed"
        ]
      },
      "KeyValueDateNested": {
        "type": "object",
        "properties": {
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeyValueNested": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeyValueNestedApi": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Key.",
            "nullable": true
          },
          "value": {
            "type": "string",
            "description": "Value.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LocalizedStringNestedApi": {
        "required": [
          "en",
          "fr"
        ],
        "type": "object",
        "properties": {
          "en": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "English translation"
          },
          "fr": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "French translation"
          }
        },
        "additionalProperties": false,
        "description": "Represents a localized string with translations in multiple languages"
      },
      "LocationAddressNested": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "nullable": true
          },
          "radius": {
            "type": "integer",
            "format": "int64"
          },
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "LocationGeofenceTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "Unknown = 0 | Circle = 1 | Polygon = 2 | Sausage = 3",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "Circle",
          "Polygon",
          "Sausage"
        ],
        "x-enumDescriptions": [
          "Unknown",
          "Circle",
          "Polygon",
          "Sausage"
        ],
        "x-displayName": [
          "Unknown",
          "Circle",
          "Polygon",
          "Sausage"
        ]
      },
      "LocationNested": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "LocationNestedApi": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "description": "Latitude of the geographical position.",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "description": "Longitude of the geographical position.",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "LocationPointNested": {
        "type": "object",
        "properties": {
          "node": {
            "type": "boolean"
          },
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "LocationPointProvider": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the location point.",
            "nullable": true
          },
          "label": {
            "type": "string",
            "description": "Display name of the location point.",
            "nullable": true
          },
          "assetId": {
            "type": "string",
            "description": "Id of the asset.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LocationPointProviderResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LocationPointProvider"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LocationProviderReport": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          },
          "address": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LocationResponse": {
        "type": "object",
        "properties": {
          "lat": {
            "type": "number",
            "format": "double"
          },
          "lng": {
            "type": "number",
            "format": "double"
          },
          "precision": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "LocationTypeEnum": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "GeoFence = 1 | Poi = 2",
        "format": "int32",
        "x-enumNames": [
          "Geofence",
          "Poi"
        ],
        "x-enumDescriptions": [
          "Geofence",
          "Poi"
        ],
        "x-displayName": [
          "Geofence",
          "Poi"
        ]
      },
      "LoginAuthApi": {
        "required": [
          "email",
          "password",
          "timeZone"
        ],
        "type": "object",
        "properties": {
          "email": {
            "minLength": 1,
            "type": "string",
            "description": "User email.",
            "format": "email"
          },
          "password": {
            "minLength": 1,
            "type": "string",
            "description": "User password."
          },
          "timeZone": {
            "minLength": 1,
            "type": "string",
            "description": "Use a timezone (shorturl.at/uFJSZ)."
          }
        },
        "additionalProperties": false
      },
      "ManufacturerTypeEnum": {
        "enum": [
          0,
          10,
          20,
          30,
          50,
          60,
          70,
          80,
          100,
          110,
          120,
          130
        ],
        "type": "integer",
        "description": "Teltonika = 10 | Queclink = 20 | GalileoSky = 30 | Howen = 50 | Ruptela = 60 | Careu = 70 | JimiLab = 80 | Smartphone = 100",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Teltonika",
          "Queclink",
          "GalileoSky",
          "Howen",
          "Ruptela",
          "Careu",
          "JimiLab",
          "Smartphone",
          "Accurate",
          "AssistantTelematics",
          "WanWay"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "Teltonika",
          "Queclink",
          "GalileoSky",
          "Howen",
          "Ruptela",
          "Careu",
          "JimiLab",
          "Smartphone",
          "Accurate",
          "AssistantTelematics",
          "WanWay"
        ],
        "x-displayName": [
          "Undefined",
          "Teltonika",
          "Queclink",
          "GalileoSky",
          "Howen",
          "Ruptela",
          "Careu",
          "JimiLab",
          "Smartphone",
          "Accurate",
          "AssistantTelematics",
          "WanWay"
        ]
      },
      "ModelErrors": {
        "type": "object",
        "properties": {
          "property": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncCustomerRecordApi": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "string",
            "nullable": true
          },
          "assetName": {
            "type": "string",
            "nullable": true
          },
          "gatewayId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/RecordStatusEnum"
          },
          "thresholdMs": {
            "type": "integer",
            "format": "int32"
          },
          "dbValue": {
            "type": "string",
            "format": "date-time"
          },
          "trackingPlatformApiValue": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "taskId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncCustomerRecordsResponseApi": {
        "type": "object",
        "properties": {
          "customerReference": {
            "type": "string",
            "nullable": true
          },
          "jobId": {
            "type": "string",
            "nullable": true
          },
          "customerStatistics": {
            "$ref": "#/components/schemas/MonitoringSyncCustomerStatisticsApi"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MonitoringSyncCustomerRecordApi"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncCustomerRecordsResponseApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/MonitoringSyncCustomerRecordsResponseApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncCustomerStatisticsApi": {
        "type": "object",
        "properties": {
          "customerReference": {
            "type": "string",
            "nullable": true
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "score": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "matches": {
            "type": "integer",
            "format": "int32"
          },
          "mismatches": {
            "type": "integer",
            "format": "int32"
          },
          "errors": {
            "type": "integer",
            "format": "int32"
          },
          "gatewaysProcessed": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncJobDetailsResponseApi": {
        "type": "object",
        "properties": {
          "job": {
            "$ref": "#/components/schemas/MonitoringSyncJobSummaryApi"
          },
          "customerStatistics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MonitoringSyncCustomerStatisticsApi"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncJobDetailsResponseApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/MonitoringSyncJobDetailsResponseApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncJobSummaryApi": {
        "type": "object",
        "properties": {
          "taskId": {
            "type": "string",
            "nullable": true
          },
          "customerMode": {
            "$ref": "#/components/schemas/CustomerModeEnum"
          },
          "scheduleMode": {
            "$ref": "#/components/schemas/ScheduleModeEnum"
          },
          "status": {
            "$ref": "#/components/schemas/JobStatusEnum"
          },
          "thresholdMs": {
            "type": "integer",
            "format": "int32"
          },
          "startTime": {
            "type": "string",
            "format": "date-time"
          },
          "endTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "customersCount": {
            "type": "integer",
            "format": "int32"
          },
          "score": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncJobSummaryApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MonitoringSyncJobSummaryApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncTaskStatusApi": {
        "type": "object",
        "properties": {
          "taskArn": {
            "type": "string",
            "nullable": true
          },
          "taskStatus": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "startedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "stoppedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "stoppedReason": {
            "type": "string",
            "nullable": true
          },
          "customersReference": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "thresholdMs": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MonitoringSyncTaskStatusApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/MonitoringSyncTaskStatusApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MoveAssetApi": {
        "required": [
          "assetIds",
          "fromCustomerReference",
          "toCustomerReference"
        ],
        "type": "object",
        "properties": {
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of Asset IDs to move.\r\nLeave empty to move all assets.\r\nIf Empty and FromGroupId set, all assets of the group will be moved"
          },
          "fromGroupId": {
            "type": "string",
            "description": "Group ID of the origin assets.\r\nIf AssetIds is empty and FromGroupId set, all assets of the group will be moved",
            "nullable": true
          },
          "fromCustomerReference": {
            "minLength": 1,
            "type": "string",
            "description": "From Customer reference."
          },
          "toCustomerReference": {
            "minLength": 1,
            "type": "string",
            "description": "To Customer reference."
          },
          "groupId": {
            "type": "string",
            "description": "Destination Group ID to set on the asset.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NetworkNested": {
        "type": "object",
        "properties": {
          "signalLevel": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "networkName": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isRoaming": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NetworkNestedApi": {
        "type": "object",
        "properties": {
          "signalLevel": {
            "type": "integer",
            "description": "Network signal level.",
            "format": "int64"
          },
          "networkName": {
            "type": "string",
            "description": "Name of the network the device is connected to.",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "description": "The date and time when the network information was last updated.",
            "format": "date-time",
            "nullable": true
          },
          "isRoaming": {
            "type": "boolean",
            "description": "Indicates whether the device is roaming.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotificationTokenAuthApi": {
        "type": "object",
        "properties": {
          "tokenValue": {
            "type": "string",
            "description": "Token to use for notification.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OemAggregatorSourceEnum": {
        "enum": [
          70
        ],
        "type": "integer",
        "description": "OEM aggregator a Fleeti OEM vehicle's data is sourced through.\r\nFleeti owns the aggregator relationship, so the value is resolved by eligibility priority and is\r\nnever chosen by the customer. Numeric values mirror Fleeti.Model.Enums.ProviderTypeEnum so a gateway's\r\nProvider.Type and Provider.AggregatorSource carry the same number for the same aggregator.\r\nLinkbyCar = 70",
        "format": "int32",
        "x-enumNames": [
          "LinkbyCar"
        ],
        "x-enumDescriptions": [
          "LinkbyCar"
        ],
        "x-displayName": [
          "LinkbyCar"
        ]
      },
      "OemConnectionStatusEnum": {
        "enum": [
          10,
          20
        ],
        "type": "integer",
        "description": "Dedicated OEM connection toggle owned by the Fleeti user (connect/disconnect).\r\nDistinct from the telemetry-derived Fleeti.Model.Enums.GatewayConnectionStatusEnum stored on State.ConnectionStatus.\r\nConnected = 10 | Disconnected = 20",
        "format": "int32",
        "x-enumNames": [
          "Connected",
          "Disconnected"
        ],
        "x-enumDescriptions": [
          "Connected",
          "Disconnected"
        ],
        "x-displayName": [
          "Connected",
          "Disconnected"
        ]
      },
      "OemImportActionEnum": {
        "enum": [
          10,
          20
        ],
        "type": "integer",
        "description": "Per-vehicle action requested when importing OEM vehicles.\r\nCreateNew = 10 | LinkToExisting = 20",
        "format": "int32",
        "x-enumNames": [
          "CreateNew",
          "LinkToExisting"
        ],
        "x-enumDescriptions": [
          "CreateNew",
          "LinkToExisting"
        ],
        "x-displayName": [
          "CreateNew",
          "LinkToExisting"
        ]
      },
      "OemImportResultActionEnum": {
        "enum": [
          10,
          20,
          30
        ],
        "type": "integer",
        "description": "Per-vehicle outcome of an OEM vehicle import.\r\nCreated = 10 | Merged = 20 | Failed = 30",
        "format": "int32",
        "x-enumNames": [
          "Created",
          "Merged",
          "Failed"
        ],
        "x-enumDescriptions": [
          "Created",
          "Merged",
          "Failed"
        ],
        "x-displayName": [
          "Created",
          "Merged",
          "Failed"
        ]
      },
      "Operation": {
        "type": "object",
        "properties": {
          "value": {
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "op": {
            "type": "string",
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OperationApi": {
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "description": "The date of creation of the operation.",
            "format": "date-time"
          },
          "reference": {
            "type": "string",
            "description": "Reference of the operation.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry).",
            "nullable": true
          },
          "providerCountryCode": {
            "type": "string",
            "description": "Provider Country code. Must be defined in the parameters (api/v1/resource/searchprovider).",
            "nullable": true
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "operationType": {
            "$ref": "#/components/schemas/OperationTypeEnum"
          },
          "status": {
            "$ref": "#/components/schemas/OperationStatusEnum"
          },
          "isMissingReport": {
            "type": "boolean",
            "description": "True if no report created after 2 days of the end of the visit date.",
            "readOnly": true
          },
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayOperationNestedApi"
            },
            "description": "The list of operations to be realised at the customer's premises.",
            "nullable": true
          },
          "validation": {
            "$ref": "#/components/schemas/ValidationOperationNestedApi"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "The list of properties depends of the asset (eg: Odometer, EngineHours, Mileage, etc).",
            "nullable": true
          },
          "visit": {
            "$ref": "#/components/schemas/VisitOperationNestedApi"
          },
          "deleted": {
            "$ref": "#/components/schemas/CommentUserNestedApi"
          },
          "asset": {
            "$ref": "#/components/schemas/AssetNestedApi"
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerNestedApi"
          }
        },
        "additionalProperties": false
      },
      "OperationApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/OperationApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OperationApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OperationApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OperationConfigurationStatusEnum": {
        "enum": [
          10,
          20,
          30,
          50,
          55,
          60
        ],
        "type": "integer",
        "description": "Pending = 10 | SimCardConfigured = 20 | GatewayConfigured = 30 | GatewayFileConfigured = 40 | AccessoriesConfigured = 50 | Verified = 55 | Done = 60",
        "format": "int32",
        "x-enumNames": [
          "Pending",
          "SimCardConfigured",
          "GatewayConfigured",
          "AccessoriesConfigured",
          "Verified",
          "Done"
        ],
        "x-enumDescriptions": [
          "Pending",
          "SimCardConfigured",
          "GatewayConfigured",
          "AccessoriesConfigured",
          "Verified",
          "Done"
        ],
        "x-displayName": [
          "Pending",
          "SimCardConfigured",
          "GatewayConfigured",
          "AccessoriesConfigured",
          "Verified",
          "Done"
        ]
      },
      "OperationNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Operation id.",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "description": "Operation reference.",
            "nullable": true
          },
          "operationType": {
            "$ref": "#/components/schemas/OperationTypeEnum"
          },
          "status": {
            "$ref": "#/components/schemas/OperationStatusEnum"
          },
          "gatewayOperationsCounted": {
            "type": "integer",
            "description": "Number of gateway operations.",
            "format": "int64"
          },
          "installedAt": {
            "type": "string",
            "description": "The first gateway operation installed date.",
            "format": "date-time",
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "description": "True if the operation is deleted."
          }
        },
        "additionalProperties": false
      },
      "OperationResultStorage": {
        "type": "object",
        "properties": {
          "gatewayImei": {
            "type": "string",
            "nullable": true
          },
          "result": {
            "$ref": "#/components/schemas/VerificationNested"
          },
          "verificationResult": {
            "$ref": "#/components/schemas/VerificationOperationStorage"
          },
          "report": {
            "$ref": "#/components/schemas/ReportCommentUserNested"
          }
        },
        "additionalProperties": false
      },
      "OperationResultStorageResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/OperationResultStorage"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OperationStatusEnum": {
        "enum": [
          10,
          20,
          30,
          50,
          60,
          70,
          80
        ],
        "type": "integer",
        "description": "Pending = 10 | Configuration = 20 | Configured = 30 | Ongoing = 50 | Verified = 60 | Done = 70 | Terminated = 80",
        "format": "int32",
        "x-enumNames": [
          "Pending",
          "Configuration",
          "Configured",
          "Ongoing",
          "Verified",
          "Done",
          "Closed"
        ],
        "x-enumDescriptions": [
          "Pending",
          "Configuration",
          "Configured",
          "Ongoing",
          "Verified",
          "Done",
          "Closed"
        ],
        "x-displayName": [
          "Pending",
          "Configuration",
          "Configured",
          "Ongoing",
          "Verified",
          "Done",
          "Closed"
        ]
      },
      "OperationTypeEnum": {
        "enum": [
          10,
          20,
          30
        ],
        "type": "integer",
        "description": "Installation = 10 | GatewayReplacement = 20",
        "format": "int32",
        "x-enumNames": [
          "Installation",
          "GatewayReplacement",
          "GatewayUninstallation"
        ],
        "x-enumDescriptions": [
          "Installation",
          "GatewayReplacement",
          "GatewayUninstallation"
        ],
        "x-displayName": [
          "Installation",
          "GatewayReplacement",
          "GatewayUninstallation"
        ]
      },
      "OperatorTypeEnum": {
        "enum": [
          0,
          10,
          20,
          30,
          40,
          50
        ],
        "type": "integer",
        "description": "Undefined = 0 | Bics = 10 | Locale = 20 | Caburn = 30 | Matooma = 40 | Kore = 50",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "International",
          "Locale",
          "Caburn",
          "Matooma",
          "Kore"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "International",
          "Locale",
          "Caburn",
          "Matooma",
          "Kore"
        ],
        "x-displayName": [
          "Undefined",
          "International",
          "Locale",
          "Caburn",
          "Matooma",
          "Kore"
        ]
      },
      "PasswordProviderDataSettingApi": {
        "type": "object",
        "properties": {
          "adminPassword": {
            "type": "string",
            "description": "Password of the admin user.",
            "nullable": true
          },
          "loginPassword": {
            "type": "string",
            "description": "Password of the login user.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhoneAssetProperties": {
        "type": "object",
        "properties": {
          "imei": {
            "type": "string",
            "nullable": true
          },
          "platform": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProviderGatewayNestedApi": {
        "type": "object",
        "properties": {
          "gatewayId": {
            "type": "string",
            "description": "Gateway Id.",
            "nullable": true
          },
          "sourceId": {
            "type": "string",
            "description": "Useful if the provider allows clone creation.\r\nIn this case, we use the SourceId to identify the main source of the gateway.",
            "nullable": true
          },
          "groupId": {
            "type": "string",
            "description": "Group Id.",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "User Id.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "modelCode": {
            "type": "string",
            "description": "Useful on FleetiTracking provider only.\r\nIt identify the model, useful for configuration.",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "plan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "oemConnectionId": {
            "type": "string",
            "description": "OEM connection ID this gateway belongs to. External OEM only — null for Fleeti OEM gateways.",
            "nullable": true
          },
          "oemConnectionName": {
            "type": "string",
            "description": "OEM connection name. External OEM only.",
            "nullable": true
          },
          "oemExternalId": {
            "type": "string",
            "description": "Identifier of the vehicle in the OEM system.",
            "nullable": true
          },
          "oemConnectionStatus": {
            "$ref": "#/components/schemas/OemConnectionStatusEnum"
          },
          "aggregatorSource": {
            "$ref": "#/components/schemas/OemAggregatorSourceEnum"
          }
        },
        "additionalProperties": false
      },
      "ProviderNestedApi": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "plan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "userId": {
            "type": "string",
            "description": "User Id (could be email).",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "Password.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProviderPlanEnum": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "Premium",
          "PremiumPlus"
        ],
        "x-enumDescriptions": [
          "Default",
          "Premium",
          "PremiumPlus"
        ],
        "x-displayName": [
          "Default",
          "Premium",
          "PremiumPlus"
        ]
      },
      "ProviderReportEnum": {
        "enum": [
          10,
          20,
          30,
          40
        ],
        "type": "integer",
        "description": "TripsAndStops = 10 | EcoDriving = 20 | Geofence = 30 | Poi = 40",
        "format": "int32",
        "x-enumNames": [
          "TripsAndStops",
          "EcoDriving",
          "Geofence",
          "Poi"
        ],
        "x-enumDescriptions": [
          "TripsAndStops",
          "EcoDriving",
          "Geofence",
          "Poi"
        ],
        "x-displayName": [
          "TripsAndStops",
          "EcoDriving",
          "Geofence",
          "Poi"
        ]
      },
      "ProviderResourceApi": {
        "type": "object",
        "properties": {
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "adminUsername": {
            "type": "string",
            "description": "Admin username.",
            "nullable": true
          },
          "loginUsername": {
            "type": "string",
            "description": "Login username.",
            "nullable": true
          },
          "warehouseUserId": {
            "type": "string",
            "description": "Warehouse user id.",
            "nullable": true
          },
          "customerWebAppUrl": {
            "type": "string",
            "description": "Customer web app url.",
            "nullable": true
          },
          "isConnected": {
            "type": "boolean",
            "description": "True if the provider healthchek is a succeed."
          }
        },
        "additionalProperties": false
      },
      "ProviderResourceApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ProviderResourceApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProviderResourceApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderResourceApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProviderSensorNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the sensor on the provider.",
            "nullable": true
          },
          "sensorType": {
            "$ref": "#/components/schemas/SensorTypeEnum"
          },
          "inputName": {
            "type": "string",
            "description": "Input name on the provider.",
            "nullable": true
          },
          "value": {
            "type": "number",
            "description": "Value of the accessory.",
            "format": "double",
            "nullable": true
          },
          "valueUpdatedAt": {
            "type": "string",
            "description": "Date of the last update for the accessory value.",
            "format": "date-time",
            "nullable": true
          },
          "units": {
            "type": "string",
            "description": "Unit of the accessory value.",
            "nullable": true
          },
          "isCan": {
            "type": "boolean",
            "description": "True: The sensor is a CAN sensor."
          }
        },
        "additionalProperties": false
      },
      "ProviderTypeEnum": {
        "enum": [
          10,
          30,
          40,
          50,
          60,
          70
        ],
        "type": "integer",
        "description": "TrackingFleeti = 10 | Hiboo = 30 | Develon = 40 | Liebherr = 50 | Manitou = 60 | LinkbyCar = 70",
        "format": "int32",
        "x-enumNames": [
          "TrackingFleeti",
          "Hiboo",
          "Develon",
          "Liebherr",
          "Manitou",
          "LinkbyCar"
        ],
        "x-enumDescriptions": [
          "TrackingFleeti",
          "Hiboo",
          "Develon",
          "Liebherr",
          "Manitou",
          "LinkbyCar"
        ],
        "x-displayName": [
          "TrackingFleeti",
          "Hiboo",
          "Develon",
          "Liebherr",
          "Manitou",
          "LinkbyCar"
        ]
      },
      "RealTimeTokenAuthApi": {
        "type": "object",
        "properties": {
          "tokenValue": {
            "type": "string",
            "description": "Token to use for real time.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RecordStatusEnum": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "Match = 0 | Mismatch = 1 | Error = 2",
        "format": "int32",
        "x-enumNames": [
          "match",
          "mismatch",
          "error"
        ],
        "x-enumDescriptions": [
          "match",
          "mismatch",
          "error"
        ],
        "x-displayName": [
          "match",
          "mismatch",
          "error"
        ]
      },
      "RegisterPhoneGatewayApi": {
        "required": [
          "model",
          "name",
          "providerCountryCode",
          "providerPlan"
        ],
        "type": "object",
        "properties": {
          "providerCountryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry)."
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "model": {
            "minLength": 1,
            "type": "string",
            "description": "The model of the gateway. Must be defined in the parameters (api/v1/resource/searchgateway)."
          },
          "name": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "The name of the gateway which is displayed on the provider interface."
          },
          "notificationEmail": {
            "type": "string",
            "description": "Notification Email.",
            "format": "email",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "description": "The phone number of the phone.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoveAccessoryAssetApi": {
        "required": [
          "accessoryId",
          "assetId",
          "gatewayId"
        ],
        "type": "object",
        "properties": {
          "accessoryId": {
            "minLength": 1,
            "type": "string",
            "description": "Accessory ID."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "RemoveAccessoryOperationApi": {
        "required": [
          "accessoryId",
          "gatewayId",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id from the Provider."
          },
          "accessoryId": {
            "minLength": 1,
            "type": "string",
            "description": "Accessory Id."
          }
        },
        "additionalProperties": false
      },
      "RemoveOemGatewayResultApi": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "string",
            "description": "Asset id the removal was applied to.",
            "nullable": true
          },
          "removedGatewayCount": {
            "type": "integer",
            "description": "Number of gateways removed from the asset; 0 when the asset had none for this connection.",
            "format": "int32"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True when the asset was processed successfully."
          },
          "errorCode": {
            "type": "string",
            "description": "Error code when the asset failed; null on success.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Error message when the asset failed; null on success.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Per-asset outcome of a remove-OEM-gateways operation."
      },
      "RemoveOemGatewayResultApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoveOemGatewayResultApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoveOemGatewaysRequest": {
        "required": [
          "customerReference"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the customer that owns the assets."
          },
          "connectionId": {
            "type": "string",
            "description": "External OEM only: connection ID, which selects the gateways to remove via\r\nProvider.OemConnectionId. Required for External OEM; leave null for Fleeti OEM, whose\r\ngateways belong to no connection and are selected by Service instead.",
            "nullable": true
          },
          "service": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "MongoDB asset IDs to clean; each is processed independently. When omitted or empty,\r\nevery asset of the customer carrying a gateway of this connection is cleaned (orphan cleanup).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Batch removal of OEM gateways, used when a connection is deleted or a vehicle is\r\ndisconnected for good. The assets themselves are kept. Serves both OEM families:\r\nExternal OEM targets gateways by ConnectionId, Fleeti OEM by Service."
      },
      "RemoveRentalAssetApi": {
        "required": [
          "assetId",
          "id"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Rental ID to remove."
          }
        },
        "additionalProperties": false
      },
      "RemoveReportAttachmentOperationApi": {
        "required": [
          "attachmentId",
          "gatewayId",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id from the Provider."
          },
          "attachmentId": {
            "minLength": 1,
            "type": "string",
            "description": "Attachment Id from the report file."
          }
        },
        "additionalProperties": false
      },
      "RentalNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rental id.",
            "nullable": true
          },
          "contractNumber": {
            "type": "string",
            "description": "Unique contract number.",
            "nullable": true
          },
          "durationMonths": {
            "type": "integer",
            "description": "Number of months of the contract.",
            "format": "int64"
          },
          "totalMileage": {
            "type": "integer",
            "description": "Total Mileage of the contract.",
            "format": "int64"
          },
          "startMileage": {
            "type": "integer",
            "description": "Number of miles from the start of the contract.",
            "format": "int64"
          },
          "totalEngineHours": {
            "type": "integer",
            "description": "Total Engine hours of the contract.",
            "format": "int64"
          },
          "startEngineHours": {
            "type": "integer",
            "description": "Number of hours from the start of the contract.",
            "format": "int64"
          },
          "startAt": {
            "type": "string",
            "description": "Start date of the contract.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date of the contract.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ReportApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the report.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Title of the report.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Creation date of the report.",
            "format": "date-time"
          },
          "author": {
            "$ref": "#/components/schemas/UserNestedApi"
          },
          "type": {
            "$ref": "#/components/schemas/ReportTypeEnum"
          },
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "state": {
            "$ref": "#/components/schemas/ReportStateEnum"
          },
          "startAt": {
            "type": "string",
            "description": "Start date for the report.",
            "format": "date-time",
            "nullable": true
          },
          "endAt": {
            "type": "string",
            "description": "End date of the report.",
            "format": "date-time",
            "nullable": true
          },
          "assetCount": {
            "type": "integer",
            "description": "Number of assets used to generate the report.",
            "format": "int32"
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValueNestedApi"
            },
            "description": "List of input parameters (used to generate the report).",
            "nullable": true
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerNestedApi"
          }
        },
        "additionalProperties": false
      },
      "ReportApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ReportApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportCommentUserNested": {
        "type": "object",
        "properties": {
          "provisioningId": {
            "type": "integer",
            "format": "int32"
          },
          "provisioningResult": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommentUserNested"
            },
            "nullable": true
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommentFileUserNested"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportCommentUserNestedApi": {
        "type": "object",
        "properties": {
          "comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommentUserNestedApi"
            },
            "description": "List of the comments.",
            "nullable": true
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommentFileUserNestedApi"
            },
            "description": "List of files.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReportStateEnum": {
        "enum": [
          0,
          10,
          20,
          30,
          100
        ],
        "type": "integer",
        "description": "None = 0 | Waiting = 10 | Loading = 20 | Error = 30 | Done = 100",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Waiting",
          "Loading",
          "Error",
          "Done"
        ],
        "x-enumDescriptions": [
          "None",
          "Waiting",
          "Loading",
          "Error",
          "Done"
        ],
        "x-displayName": [
          "None",
          "Waiting",
          "Loading",
          "Error",
          "Done"
        ]
      },
      "ReportTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "Unknown = 0 | RmrReport = 1 | LocationVisitReport = 2 | FuelReport = 3 | RentalReport = 4",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "RmrReport",
          "LocationVisitReport",
          "FuelReport",
          "RentalReport"
        ],
        "x-enumDescriptions": [
          "Unknown",
          "RmrReport",
          "LocationVisitReport",
          "FuelReport",
          "RentalReport"
        ],
        "x-displayName": [
          "Unknown",
          "RmrReport",
          "LocationVisitReport",
          "FuelReport",
          "RentalReport"
        ]
      },
      "RequestRealTimeTokenApi": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "URL.",
            "nullable": true
          },
          "customerReference": {
            "type": "string",
            "description": "Customer reference.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResetPasswordProviderApi": {
        "required": [
          "customerReference",
          "providerType"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          }
        },
        "additionalProperties": false
      },
      "ResetPasswordProviderCustomerApi": {
        "required": [
          "customerReference",
          "type"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "type": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          }
        },
        "additionalProperties": false
      },
      "ResetPasswordUserApi": {
        "required": [
          "password",
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "minLength": 1,
            "type": "string",
            "description": "Token sent by email."
          },
          "password": {
            "minLength": 1,
            "type": "string",
            "description": "New password."
          }
        },
        "additionalProperties": false
      },
      "ResponseOperator": {
        "type": "object",
        "properties": {
          "response": {
            "type": "string",
            "description": "Response of the operator.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResponseOperatorResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ResponseOperator"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResultEnum": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "Ok = 1 | NOk = 2 | Neutral = 3",
        "format": "int32",
        "x-enumNames": [
          "Ok",
          "NOk",
          "Neutral"
        ],
        "x-enumDescriptions": [
          "Ok",
          "NOk",
          "Neutral"
        ],
        "x-displayName": [
          "Ok",
          "NOk",
          "Neutral"
        ]
      },
      "RoadDetailApi": {
        "type": "object",
        "properties": {
          "waypoints": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CoordinateNested"
            },
            "description": "Waypoints",
            "nullable": true
          },
          "roadId": {
            "type": "string",
            "description": "Road Id for UI preview",
            "nullable": true
          },
          "osmId": {
            "type": "string",
            "description": "OSM ID",
            "nullable": true
          },
          "countryName": {
            "type": "string",
            "description": "Country name",
            "nullable": true
          },
          "roadName": {
            "type": "string",
            "description": "Road name",
            "nullable": true
          },
          "roadType": {
            "$ref": "#/components/schemas/RoadTypeEnum"
          },
          "rawRoadType": {
            "type": "string",
            "description": "Actual raw road type string from DB",
            "nullable": true
          },
          "fleetiOverrideSpeed": {
            "type": "integer",
            "description": "Fleeti Speed override",
            "format": "int32",
            "nullable": true
          },
          "osmSpeedLimit": {
            "type": "integer",
            "description": "OSM speed limit",
            "format": "int32",
            "nullable": true
          },
          "roadTypeDefaultSpeed": {
            "type": "integer",
            "description": "Fallback default speed limit for road type",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RoadDetailApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/RoadDetailApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoadTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "format": "int32",
        "x-enumNames": [
          "Motorway",
          "Trunk",
          "Primary",
          "Secondary",
          "Tertiary",
          "Service",
          "Unclassified",
          "Busway",
          "Unknown"
        ],
        "x-enumDescriptions": [
          "Motorway",
          "Trunk",
          "Primary",
          "Secondary",
          "Tertiary",
          "Service",
          "Unclassified",
          "Busway",
          "Unknown"
        ],
        "x-displayName": [
          "Motorway",
          "Trunk",
          "Primary",
          "Secondary",
          "Tertiary",
          "Service",
          "Unclassified",
          "Busway",
          "Unknown"
        ]
      },
      "RoadsApi": {
        "type": "object",
        "properties": {
          "roadId": {
            "type": "string",
            "description": "Road Id for UI preview",
            "nullable": true
          },
          "osmId": {
            "type": "string",
            "description": "OSM ID",
            "nullable": true
          },
          "countryName": {
            "type": "string",
            "description": "Country name",
            "nullable": true
          },
          "roadName": {
            "type": "string",
            "description": "Road name",
            "nullable": true
          },
          "roadType": {
            "$ref": "#/components/schemas/RoadTypeEnum"
          },
          "rawRoadType": {
            "type": "string",
            "description": "Actual raw road type string from DB",
            "nullable": true
          },
          "fleetiOverrideSpeed": {
            "type": "integer",
            "description": "Fleeti Speed override",
            "format": "int32",
            "nullable": true
          },
          "osmSpeedLimit": {
            "type": "integer",
            "description": "OSM speed limit",
            "format": "int32",
            "nullable": true
          },
          "roadTypeDefaultSpeed": {
            "type": "integer",
            "description": "Fallback default speed limit for road type",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RoadsApiCursorResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoadsApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "lastId": {
            "type": "string",
            "description": "Id of the last document. Pass as LastId to get the next page. Null when on the last page.",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean",
            "description": "True if there are more pages after this one."
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoadsApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/RoadsApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScenarioActionTypeEnum": {
        "enum": [
          1
        ],
        "type": "integer",
        "format": "int32",
        "x-enumNames": [
          "MailNotification"
        ],
        "x-enumDescriptions": [
          "MailNotification"
        ],
        "x-displayName": [
          "MailNotification"
        ]
      },
      "ScenarioRecurrenceTypeEnum": {
        "enum": [
          0,
          10,
          20,
          30,
          40
        ],
        "type": "integer",
        "description": "OneTime = 0 | Daily = 10 | Weekly = 20 | Monthly = 30 | Yearly = 40",
        "format": "int32",
        "x-enumNames": [
          "OneTime",
          "Daily",
          "Weekly",
          "Monthly",
          "Yearly"
        ],
        "x-enumDescriptions": [
          "OneTime",
          "Daily",
          "Weekly",
          "Monthly",
          "Yearly"
        ],
        "x-displayName": [
          "OneTime",
          "Daily",
          "Weekly",
          "Monthly",
          "Yearly"
        ]
      },
      "ScenarioReportApi": {
        "required": [
          "description",
          "isEnabled",
          "name",
          "reportDocumentType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the scenario.",
            "nullable": true
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerNestedApi"
          },
          "lastExecution": {
            "type": "string",
            "description": "Last execution of the report.",
            "format": "date-time",
            "nullable": true
          },
          "nextExecution": {
            "type": "string",
            "description": "Next execution of the report.",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "$ref": "#/components/schemas/UserNestedApi"
          },
          "schedule": {
            "$ref": "#/components/schemas/ScheduleScenarioReportApi"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActionScenarioReportApi"
            },
            "description": "List of actions when the report is generated.",
            "nullable": true
          },
          "reportDocumentType": {
            "minLength": 1,
            "type": "string",
            "description": "Type of report (RmrReportStorage | FuelReportStorage)."
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name."
          },
          "description": {
            "minLength": 1,
            "type": "string",
            "description": "Description."
          },
          "isEnabled": {
            "type": "boolean",
            "description": "If true, the report will be executed."
          },
          "inputs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InputScenarioReportApi"
            },
            "description": "List of inputs (one input represent a table in the Excel report).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScenarioReportApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ScenarioReportApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScenarioReportApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScenarioReportApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScheduleModeEnum": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "Scheduled = 0 | OnDemand = 1",
        "format": "int32",
        "x-enumNames": [
          "scheduled",
          "ondemand"
        ],
        "x-enumDescriptions": [
          "scheduled",
          "ondemand"
        ],
        "x-displayName": [
          "scheduled",
          "ondemand"
        ]
      },
      "ScheduleScenarioReportApi": {
        "type": "object",
        "properties": {
          "beginAt": {
            "type": "string",
            "description": "Start of the schedule.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End of the schedule.",
            "format": "date-time",
            "nullable": true
          },
          "recurrence": {
            "type": "integer",
            "description": "Recurrence.",
            "format": "int32"
          },
          "recurrenceDays": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayOfWeek"
            },
            "description": "List of days of the week.",
            "nullable": true
          },
          "recurrenceType": {
            "$ref": "#/components/schemas/ScenarioRecurrenceTypeEnum"
          }
        },
        "additionalProperties": false
      },
      "SearchAssetApi": {
        "type": "object",
        "properties": {
          "operationsCounted": {
            "type": "integer",
            "description": "Number of operations.",
            "format": "int64"
          },
          "rentalsCounted": {
            "type": "integer",
            "description": "Number of rentals.",
            "format": "int64"
          },
          "insurancesCounted": {
            "type": "integer",
            "description": "Number of insurances.",
            "format": "int64"
          },
          "group": {
            "$ref": "#/components/schemas/AssetGroupNestedApi"
          },
          "gateways": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayNestedApi"
            },
            "description": "List of gateways.",
            "nullable": true
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerNestedApi"
          },
          "id": {
            "type": "string",
            "description": "Asset id.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Creation date.",
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "description": "Name.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description.",
            "nullable": true
          },
          "make": {
            "type": "string",
            "description": "Manufacturer. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Unique serial number.",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/AssetStatusEnum"
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "settings": {
            "$ref": "#/components/schemas/AssetSettingNestedApi"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Contains all properties depending on the asset type.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchAssetApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/SearchAssetApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchAssetApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchAssetApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchGatewayNestedApi": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name.",
            "nullable": true
          },
          "imei": {
            "type": "string",
            "description": "IMEI.",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model of the gateway.",
            "nullable": true
          },
          "modelFileUrl": {
            "type": "string",
            "description": "URL of the gateway configuration file.",
            "nullable": true
          },
          "manufacturer": {
            "$ref": "#/components/schemas/ManufacturerTypeEnum"
          },
          "supplier": {
            "type": "string",
            "description": "Supplier.",
            "nullable": true
          },
          "isOnline": {
            "type": "boolean",
            "description": "True if the gateway has communicated in the last 24 hours."
          },
          "isCan": {
            "type": "boolean",
            "description": "True if the gateway has CAN technology integrated."
          },
          "createdAt": {
            "type": "string",
            "description": "Date of the creation of the gateway.",
            "format": "date-time"
          },
          "provider": {
            "$ref": "#/components/schemas/ProviderGatewayNestedApi"
          },
          "sim": {
            "$ref": "#/components/schemas/SimNestedApi"
          },
          "state": {
            "$ref": "#/components/schemas/StateNestedApi"
          },
          "providerSensors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderSensorNestedApi"
            },
            "description": "Provider sensors.",
            "nullable": true
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Extra properties.",
            "nullable": true
          },
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OperationNestedApi"
            },
            "description": "List of operations linked to the gateway.",
            "nullable": true
          },
          "isProviderOutOfSync": {
            "type": "boolean",
            "description": "True if the provider reports this gateway (or its provider user) as no longer associated with the customer account, false if the provider matched it on this request, null if not checked. Only set on token-authenticated requests; api-key responses omit unmatched gateways instead.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchGatewayNestedApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchGatewayNestedApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchGroupItemApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Group ID.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Group name.",
            "nullable": true
          },
          "color": {
            "type": "string",
            "description": "Group color (6-char hex, no # prefix).",
            "nullable": true
          },
          "assetCount": {
            "type": "integer",
            "description": "Number of assets assigned to this group.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Single asset group item in the search response."
      },
      "SearchGroupItemApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchGroupItemApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchLightAssetApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Asset id.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Creation date.",
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "description": "Name.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description.",
            "nullable": true
          },
          "make": {
            "type": "string",
            "description": "Manufacturer. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Unique serial number.",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/AssetStatusEnum"
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "settings": {
            "$ref": "#/components/schemas/AssetSettingNestedApi"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Contains all properties depending on the asset type.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchLightAssetApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchLightAssetApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchLocationProviderApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the location.",
            "nullable": true
          },
          "label": {
            "type": "string",
            "description": "Display name of the location.",
            "nullable": true
          },
          "color": {
            "type": "string",
            "description": "Color.",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Address (for geofence).",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/LocationGeofenceTypeEnum"
          },
          "bounds": {
            "$ref": "#/components/schemas/BoundsNested"
          },
          "radius": {
            "type": "integer",
            "description": "Radius (for geofence).",
            "format": "int64",
            "nullable": true
          },
          "center": {
            "$ref": "#/components/schemas/LocationNested"
          },
          "iconId": {
            "type": "integer",
            "description": "Id of the icon (for poi).",
            "format": "int64"
          },
          "avatarFileName": {
            "description": "Avatar file name (for poi).",
            "nullable": true
          },
          "location": {
            "$ref": "#/components/schemas/LocationAddressNested"
          },
          "description": {
            "type": "string",
            "description": "Description (for poi).",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "description": "Tags (for poi).",
            "nullable": true
          },
          "points": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LocationPointNested"
            },
            "description": "List of points (for poi and geofence).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchLocationProviderApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchLocationProviderApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SendCommandGatewayApi": {
        "required": [
          "command",
          "gatewayId",
          "providerCountryCode",
          "providerPlan"
        ],
        "type": "object",
        "properties": {
          "providerCountryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Provider country code."
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id."
          },
          "expectedAnswer": {
            "type": "string",
            "description": "Expected answer from the gateway.",
            "nullable": true
          },
          "command": {
            "$ref": "#/components/schemas/GatewayCommandEnum"
          }
        },
        "additionalProperties": false
      },
      "SendCommandGatewayAssetApi": {
        "required": [
          "assetId",
          "command",
          "gatewayId"
        ],
        "type": "object",
        "properties": {
          "expectedAnswer": {
            "type": "string",
            "description": "Expected answer from the gateway.",
            "nullable": true
          },
          "command": {
            "$ref": "#/components/schemas/GatewayCommandEnum"
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "SendImmobilizationCommandsApi": {
        "required": [
          "assetId",
          "command",
          "imei"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "imei": {
            "minLength": 1,
            "type": "string",
            "description": "IMEI of the gateway."
          },
          "command": {
            "$ref": "#/components/schemas/GatewayCommandEnum"
          },
          "expectedAnswer": {
            "type": "string",
            "description": "Expected answer from the gateway. Optional; if not provided, it will be derived from the command and provider.",
            "nullable": true
          },
          "customerReference": {
            "type": "string",
            "description": "Reference of the customer the asset must belong to. Optional; when provided, an asset of another customer is not found.",
            "nullable": true
          },
          "allowSms": {
            "type": "boolean",
            "description": "Whether an SMS wake-up may be sent when the device is not reachable over WSS. When false, an unreachable device fails with DeviceConnectivityTimeout and no command is sent."
          }
        },
        "additionalProperties": false
      },
      "SendImmobilizationCommandsResponse": {
        "type": "object",
        "properties": {
          "providerRawResponse": {
            "$ref": "#/components/schemas/ResponseOperator"
          },
          "metadata": {
            "$ref": "#/components/schemas/ImmobilizationCommandMetadata"
          },
          "isClone": {
            "type": "boolean",
            "description": "Was the requested gateway a clone."
          },
          "originalAssetId": {
            "type": "string",
            "description": "The asset ID of the asset the contains the original gateway in case IsClone is TRUE",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for SendImmobilizationCommandsAsync with original data separated from execution metadata."
      },
      "SendImmobilizationCommandsResponseResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/SendImmobilizationCommandsResponse"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SendInvitationEmailApi": {
        "required": [
          "customerReference",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "minLength": 1,
            "type": "string"
          },
          "customerReference": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SendPasswordUserApi": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "minLength": 1,
            "type": "string",
            "description": "Email of the user will received the link to reset the password.",
            "format": "email"
          },
          "application": {
            "$ref": "#/components/schemas/ApplicationEnum"
          }
        },
        "additionalProperties": false
      },
      "SensorTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22
        ],
        "type": "integer",
        "description": "Undefined = 0 | HardwareMileage = 1 | Temperature = 2 | FuelBleSensor = 3 | CanTotalFuelUsed = 4 | CanFuelLevelLitre = 5 | CanRelativeFuelConsumption = 6 | CanSpeed = 7 | CanMileage = 8 | CanRelativeMileage = 9 | CanRpm = 10 | CanCoolantTemperature = 11 | CanEngineHours = 12 | Ignition = 13 | FuelWireDigital = 15 | IgnitionOnCounter = 16 | Humidity = 17 | FuelWireAnalogic = 18 | DoorOpening = 19 | AngleMovement = 20 | CanFuelLevelPercent = 21",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "HardwareMileage",
          "Temperature",
          "FuelBleSensor",
          "CanTotalFuelUsed",
          "CanFuelLevelLitre",
          "CanRelativeFuelConsumption",
          "CanSpeed",
          "CanMileage",
          "CanRelativeMileage",
          "CanRpm",
          "CanCoolantTemperature",
          "CanEngineHours",
          "Ignition",
          "FuelWireDigital",
          "IgnitionOnCounter",
          "Humidity",
          "FuelWireAnalogic",
          "DoorOpening",
          "AngleMovement",
          "CanFuelLevelPercent",
          "DigitalOutput"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "HardwareMileage",
          "Temperature",
          "FuelBleSensor",
          "CanTotalFuelUsed",
          "CanFuelLevelLitre",
          "CanRelativeFuelConsumption",
          "CanSpeed",
          "CanMileage",
          "CanRelativeMileage",
          "CanRpm",
          "CanCoolantTemperature",
          "CanEngineHours",
          "Ignition",
          "FuelWireDigital",
          "IgnitionOnCounter",
          "Humidity",
          "FuelWireAnalogic",
          "DoorOpening",
          "AngleMovement",
          "CanFuelLevelPercent",
          "DigitalOutput"
        ],
        "x-displayName": [
          "Undefined",
          "HardwareMileage",
          "Temperature",
          "FuelBleSensor",
          "CanTotalFuelUsed",
          "CanFuelLevelLitre",
          "CanRelativeFuelConsumption",
          "CanSpeed",
          "CanMileage",
          "CanRelativeMileage",
          "CanRpm",
          "CanCoolantTemperature",
          "CanEngineHours",
          "Ignition",
          "FuelWireDigital",
          "IgnitionOnCounter",
          "Humidity",
          "FuelWireAnalogic",
          "DoorOpening",
          "AngleMovement",
          "CanFuelLevelPercent",
          "DigitalOutput"
        ]
      },
      "SensorValueDateNested": {
        "type": "object",
        "properties": {
          "sensorType": {
            "$ref": "#/components/schemas/SensorTypeEnum"
          },
          "value": {
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetOemConnectionStatusRequest": {
        "required": [
          "assetIds",
          "customerReference",
          "oemConnectionStatus"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the customer that owns the assets."
          },
          "connectionId": {
            "type": "string",
            "description": "External OEM only: connection ID, which selects the gateway on each asset via\r\nProvider.OemConnectionId. Required for External OEM; leave null for Fleeti OEM, whose\r\ngateways belong to no connection and are selected by Service instead.",
            "nullable": true
          },
          "service": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "oemConnectionStatus": {
            "$ref": "#/components/schemas/OemConnectionStatusEnum"
          },
          "assetIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "MongoDB asset IDs to update; each is processed independently."
          }
        },
        "additionalProperties": false,
        "description": "Batch connect/disconnect of assets imported from an OEM connection.\r\nSets the dedicated Provider.OemConnectionStatus on each asset's OEM gateway.\r\nServes both OEM families: External OEM targets a gateway by ConnectionId,\r\nFleeti OEM by Service."
      },
      "SetOemConnectionStatusResultApi": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "string",
            "description": "Asset id the status was applied to (echoed from the request).",
            "nullable": true
          },
          "oemConnectionStatus": {
            "$ref": "#/components/schemas/OemConnectionStatusEnum"
          },
          "changed": {
            "type": "boolean",
            "description": "True when the gateway's status actually changed; false when it was already in the target state."
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True when the asset was processed successfully."
          },
          "errorCode": {
            "type": "string",
            "description": "Error code when the asset failed; null on success.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Error message when the asset failed; null on success.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Per-asset outcome of a set-OEM-connection-status operation."
      },
      "SetOemConnectionStatusResultApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetOemConnectionStatusResultApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SimNestedApi": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "phone": {
            "type": "string",
            "description": "Phone number of the Sim card.",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/OperatorTypeEnum"
          },
          "apn": {
            "type": "string",
            "description": "APN (Access Point Name) is a setting on a mobile phone that identifies an external network that the phone can access for data.",
            "nullable": true
          },
          "endpointId": {
            "type": "string",
            "description": "Unique identifier for an endpoint defined in operator system.",
            "nullable": true
          },
          "endpointName": {
            "type": "string",
            "description": "Human-readable name given to an endpoint defined in a operator system.",
            "nullable": true
          },
          "iccid": {
            "type": "string",
            "description": "Iccid (Integrated Circuit Card Identifier) is a unique identifier that corresponds to a SIM card in a mobile device.",
            "nullable": true
          },
          "imei": {
            "type": "string",
            "description": "Imei (International Mobile Equipment Identity number) is a unique identifier that is assigned to a mobile device.",
            "nullable": true
          },
          "imsi": {
            "type": "string",
            "description": "Imsi (International Mobile Subscriber Identity number) is a unique identifier that is assigned to a user of a mobile network, and is stored on a SIM card.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SiteAssetProperties": {
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AddressNested"
          },
          "siteType": {
            "$ref": "#/components/schemas/SiteTypeEnum"
          },
          "dimension": {
            "type": "number",
            "description": "Dimension in square meters (m2).",
            "format": "double"
          },
          "thresholdTemperature": {
            "type": "number",
            "description": "Threshold temperature in degrees Celsius (°C).",
            "format": "double"
          },
          "isInternal": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SiteTypeEnum": {
        "enum": [
          0,
          10,
          20,
          30,
          40,
          50,
          60,
          70,
          80,
          90,
          100,
          110
        ],
        "type": "integer",
        "description": "Undefined = 0 | Coldroom = 10 | Warehouse = 20 | Parking = 30 | Garage = 40 | Workshop = 50 |\r\nFuelChargingStation = 60 | CustomerSite = 70 | ConstructionWorkSite = 80 | Office = 90 |\r\nFarm = 100 | RestrictedZone = 110",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Coldroom",
          "Warehouse",
          "Parking",
          "Garage",
          "Workshop",
          "FuelChargingStation",
          "CustomerSite",
          "ConstructionWorkSite",
          "Office",
          "Farm",
          "RestrictedZone"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "Coldroom",
          "Warehouse",
          "Parking",
          "Garage",
          "Workshop",
          "FuelChargingStation",
          "CustomerSite",
          "ConstructionWorkSite",
          "Office",
          "Farm",
          "RestrictedZone"
        ],
        "x-displayName": [
          "Undefined",
          "Coldroom",
          "Warehouse",
          "Parking",
          "Garage",
          "Workshop",
          "FuelChargingStation",
          "CustomerSite",
          "ConstructionWorkSite",
          "Office",
          "Farm",
          "RestrictedZone"
        ]
      },
      "StartMonitoringSyncApi": {
        "type": "object",
        "properties": {
          "customersReference": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "thresholdMs": {
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StartOperationApi": {
        "required": [
          "operationType",
          "providerCountryCode",
          "providerPlan",
          "reference",
          "startDate"
        ],
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationTypeEnum"
          },
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "providerCountryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Provider country code. Must be defined in the parameters (api/v1/resource/searchcountry)."
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "customerReference": {
            "type": "string",
            "description": "Customer Reference.",
            "nullable": true
          },
          "assetId": {
            "type": "string",
            "description": "Associate the operation with the asset.",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "description": "Start date of the operation.",
            "format": "date-time"
          },
          "techniciansUserId": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "User Id of other technicians working on the installation. Except the current user.",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/CreateOrUpdateAddressNestedApi"
          }
        },
        "additionalProperties": false
      },
      "StateNested": {
        "type": "object",
        "properties": {
          "position": {
            "$ref": "#/components/schemas/GeoCoordinateNested"
          },
          "network": {
            "$ref": "#/components/schemas/NetworkNested"
          },
          "battery": {
            "$ref": "#/components/schemas/BatteryNested"
          },
          "movementStatus": {
            "$ref": "#/components/schemas/GatewayMovementStatusEnum"
          },
          "connectionStatus": {
            "$ref": "#/components/schemas/GatewayConnectionStatusEnum"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "outputs": {
            "type": "array",
            "items": {
              "type": "boolean"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StateNestedApi": {
        "type": "object",
        "properties": {
          "position": {
            "$ref": "#/components/schemas/GeoCoordinateNestedApi"
          },
          "network": {
            "$ref": "#/components/schemas/NetworkNestedApi"
          },
          "battery": {
            "$ref": "#/components/schemas/BatteryNestedApi"
          },
          "movementStatus": {
            "$ref": "#/components/schemas/GatewayMovementStatusEnum"
          },
          "connectionStatus": {
            "$ref": "#/components/schemas/GatewayConnectionStatusEnum"
          },
          "updatedAt": {
            "type": "string",
            "description": "The date and time when this state was last updated.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "StorePeriodProviderEnum": {
        "enum": [
          0,
          10,
          20,
          30,
          40
        ],
        "type": "integer",
        "description": "Undefined = 0 | Hour = 10 | Day = 20 | Month = 30 | Year = 40",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Hour",
          "Day",
          "Month",
          "Year"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "Hour",
          "Day",
          "Month",
          "Year"
        ],
        "x-displayName": [
          "Undefined",
          "Hour",
          "Day",
          "Month",
          "Year"
        ]
      },
      "StringResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "type": "string",
            "description": "Result.",
            "nullable": true
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StringResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StringStateNestedDictionaryResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/StateNested"
            },
            "description": "Result.",
            "nullable": true
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubuserProvider": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the subuser.",
            "nullable": true
          },
          "activated": {
            "type": "boolean",
            "description": "Is subuser activated."
          },
          "login": {
            "type": "string",
            "description": "Email.",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "First name.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name.",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "description": "Phone number.",
            "nullable": true
          },
          "userRoleId": {
            "type": "string",
            "description": "Id of the user role.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Creation date.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SubuserProviderResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/SubuserProvider"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubuserProviderResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubuserProvider"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SuspendCustomerResponse": {
        "type": "object",
        "properties": {
          "customerReference": {
            "type": "string",
            "nullable": true
          },
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SuspendCustomerResponseResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SuspendCustomerResponse"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SuspendCustomersRequestApi": {
        "type": "object",
        "properties": {
          "customerReferences": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "suspended": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SyncPanelDataApi": {
        "required": [
          "countryCode",
          "plan",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference (eg. 2112-001)."
          },
          "countryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Correct country code (eg. sn)."
          },
          "plan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          }
        },
        "additionalProperties": false
      },
      "TerminateOperationApi": {
        "required": [
          "operationType",
          "reference"
        ],
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationTypeEnum"
          },
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "comment": {
            "type": "string",
            "description": "Comment of the validation's operation. Required if the verification result is NOK.",
            "nullable": true
          },
          "isForced": {
            "type": "boolean",
            "description": "If true, the check of the gateway is skipped."
          },
          "gatewayNames": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateGatewayNameApi"
            },
            "description": "List of gateway names.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ToggleEmbeddedModuleApi": {
        "required": [
          "action",
          "customerReference",
          "embeddedModuleId"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "embeddedModuleId": {
            "minLength": 1,
            "type": "string",
            "description": "Embedded module ID."
          },
          "action": {
            "$ref": "#/components/schemas/EmbeddedModuleActionEnum"
          },
          "authorization": {
            "$ref": "#/components/schemas/ToggleEmbeddedModuleAuthorizationApi"
          },
          "displayMethod": {
            "$ref": "#/components/schemas/EmbeddedModuleDisplayMethodEnum"
          }
        },
        "additionalProperties": false
      },
      "ToggleEmbeddedModuleAuthorizationApi": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/EmbeddedModuleAuthorizationTypeEnum"
          },
          "hash": {
            "type": "string",
            "description": "Optional hash for authorization.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ToggleFleetiOneAccessApi": {
        "required": [
          "action",
          "customerReference"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "action": {
            "$ref": "#/components/schemas/FleetiOneAccessActionEnum"
          }
        },
        "additionalProperties": false
      },
      "TokenApi": {
        "type": "object",
        "properties": {
          "tokenValue": {
            "type": "string",
            "description": "Token to use in the authorization header.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Date of creation.",
            "format": "date-time"
          },
          "expiredAt": {
            "type": "string",
            "description": "Date of expiration. It's the date of creation plus 2 hours.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "TokenApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/TokenApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TokenAuthApi": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "Old token to be refreshed.",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "description": "Timezone.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TokenDocument": {
        "type": "object",
        "properties": {
          "tokenValue": {
            "type": "string",
            "nullable": true
          },
          "expiredAt": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "TopWidget": {
        "type": "object",
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/AssetHistory"
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TrackerHistoryResponse": {
        "type": "object",
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/AssetResponse"
          },
          "customerReference": {
            "type": "string",
            "nullable": true
          },
          "providerEvent": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrackerProviderResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TrackerHistoryResponseResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrackerHistoryResponse"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TrackerProviderEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "isRead": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "time": {
            "type": "string",
            "nullable": true
          },
          "event": {
            "type": "string",
            "nullable": true
          },
          "trackerId": {
            "type": "integer",
            "format": "int32"
          },
          "ruleId": {
            "type": "integer",
            "format": "int32"
          },
          "trackId": {
            "type": "integer",
            "format": "int32"
          },
          "location": {
            "$ref": "#/components/schemas/TrackerProviderLocation"
          },
          "address": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TrackerProviderExtra": {
        "type": "object",
        "properties": {
          "taskId": {
            "type": "string",
            "nullable": true
          },
          "parentTaskId": {
            "type": "string",
            "nullable": true
          },
          "counterId": {
            "type": "integer",
            "format": "int64"
          },
          "serviceTaskId": {
            "type": "integer",
            "format": "int64"
          },
          "checkinId": {
            "type": "integer",
            "format": "int64"
          },
          "placeIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "lastKnownLocation": {
            "type": "boolean"
          },
          "trackerLabel": {
            "type": "string",
            "nullable": true
          },
          "emergency": {
            "type": "boolean"
          },
          "employeeId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "TrackerProviderGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TrackerProviderLocation": {
        "type": "object",
        "properties": {
          "lat": {
            "type": "number",
            "format": "double"
          },
          "lng": {
            "type": "number",
            "format": "double"
          },
          "precision": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "TrackerProviderResponse": {
        "type": "object",
        "properties": {
          "location": {
            "$ref": "#/components/schemas/LocationResponse"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "event": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "isRead": {
            "type": "boolean"
          },
          "time": {
            "type": "string",
            "nullable": true
          },
          "trackerLabel": {
            "type": "string",
            "nullable": true
          },
          "trackerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "employeeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ruleId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "trackId": {
            "type": "integer",
            "format": "int32"
          },
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "extra": {
            "$ref": "#/components/schemas/TrackerProviderExtra"
          },
          "group": {
            "$ref": "#/components/schemas/TrackerProviderGroup"
          },
          "providerEvent": {
            "$ref": "#/components/schemas/TrackerProviderEvent"
          }
        },
        "additionalProperties": false
      },
      "TrackersHistoryApi": {
        "required": [
          "customerReference",
          "from",
          "to"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string"
          },
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "assetIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "groupIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "assetTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetTypeEnum"
            },
            "nullable": true
          },
          "models": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "assetName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "sortBy": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "sortAsc": {
            "type": "boolean"
          },
          "makes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "trackersId": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TripsAndStopsEcoDrivingHistoryApi": {
        "type": "object",
        "properties": {
          "isEmpty": {
            "type": "boolean",
            "description": "If True, EcoDrivingEvents and SpeedViolations are inside a trip, otherwise it does not belong to any trips."
          },
          "trackId": {
            "type": "string",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "format": "date-time"
          },
          "startAddress": {
            "type": "string",
            "nullable": true
          },
          "endAddress": {
            "type": "string",
            "nullable": true
          },
          "mileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "travelDurationSecond": {
            "type": "integer",
            "format": "int32"
          },
          "avgSpeed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxSpeed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ecoDrivingEvents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EcoDrivingEvent"
            },
            "nullable": true
          },
          "speedViolations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EcoDrivingSpeedViolation"
            },
            "nullable": true
          },
          "inactivityDurationSecond": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "inactivityIgnitionOnDurationSecond": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "inactivityIgnitionOnPercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "harshAccelerationCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "harshBrakingCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "harshTurnCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "overSpeedCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "co2EmissionEcoDriving": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "co2EmissionTheoreticalFuelConsumed": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TripsAndStopsEcoDrivingHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistory": {
        "type": "object",
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/AssetHistory"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TripsAndStopsEcoDrivingHistoryApi"
            },
            "nullable": true
          },
          "summary": {
            "$ref": "#/components/schemas/TripsAndStopsEcoDrivingSummaryHistoryApi"
          }
        },
        "additionalProperties": false
      },
      "TripsAndStopsEcoDrivingHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistoryResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TripsAndStopsEcoDrivingHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistory"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TripsAndStopsEcoDrivingSummaryHistoryApi": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "totalMileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "travelDurationSecond": {
            "type": "integer",
            "format": "int32"
          },
          "totalInactivityDurationSecond": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalInactivityIgnitionOnDurationSecond": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalInactivityIgnitionOnDurationPercents": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxSpeed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "endPeriodMileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "harshAccelerationCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "harshBrakingCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "harshTurnCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "overSpeedCount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "overSpeedsAverage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "co2EmissionEcoDriving": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "co2EmissionTheoreticalFuelConsumed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "co2EmissionEcoDrivingPer100Km": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "eventsCountPer100Km": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "theoreticalFuelConsumed": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TripsAndStopsEcoDrivingSummaryHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistory": {
        "type": "object",
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/AssetHistory"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TripsAndStopsEcoDrivingSummaryHistoryApi"
            },
            "nullable": true
          },
          "summary": {
            "$ref": "#/components/schemas/TripsAndStopsEcoDrivingSummaryHistoryApi"
          }
        },
        "additionalProperties": false
      },
      "TripsAndStopsEcoDrivingSummaryHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistoryTripsAndStopsEcoDrivingWidgetWidgetHistory": {
        "type": "object",
        "properties": {
          "assets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TripsAndStopsEcoDrivingSummaryHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistory"
            },
            "nullable": true
          },
          "assetsCounted": {
            "type": "integer",
            "format": "int64"
          },
          "widget": {
            "$ref": "#/components/schemas/TripsAndStopsEcoDrivingWidget"
          }
        },
        "additionalProperties": false
      },
      "TripsAndStopsEcoDrivingSummaryHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistoryTripsAndStopsEcoDrivingWidgetWidgetHistoryResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/TripsAndStopsEcoDrivingSummaryHistoryApiTripsAndStopsEcoDrivingSummaryHistoryApiDataHistoryTripsAndStopsEcoDrivingWidgetWidgetHistory"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TripsAndStopsEcoDrivingWidget": {
        "type": "object",
        "properties": {
          "tripsByGroup": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TripsByGroupWidget"
            },
            "nullable": true
          },
          "eventStats": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventStatWidget"
            },
            "nullable": true
          },
          "top3Mileage": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TopWidget"
            },
            "nullable": true
          },
          "top3InactivityDurationSecond": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TopWidget"
            },
            "nullable": true
          },
          "top3EventsPer100Km": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TopWidget"
            },
            "nullable": true
          },
          "top3Co2Per100Km": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TopWidget"
            },
            "nullable": true
          },
          "top3TotalCo2": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TopWidget"
            },
            "nullable": true
          },
          "totalMileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalCo2EmissionEcoDriving": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalTheoricalCo2EmissionFuelConsumed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "eventsPer100Km": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "co2Per100Km": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TripsByGroupWidget": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "nullable": true
          },
          "groupName": {
            "type": "string",
            "nullable": true
          },
          "totalMileage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalIdleHour": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalTripsDurationHour": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TripsStopsProviderReport": {
        "type": "object",
        "properties": {
          "tripsCounted": {
            "type": "number",
            "description": "Number of trips.",
            "format": "double",
            "nullable": true
          },
          "totalTripsLength": {
            "type": "number",
            "description": "Total of kilometers.",
            "format": "double",
            "nullable": true
          },
          "travelDuration": {
            "type": "number",
            "description": "Total travel duration.",
            "format": "double",
            "nullable": true
          },
          "averageSpeed": {
            "type": "number",
            "description": "Average speed.",
            "format": "double",
            "nullable": true
          },
          "maximumSpeed": {
            "type": "number",
            "description": "Maximum speed.",
            "format": "double",
            "nullable": true
          },
          "inactivityTotalDuration": {
            "type": "number",
            "description": "Inactivity total duration.",
            "format": "double",
            "nullable": true
          },
          "inactivityIgnitionDuration": {
            "type": "number",
            "description": "Inactivity ignition duration.",
            "format": "double",
            "nullable": true
          },
          "inactivityIgnitionPercents": {
            "type": "string",
            "description": "Inactivity ignition percents.",
            "nullable": true
          },
          "odometer": {
            "type": "number",
            "description": "Odometer.",
            "format": "double",
            "nullable": true
          },
          "firstTripAt": {
            "type": "string",
            "description": "Date of first trip.",
            "format": "date-time",
            "nullable": true
          },
          "lastUpdatedAt": {
            "type": "string",
            "description": "Last known date of communication of the gateway.",
            "format": "date-time",
            "nullable": true
          },
          "location": {
            "$ref": "#/components/schemas/LocationPointProvider"
          }
        },
        "additionalProperties": false
      },
      "TripsStopsProviderReportItemReportResponse": {
        "type": "object",
        "properties": {
          "gatewayId": {
            "type": "string",
            "description": "Gateway Id.",
            "nullable": true
          },
          "gatewayName": {
            "type": "string",
            "description": "Gateway name.",
            "nullable": true
          },
          "asset": {
            "$ref": "#/components/schemas/AssetNested"
          },
          "group": {
            "$ref": "#/components/schemas/AssetGroupNested"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of errors.",
            "nullable": true
          },
          "report": {
            "$ref": "#/components/schemas/TripsStopsProviderReport"
          }
        },
        "additionalProperties": false
      },
      "TripsStopsProviderReportReportResponse": {
        "type": "object",
        "properties": {
          "reportId": {
            "type": "string",
            "description": "Report id (from the provider).",
            "nullable": true
          },
          "input": {
            "$ref": "#/components/schemas/InputReportResponse"
          },
          "reports": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TripsStopsProviderReportItemReportResponse"
            },
            "description": "List of reports.",
            "nullable": true
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UnbindGatewayAssetApi": {
        "required": [
          "assetId",
          "gatewayId",
          "provider"
        ],
        "type": "object",
        "properties": {
          "provider": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "UpdateAccessoryAssetApi": {
        "required": [
          "accessoryId",
          "assetId",
          "connection",
          "gatewayId",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the accessory."
          },
          "model": {
            "type": "string",
            "description": "Model of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Serial number of the accessory (optional).",
            "nullable": true
          },
          "macAddress": {
            "type": "string",
            "description": "Address mac of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "bluetoothConnexionNumber": {
            "maximum": 4,
            "minimum": 0,
            "type": "integer",
            "description": "Bluetooth's connexion number (mandatory for Bluetooth). It specifies a Bluetooth sensor's position in the Gateway's configuration, ranging from 1 to 4.",
            "format": "int32",
            "nullable": true
          },
          "fuelType": {
            "$ref": "#/components/schemas/FuelTypeEnum"
          },
          "outputNumber": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "description": "Output number on which the accessory in installed. Applicable if the accessory type is Led or Immobilizer.",
            "format": "int32",
            "nullable": true
          },
          "accessoryId": {
            "minLength": 1,
            "type": "string",
            "description": "Accessory ID."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "UpdateAccessoryNameAssetApi": {
        "required": [
          "assetId",
          "gatewayId",
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Accessory ID."
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the accessory."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "UpdateAccessoryOperationApi": {
        "required": [
          "accessoryId",
          "connection",
          "gatewayId",
          "name",
          "reference",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/AccessoryTypeEnum"
          },
          "connection": {
            "$ref": "#/components/schemas/AccessoryConnectionEnum"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the accessory."
          },
          "model": {
            "type": "string",
            "description": "Model of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Serial number of the accessory (optional).",
            "nullable": true
          },
          "macAddress": {
            "type": "string",
            "description": "Address mac of the accessory (mandatory for Bluetooth).",
            "nullable": true
          },
          "bluetoothConnexionNumber": {
            "maximum": 4,
            "minimum": 0,
            "type": "integer",
            "description": "Bluetooth's connexion number (mandatory for Bluetooth). It specifies a Bluetooth sensor's position in the Gateway's configuration, ranging from 1 to 4.",
            "format": "int32",
            "nullable": true
          },
          "fuelType": {
            "$ref": "#/components/schemas/FuelTypeEnum"
          },
          "outputNumber": {
            "maximum": 3,
            "minimum": 1,
            "type": "integer",
            "description": "Output number on which the accessory in installed. Applicable if the accessory type is Led or Immobilizer.",
            "format": "int32",
            "nullable": true
          },
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id from the Provider."
          },
          "accessoryId": {
            "minLength": 1,
            "type": "string",
            "description": "Accessory Id."
          }
        },
        "additionalProperties": false
      },
      "UpdateAccessoryResourceApi": {
        "required": [
          "id",
          "manufacturer",
          "model",
          "supplier"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Accessory Id."
          },
          "model": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Gateway model (eg: FMB130, FMB140, etc.)."
          },
          "manufacturer": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Manufacturer."
          },
          "supplier": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Supplier."
          },
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryTypeResourceApi"
            },
            "description": "Set the list of accessory types.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateAssetApi": {
        "required": [
          "assetType",
          "id",
          "name",
          "status"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name."
          },
          "description": {
            "type": "string",
            "description": "Description.",
            "nullable": true
          },
          "make": {
            "type": "string",
            "description": "Manufacturer. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Unique serial number.",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/AssetStatusEnum"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Properties depending on the asset type.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateAssetGroupApi": {
        "required": [
          "color",
          "customerReference",
          "groupId",
          "name"
        ],
        "type": "object",
        "properties": {
          "groupId": {
            "minLength": 1,
            "type": "string",
            "description": "Group ID of the asset group to update."
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "name": {
            "maxLength": 60,
            "minLength": 2,
            "type": "string",
            "description": "Name of the group (2–60 characters)."
          },
          "color": {
            "maxLength": 6,
            "minLength": 6,
            "type": "string",
            "description": "Color of the group (6-character hex, no # prefix)."
          },
          "assetIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Optional list of asset IDs to assign to this group.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request body for updating an existing asset group."
      },
      "UpdateAssetGroupCustomerApi": {
        "required": [
          "assetIdsToAssign",
          "customerReference",
          "groupId"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "groupId": {
            "minLength": 1,
            "type": "string",
            "description": "Group Id of the customer asset group."
          },
          "assetIdsToAssign": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of asset Ids to add to the group."
          }
        },
        "additionalProperties": false
      },
      "UpdateAssetMakeResourceApi": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Asset Make Id."
          },
          "name": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Set the name of asset maker."
          }
        },
        "additionalProperties": false
      },
      "UpdateAssetModelResourceApi": {
        "required": [
          "modelName"
        ],
        "type": "object",
        "properties": {
          "assetModelId": {
            "type": "string",
            "description": "Asset model Id.",
            "nullable": true
          },
          "assetMakeId": {
            "type": "string",
            "description": "Asset make Id.",
            "nullable": true
          },
          "modelName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Set the asset model name."
          }
        },
        "additionalProperties": false
      },
      "UpdateCounterAssetApi": {
        "required": [
          "assetId",
          "counterType",
          "counterValue",
          "gatewayId"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          },
          "counterType": {
            "$ref": "#/components/schemas/GatewayCounterTypeEnum"
          },
          "counterValue": {
            "type": "number",
            "description": "Counter value.",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "UpdateCounterSourceAssetApi": {
        "required": [
          "assetId",
          "gatewayId"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID (the IsSource = true for all the counters of the gateway)."
          }
        },
        "additionalProperties": false
      },
      "UpdateCountryBillingContactResourceApi": {
        "required": [
          "emails",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Country Unique ID."
          },
          "emails": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of emails. Must not be empty."
          }
        },
        "additionalProperties": false
      },
      "UpdateCountryDefaultSpeedApi": {
        "type": "object",
        "properties": {
          "defaultSpeed": {
            "type": "integer",
            "description": "New default speed limit to set. Must be greater than or equal to 0.",
            "format": "int32"
          },
          "roadType": {
            "$ref": "#/components/schemas/RoadTypeEnum"
          }
        },
        "additionalProperties": false
      },
      "UpdateCountryResourceApi": {
        "required": [
          "code",
          "codeLanguages",
          "currencyCode",
          "currencySymbol",
          "defaultLanguage",
          "id",
          "phoneCode",
          "timezone"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Country Unique ID."
          },
          "code": {
            "minLength": 1,
            "type": "string",
            "description": "Country code."
          },
          "codeLanguages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CodeLanguageCountryDataSettingApi"
            },
            "description": "Set list of code languages."
          },
          "phoneCode": {
            "maxLength": 3,
            "minLength": 1,
            "type": "string",
            "description": "Country phone code."
          },
          "currencyCode": {
            "minLength": 1,
            "type": "string",
            "description": "Country currency code."
          },
          "currencySymbol": {
            "minLength": 1,
            "type": "string",
            "description": "Country currency symbol."
          },
          "timezone": {
            "minLength": 1,
            "type": "string",
            "description": "Country timezone."
          },
          "defaultLanguage": {
            "minLength": 1,
            "type": "string",
            "description": "Country default language."
          },
          "minimumTimeBetweenVisit": {
            "type": "integer",
            "description": "Set the minimum time between visit for operation.",
            "format": "int32"
          },
          "gatewayPrices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayPriceCountryDataSettingApi"
            },
            "description": "Set the gateway prices for the country.",
            "nullable": true
          },
          "accessoriesPrice": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryPriceCountryDataSettingApi"
            },
            "description": "Set the accessory prices for the country.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateCustomerApi": {
        "required": [
          "accountManagerUserId",
          "address",
          "companyName",
          "countryCode",
          "email",
          "firstName",
          "lastName",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "companyName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Name of the company."
          },
          "business": {
            "$ref": "#/components/schemas/CustomerBusinessEnum"
          },
          "role": {
            "$ref": "#/components/schemas/CustomerRoleEnum"
          },
          "firstName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "First name."
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Last name."
          },
          "email": {
            "minLength": 1,
            "type": "string",
            "description": "Email.",
            "format": "email"
          },
          "countryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry)."
          },
          "phoneNumber": {
            "maxLength": 10,
            "type": "string",
            "description": "Phone number (the country phone code will be added using the context of the country code).",
            "format": "tel",
            "nullable": true
          },
          "accountManagerUserId": {
            "minLength": 1,
            "type": "string",
            "description": "User Id of the account manager."
          },
          "address": {
            "$ref": "#/components/schemas/CreateOrUpdateAddressNestedApi"
          }
        },
        "additionalProperties": false
      },
      "UpdateEmailUserApi": {
        "required": [
          "email",
          "password"
        ],
        "type": "object",
        "properties": {
          "email": {
            "minLength": 1,
            "type": "string",
            "description": "Email to update.",
            "format": "email"
          },
          "password": {
            "minLength": 1,
            "type": "string",
            "description": "The current password of the user."
          }
        },
        "additionalProperties": false
      },
      "UpdateEmbeddedModuleApi": {
        "required": [
          "id",
          "label",
          "subtitle",
          "title",
          "urlTemplate"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Module Id to update."
          },
          "label": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "description": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "title": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "subtitle": {
            "$ref": "#/components/schemas/LocalizedStringNestedApi"
          },
          "urlTemplate": {
            "maxLength": 2000,
            "minLength": 5,
            "type": "string",
            "description": "URL template for the module (can contain placeholders)."
          },
          "icon": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "Icon identifier or URL for the module (optional).",
            "nullable": true
          },
          "requiresFleetiOne": {
            "type": "boolean",
            "description": "True when the module can only be enabled for customers with Fleeti One activated (optional, default false)."
          }
        },
        "additionalProperties": false,
        "description": "API model for updating an existing embedded module"
      },
      "UpdateExternalAssetRequest": {
        "required": [
          "assetType",
          "id",
          "name",
          "status"
        ],
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypeEnum"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Name."
          },
          "description": {
            "type": "string",
            "description": "Description.",
            "nullable": true
          },
          "make": {
            "type": "string",
            "description": "Manufacturer. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "model": {
            "type": "string",
            "description": "Model. Must be defined in the parameters (api/v1/resource/searchassetmake).",
            "nullable": true
          },
          "serialNumber": {
            "type": "string",
            "description": "Unique serial number.",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/AssetStatusEnum"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Properties depending on the asset type.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateFeaturesAssetApi": {
        "required": [
          "assetId",
          "features",
          "gatewayId"
        ],
        "type": "object",
        "properties": {
          "features": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeatureNestedApi"
            },
            "description": "List of features accessible by the gateway."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "UpdateFleetiOneUserAccessApi": {
        "required": [
          "changes",
          "customerReference"
        ],
        "type": "object",
        "properties": {
          "changes": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessChangeApi"
            }
          },
          "customerReference": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateFuelAccessoryCalibrationApi": {
        "required": [
          "accessoryId",
          "calibrationData",
          "gatewayId",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id from the Provider."
          },
          "accessoryId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of accessory."
          },
          "calibrationData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FuelSensorCalibrationDataNestedApi"
            },
            "description": "The fuel sensor calibration data."
          }
        },
        "additionalProperties": false
      },
      "UpdateGatewayFeatureApi": {
        "type": "object",
        "properties": {
          "feature": {
            "$ref": "#/components/schemas/GatewayFeatureEnum"
          }
        },
        "additionalProperties": false
      },
      "UpdateGatewayFileOperationApi": {
        "required": [
          "fileName",
          "fileVersion",
          "gatewayId",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id from the Provider."
          },
          "fileName": {
            "minLength": 1,
            "type": "string",
            "description": "File name from the api/resource/getallgatewayfiles?model=FMB130."
          },
          "fileVersion": {
            "minLength": 1,
            "type": "string",
            "description": "File version from the api/resource/getallgatewayfiles?model=FMB130."
          }
        },
        "additionalProperties": false
      },
      "UpdateGatewayFileResourceApi": {
        "required": [
          "fileName",
          "fileVersion",
          "isActive",
          "model"
        ],
        "type": "object",
        "properties": {
          "model": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway model. Must be defined in the parameters (api/v1/resource/searchgateway)."
          },
          "fileName": {
            "minLength": 1,
            "type": "string",
            "description": "Set the file name."
          },
          "fileDescription": {
            "type": "string",
            "description": "Set the file description.",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "If true, the gateway file will be available and selectable on operations process."
          },
          "fileVersion": {
            "minLength": 1,
            "type": "string",
            "description": "Set the file version."
          }
        },
        "additionalProperties": false
      },
      "UpdateGatewayNameApi": {
        "required": [
          "gatewayId",
          "gatewayName"
        ],
        "type": "object",
        "properties": {
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id."
          },
          "gatewayName": {
            "minLength": 1,
            "type": "string",
            "description": "New name of the gateway."
          },
          "features": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateGatewayFeatureApi"
            },
            "description": "List of the gateway features.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateGatewayResourceApi": {
        "required": [
          "accessories",
          "codes",
          "features",
          "id",
          "isCan",
          "manufacturer",
          "model",
          "supplier"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway Id."
          },
          "model": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Gateway model (eg: FMB130, FMB140, etc.)."
          },
          "manufacturer": {
            "$ref": "#/components/schemas/ManufacturerTypeEnum"
          },
          "supplier": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Supplier."
          },
          "isCan": {
            "type": "boolean",
            "description": "True if the Gateway Model is CAN."
          },
          "features": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayFeatureNestedApi"
            },
            "description": "Set the list of gateway features."
          },
          "accessories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayAccessoryNestedApi"
            },
            "description": "Set the list of gateway accessories."
          },
          "codes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayProviderCodeNestedApi"
            },
            "description": "Set the list of gateway provider codes."
          }
        },
        "additionalProperties": false
      },
      "UpdateGeofenceProviderdApi": {
        "required": [
          "color",
          "customerReference",
          "id",
          "label",
          "radius",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the geofence to update."
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "type": {
            "$ref": "#/components/schemas/LocationGeofenceTypeEnum"
          },
          "label": {
            "minLength": 1,
            "type": "string",
            "description": "Display name of the geofence."
          },
          "address": {
            "type": "string",
            "description": "Address of the geofence.",
            "nullable": true
          },
          "radius": {
            "type": "integer",
            "description": "Radius.",
            "format": "int64"
          },
          "color": {
            "minLength": 1,
            "type": "string",
            "description": "Color."
          },
          "center": {
            "$ref": "#/components/schemas/LocationNested"
          },
          "points": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateLocationPointNestedApi"
            },
            "description": "List of points of the geofence.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateGroupAssetApi": {
        "required": [
          "assetId"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID (Be careful, the asset ID should have a gateway with a provider and gateway ID defined)."
          },
          "groupId": {
            "type": "string",
            "description": "Group ID to set on the asset. To remove the group, set the GroupId to null.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateGroupCustomerApi": {
        "required": [
          "color",
          "customerReference",
          "groupId",
          "name"
        ],
        "type": "object",
        "properties": {
          "groupId": {
            "minLength": 1,
            "type": "string",
            "description": "Group Id of the customer asset group."
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "name": {
            "maxLength": 60,
            "minLength": 2,
            "type": "string",
            "description": "Name of the group."
          },
          "color": {
            "maxLength": 6,
            "minLength": 6,
            "type": "string",
            "description": "Color of the group."
          }
        },
        "additionalProperties": false
      },
      "UpdateInsuranceAssetApi": {
        "required": [
          "assetId",
          "companyName",
          "id"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Insurance ID to update."
          },
          "companyName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Company name."
          },
          "policyNumber": {
            "type": "string",
            "description": "Contract number.",
            "nullable": true
          },
          "policyName": {
            "type": "string",
            "description": "Policy name.",
            "nullable": true
          },
          "registeredAt": {
            "type": "string",
            "description": "Registration date.",
            "format": "date-time",
            "nullable": true
          },
          "expiredAt": {
            "type": "string",
            "description": "Expiration date.",
            "format": "date-time",
            "nullable": true
          },
          "totalAmount": {
            "type": "number",
            "description": "Maximum amount for the insurance.",
            "format": "double",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "Is insurance contract active."
          }
        },
        "additionalProperties": false
      },
      "UpdateModuleCustomerApi": {
        "required": [
          "applyToAllUsers",
          "customerReference",
          "isAlerts",
          "isApi",
          "isAssetManagement",
          "isEngineHours",
          "isFleetiOne",
          "isGroupManagement",
          "isLiveMap",
          "isTrackingFleeti",
          "isTripsAndEcoDriving",
          "isUserManagement"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "applyToAllUsers": {
            "type": "boolean",
            "description": "If true, the modules will be applied to all users."
          },
          "applyToUserIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of User Ids to apply the module update (it will override the user module).\r\nIf you define ApplyToAllUsers = true, only the list of ApplyToUserIds will be updated.",
            "nullable": true
          },
          "isApi": {
            "type": "boolean",
            "description": "If true, the customer can integrate Fleeti API in its system."
          },
          "isTrackingFleeti": {
            "type": "boolean",
            "description": "If true, the users could access to Tracking Fleeti."
          },
          "isTemperature": {
            "type": "boolean",
            "description": "If True, the temperature module is enabled on Fleeti One."
          },
          "isFuel": {
            "type": "boolean",
            "description": "If True, the fuel module is enabled on Fleeti One."
          },
          "isLiveMap": {
            "type": "boolean",
            "description": "If true, the live map module is enabled on Fleeti One."
          },
          "isAssetManagement": {
            "type": "boolean",
            "description": "If true, the asset management module is enabled on Fleeti One."
          },
          "isGroupManagement": {
            "type": "boolean",
            "description": "If true, the group management module is enabled on Fleeti One."
          },
          "isUserManagement": {
            "type": "boolean",
            "description": "If true, the user management module is enabled on Fleeti One."
          },
          "isTripsAndEcoDriving": {
            "type": "boolean",
            "description": "If true, the trips and Eco driving module is enabled on Fleeti One."
          },
          "isEngineHours": {
            "type": "boolean",
            "description": "If true, the engine hours module is enabled on Fleeti One."
          },
          "isAlerts": {
            "type": "boolean",
            "description": "If true, the alerts module is enabled on Fleeti One."
          },
          "gatewayCommands": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayCommandEnum"
            },
            "description": "List of commands the user is allowed to execute on an asset (if null, all commands are allowed).",
            "nullable": true
          },
          "isFleetiOne": {
            "type": "boolean",
            "description": "If true, the customer has access to Fleeti One."
          }
        },
        "additionalProperties": false
      },
      "UpdateModuleUserApi": {
        "required": [
          "customerReference",
          "isAlerts",
          "isApi",
          "isAssetManagement",
          "isEngineHours",
          "isFleetiOne",
          "isGroupManagement",
          "isLiveMap",
          "isTrackingFleeti",
          "isTripsAndEcoDriving",
          "isUserManagement",
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the user the modules will be updated (the user must have Role = Customer)."
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "isApi": {
            "type": "boolean",
            "description": "If true, the customer can integrate Fleeti API in its system."
          },
          "isTrackingFleeti": {
            "type": "boolean",
            "description": "If true, the users could access to Tracking Fleeti."
          },
          "isTemperature": {
            "type": "boolean",
            "description": "If True, the temperature module is enabled on Fleeti One."
          },
          "isFuel": {
            "type": "boolean",
            "description": "If True, the fuel module is enabled on Fleeti One."
          },
          "isLiveMap": {
            "type": "boolean",
            "description": "If true, the live map module is enabled on Fleeti One."
          },
          "isAssetManagement": {
            "type": "boolean",
            "description": "If true, the asset management module is enabled on Fleeti One."
          },
          "isGroupManagement": {
            "type": "boolean",
            "description": "If true, the group management module is enabled on Fleeti One."
          },
          "isUserManagement": {
            "type": "boolean",
            "description": "If true, the user management module is enabled on Fleeti One."
          },
          "isTripsAndEcoDriving": {
            "type": "boolean",
            "description": "If true, the trips and Eco driving module is enabled on Fleeti One."
          },
          "isEngineHours": {
            "type": "boolean",
            "description": "If true, the engine hours module is enabled on Fleeti One."
          },
          "isAlerts": {
            "type": "boolean",
            "description": "If true, the alerts module is enabled on Fleeti One."
          },
          "gatewayCommands": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayCommandEnum"
            },
            "description": "List of commands the user is allowed to execute on an asset (if null, all commands are allowed).",
            "nullable": true
          },
          "isFleetiOne": {
            "type": "boolean",
            "description": "If true, the customer has access to Fleeti One."
          }
        },
        "additionalProperties": false
      },
      "UpdateNameAssetApi": {
        "required": [
          "assetId",
          "gatewayId",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 50,
            "minLength": 2,
            "type": "string",
            "description": "New gateway name."
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "UpdateOperationApi": {
        "required": [
          "countryCode",
          "operationType",
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "operationType": {
            "$ref": "#/components/schemas/OperationTypeEnum"
          },
          "countryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry)."
          },
          "providerCountryCode": {
            "type": "string",
            "description": "Provider country code. Must be defined in the parameters (api/v1/resource/searchprovider).",
            "nullable": true
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "customerReference": {
            "type": "string",
            "description": "Reference of the customer.",
            "nullable": true
          },
          "assetId": {
            "type": "string",
            "description": "Id of the asset.",
            "nullable": true
          },
          "gatewayToMaintainImei": {
            "type": "string",
            "description": "IMEI of the gateway to maintain. Required for Gateway Replacement or Gateway Uninstallation Operations.\r\nThe IMEI is composed of 15 digits.",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "description": "Comments on the reasons the gateway is being maintained. Required for Gateway Uninstallation Operations.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateOverrideSpeedApi": {
        "type": "object",
        "properties": {
          "fleetiOverrideSpeed": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePasswordUserApi": {
        "required": [
          "newPassword",
          "password"
        ],
        "type": "object",
        "properties": {
          "newPassword": {
            "maxLength": 100,
            "minLength": 8,
            "type": "string",
            "description": "Password to update."
          },
          "password": {
            "minLength": 1,
            "type": "string",
            "description": "The current password of the user."
          }
        },
        "additionalProperties": false
      },
      "UpdateProviderResourceApi": {
        "required": [
          "adminUsername",
          "countryCode",
          "customerWebAppUrl",
          "loginUsername",
          "providerPlan",
          "providerType"
        ],
        "type": "object",
        "properties": {
          "isHealthCheckRequired": {
            "type": "boolean",
            "description": "If true, process a health check on each provider."
          },
          "providerType": {
            "$ref": "#/components/schemas/ProviderTypeEnum"
          },
          "providerPlan": {
            "$ref": "#/components/schemas/ProviderPlanEnum"
          },
          "countryCode": {
            "minLength": 1,
            "type": "string",
            "description": "Country code. Must be defined in the parameters (api/v1/resource/searchcountry)."
          },
          "adminUsername": {
            "minLength": 1,
            "type": "string",
            "description": "Set the admin username of the provider."
          },
          "adminPassword": {
            "type": "string",
            "description": "Set the admin password of the provider.",
            "nullable": true
          },
          "loginUsername": {
            "minLength": 1,
            "type": "string",
            "description": "Set the login username of the provider."
          },
          "loginPassword": {
            "type": "string",
            "description": "Set the login password of the provider.",
            "nullable": true
          },
          "warehouseUserId": {
            "type": "string",
            "description": "Set the warehouse user id of the provider.",
            "nullable": true
          },
          "customerWebAppUrl": {
            "minLength": 1,
            "type": "string",
            "description": "Set the customer web app url of the provider."
          }
        },
        "additionalProperties": false
      },
      "UpdateRentalAssetApi": {
        "required": [
          "assetId",
          "contractNumber",
          "durationMonths",
          "endAt",
          "id",
          "startAt"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "Insurance ID to update."
          },
          "contractNumber": {
            "minLength": 1,
            "type": "string",
            "description": "Unique contract number."
          },
          "durationMonths": {
            "type": "integer",
            "description": "Number of months of the contract.",
            "format": "int64"
          },
          "totalMileage": {
            "type": "integer",
            "description": "Total Mileage of the contract.",
            "format": "int64"
          },
          "startMileage": {
            "type": "integer",
            "description": "Number of miles from the start of the contract.",
            "format": "int64"
          },
          "totalEngineHours": {
            "type": "integer",
            "description": "Total Engine hours of the contract.",
            "format": "int64"
          },
          "startEngineHours": {
            "type": "integer",
            "description": "Number of hours from the start of the contract.",
            "format": "int64"
          },
          "startAt": {
            "type": "string",
            "description": "Start date of the contract.",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "description": "End date of the contract.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "UpdateReportOperationApi": {
        "required": [
          "comments",
          "installedAt",
          "operationType",
          "reference"
        ],
        "type": "object",
        "properties": {
          "operationType": {
            "$ref": "#/components/schemas/OperationTypeEnum"
          },
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          },
          "gatewayId": {
            "type": "string",
            "description": "Gateway Id from the Provider.",
            "nullable": true
          },
          "comments": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Comments about the report."
          },
          "odometer": {
            "type": "number",
            "description": "Odometer value.",
            "format": "double",
            "nullable": true
          },
          "engineHours": {
            "type": "number",
            "description": "Engine hours value.",
            "format": "double",
            "nullable": true
          },
          "installedAt": {
            "type": "string",
            "description": "Date of the installation.",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "UpdateSettingCustomerApi": {
        "required": [
          "customerReference",
          "isVinMandatory"
        ],
        "type": "object",
        "properties": {
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "isConfidential": {
            "type": "boolean",
            "description": "If True, assets should be visible only by the customer's users and admin roles."
          },
          "isVinMandatory": {
            "type": "boolean",
            "description": "If true, the VIN property is mandatory on customer's assets."
          },
          "isDataUsageConsent": {
            "type": "boolean",
            "description": "If true, the organization consents to Fleeti using aggregated and anonymized data for product improvements."
          }
        },
        "additionalProperties": false
      },
      "UpdateSimAssetApi": {
        "required": [
          "assetId",
          "gatewayId",
          "operatorType"
        ],
        "type": "object",
        "properties": {
          "operatorType": {
            "$ref": "#/components/schemas/OperatorTypeEnum"
          },
          "iccid": {
            "type": "string",
            "description": "Last 7 digits of the ICCID (for International operators).\r\nThe ICCID (Integrated Circuit Card Identifier) is a unique serial number and is specific to your SIM card. \r\nIt is usually printed on the Sim card.\r\nRequired for International (7-20 characters) and Kore (any length) operators.",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "description": "The phone number of the Sim card.\r\nRequired if the operator tye is Locale, Caburn or Matooma.",
            "nullable": true
          },
          "apn": {
            "type": "string",
            "description": "The APN, (Access Point Name) is a gateway between a mobile network and the internet that allows a device to connect to the internet over the mobile network.\r\n\n \r\nRequired if the operator tye is Locale, Caburn or Matooma.",
            "nullable": true
          },
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "gatewayId": {
            "minLength": 1,
            "type": "string",
            "description": "Gateway ID."
          }
        },
        "additionalProperties": false
      },
      "UpdateSubuserProviderApi": {
        "required": [
          "customerReference",
          "firstName",
          "lastName",
          "login",
          "subuserId"
        ],
        "type": "object",
        "properties": {
          "subuserId": {
            "minLength": 1,
            "type": "string",
            "description": "Id of the subuser to update."
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "userRoleId": {
            "type": "string",
            "description": "Id of the user role.",
            "nullable": true
          },
          "login": {
            "minLength": 1,
            "type": "string",
            "description": "Email of the subuser.",
            "format": "email"
          },
          "firstName": {
            "minLength": 1,
            "type": "string",
            "description": "First name of the subuser."
          },
          "lastName": {
            "minLength": 1,
            "type": "string",
            "description": "Last name of the subuser."
          },
          "phoneNumber": {
            "type": "string",
            "description": "Phone number of the subuser.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateUserApi": {
        "required": [
          "email",
          "firstName",
          "id",
          "languageCode",
          "lastName",
          "role"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string",
            "description": "User Id."
          },
          "firstName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "First name."
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 2,
            "type": "string",
            "description": "Last name."
          },
          "email": {
            "minLength": 1,
            "type": "string",
            "description": "Email.",
            "format": "email"
          },
          "phoneNumber": {
            "maxLength": 10,
            "type": "string",
            "description": "Phone number.",
            "format": "tel",
            "nullable": true
          },
          "languageCode": {
            "minLength": 1,
            "type": "string",
            "description": "Language code."
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "role": {
            "$ref": "#/components/schemas/UserRoleEnum"
          },
          "accessCountry": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of countries the user has access to.",
            "nullable": true
          },
          "workingHours": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkingHoursNestedApi"
            },
            "description": "List of working hours.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateUserRoleProviderApi": {
        "required": [
          "customerReference",
          "label",
          "privileges",
          "userRoleId"
        ],
        "type": "object",
        "properties": {
          "userRoleId": {
            "minLength": 1,
            "type": "string",
            "description": "User role Id to update."
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Customer reference."
          },
          "label": {
            "minLength": 1,
            "type": "string",
            "description": "Name of user role."
          },
          "privileges": {
            "$ref": "#/components/schemas/CreateOrUpdateUserRolePrivilegeProviderApi"
          }
        },
        "additionalProperties": false
      },
      "UpdateVerificationOperationApi": {
        "required": [
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          }
        },
        "additionalProperties": false
      },
      "UserApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "User Id.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Creation date.",
            "format": "date-time"
          },
          "firstName": {
            "type": "string",
            "description": "First name.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name.",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Email.",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "description": "Phone number.",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "description": "Image URL.",
            "nullable": true
          },
          "lastConnectionAt": {
            "type": "string",
            "description": "Last connection date.",
            "format": "date-time",
            "nullable": true
          },
          "isFirstConnection": {
            "type": "boolean",
            "description": "True if the user has never logged in."
          },
          "emailConfirmed": {
            "type": "boolean",
            "description": "True if the email is confirmed."
          },
          "languageCode": {
            "type": "string",
            "description": "User language code.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Country code.",
            "nullable": true
          },
          "countryPhoneCode": {
            "type": "string",
            "description": "Country phone code.",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "description": "User time zone.",
            "nullable": true
          },
          "workingHours": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkingHoursNestedApi"
            },
            "description": "List of working hours.",
            "nullable": true
          },
          "isTemporaryPassword": {
            "type": "boolean",
            "description": "Is the user password temporary (reset by someone else)."
          },
          "role": {
            "$ref": "#/components/schemas/UserRoleEnum"
          },
          "accessCustomers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserCustomerNestedApi"
            },
            "description": "List of customers the user has access to.",
            "nullable": true
          },
          "accessCountry": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of countries the user has access to.",
            "nullable": true
          },
          "accessAssets": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of assets the user has access to.",
            "nullable": true
          },
          "modules": {
            "$ref": "#/components/schemas/UserModuleNestedApi"
          }
        },
        "additionalProperties": false
      },
      "UserApiResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/UserApi"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserApiResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserApi"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserCustomerNestedApi": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "description": "Customer identifier.",
            "nullable": true
          },
          "customerReference": {
            "type": "string",
            "description": "Customer reference.",
            "nullable": true
          },
          "customerRole": {
            "$ref": "#/components/schemas/UserCustomerRoleEnum"
          }
        },
        "additionalProperties": false
      },
      "UserCustomerRoleEnum": {
        "enum": [
          10,
          15,
          20,
          30
        ],
        "type": "integer",
        "description": "Admin = 10 | Support = 15 | Basic = 20 | Driver = 30",
        "format": "int32",
        "x-enumNames": [
          "Admin",
          "Support",
          "Basic",
          "Driver"
        ],
        "x-enumDescriptions": [
          "Admin",
          "Support",
          "Basic",
          "Driver"
        ],
        "x-displayName": [
          "Admin",
          "Support",
          "Basic",
          "Driver"
        ]
      },
      "UserImageApi": {
        "type": "object",
        "properties": {
          "removeImage": {
            "type": "boolean",
            "nullable": true
          },
          "fileName": {
            "pattern": "(?i).*\\.(jpg|jpeg|png)$",
            "type": "string",
            "description": "File name.",
            "nullable": true
          },
          "fileBase64": {
            "type": "string",
            "description": "File encoded in base64.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "User profile image upload/remove."
      },
      "UserInstallNestedApi": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/UserNestedApi"
          }
        },
        "additionalProperties": false
      },
      "UserModuleNestedApi": {
        "required": [
          "isAlerts",
          "isApi",
          "isAssetManagement",
          "isEngineHours",
          "isGroupManagement",
          "isLiveMap",
          "isTrackingFleeti",
          "isTripsAndEcoDriving",
          "isUserManagement"
        ],
        "type": "object",
        "properties": {
          "isApi": {
            "type": "boolean",
            "description": "If true, the customer can integrate Fleeti API in its system."
          },
          "isTrackingFleeti": {
            "type": "boolean",
            "description": "If true, the users could access to Tracking Fleeti."
          },
          "isTemperature": {
            "type": "boolean",
            "description": "If True, the temperature module is enabled on Fleeti One."
          },
          "isFuel": {
            "type": "boolean",
            "description": "If True, the fuel module is enabled on Fleeti One."
          },
          "isLiveMap": {
            "type": "boolean",
            "description": "If true, the live map module is enabled on Fleeti One."
          },
          "isAssetManagement": {
            "type": "boolean",
            "description": "If true, the asset management module is enabled on Fleeti One."
          },
          "isGroupManagement": {
            "type": "boolean",
            "description": "If true, the group management module is enabled on Fleeti One."
          },
          "isUserManagement": {
            "type": "boolean",
            "description": "If true, the user management module is enabled on Fleeti One."
          },
          "isTripsAndEcoDriving": {
            "type": "boolean",
            "description": "If true, the trips and Eco driving module is enabled on Fleeti One."
          },
          "isEngineHours": {
            "type": "boolean",
            "description": "If true, the engine hours module is enabled on Fleeti One."
          },
          "isAlerts": {
            "type": "boolean",
            "description": "If true, the alerts module is enabled on Fleeti One."
          },
          "gatewayCommands": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GatewayCommandEnum"
            },
            "description": "List of commands the user is allowed to execute on an asset (if null, all commands are allowed).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserNested": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "role": {
            "$ref": "#/components/schemas/UserRoleEnum"
          }
        },
        "additionalProperties": false
      },
      "UserNestedApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "User Id.",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "First name.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name.",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "Email.",
            "nullable": true
          },
          "role": {
            "$ref": "#/components/schemas/UserRoleEnum"
          }
        },
        "additionalProperties": false
      },
      "UserProvider": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "$ref": "#/components/schemas/AddressNested"
          },
          "activated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UserProviderResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserProvider"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserRightProviderEnum": {
        "enum": [
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20
        ],
        "type": "integer",
        "description": "TrackerUpdate = 2 | TrackerRegister = 3 | TrackerRuleUpdate = 4 | TrackerConfigure = 5 | TrackerSetOutput = 6 | TagUpdate = 7 | TaskUpdate = 8 | ZoneUpdate = 9 | PlaceUpdate = 10 | EmployeeUpdate = 11 | VehicleUpdate = 12 | PaymentCreate = 13 | FormTemplateUpdate = 14 | Reports = 15 | CheckinUpdate = 16",
        "format": "int32",
        "x-enumNames": [
          "TrackerUpdate",
          "TrackerRegister",
          "TrackerRuleUpdate",
          "TrackerConfigure",
          "TrackerSetOutput",
          "TagUpdate",
          "TaskUpdate",
          "ZoneUpdate",
          "PlaceUpdate",
          "EmployeeUpdate",
          "VehicleUpdate",
          "PaymentCreate",
          "FormTemplateUpdate",
          "Reports",
          "CheckinUpdate",
          "PlacesCustomFieldsUpdate",
          "VideoMonitoring",
          "WeblocatorSessionCreate",
          "DeliverySessionCreate"
        ],
        "x-enumDescriptions": [
          "TrackerUpdate",
          "TrackerRegister",
          "TrackerRuleUpdate",
          "TrackerConfigure",
          "TrackerSetOutput",
          "TagUpdate",
          "TaskUpdate",
          "ZoneUpdate",
          "PlaceUpdate",
          "EmployeeUpdate",
          "VehicleUpdate",
          "PaymentCreate",
          "FormTemplateUpdate",
          "Reports",
          "CheckinUpdate",
          "PlacesCustomFieldsUpdate",
          "VideoMonitoring",
          "WeblocatorSessionCreate",
          "DeliverySessionCreate"
        ],
        "x-displayName": [
          "TrackerUpdate",
          "TrackerRegister",
          "TrackerRuleUpdate",
          "TrackerConfigure",
          "TrackerSetOutput",
          "TagUpdate",
          "TaskUpdate",
          "ZoneUpdate",
          "PlaceUpdate",
          "EmployeeUpdate",
          "VehicleUpdate",
          "PaymentCreate",
          "FormTemplateUpdate",
          "Reports",
          "CheckinUpdate",
          "PlacesCustomFieldsUpdate",
          "VideoMonitoring",
          "WeblocatorSessionCreate",
          "DeliverySessionCreate"
        ]
      },
      "UserRoleEnum": {
        "enum": [
          10,
          20,
          25,
          30,
          35,
          40,
          50,
          55,
          56,
          60,
          70,
          71,
          100,
          101
        ],
        "type": "integer",
        "description": "FleetiSuperAdmin = 10 | FleetiAdmin = 20 | FleetiCustomerServiceAdmin = 25 | FleetiCustomerService = 30 |FleetiCustomerServiceFinance = 35 | FleetiSales = 40 | FleetiOperator = 50 | FleetiTechnicianAdmin = 55 | FleetiTechnician = 56 | FleetiReadOnlyUser = 60 | FlowUser = 70 | FlowGoTechnician = 71 | Customer = 100",
        "format": "int32",
        "x-enumNames": [
          "FleetiSuperAdmin",
          "FleetiAdmin",
          "FleetiCustomerServiceAdmin",
          "FleetiCustomerService",
          "FleetiCustomerServiceFinance",
          "FleetiSales",
          "FleetiOperator",
          "FleetiTechnicianAdmin",
          "FleetiTechnician",
          "FleetiReadOnlyUser",
          "FlowUser",
          "FlowGoTechnician",
          "Customer",
          "CustomerWithCountryAccess"
        ],
        "x-enumDescriptions": [
          "FleetiSuperAdmin",
          "FleetiAdmin",
          "FleetiCustomerServiceAdmin",
          "FleetiCustomerService",
          "FleetiCustomerServiceFinance",
          "FleetiSales",
          "FleetiOperator",
          "FleetiTechnicianAdmin",
          "FleetiTechnician",
          "FleetiReadOnlyUser",
          "FlowUser",
          "FlowGoTechnician",
          "Customer",
          "CustomerWithCountryAccess"
        ],
        "x-displayName": [
          "FleetiSuperAdmin",
          "FleetiAdmin",
          "FleetiCustomerServiceAdmin",
          "FleetiCustomerService",
          "FleetiCustomerServiceFinance",
          "FleetiSales",
          "FleetiOperator",
          "FleetiTechnicianAdmin",
          "FleetiTechnician",
          "FleetiReadOnlyUser",
          "FlowUser",
          "FlowGoTechnician",
          "Customer",
          "CustomerWithCountryAccess"
        ]
      },
      "UserRolePrivilegeProvider": {
        "type": "object",
        "properties": {
          "rights": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserRightProviderEnum"
            },
            "description": "List of rights.",
            "nullable": true
          },
          "storePeriod": {
            "$ref": "#/components/schemas/UserStorePeriodProvider"
          }
        },
        "additionalProperties": false
      },
      "UserRoleProvider": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the user role.",
            "nullable": true
          },
          "label": {
            "type": "string",
            "description": "Display name of the user role.",
            "nullable": true
          },
          "privileges": {
            "$ref": "#/components/schemas/UserRolePrivilegeProvider"
          }
        },
        "additionalProperties": false
      },
      "UserRoleProviderResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/UserRoleProvider"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserRoleProviderResultsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserRoleProvider"
            },
            "description": "List of paginated results.",
            "nullable": true
          },
          "resultsCounted": {
            "type": "integer",
            "description": "Total number of results.",
            "format": "int64"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserStorePeriodProvider": {
        "type": "object",
        "properties": {
          "periodNumber": {
            "type": "integer",
            "description": "Period number.",
            "format": "int32"
          },
          "periodDuration": {
            "$ref": "#/components/schemas/StorePeriodProviderEnum"
          }
        },
        "additionalProperties": false
      },
      "ValidateConfigurationOperationApi": {
        "required": [
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          }
        },
        "additionalProperties": false
      },
      "ValidationOperationNestedApi": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/UserNestedApi"
          },
          "createdAt": {
            "type": "string",
            "description": "Date of validation.",
            "format": "date-time"
          },
          "comment": {
            "type": "string",
            "description": "Comments of the validation.",
            "nullable": true
          },
          "isForced": {
            "type": "boolean",
            "description": "If true, the check of the gateway is skipped."
          }
        },
        "additionalProperties": false
      },
      "VehicleAssetProperties": {
        "type": "object",
        "properties": {
          "vin": {
            "type": "string",
            "nullable": true
          },
          "licensePlate": {
            "type": "string",
            "nullable": true
          },
          "licensePlateUnformatted": {
            "type": "string",
            "nullable": true
          },
          "vehicleType": {
            "$ref": "#/components/schemas/VehicleTypeEnum"
          },
          "energyType": {
            "$ref": "#/components/schemas/EnergyTypeEnum"
          },
          "manufacturedYear": {
            "type": "integer",
            "format": "int64"
          },
          "releaseYear": {
            "type": "integer",
            "format": "int64"
          },
          "tankCapacity": {
            "type": "number",
            "format": "double"
          },
          "isTankAccessible": {
            "type": "boolean"
          },
          "theoriticalFuelConsumption": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "VehicleTypeEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20
        ],
        "type": "integer",
        "description": "Undefined = 0 | Car = 1 | Boat = 2 | Truck = 3 | Heavy = 4 | Agricultural = 5 | Minivan = 6 | Van = 7 | Pickup = 9 | Minibus = 10 | Motorbike = 11 | Machine = 12 | Genset = 13 | Scooter = 14 | ColdRoom = 15 | Bus = 16 | Tricycle = 17 | JetSki = 18 | Buggy = 19 | HandlingCart = 20",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Car",
          "Boat",
          "Truck",
          "Heavy",
          "Agricultural",
          "Minivan",
          "Van",
          "Pickup",
          "Minibus",
          "Motorbike",
          "Machine",
          "Genset",
          "Scooter",
          "ColdRoom",
          "Bus",
          "Tricycle",
          "JetSki",
          "Buggy",
          "HandlingCart"
        ],
        "x-enumDescriptions": [
          "Undefined",
          "Car",
          "Boat",
          "Truck",
          "Heavy",
          "Agricultural",
          "Minivan",
          "Van",
          "Pickup",
          "Minibus",
          "Motorbike",
          "Machine",
          "Genset",
          "Scooter",
          "ColdRoom",
          "Bus",
          "Tricycle",
          "JetSki",
          "Buggy",
          "HandlingCart"
        ],
        "x-displayName": [
          "Undefined",
          "Car",
          "Boat",
          "Truck",
          "Heavy",
          "Agricultural",
          "Minivan",
          "Van",
          "Pickup",
          "Minibus",
          "Motorbike",
          "Machine",
          "Genset",
          "Scooter",
          "ColdRoom",
          "Bus",
          "Tricycle",
          "JetSki",
          "Buggy",
          "HandlingCart"
        ]
      },
      "VerificationNested": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ResultEnum"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "$ref": "#/components/schemas/UserNested"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValueNested"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VerificationNestedApi": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/ResultEnum"
          },
          "updatedAt": {
            "type": "string",
            "description": "Date of verification.",
            "format": "date-time"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyValueNestedApi"
            },
            "description": "Errors detected during the verification process.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VerificationOperationStorage": {
        "type": "object",
        "properties": {
          "gateway": {
            "$ref": "#/components/schemas/GatewayVerificationStorageBase"
          },
          "accessories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessoryVerificationStorageBase"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VerificationOperationStorageResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/VerificationOperationStorage"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VerifyConfigurationOperationApi": {
        "required": [
          "reference"
        ],
        "type": "object",
        "properties": {
          "reference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the operation."
          }
        },
        "additionalProperties": false
      },
      "VisitOperationNestedApi": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Start date of the visit.",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "description": "End date of the visit.",
            "format": "date-time"
          },
          "comments": {
            "type": "string",
            "description": "Useful information about the visit (usually read by the technician(s)).",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/AddressNestedApi"
          },
          "installedBy": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserInstallNestedApi"
            },
            "description": "List of technicians that will execute the operation(s).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WakeUpGatewayApi": {
        "required": [
          "assetId",
          "customerReference",
          "imei"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minLength": 1,
            "type": "string",
            "description": "Asset ID."
          },
          "imei": {
            "minLength": 1,
            "type": "string",
            "description": "IMEI of the gateway."
          },
          "customerReference": {
            "minLength": 1,
            "type": "string",
            "description": "Reference of the customer the asset must belong to; an asset of another customer is not found."
          },
          "allowSms": {
            "type": "boolean",
            "description": "When false, only the getrecord probe runs; an unresponsive device is reported offline without an SMS wake-up."
          }
        },
        "additionalProperties": false
      },
      "WakeUpGatewayResponse": {
        "type": "object",
        "properties": {
          "isOnline": {
            "type": "boolean",
            "description": "Indicates whether the device answered, directly or after an SMS wake-up."
          },
          "wokenBySms": {
            "type": "boolean",
            "description": "Indicates whether an SMS wake-up was needed for the device to answer."
          },
          "failureReason": {
            "$ref": "#/components/schemas/ImmobilizationFailureReasonEnum"
          },
          "errorCategory": {
            "$ref": "#/components/schemas/ImmobilizationErrorCategoryEnum"
          }
        },
        "additionalProperties": false,
        "description": "Response for WakeUpGatewayAsync. An unreachable device is a normal outcome, not an error."
      },
      "WakeUpGatewayResponseResultResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/WakeUpGatewayResponse"
          },
          "isSuccess": {
            "type": "boolean",
            "description": "True if the request has succeed."
          },
          "httpCode": {
            "type": "integer",
            "description": "Http code.",
            "format": "int32"
          },
          "errorCode": {
            "type": "string",
            "description": "Unique identifier of the error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Description of the error.",
            "nullable": true
          },
          "modelErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelErrors"
            },
            "description": "List the errors.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkingHoursNestedApi": {
        "required": [
          "dayOfWeek",
          "endTime",
          "startTime"
        ],
        "type": "object",
        "properties": {
          "dayOfWeek": {
            "$ref": "#/components/schemas/DayOfTheWeek"
          },
          "startTime": {
            "type": "string",
            "description": "Set the start working time for the day.",
            "format": "date-span"
          },
          "endTime": {
            "type": "string",
            "description": "Set the end working time for the day.",
            "format": "date-span"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"",
        "name": "Authorization",
        "in": "header"
      },
      "ApiKey": {
        "type": "apiKey",
        "description": "API Key authentication. Example: \"x-api-key: Your-API-Key\"",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ],
      "ApiKey": [ ]
    }
  ]
}