openapi: 3.0.1
info:
  title: Transportial OTMS API
  description: >-
    Welcome to the Transportial API. It\'s the full API access for the OTMS
    Transportatial application. Every feature that is available (and more)
                in the UI is available here. It\'s our mission to facilitate open, fast, enterprise grade architecture for transportation.
            
  termsOfService: https://docs.transportial.com/legal/terms
  contact:
    name: Transportial
    url: http://transportial.com
    email: info@transportial.com
  version: 0.9.74
servers:
  - url: https://test.api.otms.transportial.com/api
    description: Test environment
  - url: https://api.otms.transportial.com/api
    description: Production
security:
  - bearer: []
  - apiKey: []
  - apiSecret: []
tags:
  - name: Calendar Events
    description: Calendar occurrences for vehicles within a date range.
  - name: Tender
    description: Tenders can be stacked and constrain different activities in their context
  - name: Widget
    description: Widgets can be stacked and constrain different activities in their context
  - name: Vehicle
    description: >-
      A `Vehicle` is a means to transport consignments from one location to
      potentially multiple other locations. There are various types of vehicles,
      each with their own unique properties like size, dimensions, fuel type and
      means of tranport (by air, on land, over sea).
  - name: Trip
    description: >-
      A Trip is an aggregate entity that combines various entities to model
      visiting various locations, potentially doing one or multiple actions on
      each location, such as loading or unloading consignments. It is optionally
      coupled to a Vehicle that is/was driving this trip.
  - name: File
    description: >-
      File management. Upload, retrieve and download files. Categorized by it's
      purpose. 
  - name: CapacityContract
    description: >-
      The CapacityContract is the entity to model a contract of a purchase of
      certain amount of scheduled capacity.
  - name: MessageTemplate
    description: >-
      MessageTemplates can be stacked and constrain different activities in
      their context
  - name: Business
    description: >-
      Business is a base entity that describes a companies information. Thiis
      entity is used for contracts, clients, invoices, quotes, etc. It can be
      any type of relation you do business with.
  - name: SAML
    description: >-
      SAML Configuration for Single-SignOn(SSO) establishment between
      Service-Provider(SP) and Identity-Provider(IDP)
  - name: Route
    description: >-
      A route models the path going from one location to at least one other
      location.
  - name: Chat
    description: Sending messages to users grouped by rooms
  - name: TransportEquipment
    description: >-
      TransportEquipment are the items to be transported as part of a
      consignment. TransportEquipment can be divided into two sub-types of
      transportEquipment, depending on the use case and the level of detail.
      TransportEquipment either consists of items, describing the actual
      transportEquipment to be transported. Or a transport equipment, which is
      equipment used to carry the actual transportEquipment to be transported.
      Transport equipment is (usually) a means to an end, not something that
      needs to be transported on itself, such as pallets.
  - name: Insights
    description: All the insights you need can be gathered from these endpoints
  - name: User
    description: Users related to the platform and all actions required
  - name: DocumentTemplate
    description: >-
      Visual document template designer for creating CMR, invoices, quotes and
      custom documents
  - name: Message automation
    description: >-
      MessageAutomations are communication automation connectors that can use
      events
  - name: Chauffeur
    description: >-
      Chauffeurs are the people who are responsible for controlling a Vehicle.
      They have schedules, planning and legal responsibilities.
  - name: User roles
    description: The permissions grouped by a \"Role\", that can be assigned to a user
  - name: StackMap
    description: A stackMap models the snapshots of planned stacking across locations.
  - name: Quote
    description: Quotes
  - name: ScheduleRoute
    description: >-
      A scheduleRoute is a device that is able to measure a quantity in a
      certain unit, such as measuring the speed in km/h.
  - name: VehicleGroup
    description: >-
      A VehicleGroup is a group of Vehicle's. Groups can be used to reference a
      list of vehicles without having to select each individual one. 
  - name: LedgerEntry
    description: LedgerEntry ...
  - name: Goods
    description: >-
      Goods are the items to be transported as part of a consignment. Goods can
      be divided into two sub-types of goods, depending on the use case and the
      level of detail. Goods either consists of items, describing the actual
      goods to be transported. Or a transport equipment, which is equipment used
      to carry the actual goods to be transported. Transport equipment is
      (usually) a means to an end, not something that needs to be transported on
      itself, such as pallets.
  - name: Transaction
    description: Transactions
  - name: Async
    description: Generic asynchronous request results
  - name: Terminal
    description: Terminal management for term&conditions in forwarded orders
  - name: Notification
    description: >-
      Notification endpoint to notify people, groups or the entire user base of
      things they might want to know or need to know
  - name: Capacity
    description: A capacity models the amount of cargo, a schedule can deliver.
  - name: Attribute
    description: >-
      Object describing a geographic attribute. A attribute can either be a
      point or an area.
  - name: Sensor
    description: >-
      A sensor is a device that is able to measure a quantity in a certain unit,
      such as measuring the speed in km/h.
  - name: Camera
    description: A Camera.
  - name: Location
    description: >-
      Object describing a geographic location. A location can either be a point
      or an area.
  - name: TransportOrder
    description: >-
      The TransportOrder is the top-level entity to model a group of related
      consignments that might be transported separately, but need to be
      administered together.
  - name: Team
    description: >-
      A Team is a group of Vehicle's. Groups can be used to reference a list of
      vehicles without having to select each individual one. 
  - name: ToDo
    description: A to-do represents a basic specific task within a lane of a board.
  - name: Constraint
    description: >-
      Constraints can be stacked and constrain different activities in their
      context
  - name: General
    description: General reference data sets like Languages, Currencies etc.
  - name: Pricing
    description: >-
      A pricing models the path going from one location to at least one other
      location.
  - name: Invoice
    description: Invoices
  - name: Integration
    description: Update an existing integration test case.
  - name: Lane
    description: A lane contains a location and status of a todo task.
  - name: Administration
    description: >-
      Administrations can be stacked and constrain different activities in their
      context
  - name: Consignment
    description: >-
      Consignments can be stacked and constrain different activities in their
      context
  - name: BoardComputer
    description: >-
      A Boardcomputer is a device that tracks properties of a Vehicle. Values
      received from a Boardcomputer can be the current location, speed,
      temperatues etc.
  - name: Booking
    description: >-
      Object describing a geographic booking. A booking can either be a point or
      an area.
  - name: Document
    description: >-
      Documents are the base entities to handle all types of external data files
      and the references to them
  - name: Chauffeur Calendar Events Occurrences
    description: Calendar Events API endpoints.
  - name: Complaint
    description: >-
      Object describing a geographic Complaint. A Complaint can either be a
      point or an area.
  - name: Routing
    description: >-
      Everything routing: meaning the routes from A-B supporting multiple
      modalities
  - name: Board
    description: >-
      Boards contain Lanes and might represent a module of a project or a
      project itself
  - name: Event
    description: >-
      Events - like actions - model dynamic entities that couple various static
      entities at a certain moment in time. Events are used for either real-time
      updates, or updates on earlier provided data. Notice that in both event
      types these are updates on earlier provided data, whereas actions are
      usually used together with the entities they dynamically couple.
  - name: Timeslot Booking
    description: Endpoints for managing delivery/pickup timeslot bookings
  - name: Action
    description: Actions can be stacked and constrain different activities in their context
  - name: CalendarEvent
    description: >-
      Calendar events management for vehicles, transport equipment, and
      chauffeurs
  - name: Mail
    description: Mails can be stacked and constrain different activities in their context
  - name: Fleet
    description: Fleets can be stacked and constrain different activities in their context
  - name: Tire
    description: >-
      Object describing a geographic Tire. A Tire can either be a point or an
      area.
  - name: Settings
    description: The user settings for the system
  - name: Actor
    description: Actors can be stacked and constrain different activities in their context
  - name: Type
    description: Types
  - name: Action Schedules
    description: Manage standalone operational schedules.
  - name: Damage
    description: >-
      Object describing a geographic damage. A damage can either be a point or
      an area.
  - name: Optimization
    description: >-
      Transport optimization endpoints for creating optimal trips and managing
      routes
  - name: Tachograph
    description: Tachograph methods
  - name: Contract
    description: Contracts
  - name: Management
    description: 'The management overviews '
  - name: TQL
    description: >-
      `TQL` stands for "Transportial Query Language". It's used to be able to
      run any query from a given JSON request
  - name: Chauffeur Timeslots
    description: Chauffeur Timeslot API endpoints.
  - name: Certificate
    description: >-
      Object describing a geographic Certificate. A Certificate can either be a
      point or an area.
  - name: Chauffeur Calendar Events
    description: Check if a specific chauffeur is available within a date range.
  - name: ServiceCard
    description: >-
      Object describing a geographic ServiceCard. A ServiceCard can either be a
      point or an area.
  - name: Ban
    description: >-
      Object describing a geographic Ban. A Ban can either be a point or an
      area.
  - name: Transportial
    description: >-
      Our full API documentation can be found here for OTMS. It describes our
      endpoints and the way we accept data.
  - name: Authentication
    description: >-
      You can authenticate users by a login call and sending their token in the
      Authorization header. 
  - name: OTM5
    description: |-
      Our API is fully supportive of the OTM5 data structure. 
                      You can send and receive those objects in the exact definition. In our documentation you will find our 
                      other objects and you don\'t _need_ to use Associations, we do return that structure however.
    externalDocs:
      description: The OTM5 documentation can be found here
      url: https://otm5.opentripmodel.org/
paths:
  /calendar/vehicles/{vehicleId}/available:
    get:
      tags:
        - Calendar Events
      summary: >-
        Check if a specific vehicle is available (no conflicting calendar
        events) within a date range.
      operationId: isVehicleAvailable
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Successful availability check.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetAvailabilityResponse'
        '400':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Vehicle not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tenders/{offset}/{amount}:
    get:
      tags:
        - Tender
      summary: Get tenders
      description: Get list of tenders
      operationId: get:tenders
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Tender
      summary: Get tenders
      description: Search list of tenders based on query and params
      operationId: search:tenders_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchTendersRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /widget/public/{id}/{publicKey}:
    get:
      tags:
        - Widget
      summary: Get public widget
      description: 'Get a widget on id and '
      operationId: get:widget:public
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: publicKey
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WidgetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicles/{uuid}/{lifeCycle}/events/{offset}/{amount}:
    get:
      tags:
        - Vehicle
      summary: Get the location of all vehicles
      description: Get the location of all vehicles within a platform
      operationId: get:vehicles:events
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: uuid
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle ID
        - name: lifeCycle
          in: path
          required: true
          schema:
            type: string
            description: The LifeCycle
            enum:
              - requested
              - planned
              - projected
              - actual
              - realized
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/start:
    get:
      tags:
        - Trip
      summary: Start a trip
      description: Starting a trip and attaching it to the vehicle
      operationId: handle
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: query
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /file/{id}/download:
    get:
      tags:
        - File
      summary: Download file
      description: Download file from ID
      operationId: download:file
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '201':
          description: Success
          content:
            image/*: {}
            application/*: {}
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /capacityContract/{id}:
    get:
      tags:
        - CapacityContract
      summary: Get a capacityContract
      description: Get a capacityContract by id
      operationId: get:capacityContract
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityContractResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - CapacityContract
      summary: Delete capacityContract
      description: Delete a new capacityContract
      operationId: delete:capacityContract
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityContractResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageTemplate:
    put:
      tags:
        - MessageTemplate
      summary: Update messageTemplate
      description: Update a messageTemplate
      operationId: update:messageTemplate
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MessageTemplate'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageTemplateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - MessageTemplate
      summary: Create messageTemplate
      description: Create a new messageTemplate
      operationId: create:messageTemplate
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MessageTemplate'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageTemplateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /widgets/{offset}/{amount}:
    get:
      tags:
        - Widget
      summary: Get widgets
      description: Get list of widgets
      operationId: get:widgets
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WidgetsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Widget
      summary: Get widgets
      description: Search list of widgets based on query and params
      operationId: search:widgets
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WidgetsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /business/{id}/unverify:
    get:
      tags:
        - Business
      summary: Verify business
      description: Verify a business on id
      operationId: verify:business
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /samls/{offset}/{amount}:
    get:
      tags:
        - SAML
      summary: Get SAMLs
      description: Get SAML Configurations
      operationId: handle_2
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SAMLsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - SAML
      summary: Get SAMLs
      description: Get SAML Configurations
      operationId: handle_135
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SAMLsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /route/calculate:georeferences:
    post:
      tags:
        - Route
      summary: Calculate and create a new route
      description: Calculate and create a new route based on Vehicle and the Georeferences
      operationId: handle_3
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalculateRouteFromGeoReferencesRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/message/{id}:
    get:
      tags:
        - Chat
      summary: Get message
      description: Get message by ID
      operationId: handle_5
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Chat
      summary: Delete message
      description: Delete message by ID
      operationId: handle_282
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportEquipment/{id}:
    get:
      tags:
        - TransportEquipment
      summary: Get transportEquipment
      description: Get a transportEquipment on id
      operationId: handle_120
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportEquipmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - TransportEquipment
      summary: Delete transportEquipment
      description: Delete a transportEquipment
      operationId: handle_6
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportEquipmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /serviceCard:
    put:
      tags:
        - ServiceCard
      summary: Update ServiceCard
      description: Update a ServiceCard
      operationId: handle_186
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceCardModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceCardResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - ServiceCard
      summary: Create ServiceCard
      description: Create a new ServiceCard
      operationId: handle_7
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceCardCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceCardResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/trips:loading/location/{id}:
    post:
      tags:
        - Insights
      summary: Get trips loading sheet per location
      description: Get trips loading sheet per location by a date range
      operationId: get:tripsLoadingSheet
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: startDate
          in: path
          required: true
          schema:
            type: string
        - name: endDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user:
    get:
      tags:
        - User
      summary: Get the logged in user
      description: Get the currently logged in user
      operationId: handle_8
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - User
      summary: Update the user
      description: >-
        Update the password of the currently logged in user. The current
        password has to be known for this change
      operationId: handle_280
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUserRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - User
      summary: Create a new user
      description: >-
        Invite a new user to the platform through an invitation e-mail, the user
        has to reset his password.
      operationId: handle_270
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateUserRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /documentTemplate/{id}/duplicate:
    post:
      tags:
        - DocumentTemplate
      summary: Duplicate document template
      description: Create a copy of an existing document template
      operationId: handle_9
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: ID of the template to duplicate
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplateResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Document template not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /route/{id}:
    get:
      tags:
        - Route
      summary: Get route
      description: Get a route on id
      operationId: handle_10
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Route
      summary: Delete route
      description: Delete a route
      operationId: handle_277
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomations/{offset}/{amount}:
    get:
      tags:
        - Message automation
      summary: Get MessageAutomations
      description: Get a MessageAutomations
      operationId: handle_250
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Message automation
      summary: Get MessageAutomations
      description: Get a MessageAutomations
      operationId: handle_12
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /complaints/vehicle/{id}/{offset}/{amount}:
    get:
      tags:
        - Complaint
      summary: Get complaints against a vehicle
      description: Get list of Complaints
      operationId: handle_13
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/timeslot:
    put:
      tags:
        - Chauffeur
      summary: Update chauffeur timeslot
      description: Update a chauffeur timeslot
      operationId: update:chauffeur:timeslot
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChauffeurActivityModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurActivityResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Chauffeur
      summary: Create chauffeur timeslot allocation
      description: Allocate a timeslot in the drivers schedule.
      operationId: create:chauffeur:timeslot
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChauffeurActivityModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurActivityResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /calendar/recurring-events/{recurringEventId}/exception:
    post:
      tags:
        - Calendar Events
      summary: Add or update an exception for a specific recurring event.
      operationId: addEventException
      requestBody:
        description: Details of the exception to add/update.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateExceptionRequest'
        required: true
      responses:
        '200':
          description: Exception added/updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventExceptionResponse'
        '400':
          description: Invalid input data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Recurring event not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /roles/{offset}/{amount}:
    get:
      tags:
        - User roles
      summary: Get all the users
      description: Get all users
      operationId: handle_362
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserRolesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - User roles
      summary: Search all the roles
      description: Search all the roles based on search parameters
      operationId: handle_14
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserRolesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /stack-map/{id}:
    get:
      tags:
        - StackMap
      summary: Get stackMap
      description: Get a stackMap on id
      operationId: handle_15
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StackMapResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - StackMap
      summary: Delete stackMap
      description: Delete a stackMap
      operationId: handle_228
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StackMapResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/{id}/create:transportOrder:
    post:
      tags:
        - Quote
      summary: Create transport order from quote
      description: Create transport order entity from an accepted quote
      operationId: handle_16
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /scheduleRoute:
    put:
      tags:
        - ScheduleRoute
      summary: Get scheduleRoutes
      description: Get list of scheduleRoutes
      operationId: handle_17
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleRoutesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - ScheduleRoute
      summary: Create scheduleRoute
      description: Create a new scheduleRoute
      operationId: handle_188
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScheduleRouteCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleRouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicleGroups/{offset}/{amount}:
    get:
      tags:
        - VehicleGroup
      summary: Get vehicleGroups
      description: Get list of vehicleGroups
      operationId: get:vehicleGroups
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleGroupsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - VehicleGroup
      summary: Search vehicleGroups
      description: Search list of vehicleGroups
      operationId: search:vehicleGroups
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleGroupsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /ledgerEntriesByDateRange:
    post:
      tags:
        - LedgerEntry
      summary: Get LedgerEntries by entity type
      description: Get list of ledgerEntries
      operationId: get:actions
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FindByDateRangeRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /goodss/{offset}/{amount}:
    get:
      tags:
        - Goods
      summary: Get goodss
      description: Get list of goodss
      operationId: handle_18
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoodsListResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Goods
      summary: Search goods
      description: Search goods
      operationId: handle_128
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoodsListResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /alert/{id}/ignore:
    put:
      tags:
        - Alert
      summary: Ignore alert
      description: Ignore a alert on id
      operationId: handle_19
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transactions/business/{business}/{offset}/{amount}:
    get:
      tags:
        - Transaction
      summary: Get all transactions
      description: Get all the transactions by offset and amount
      operationId: handle_20
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: user
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{uuid}/{lifeCycle}/event:
    post:
      tags:
        - Vehicle
      summary: Create vehicle event
      description: Create a new vehicle event
      operationId: create:vehicle:event
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: uuid
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle ID
        - name: lifeCycle
          in: path
          required: true
          schema:
            type: string
            description: The LifeCycle
            enum:
              - requested
              - planned
              - projected
              - actual
              - realized
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/vehicles:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur vehicles
      description: Get list of vehicles that are related to the chauffeur
      operationId: get:chauffeur:vehicles
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurVehiclesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /async/result/{requestId}:
    get:
      tags:
        - Async
      summary: Get async request result
      description: Get the result of any completed async request by its request ID
      operationId: handle_21
      parameters:
        - name: requestId
          in: path
          description: The request ID returned when submitting an async request
          required: true
          schema:
            type: string
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Result retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataResponse'
        '404':
          description: Request not found or not completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/events/{offset}/{amount}:
    get:
      tags:
        - Vehicle
      summary: Get the events of a vehicle
      description: Get the events of a vehicle within a platform
      operationId: get:vehicle:events
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle id
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleActivitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/session/refresh:
    post:
      tags:
        - User
      summary: Creates new access_token
      description: >-
        Creates new access_token if refresh_token isn't expired and extends
        refresh_token with one day time also.
      operationId: handle_22
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshSessionRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/lines/pricing/{pricingId}:
    post:
      tags:
        - Quote
      summary: Generate quote lines
      description: Generate quote lines
      operationId: handle_23
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: pricingId
          in: path
          required: true
          schema:
            type: string
        - name: orderId
          in: path
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransportOrderCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteLinesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /terminal/{id}:
    get:
      tags:
        - Terminal
      summary: Get terminal
      description: Get terminal by ID
      operationId: handle_24
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TerminalResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Terminal
      summary: Delete terminal
      description: Delete terminal by ID
      operationId: handle_307
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TerminalResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /certificates/chauffeur/{id}/{offset}/{amount}:
    get:
      tags:
        - Certificate
      summary: Get certificates for a Chauffeur
      description: Get list of Certificates
      operationId: handle_25
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/message/{id}/read:
    get:
      tags:
        - Chat
      summary: Read message
      description: read message by ID
      operationId: handle_26
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /complaints/user/{id}/{offset}/{amount}:
    get:
      tags:
        - Complaint
      summary: Get complaints against a user
      description: Get list of Complaints
      operationId: handle_27
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /notification/read:
    post:
      tags:
        - Notification
      summary: Read notifications
      description: 'Read notifications by ids '
      operationId: handle_28
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationIdList'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /capacity/{id}:
    get:
      tags:
        - Capacity
      summary: Get capacity
      description: Get a capacity within a schedule specified by id.
      operationId: handle_59
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - Capacity
      summary: Update capacity
      description: Update a capacity within a schedule specified by id.
      operationId: handle_182
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CapacityModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Capacity
      summary: Delete capacity
      description: Delete a capacity specified by id.
      operationId: handle_29
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /attributes/{offset}/{amount}:
    get:
      tags:
        - Attribute
      summary: Get attributes
      description: Get list of attributes
      operationId: handle_400
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttributesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Attribute
      summary: Get attributes
      description: Get list of attributes
      operationId: handle_30
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttributesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /sensor/{id}:
    get:
      tags:
        - Sensor
      summary: Get sensor
      description: Get a sensor on id
      operationId: handle_32
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SensorResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Sensor
      summary: Delete sensor
      description: Delete a sensor
      operationId: handle_360
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SensorResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/2fa/disable:
    post:
      tags:
        - User
      summary: Setup a users 2FA
      description: Get the 2FA QR image and the recovery codes
      operationId: handle_33
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User2FASetupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /file/toMatrix:
    post:
      tags:
        - File
      summary: Convert file to HTML
      description: Convert file to HTML. Supported types are .pdf right now
      operationId: toMatrix:file
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/File'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle:camera/{id}:
    get:
      tags:
        - Camera
      summary: Get Camera
      description: Get a camera on id
      operationId: handle_161
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CameraResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - Camera
      summary: Update Camera
      description: Update Camera
      operationId: handle_34
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CameraResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Camera
      summary: Delete Camera
      description: Delete a Camera
      operationId: handle_42
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CameraResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /locations/{offset}/{amount}:
    get:
      tags:
        - Location
      summary: Get locations
      description: Get list of locations
      operationId: handle_35
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Location
      summary: Get locations
      description: Get list of locations
      operationId: handle_179
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder:
    put:
      tags:
        - TransportOrder
      summary: Update transportOrder
      description: Update a transportOrder
      operationId: update:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransportOrder'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - TransportOrder
      summary: Create transportOrder
      description: Create a new transportOrder
      operationId: create:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransportOrderCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /documentTemplates/{offset}/{amount}:
    get:
      tags:
        - DocumentTemplate
      summary: Get document templates
      description: Get a paginated list of document templates
      operationId: handle_36
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          description: Pagination offset
          required: true
          schema:
            type: string
        - name: amount
          in: path
          description: Number of items to retrieve
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplatesResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - DocumentTemplate
      summary: Search document templates
      description: Search document templates with filters
      operationId: handle_152
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          description: Pagination offset
          required: true
          schema:
            type: string
        - name: amount
          in: path
          description: Number of items to retrieve
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplatesResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /settingsGroups/{offset}/{amount}:
    get:
      tags:
        - Team
      summary: Get settingsGroups
      description: Get list of settingsGroups
      operationId: get:settingsGroups
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGroupsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Team
      summary: Search settingsGroups
      description: Search list of settingsGroups
      operationId: search:settingsGroups
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGroupsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /todos/user/{user}/{offset}/{amount}:
    get:
      tags:
        - ToDo
      summary: Get toDos
      description: Get list of toDos
      operationId: handle_37
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: user
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDosResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /constraints/{offset}/{amount}:
    get:
      tags:
        - Constraint
      summary: Get constraints
      description: Get list of constraints
      operationId: create:constraints
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConstraintsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /taxRates/{offset}/{amount}:
    post:
      tags:
        - General
      summary: Search Tax Rates
      description: Search tax rates with pagination
      operationId: handle_38
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaxRatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/finish/{nextId}/start:
    get:
      tags:
        - Trip
      summary: Finish a trip and start a new trip
      description: Finish a trip and start a new one
      operationId: handle_39
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: nextId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/access-request/{id}/decline:
    post:
      tags:
        - User
      summary: Decline an access request
      description: Decline a pending access request and soft-delete the user record
      operationId: handle_40
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricing:
    put:
      tags:
        - Pricing
      summary: Update pricing
      description: Update a pricing
      operationId: handle_295
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PricingModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Pricing
      summary: Create pricing
      description: Create a new pricing
      operationId: handle_41
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PricingCreateModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /teams/{offset}/{amount}:
    get:
      tags:
        - Team
      summary: Get teams
      description: Get list of teams
      operationId: get:teams
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Team
      summary: Search teams
      description: Search list of teams
      operationId: search:teams
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /businesses/{offset}/{amount}:
    get:
      tags:
        - Business
      summary: Get businesses
      description: Get list of businesses
      operationId: create:businesses
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Business
      summary: Get businesss
      description: Get list of businesss
      operationId: create:businesss
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice:public/{id}/{shareCode}/confirm-payment:
    post:
      tags:
        - Invoice
      summary: Confirm payment for public invoice
      description: >-
        Verifies a completed Stripe PaymentIntent and marks the invoice as paid.
        Expects { paymentIntentId } in the request body.
      operationId: handle_43
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Payment confirmed and invoice marked as paid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceResponse'
        '400':
          description: Payment not succeeded or intent mismatch
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid share code
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Invoice not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/test/{testId}:
    put:
      tags:
        - Integration
      summary: Update integration test
      description: >-
        Updates the name, description, input, or expected output of a saved test
        case.
      operationId: handle_44
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: testId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateIntegrationTestRequest'
        required: true
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationTestResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Integration
      summary: Delete integration test
      description: Permanently removes a saved test case.
      operationId: handle_263
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: testId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/lane/todo/{id}:
    get:
      tags:
        - ToDo
      summary: Get toDo
      description: Get a toDo on id
      operationId: handle_217
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - ToDo
      summary: Update todo
      description: Update a todo
      operationId: handle_45
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToDoModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - ToDo
      summary: Delete toDo
      description: Delete a toDo
      operationId: handle_340
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/login:
    post:
      tags:
        - User
      summary: User login
      description: Authenticate a user by logging in
      operationId: handle_46
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginUserRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/financials/combined:
    get:
      tags:
        - Trip
      summary: Get combined financials
      description: Get simple and combined combined financials for a trip (linked chain).
      operationId: handle_47
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CombinedTripFinancialsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Trip not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur:
    put:
      tags:
        - Chauffeur
      summary: Update chauffeur
      description: Update a chauffeur
      operationId: update:chauffeur
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChauffeurModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Chauffeur
      summary: Create chauffeur
      description: Create a new chauffeur
      operationId: create:chauffeur
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChauffeurCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/accept:
    get:
      tags:
        - TransportOrder
      summary: Accept TransportOrder
      description: Accept a requested transport order
      operationId: accept:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/{id}/create-chauffeur:
    post:
      tags:
        - User
      summary: Create and assign chauffeur to user
      description: >-
        Creates a new Chauffeur from payload and links it to the specified User;
        User must not already have a chauffeur.
      operationId: create:chauffeur:user
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: The ID of the user
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChauffeurModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/lane/{id}:
    get:
      tags:
        - Lane
      summary: Get lane
      description: Get a lane on id
      operationId: handle_192
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaneResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - Lane
      summary: Update Lane
      description: Update Lane
      operationId: handle_48
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LaneModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaneResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Lane
      summary: Delete lane
      description: Delete a lane
      operationId: handle_318
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaneResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /serviceCard/{id}:
    get:
      tags:
        - ServiceCard
      summary: Get ServiceCard
      description: Get a ServiceCard on id
      operationId: handle_49
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceCardResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - ServiceCard
      summary: Delete ServiceCard
      description: Delete a ServiceCard
      operationId: handle_107
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceCardResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{uuid}/{lifeCycle}/stopMoving:
    post:
      tags:
        - Vehicle
      summary: Create vehicle event
      description: Create a new vehicle event
      operationId: create:vehicle:event_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: uuid
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle ID
        - name: lifeCycle
          in: path
          required: true
          schema:
            type: string
            description: The LifeCycle
            enum:
              - requested
              - planned
              - projected
              - actual
              - realized
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /action-schedules/{id}:
    get:
      tags:
        - Action Schedules
      summary: Get an Action Schedule by ID
      operationId: get:actionSchedule
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionScheduleResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Action Schedule not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Action Schedules
      summary: Delete an Action Schedule by ID
      operationId: delete:actionSchedule
      responses:
        '204':
          description: Action Schedule deleted successfully
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Action Schedule not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicles/extended/{offset}/{amount}:
    get:
      tags:
        - Vehicle
      summary: Get ExtendedVehicles
      description: Get list of ExtendedVehicles
      operationId: get:vehicles:extended
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedVehiclesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Vehicle
      summary: Search ExtendedVehicles
      description: Search list of ExtendedVehicles
      operationId: search:vehicles:extended
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedVehiclesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tender/bid/{id}/accept:
    get:
      tags:
        - Tender
      summary: Accept tenderBid
      description: Accept a tender bid that has been made
      operationId: accept:tenderBid
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderBidResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/chauffeurs/borderCrossings:byDateRange:
    post:
      tags:
        - Insights
      summary: Get vehicle trips insight
      description: Get the trips a vehicle has done by a date range
      operationId: get:insight
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChauffeursBorderCrossingByDateRangeRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightMultiTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /administration/{id}:
    delete:
      tags:
        - Administration
      summary: Delete administration
      description: Delete a administration
      operationId: delete:administration
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /attribute/{id}:
    get:
      tags:
        - Attribute
      summary: Get attribute
      description: Get a attribute on id
      operationId: handle_51
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttributeResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Attribute
      summary: Delete attribute
      description: Delete a attribute
      operationId: handle_433
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttributeResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /serviceCards/chauffeur/{id}/{offset}/{amount}:
    get:
      tags:
        - ServiceCard
      summary: Get ServiceCards
      description: Get list of ServiceCards
      operationId: handle_52
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceCardsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /complaints/chauffeur/{id}/{offset}/{amount}:
    get:
      tags:
        - Complaint
      summary: Get complaints against a Chauffeur
      description: Get list of Complaints Filtered By Chauffeur
      operationId: handle_53
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /alert/{id}/solve:
    put:
      tags:
        - Alert
      summary: Solve alert
      description: Solve a alert on id
      operationId: handle_54
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integrations/{offset}/{amount}:
    get:
      tags:
        - Integration
      summary: Get integrations
      description: Get list of integrations
      operationId: handle_141
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Integration
      summary: Get integrations
      description: Get list of integrations
      operationId: handle_55
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /consignment:extended/{id}:
    get:
      tags:
        - Consignment
      summary: Get consignment
      description: Get a consignment on id
      operationId: get:consignment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/trips/{offset}/{amount}:
    get:
      tags:
        - Vehicle
      summary: Get vehicle trips
      description: Get the trips of a vehicle
      operationId: get:vehicle:trips
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /alerts:
    get:
      tags:
        - Alert
      summary: Get alerts
      description: Get list of alerts
      operationId: handle_56
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Alert
      summary: Get entities alerts
      description: Get entities list of alerts
      operationId: handle_444
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          required: true
          schema:
            type: string
        - name: entityId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntitiesAlertsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /boardComputer/{id}:
    get:
      tags:
        - BoardComputer
      summary: Get boardComputer
      description: Get a boardComputer on id
      operationId: get:boardComputer
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardComputerResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - BoardComputer
      summary: Delete boardComputer
      description: Delete a boardComputer
      operationId: delete:boardComputer
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardComputerResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoices/{administration}/{offset}/{amount}:
    get:
      tags:
        - Invoice
      summary: Get all invoices
      description: Get all the invoices by offset and amount
      operationId: handle_154
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: administration
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoicesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Invoice
      summary: Get all invoices
      description: Get all the invoices by offset and amount
      operationId: handle_57
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: administration
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /booking:
    put:
      tags:
        - Booking
      summary: Update booking
      description: Update a booking
      operationId: handle_139
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BookingModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookingResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Booking
      summary: Create booking
      description: Create a new booking
      operationId: handle_58
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BookingCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookingResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/trips:customer:
    get:
      tags:
        - TransportOrder
      summary: Get Trips for TransportOrder (Customer Portal)
      description: >-
        Get trips for a transport order. Only requires get:transportOrder
        permission, suitable for customer portal users.
      operationId: get:transportOrder:trips:customer
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Transport order ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: List of trips
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /capacityContract:
    put:
      tags:
        - CapacityContract
      summary: Update a capacityContract
      description: Update a capacityContract specified by id
      operationId: update:capacityContract
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CapacityContractRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityContractsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - CapacityContract
      summary: Create capacityContract
      description: Create a new capacityContract for a specified scheduledCapacity by id.
      operationId: create:capacityContract
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CapacityContractRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityContractResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle:
    put:
      tags:
        - Vehicle
      summary: Update vehicle
      description: Update a vehicle
      operationId: update:vehicle
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VehicleCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Vehicle
      summary: Create vehicle
      description: Create a new vehicle
      operationId: create:vehicle
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VehicleCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/trips:
    get:
      tags:
        - TransportOrder
      summary: Get Trips for TransportOrder
      description: >-
        Get all trips (legs) associated with a transport order. Returns trips
        linked through the order's consignments, sorted by start date. Useful
        for viewing the execution status of forwarded orders.
      operationId: get:transportOrder:trips
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Transport order ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: List of trips
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Transport order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /document/{id}/unverify:
    get:
      tags:
        - Document
      summary: Unverify document
      description: Unverify a document on id
      operationId: unverify:document
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /notification:
    put:
      tags:
        - Notification
      summary: Update notification
      description: Update a new notification
      operationId: handle_466
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Notification
      summary: Create notification
      description: Create a new notification
      operationId: handle_60
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeurs/trips:byDate/{fromDate}/{toDate}:
    post:
      tags:
        - Chauffeur
      summary: Get chauffeurs trips
      description: Get the trips of  chauffeurs
      operationId: get:chauffeurs:trips
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurLightTripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/{id}/lane:
    post:
      tags:
        - Lane
      summary: Add new Lane in Board
      description: Add new Lane in a Board
      operationId: handle_62
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LaneCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaneResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/tender:
    post:
      tags:
        - TransportOrder
      summary: TransportOrder to Tender
      description: TransportOrder to Tender on id
      operationId: transportOrder:tender
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrders:extended/{offset}/{amount}:
    post:
      tags:
        - TransportOrder
      summary: Get transportOrders
      description: Get list of transportOrders
      operationId: search:transportOrders
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: types
          in: query
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchTransportOrdersRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrdersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeurs/{chauffeurId}/timeslot-occurrences:
    get:
      tags:
        - Chauffeur Calendar Events Occurrences
      summary: Get calendar events for a specific chauffeur within a date range.
      operationId: getChauffeurCalendarEvents
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Successful retrieval of chauffeur events.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OccurrencesResponse'
        '400':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chauffeur not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /serviceCards/{offset}/{amount}:
    get:
      tags:
        - ServiceCard
      summary: Get ServiceCards
      description: Get list of ServiceCards
      operationId: handle_63
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceCardsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - ServiceCard
      summary: Get ServiceCards
      description: Get list of ServiceCards
      operationId: handle_421
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceCardsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tire:
    put:
      tags:
        - Tire
      summary: Update Tire
      description: Update a Tire
      operationId: handle_64
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TireModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TireResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Tire
      summary: Create Tire
      description: Create a new Tire
      operationId: handle_216
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TireCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TireResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportEquipments:extended/{offset}/{amount}:
    get:
      tags:
        - TransportEquipment
      summary: Get extended transportEquipments
      description: Get list of extended transportEquipments
      operationId: handle_67
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedTransportEquipmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - TransportEquipment
      summary: Search transportEquipment
      description: Search transportEquipment
      operationId: handle_247
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedTransportEquipmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice:public/{id}/{shareCode}/payment-intent:
    post:
      tags:
        - Invoice
      summary: Create payment intent for public invoice
      description: >-
        Creates a Stripe PaymentIntent for paying an invoice via a public share
        link. Returns the clientSecret and publicKey needed by Stripe.js.
      operationId: handle_68
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Payment intent created successfully
          content:
            application/json: {}
        '400':
          description: Invoice is not payable or payment not configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid share code
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Invoice not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /widget:
    put:
      tags:
        - Widget
      summary: Update widget
      description: 'UPdate widget '
      operationId: update:widget
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WidgetModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WidgetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Widget
      summary: Create widget
      description: Create a new widget
      operationId: create:widget
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WidgetCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WidgetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /scheduleRoute/{id}:
    get:
      tags:
        - ScheduleRoute
      summary: Get scheduleRoute
      description: Get a scheduleRoute on id
      operationId: handle_69
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleRouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - ScheduleRoute
      summary: Delete scheduleRoute
      description: Delete a scheduleRoute
      operationId: handle_146
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleRouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricingVariableIndex/{id}:
    get:
      tags:
        - Pricing
      summary: Get pricing variable index
      description: Get a pricing variable index on id
      operationId: handle_486
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingVariableIndexResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Pricing
      summary: Delete pricing variable index
      description: Delete a pricing variable index
      operationId: handle_70
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingVariableIndexResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/{chatId}/integrations/{bindingId}:
    put:
      tags:
        - Chat
      summary: Update chat external integration
      description: Update an existing external channel integration for a specific chat
      operationId: handle_287
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: chatId
          in: path
          required: true
          schema:
            type: string
        - name: bindingId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chat or Integration binding not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Chat
      summary: Delete chat external integration
      description: Delete an external channel integration for a specific chat
      operationId: handle_71
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: chatId
          in: path
          required: true
          schema:
            type: string
        - name: bindingId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chat or Integration binding not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /constraint/{id}:
    get:
      tags:
        - Constraint
      summary: Get constraint
      description: Get a constraint on id
      operationId: get:constraint
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConstraintResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Constraint
      summary: Delete constraint
      description: Delete a constraint
      operationId: delete:constraint
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConstraintResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /todo:statistics/user/{id}:
    get:
      tags:
        - ToDo
      summary: Get user statistics
      description: Get to do user statistics
      operationId: handle_72
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoStatisticsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportEquipment:
    put:
      tags:
        - TransportEquipment
      summary: Update transportEquipment
      description: Update a transportEquipment
      operationId: handle_157
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransportEquipmentModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportEquipmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - TransportEquipment
      summary: Create transportEquipment
      description: Create a new transportEquipment
      operationId: handle_73
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransportEquipmentModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportEquipmentResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/extended/{id}:
    get:
      tags:
        - Vehicle
      summary: Get vehicle
      description: Get a vehicle on id
      operationId: get:vehicle
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedVehicleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /complaints/{offset}/{amount}:
    get:
      tags:
        - Complaint
      summary: Get Complaints
      description: Get list of Complaints
      operationId: handle_501
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Complaint
      summary: Get Complaints
      description: Get list of Complaints
      operationId: handle_74
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /boardComputer:
    put:
      tags:
        - BoardComputer
      summary: Update boardComputer
      description: Update a boardComputer
      operationId: update:boardComputer
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BoardComputerModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardComputerResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - BoardComputer
      summary: Create boardComputer
      description: Create a new boardComputer
      operationId: create:boardComputer
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BoardComputerCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardComputerResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}:
    get:
      tags:
        - Vehicle
      summary: Get vehicle
      description: Get a vehicle on id
      operationId: get:vehicle_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Vehicle
      summary: Delete vehicle
      description: Delete a vehicle
      operationId: delete:vehicle
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/mail/receiver:
    put:
      tags:
        - Quote
      summary: Create quote from Email
      description: Create quote from Email
      operationId: create:quote:fromMail
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/{id}:
    get:
      tags:
        - Chat
      summary: Get chat
      description: Get chat by ID
      operationId: handle_452
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Chat
      summary: Delete chat
      description: Delete chat by ID
      operationId: handle_77
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /routing/calculate/route:
    post:
      tags:
        - Routing
      summary: Calculate a route
      description: Create a new sensor
      operationId: handle_78
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalculateRouteRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalculateRouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board:
    post:
      tags:
        - Board
      summary: Create board
      description: Create a new board
      operationId: create:board
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BoardCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /event:
    put:
      tags:
        - Event
      summary: Update event
      description: Update a event
      operationId: update:event
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Event
      summary: Create event
      description: Create a new event
      operationId: create:event
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/lane/{lane_id}/todo/{id}/change-position/{position}:
    put:
      tags:
        - Lane
      summary: Update position of Todo in a Lane
      description: Update position of Todo in a Lane
      operationId: handle_79
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: lane_id
          in: path
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: position
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaneResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricingVariableIndexes/{offset}/{amount}:
    get:
      tags:
        - Pricing
      summary: Get pricing variable indexes
      description: Get list of pricing variable indexes
      operationId: handle_81
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingVariableIndexesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Pricing
      summary: Search pricing variable indexes
      description: Search list of pricing variable indexes based on query
      operationId: handle_470
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingVariableIndexesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /widget/{id}:
    get:
      tags:
        - Widget
      summary: Get widget
      description: Get a widget on id
      operationId: get:widget
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WidgetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Widget
      summary: Delete widget
      description: Delete a widget
      operationId: delete:widget
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WidgetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /location:
    put:
      tags:
        - Location
      summary: Update location
      description: Update a location
      operationId: handle_82
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocationModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Location
      summary: Create location
      description: Create a new location
      operationId: handle_178
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocationCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/email/exists/{email}:
    post:
      tags:
        - User
      summary: Get if the e-mail exists yes or no
      description: Check if an e-mail is already in use for another user
      operationId: handle_83
      parameters:
        - name: email
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExistsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tender/bid/{id}/decline:
    post:
      tags:
        - Tender
      summary: Create tender
      description: Create a new tender
      operationId: create:tender
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeclineTenderBidRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quotes/{administration}/{offset}/{amount}:
    get:
      tags:
        - Quote
      summary: Get all quotes
      description: Get all the quotes by offset and amount
      operationId: handle_84
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: administration
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Quote
      summary: Get all quotes
      description: Get all the quotes by offset and amount
      operationId: handle_396
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: administration
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /bans/business/{id}/{offset}/{amount}:
    get:
      tags:
        - Ban
      summary: Get bans filtered by business
      description: Get list of Bans
      operationId: handle_85
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BansResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/timeslot/{id}:
    delete:
      tags:
        - Chauffeur
      summary: Delete chauffeur timeslot
      description: Delete a chauffeur timeslot allocation
      operationId: delete:chauffeur:timeslot
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurActivityResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /ban/{id}:
    get:
      tags:
        - Ban
      summary: Get Ban
      description: Get a Ban on id
      operationId: handle_86
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BanResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Ban
      summary: Delete Ban
      description: Delete a Ban
      operationId: handle_236
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BanResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /location/{id}/action/{type}/duration{average}:
    get:
      tags:
        - Location
      summary: Get location average action duration
      description: Get the average duration of an action type on the location
      operationId: handle_87
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationActionAverageDurationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote:public/{id}/accept/{shareCode}:
    post:
      tags:
        - Quote
      summary: Accept public quote
      description: Accept an existing quote
      operationId: handle_88
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /saml:
    put:
      tags:
        - SAML
      summary: Update SAML
      description: Update SAML Configuration
      operationId: handle_225
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SAMLModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SAMLResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - SAML
      summary: Add new SAML
      description: Add new SAML Configuration
      operationId: handle_89
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SAMLModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SAMLResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/{token}:
    get:
      tags:
        - Integration
      summary: 'Handle '
      description: Create a new integration
      operationId: handle_90
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /timeslot-bookings:
    post:
      tags:
        - Timeslot Booking
      summary: Create timeslot booking
      description: >-
        Creates a new booking for a timeslot. Validates availability and manages
        capacity with optimistic locking to prevent double-booking.
      operationId: handle_91
      parameters:
        - name: Authorization
          in: header
          description: Bearer token for authentication
          required: true
          schema:
            type: string
      requestBody:
        description: Booking details
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TimeslotBooking'
            examples:
              Basic booking:
                description: Basic booking
                value:
                  timeslotId: 550e8400-e29b-41d4-a716-446655440000
                  bookingDate: '2025-02-15'
                  consignmentId: 550e8400-e29b-41d4-a716-446655440001
                  actionId: 550e8400-e29b-41d4-a716-446655440002
                  referenceNumber: ORD-2025-001
                  notes: Please use loading dock 3
                  autoConfirm: false
              Auto-confirmed booking:
                description: Auto-confirmed booking
                value:
                  timeslotId: 550e8400-e29b-41d4-a716-446655440000
                  bookingDate: '2025-02-15'
                  consignmentId: 550e8400-e29b-41d4-a716-446655440001
                  autoConfirm: true
        required: true
      responses:
        '200':
          description: Success - Booking created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimeslotBookingResponse'
        '400':
          description: Invalid input data or timeslot not available
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict - Concurrent booking detected, please retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /actions/{offset}/{amount}:
    get:
      tags:
        - Action
      summary: Get actions
      description: Get list of actions
      operationId: get:actions_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Action
      summary: Get actions
      description: Get list of actions
      operationId: get:actions_2
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /calendarEvent:
    put:
      tags:
        - CalendarEvent
      summary: Update calendar event
      description: Update an existing calendar event
      operationId: update:calendarEvent
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalendarEventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalendarEventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Calendar event not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - CalendarEvent
      summary: Create calendar event
      description: Create a new calendar event
      operationId: create:calendarEvent
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalendarEventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalendarEventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /action/{id}/result:
    post:
      tags:
        - Action
      summary: Submit action result
      description: >-
        Submit questionnaire answers for an action result. Answers are validated
        and processed according to platform configuration, potentially updating
        action and consignment fields.
      operationId: submit:action:result
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Action ID
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitActionResultRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResultProcessingResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Action not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /alerts/{entityType}/{entityId}:
    get:
      tags:
        - Alert
      summary: Get alerts
      description: Get list of alerts
      operationId: handle_93
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          required: true
          schema:
            type: string
        - name: entityId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/{id}:
    get:
      tags:
        - User
      summary: Get the user by id
      description: Get a user by the given ID
      operationId: handle_94
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - User
      summary: Unblock a user
      description: Unblock a user from the platform
      operationId: handle_405
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json: {}
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/{id}/toTransportOrder:
    get:
      tags:
        - Mail
      summary: Convert mail into TransportOrder
      description: 'Convert a mail based on id to a TransportOrder based on the email '
      operationId: handle_96
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailAndTransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/{id}/unread:
    get:
      tags:
        - Chat
      summary: Unread chat
      description: Unread chat by ID
      operationId: handle_97
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatUserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/pending-approvals:
    get:
      tags:
        - Invoice
      summary: Get pending approvals
      description: Get pending invoice approvals for the current user
      operationId: handle_98
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/{id}/send:
    post:
      tags:
        - Quote
      summary: Send quote
      description: Send a new quote
      operationId: handle_99
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /fleets/{offset}/{amount}:
    get:
      tags:
        - Fleet
      summary: Get fleets
      description: Get list of fleets
      operationId: handle_262
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FleetsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Fleet
      summary: Search fleets
      description: Get list of search based on search parameters
      operationId: handle_100
      parameters:
        - name: Authorization
          in: header
          description: Bearer token
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FleetsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricing/{id}:
    get:
      tags:
        - Pricing
      summary: Get pricing
      description: Get a pricing on id
      operationId: handle_215
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Pricing
      summary: Delete pricing
      description: Delete a pricing
      operationId: handle_101
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /complaints/business/{id}/{offset}/{amount}:
    get:
      tags:
        - Complaint
      summary: Get complaints against a vehicle
      description: Get list of Complaints
      operationId: handle_102
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/{invoiceId}/request-approval:
    post:
      tags:
        - Invoice
      summary: Request invoice approval
      description: Request approval for an IN direction invoice
      operationId: handle_103
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: invoiceId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Invoice not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tires/{offset}/{amount}:
    get:
      tags:
        - Tire
      summary: Get Tires
      description: Get list of Tires
      operationId: handle_349
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TiresResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Tire
      summary: Get Tires
      description: Get list of Tires
      operationId: handle_104
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TiresResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tender/bid/{id}/counter:
    post:
      tags:
        - Tender
      summary: Counter offer
      description: decline and counter offer
      operationId: counter:tender
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenderBidModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderBidResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /goods/{id}:
    get:
      tags:
        - Goods
      summary: Get goods
      description: Get a goods on id
      operationId: handle_105
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoodsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Goods
      summary: Delete goods
      description: Delete a goods
      operationId: handle_300
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoodsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chats/{offset}/{amount}:
    get:
      tags:
        - Chat
      summary: Get all chats
      description: Get all the chats by offset and amount
      operationId: handle_496
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Chat
      summary: Get all chats
      description: Get all the chats by offset and amount
      operationId: handle_106
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tender:
    put:
      tags:
        - Tender
      summary: Update tender
      description: Update a tender
      operationId: update:tender
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenderModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Tender
      summary: Create tender
      description: Create a new tender
      operationId: create:tender_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenderCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote:
    put:
      tags:
        - Quote
      summary: Update quote
      description: Create a new quote
      operationId: handle_512
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Quote
      summary: Create quote
      description: Create a new quote
      operationId: handle_108
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /sensor/types:
    get:
      tags:
        - Sensor
      summary: Get sensor types
      description: Get list of sensor types
      operationId: handle_109
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SensorTypesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /certificates/{offset}/{amount}:
    get:
      tags:
        - Certificate
      summary: Get Certificates
      description: Get list of Certificates
      operationId: handle_110
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Certificate
      summary: Get Certificates
      description: Get list of Certificates
      operationId: handle_399
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /timeslot-bookings/{id}:
    get:
      tags:
        - Timeslot Booking
      summary: Get timeslot booking
      description: Retrieves a specific booking by ID
      operationId: handle_111
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Booking ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimeslotBookingResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Booking not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomation:
    put:
      tags:
        - Message automation
      summary: Update MessageAutomation
      description: Update MessageAutomation
      operationId: handle_112
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MessageAutomationModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Message automation
      summary: Add new MessageAutomation
      description: Add new MessageAutomation
      operationId: handle_230
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MessageAutomationCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/{chatId}/send-external:
    post:
      tags:
        - Chat
      summary: Send message to external channel
      description: Send a message to a specific external channel (email, WhatsApp, etc.)
      operationId: handle_113
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: chatId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chat not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /location/{id}:
    get:
      tags:
        - Location
      summary: Get location
      description: Get a location on id
      operationId: handle_326
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Location
      summary: Delete location
      description: Delete a location
      operationId: handle_114
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /goods:
    put:
      tags:
        - Goods
      summary: Update goods
      description: Update a goods
      operationId: handle_204
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoodsCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoodsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Goods
      summary: Create goods
      description: Create a new goods
      operationId: handle_115
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoodsCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoodsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /capacity/contracts/{offset}/{amount}:
    get:
      tags:
        - CapacityContract
      summary: Get a capacityContracts
      description: Get a list capacityContracts from offset, and of given amount
      operationId: get:capacityContracts
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: string
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityContractsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - CapacityContract
      summary: Search capacity contracts
      description: Get a list capacityContracts from offset, and of given amount
      operationId: search:capacityContracts
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: string
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityContractsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /booking/{id}:
    get:
      tags:
        - Booking
      summary: Get booking
      description: Get a booking on id
      operationId: handle_202
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookingResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Booking
      summary: Delete booking
      description: Delete a booking
      operationId: handle_116
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookingResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /users/{offset}/{amount}:
    get:
      tags:
        - User
      summary: Get all the users
      description: Get all users
      operationId: handle_344
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - User
      summary: Search users by search parameters
      description: 'Search users by search parameters and '
      operationId: handle_117
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}:
    get:
      tags:
        - TransportOrder
      summary: Get transportOrder
      description: Get a transportOrder on id
      operationId: get:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - TransportOrder
      summary: Delete transportOrder
      description: Delete a transportOrder
      operationId: delete:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/cancel:
    get:
      tags:
        - TransportOrder
      summary: Cancel TransportOrder
      description: Cancel a requested transport order
      operationId: cancel:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{vehicle_id}/camera:
    post:
      tags:
        - Camera
      summary: Create new camera for a Vehicle
      description: Create new camera for a Vehicle
      operationId: handle_118
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: vehicle_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CameraResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote:public/{id}/{shareCode}:
    get:
      tags:
        - Quote
      summary: Get quote publicly
      description: Get quote by ID and shareCode
      operationId: handle_119
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /bans/{offset}/{amount}:
    get:
      tags:
        - Ban
      summary: Get Bans
      description: Get list of Bans
      operationId: handle_122
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BansResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Ban
      summary: Get Bans
      description: Get list of Bans
      operationId: handle_510
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BansResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /bans/chauffeur/{id}/{offset}/{amount}:
    get:
      tags:
        - Ban
      summary: Get bans filtered by chauffeur
      description: Get list of Bans
      operationId: handle_123
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BansResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /industries:
    get:
      tags:
        - General
      summary: Get Industries
      description: Get all the industries available
      operationId: handle_125
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IndustriesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Industries not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder:extended/{id}:
    get:
      tags:
        - TransportOrder
      summary: Get extended transportOrder
      description: Get a transportOrder on id with extended information
      operationId: get:transportOrder_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedTransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /administration:
    get:
      tags:
        - Administration
      summary: Get administration
      description: Get administration by ID
      operationId: handle_126
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - Administration
      summary: Update administration
      description: Update a administration
      operationId: update:administration
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdministrationModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Administration
      summary: Create administration
      description: Create a new administration
      operationId: create:administration
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdministrationCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /action/{id}/{lifeCycle}:
    put:
      tags:
        - Action
      summary: Update action lifeCycle
      description: Update an actions lifeCycle, this includes all child actions
      operationId: update:actions
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: lifeCycle
          in: path
          required: true
          schema:
            type: string
            enum:
              - requested
              - planned
              - projected
              - actual
              - realized
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /location/{id}/actions/{offset}/{amount}:
    get:
      tags:
        - Location
      summary: Get location actions
      description: Get the actions that have previously occurred on a location
      operationId: handle_127
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /terminals/{offset}/{amount}:
    get:
      tags:
        - Terminal
      summary: Get terminals
      description: Get all terminals
      operationId: get:terminals
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TerminalsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Terminal
      summary: Search terminals
      description: Search all terminals
      operationId: search:terminals
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TerminalsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/{id}/forward:
    post:
      tags:
        - Mail
      summary: Forward email
      description: Forward an existing email
      operationId: handle_129
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Mail ID to forward
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForwardMailRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Mail not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /settings:
    get:
      tags:
        - Settings
      summary: Get settings
      description: Get a users settings
      operationId: handle_130
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - Settings
      summary: Update settings
      description: Update user settings
      operationId: handle_439
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettingsModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /routes/{offset}/{amount}:
    get:
      tags:
        - Route
      summary: Get routes
      description: Get list of routes
      operationId: handle_243
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Route
      summary: Search routes
      description: Search list of routes based on query
      operationId: handle_131
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /file/{id}/download:proxy:
    get:
      tags:
        - File
      summary: Download file via proxy
      description: >-
        Download file from ID via API proxy. The API downloads the file from S3
        and streams it to the client.
      operationId: download:proxy:file
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            image/*: {}
            application/*: {}
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: File not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageTemplates/{offset}/{amount}:
    get:
      tags:
        - MessageTemplate
      summary: Get messageTemplates
      description: Get list of messageTemplates
      operationId: get:messageTemplates
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageTemplatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - MessageTemplate
      summary: Search messageTemplates
      description: Search list of messageTemplates by query and multiple parameters
      operationId: search:messageTemplates
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageTemplatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /toDo/comment/{id}:
    get:
      tags:
        - ToDo
      summary: Get toDoComment
      description: Get a toDoComment on id
      operationId: handle_132
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoCommentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - ToDo
      summary: Delete toDoComment
      description: Delete a toDoComment
      operationId: handle_317
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoCommentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur
      description: Get a chauffeur on id
      operationId: get:chauffeur_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Chauffeur
      summary: Delete chauffeur
      description: Delete a chauffeur
      operationId: delete:chauffeur
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/{id}/sessions/{offset}/{amount}:
    get:
      tags:
        - User
      summary: Get a user's session
      description: Get user's sessions
      operationId: handle_133
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/{id}:
    get:
      tags:
        - Quote
      summary: Get quote
      description: Get quote by ID
      operationId: handle_134
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Quote
      summary: Delete quote
      description: Delete quote by ID
      operationId: handle_231
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /actor/{id}:
    get:
      tags:
        - Actor
      summary: Get actor
      description: Get a actor on id
      operationId: get:actor
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActorResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Actor
      summary: Delete actor
      description: Delete a actor
      operationId: delete:actor
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActorResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /complaint/{id}:
    get:
      tags:
        - Complaint
      summary: Get Complaint
      description: Get a Complaint on id
      operationId: handle_136
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Complaint
      summary: Delete Complaint
      description: Delete a Complaint
      operationId: handle_256
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/register/request:
    post:
      tags:
        - User
      summary: Request register user
      description: Register a new user
      operationId: handle_138
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserRegisterRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFCMResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/{chatId}/integrations:
    get:
      tags:
        - Chat
      summary: Get chat external integrations
      description: Get all external channel integrations for a specific chat
      operationId: handle_488
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: chatId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chat not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Chat
      summary: Create chat external integration
      description: Create or update an external channel integration for a specific chat
      operationId: handle_140
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: chatId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chat or Integration not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/trip-stats:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur trip stats
      description: Get chauffeur trip stats by id
      operationId: handle_142
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurTripStats'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /complaint:
    put:
      tags:
        - Complaint
      summary: Update Complaint
      description: Update a Complaint
      operationId: handle_240
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ComplaintModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Complaint
      summary: Create Complaint
      description: Create a new Complaint
      operationId: handle_144
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ComplaintCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice:
    put:
      tags:
        - Invoice
      summary: Update invoice
      description: Create a new invoice
      operationId: handle_145
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvoiceModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Invoice
      summary: Create invoice
      description: Create a new invoice
      operationId: handle_513
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvoiceCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /type:
    put:
      tags:
        - Type
      summary: Update type
      description: Create a new type
      operationId: handle_147
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TypeModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypeResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Type
      summary: Create type
      description: Create a new type
      operationId: handle_218
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TypeCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypeResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /administrations/{offset}/{amount}:
    get:
      tags:
        - Administration
      summary: Get administrations
      description: Get list of administrations
      operationId: get:administrations
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Administration
      summary: Get administrations
      description: Search list of administrations based on query and params
      operationId: search:administrations
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trips:
    put:
      tags:
        - Trip
      summary: Update trips
      description: Update a list of trips
      operationId: handle_477
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TripsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Trip
      summary: Create trip
      description: Create a new trip
      operationId: handle_149
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TripsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/chauffeurs:
    get:
      tags:
        - Vehicle
      summary: Get the location of all vehicles
      description: Get the location of all vehicles within a platform
      operationId: get:vehicle:chauffeurs
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle id
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleChauffeursResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/detach/chauffeur:
    post:
      tags:
        - Vehicle
      summary: Decouple chauffeur
      description: Decouple chauffeur to Vehicle
      operationId: decouple:chauffeur
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DetachChauffeurActionModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/trips-todos-and-events:byDateTime/{startDateTime}/{endDateTime}:
    get:
      tags:
        - Vehicle
      summary: >-
        Get vehicle trips, todos and calendar event occurrences by datetime
        range
      description: >-
        Get the trips, todos and calendar event occurrences of a vehicle within
        a specific datetime range
      operationId: get:vehicle:trips-todos-and-events:byDateTime
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Vehicle ID
          required: true
          schema:
            type: string
        - name: startDateTime
          in: path
          description: Start datetime in ISO 8601 format (e.g., 2023-12-01T00:00:00Z)
          required: true
          schema:
            type: string
            format: date-time
        - name: endDateTime
          in: path
          description: End datetime in ISO 8601 format (e.g., 2023-12-31T23:59:59Z)
          required: true
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Success
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Vehicle not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /location/duplicates:
    post:
      tags:
        - Location
      summary: Find duplicate locations
      description: Find duplicate locations based on location object in body
      operationId: handle_150
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocationModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/lanes/{offset}/{amount}:
    get:
      tags:
        - Lane
      summary: Get lanes
      description: Get list of lanes
      operationId: handle_446
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LanesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Lane
      summary: Get toDos
      description: Get list of toDos
      operationId: handle_151
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaneResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /action-schedules:
    put:
      tags:
        - Action Schedules
      summary: Update an Action Schedule
      operationId: update:actionSchedule
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActionScheduleModel'
        required: true
      responses:
        '200':
          description: Action Schedule updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionScheduleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Action Schedule not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Action Schedules
      summary: Create an Action Schedule
      description: >-
        Schedules a new set of actions, such as a driver swap or vehicle
        maintenance.
      operationId: create:actionSchedule
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActionScheduleModel'
        required: true
      responses:
        '201':
          description: Action Schedule created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionScheduleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/finish:
    get:
      tags:
        - Trip
      summary: Finish a trip
      description: Finishing a trip and detaching it to the vehicle
      operationId: handle_153
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: query
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /action:
    put:
      tags:
        - Action
      summary: Update action
      description: Update a action
      operationId: update:actions_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActionModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Action
      summary: Create action
      description: Create a new action
      operationId: create:action
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActionCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /permissions:
    get:
      tags:
        - General
      summary: Get Permissions
      description: Get all the permissions available
      operationId: handle_155
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PermissionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Permissions not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /action/{id}:
    get:
      tags:
        - Action
      summary: Get action
      description: Get a action on id
      operationId: get:action
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Action
      summary: Delete action
      description: Delete a action
      operationId: delete:action
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /damages/{offset}/{amount}:
    get:
      tags:
        - Damage
      summary: Get damages
      description: Get list of damages
      operationId: handle_286
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DamagesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Damage
      summary: Get damages
      description: Get list of damages
      operationId: handle_156
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DamagesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat:
    put:
      tags:
        - Chat
      summary: Update chat
      description: Create a new Chat
      operationId: handle_158
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateChatRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Chat
      summary: Create chat
      description: Create a new Chat
      operationId: handle_434
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateChatRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /action/{id}/result/questionnaire:
    get:
      tags:
        - Action
      summary: Get action result questionnaire
      description: >-
        Get the configured questionnaire for an action's result based on action
        type and platform settings
      operationId: get:action:result:questionnaire
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Action ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResultQuestionnaireResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Action not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /consignments/split:
    post:
      tags:
        - Consignment
      summary: Split consignments
      description: Previously combined order -> split into unique consignments
      operationId: split:consignment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SplitConsignmentsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /sensor/{id}/value/{date}:
    get:
      tags:
        - Sensor
      summary: Get sensor update
      description: >-
        Get a sensor update for a specific date and time. It will find the
        closest
      operationId: handle_159
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: date
          in: path
          required: true
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SensorUpdateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /async/status/{requestId}:
    get:
      tags:
        - Async
      summary: Get async request status
      description: Get the current status of any async request by its request ID
      operationId: handle_160
      parameters:
        - name: requestId
          in: path
          description: The request ID returned when submitting an async request
          required: true
          schema:
            type: string
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Status retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataResponse'
        '404':
          description: Request not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /consignment/{id}/documents:
    put:
      tags:
        - Consignment
      summary: Add documents
      description: Add documents to tripp
      operationId: handle_162
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddDocumentsToTripRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/lane/{id}/change-position/{position}:
    put:
      tags:
        - Lane
      summary: Update position of Todo in a Lane
      description: Update position of Todo in a Lane
      operationId: handle_163
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: position
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /sensors/{id}/updates/{start}/{end}:
    get:
      tags:
        - Sensor
      summary: Get sensor values by date range
      description: Get all sensor updates in a date range
      operationId: handle_164
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: start
          in: path
          required: true
          schema:
            type: string
            format: date-time
        - name: end
          in: path
          required: true
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SensorUpdatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /calendarEvent/{id}:
    get:
      tags:
        - CalendarEvent
      summary: Get calendar event
      description: Get a calendar event by id
      operationId: get:calendarEvent
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalendarEventResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Calendar event not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - CalendarEvent
      summary: Delete calendar event
      description: Delete a calendar event
      operationId: delete:calendarEvent
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalendarEventResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Calendar event not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/consignments:results:
    post:
      tags:
        - Insights
      summary: Get consignment results by date range
      description: Get consignment results by date range
      operationId: get:consignmentResultsByDate
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: startDate
          in: path
          required: true
          schema:
            type: string
        - name: endDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/test/{testId}/run:
    post:
      tags:
        - Integration
      summary: Run integration test
      description: >-
        Executes the saved test case by feeding its input through the data
        source mapping and comparing the output against the expected value.
      operationId: handle_165
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: testId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunIntegrationTestsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricingCategory/{id}:
    put:
      tags:
        - General
      summary: Update Pricing Category
      description: Update an existing pricing category
      operationId: handle_166
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCategoryResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - General
      summary: Delete Pricing Category
      description: Delete a pricing category
      operationId: handle_371
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCategoryResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /documents/{offset}/{amount}:
    get:
      tags:
        - Document
      summary: Get documents
      description: Get list of documents
      operationId: get:documents
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Document
      summary: Get documents
      description: Search list of documents based on query and params
      operationId: search:documents
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrders/{status}/{offset}/{amount}:
    get:
      tags:
        - TransportOrder
      summary: Get transportOrders with status
      description: Get list of transportOrders with a specific status
      operationId: get:transportOrder_2
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: status
          in: path
          required: true
          schema:
            type: string
            enum:
              - requested
              - accepted
              - calculated_trip
              - partially_planned
              - planned
              - actual
              - realized
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: types
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrdersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tender/{id}:
    get:
      tags:
        - Tender
      summary: Get tender
      description: Get a tender on id
      operationId: get:tender
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /optimization/reoptimize:
    post:
      tags:
        - Optimization
      summary: Re-optimize existing trips
      description: Re-optimize a set of existing trips when conditions change
      operationId: reoptimize:trips
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReoptimizeTripsRequest'
        required: true
      responses:
        '200':
          description: Re-optimization completed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReoptimizeTripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /saml/platformSamlMetadata:
    get:
      tags:
        - SAML
      summary: Get Platform SAML Metadata
      description: >-
        Get current platform's SAML Metadata (Issuer, Assertion Consumer Service
        URL, etc.) required for a SAML Configuration.
      operationId: handle_167
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformSAMLMetadataResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /settingsGroup:
    put:
      tags:
        - Team
      summary: Update settingsGroup
      description: Update a settingsGroup
      operationId: update:settingsGroup
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettingsGroupModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGroupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Team
      summary: Create settingsGroup
      description: Create a new settingsGroup
      operationId: create:settingsGroup
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettingsGroupModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGroupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/recover:
    post:
      tags:
        - User
      summary: Recover user login details
      description: Authenticate a user by logging in
      operationId: handle_168
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserRecoverRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicles/trips:byDate/{fromDate}/{toDate}:
    post:
      tags:
        - Vehicle
      summary: Get vehicle trips
      description: Get the trips of a vehicle
      operationId: get:vehicle:trips_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleLightTripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/lane/todos/{offset}/{amount}:
    get:
      tags:
        - ToDo
      summary: Get toDos
      description: Get list of toDos
      operationId: handle_180
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDosResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - ToDo
      summary: Get toDos
      description: Get list of toDos
      operationId: handle_169
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDosResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/fcm:
    post:
      tags:
        - User
      summary: Add FCM device
      description: Add a device FCM token for a user. This enables notification sending
      operationId: handle_170
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserFCMRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFCMResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /documentTemplate:
    put:
      tags:
        - DocumentTemplate
      summary: Update document template
      description: Update an existing document template
      operationId: handle_260
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplateResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Document template not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - DocumentTemplate
      summary: Create document template
      description: Create a new document template
      operationId: handle_171
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{uuid}/{lifeCycle}/locationUpdate:
    post:
      tags:
        - Vehicle
      summary: Create vehicle event
      description: Create a new vehicle event
      operationId: create:vehicle:event_2
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: uuid
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle ID
        - name: lifeCycle
          in: path
          required: true
          schema:
            type: string
            description: The LifeCycle
            enum:
              - requested
              - planned
              - projected
              - actual
              - realized
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/{id}/accept:
    post:
      tags:
        - Quote
      summary: Accept quote
      description: Accept an existing quote
      operationId: handle_172
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/activities-and-events:byDateTime/{fromDate}/{toDate}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur activities and calendar events by datetime range
      description: >-
        Get the activities and calendar events of a chauffeur within a specific
        datetime range
      operationId: get:chauffeur:activities-and-events:byDateTime
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Chauffeur ID
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          description: Start datetime in ISO 8601 format (e.g., 2023-12-01T00:00:00Z)
          required: true
          schema:
            type: string
            format: date-time
        - name: toDate
          in: path
          description: End datetime in ISO 8601 format (e.g., 2023-12-31T23:59:59Z)
          required: true
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Success
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chauffeur not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /sensors/{offset}/{amount}:
    get:
      tags:
        - Sensor
      summary: Get sensors
      description: Get list of sensors
      operationId: handle_174
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SensorsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Sensor
      summary: Get sensors
      description: Get list of sensors
      operationId: handle_206
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SensorsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/{id}/star:
    put:
      tags:
        - Mail
      summary: Star email
      description: Star or unstar an email
      operationId: handle_175
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Mail ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Mail not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /fleet:
    put:
      tags:
        - Fleet
      summary: Update fleet
      description: Update a fleet
      operationId: handle_176
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FleetModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FleetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Fleet
      summary: Create fleet
      description: Create a new fleet
      operationId: create:fleet
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FleetCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FleetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /file/toHtml:
    post:
      tags:
        - File
      summary: Convert file to HTML
      description: Convert file to HTML. Supported types are .pdf right now
      operationId: toMatrix:file_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/File'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageTemplate/{id}:
    get:
      tags:
        - MessageTemplate
      summary: Get messageTemplate
      description: Get a messageTemplate on id
      operationId: get:messageTemplate
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageTemplateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - MessageTemplate
      summary: Delete messageTemplate
      description: Delete a messageTemplate
      operationId: delete:messageTemplate
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageTemplateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /taxRate:
    post:
      tags:
        - General
      summary: Create Tax Rate
      description: Create a new tax rate
      operationId: handle_177
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaxRateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportEquipment/{id}/trips/{offset}/{amount}:
    get:
      tags:
        - TransportEquipment
      summary: Get transportEquipment trips
      description: Get the trips of a transportEquipment
      operationId: get:transportEquipment:trips
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tachograph/convert/binary:
    post:
      tags:
        - Tachograph
      summary: Convert tachograph
      description: Convert a new tachograph
      operationId: convert:tachograph
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TachographResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/trips:byDate/{fromDate}/{toDate}:
    get:
      tags:
        - Vehicle
      summary: Get vehicle trips
      description: Get the trips of a vehicle
      operationId: get:vehicle:trips_2
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tender/{id}/accept-and-plan:
    post:
      tags:
        - Tender
      summary: Accept tender bid and create trip
      description: >-
        Accepts a tender bid, closes the tender, and creates a trip from the
        consignment in a single transaction
      operationId: accept:tenderAndPlan
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptTenderAndPlanRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptTenderAndPlanResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /boards/{offset}/{amount}:
    get:
      tags:
        - Board
      summary: Get boards
      description: Get list of boards
      operationId: get:boards
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Board
      summary: Get Boards
      description: Search list of chauffeurs based on query and params
      operationId: search:boards
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip:route:
    post:
      tags:
        - Trip
      summary: Create trip and generate route
      description: 'Create a new trip and calculate a route '
      operationId: handle_181
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TripCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/openId:
    put:
      tags:
        - Integration
      summary: 'Set open id authentication token '
      description: Enable the authentication flow for OpenId by setting the toke
      operationId: handle_183
      parameters:
        - name: token
          in: query
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomation/{id}/tasks/{offset}/{amount}:
    get:
      tags:
        - Message automation
      summary: Get MessageAutomation tasks
      description: Get list of MessageAutomation tasks
      operationId: handle_185
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationTasksResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/vehicles/trips:
    post:
      tags:
        - Insights
      summary: Get vehicles trips insight
      description: Get the trips a list of vehicles have done by a date range
      operationId: get:insight_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VehiclesTripsByDateRangeRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightMultiTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /constraint:
    put:
      tags:
        - Constraint
      summary: Update constraint
      description: Update a constraint
      operationId: update:constraint
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConstraintModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConstraintResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Constraint
      summary: Create constraint
      description: Create a new constraint
      operationId: create:constraint
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConstraintCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConstraintResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /contract:
    put:
      tags:
        - Contract
      summary: Update contract
      description: Create a new contract
      operationId: handle_226
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContractModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Contract
      summary: Create contract
      description: Create a new contract
      operationId: handle_187
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContractCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /consignment:
    put:
      tags:
        - Consignment
      summary: Update consignment
      description: Update a consignment
      operationId: update:consignment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConsignmentModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Consignment
      summary: Create consignment
      description: Create a new consignment
      operationId: create:consignment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConsignmentCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/transportEquipments:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur transportEquipments
      description: Get list of transportEquipments that are related to the chauffeur
      operationId: get:chauffeur:transportEquipments
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurTransportEquipmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/trips/future/{offset}/{amount}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur trips
      description: Get the trips of a chauffeur
      operationId: get:chauffeur:trips
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/unblock/{id}:
    post:
      tags:
        - User
      summary: Unblock a user
      description: Unblock a user from the platform
      operationId: handle_190
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json: {}
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /contract/title/{title}:
    get:
      tags:
        - Contract
      summary: Get contract by title
      description: Get contract by ID
      operationId: handle_191
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: title
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicleGroup/{id}:
    get:
      tags:
        - VehicleGroup
      summary: Get vehicleGroup
      description: Get a vehicleGroup on id
      operationId: get:vehicleGroup
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleGroupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - VehicleGroup
      summary: Delete vehicleGroup
      description: Delete a vehicleGroup
      operationId: delete:vehicleGroup
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleGroupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/confirm:
    get:
      tags:
        - Trip
      summary: Confirm a trip
      description: Confirming a trip and detaching it to the vehicle
      operationId: handle_194
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrders:extended/{status}/{offset}/{amount}:
    get:
      tags:
        - TransportOrder
      summary: Get transportOrders with status
      description: Get list of transportOrders with a specific status
      operationId: get:transportOrder_3
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: status
          in: path
          required: true
          schema:
            type: string
            enum:
              - requested
              - accepted
              - calculated_trip
              - partially_planned
              - planned
              - actual
              - realized
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: types
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrdersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomation/{id}:
    get:
      tags:
        - Message automation
      summary: Get MessageAutomation
      description: Get a MessageAutomation by id
      operationId: handle_195
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Message automation
      summary: Delete MessageAutomation
      description: Delete a MessageAutomation
      operationId: handle_294
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /certificate/{id}:
    get:
      tags:
        - Certificate
      summary: Get Certificate
      description: Get a Certificate on id
      operationId: handle_459
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Certificate
      summary: Delete Certificate
      description: Delete a Certificate
      operationId: handle_196
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricingCategories:
    get:
      tags:
        - General
      summary: Get pricing categories
      description: Get all the pricing categories available
      operationId: handle_198
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCategoriesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Permissions not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - General
      summary: Put pricing categories
      description: Put all the pricing categories
      operationId: handle_281
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCategoriesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Permissions not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tender/{id}/bid:
    post:
      tags:
        - Tender
      summary: Create tender bid
      description: Create a bid on a tender
      operationId: create:tenderBid
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenderBidCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderBidResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /management/financial/{administrationId}/{start}/{end}:
    get:
      tags:
        - Management
      summary: Get financial overview
      description: Get the financial overview
      operationId: handle_199
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: administrationId
          in: path
          required: true
          schema:
            type: string
        - name: start
          in: path
          required: true
          schema:
            type: string
        - name: end
          in: path
          required: true
          schema:
            type: string
        - name: teamId
          in: query
          description: Filter by team ID
          schema:
            type: string
        - name: customerId
          in: query
          description: Filter by customer ID
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FinancialOverviewResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /alerts/{entityType}/{entityId}/{offset}/{amount}:
    get:
      tags:
        - Alert
      summary: Get alerts
      description: Get list of alerts
      operationId: handle_200
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          required: true
          schema:
            type: string
        - name: entityId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/{invoiceId}/reject:
    post:
      tags:
        - Invoice
      summary: Reject invoice
      description: Reject a pending invoice
      operationId: handle_201
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: invoiceId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Invoice not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /calendar/vehicles/{vehicleId}/events:
    get:
      tags:
        - Calendar Events
      summary: Get calendar events for a specific vehicle within a date range.
      operationId: getVehicleCalendarEvents
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Successful retrieval of vehicle events.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OccurrencesResponse'
        '400':
          description: Invalid input (e.g., date format, missing params).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Vehicle not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /todo:statistics:
    get:
      tags:
        - ToDo
      summary: Get statistics
      description: Get to do statistics
      operationId: handle_203
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoStatisticsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /settingsGroup/{id}:
    get:
      tags:
        - Team
      summary: Get settingsGroup
      description: Get a settingsGroup on id
      operationId: get:settingsGroup_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGroupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Team
      summary: Delete settingsGroup
      description: Delete a settingsGroup
      operationId: delete:settingsGroup
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGroupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomation/{id}/duplicate:
    post:
      tags:
        - Message automation
      summary: Duplicate MessageAutomation
      description: Duplicate a MessageAutomation
      operationId: handle_205
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /consignment/{id}:
    get:
      tags:
        - Consignment
      summary: Get consignment
      description: Get a consignment on id
      operationId: get:consignment_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Consignment
      summary: Delete consignment
      description: Delete a consignment
      operationId: delete:consignment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/2fa/recover:
    post:
      tags:
        - User
      summary: Recover 2FA
      description: Recover your account with a recovery code
      operationId: handle_207
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User2FARecoverRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User2FARecoveryResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /saml/{id}:
    get:
      tags:
        - SAML
      summary: Get SAML
      description: Get a SAML Configuration by id
      operationId: handle_306
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SAMLResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - SAML
      summary: Delete SAML
      description: Delete a SAML Configuration
      operationId: handle_208
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SAMLResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /business/{id}:
    get:
      tags:
        - Business
      summary: Get business
      description: Get a business on id
      operationId: get:business
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Business
      summary: Delete business
      description: Delete a business
      operationId: delete:business
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/login-method:
    post:
      tags:
        - User
      summary: 'Get the login method '
      description: Get the login method to be used for this users authentication
      operationId: handle_209
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserLoginMethodRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserLoginMethodResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeurs/{chauffeurId}/calendar-occurrences:
    get:
      tags:
        - Chauffeur Calendar Events Occurrences
      summary: Get calendar events for a specific chauffeur within a date range.
      operationId: getChauffeurCalendarEvents_1
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Successful retrieval of chauffeur events.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OccurrencesResponse'
        '400':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chauffeur not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transactions/{offset}/{amount}:
    get:
      tags:
        - Transaction
      summary: Get all transactions
      description: Get all the transactions by offset and amount
      operationId: handle_211
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}:
    get:
      tags:
        - Trip
      summary: Get trip
      description: Get a trip on id
      operationId: handle_214
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Trip
      summary: Delete trip
      description: Delete a trip
      operationId: handle_426
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /actor:
    put:
      tags:
        - Actor
      summary: Update actor
      description: Update a actor
      operationId: update:actor
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActorModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActorResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Actor
      summary: Create actor
      description: Create a new actor
      operationId: create:actor
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActorCreateModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActorResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricing/modules/from-documents:
    post:
      tags:
        - Pricing
      summary: Generate pricing modules from documents
      description: >-
        Use AI to analyze documents (rate cards, contracts, price lists) or text
        descriptions and generate appropriate pricing modules
      operationId: create:pricing:modules:fromDocuments
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePricingModulesFromDocumentsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingModulesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/trips:active/{offset}/{amount}:
    get:
      tags:
        - Vehicle
      summary: Get vehicle trips
      description: Get the trips of a vehicle
      operationId: get:vehicle:trips_3
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /document/{id}/verify:
    get:
      tags:
        - Document
      summary: Verify document
      description: Verify a document on id
      operationId: verify:document
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageTemplate/{id}/message/{chat}:
    get:
      tags:
        - MessageTemplate
      summary: Get message from MessageTemplate
      description: Get the generated message from the MessageTemplate and teh context
      operationId: get:messageFromMessageTemplate
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: chat
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageFromMessageTemplateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /consignments/{offset}/{amount}:
    get:
      tags:
        - Consignment
      summary: Get consignments
      description: Get list of consignments
      operationId: get:consignments
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Consignment
      summary: Search consignments
      description: Search list of consignments by query and multiple parameters
      operationId: search:consignments
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/transportEquipments:
    get:
      tags:
        - Vehicle
      summary: Get the location of all vehicles
      description: Get the location of all vehicles within a platform
      operationId: get:vehicle:transportEquipments
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle id
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleTransportEquipmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /optimization/simulate:
    post:
      tags:
        - Optimization
      summary: Simulate optimization
      description: Run optimization without saving results (dry run for testing)
      operationId: simulate:optimization
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlanTripsRequest'
        required: true
      responses:
        '200':
          description: Simulation completed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimulationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /consignments/combine:
    post:
      tags:
        - Consignment
      summary: Combine consignments
      description: Combine consignments
      operationId: combine:consignment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConsignmentCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /terminal:
    put:
      tags:
        - Terminal
      summary: Update terminal
      description: Create a new terminal
      operationId: handle_370
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TerminalModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TerminalResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Terminal
      summary: Create terminal
      description: Create a new terminal
      operationId: handle_219
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TerminalCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TerminalResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /optimization/runs:
    get:
      tags:
        - Optimization
      summary: Get optimization runs
      description: Retrieve a list of optimization runs with analytics data
      operationId: get:optimization-runs
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: platformId
          in: query
          description: Filter by platform ID
          schema:
            type: string
        - name: limit
          in: query
          description: 'Number of results to return (default: 50)'
          schema:
            type: string
        - name: offset
          in: query
          description: 'Number of results to skip (default: 0)'
          schema:
            type: string
      responses:
        '200':
          description: Optimization runs retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OptimizationRunsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/{id}:
    get:
      tags:
        - Invoice
      summary: Get invoice
      description: Get invoice by ID
      operationId: handle_419
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Invoice
      summary: Delete invoice
      description: Delete invoice by ID
      operationId: handle_223
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeurs/{offset}/{amount}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeurs
      description: Get list of chauffeurs
      operationId: get:chauffeurs
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeursResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Chauffeur
      summary: Get chauffeurs
      description: Search list of chauffeurs based on query and params
      operationId: search:chauffeurs
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchChauffeurRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeursResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/action/{actionId}:
    put:
      tags:
        - Trip
      summary: Update action lifeCycle
      description: Update an actions lifeCycle, this includes all child actions
      operationId: update:trip:action
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: actionId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTripActionTimesRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /business/{id}/verify:
    get:
      tags:
        - Business
      summary: Verify business
      description: Verify a business on id
      operationId: verify:business_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /documentTemplate/{id}:
    get:
      tags:
        - DocumentTemplate
      summary: Get document template
      description: Get a document template by ID
      operationId: handle_227
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplateResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Document template not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - DocumentTemplate
      summary: Delete document template
      description: >-
        Delete a document template (soft delete by default, use ?permanent=true
        for hard delete)
      operationId: handle_403
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: permanent
          in: query
          description: Set to true for permanent deletion
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplateResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Document template not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/trips/{offset}/{amount}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur trips
      description: Get the trips of a chauffeur
      operationId: get:chauffeur:trips_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /document/{id}:
    get:
      tags:
        - Document
      summary: Get document
      description: Get a document on id
      operationId: get:document
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Document
      summary: Delete document
      description: Delete a document
      operationId: delete:document
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/{id}:
    get:
      tags:
        - Mail
      summary: Get mail
      description: Get a mail on id
      operationId: handle_229
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Mail
      summary: Delete mail
      description: Delete a mail
      operationId: handle_505
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tires/transportEquipment/{id}/{offset}/{amount}:
    get:
      tags:
        - Tire
      summary: Get Tires
      description: Get list of Tires against a TransportEquipment
      operationId: handle_232
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TiresResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /entity/{entityType}:
    get:
      tags:
        - General
      summary: Get empty entity structure
      description: Get json empty entity structure by giving
      operationId: handle_233
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmptyEntityResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Permissions not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /ledgerEntriesByCategoryAndDateRange:
    post:
      tags:
        - LedgerEntry
      summary: Get LedgerEntries by entity type
      description: Get list of ledgerEntries
      operationId: get:actions_3
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FindByCategoryAndDateRangeRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /team:
    put:
      tags:
        - Team
      summary: Update team
      description: Update a team
      operationId: update:team
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Team
      summary: Create team
      description: Create a new team
      operationId: create:team
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/vehicles/CO2:byDateRange:
    post:
      tags:
        - Insights
      summary: Get vehicles CO2 insight
      description: Get the trips a vehicle has done by a date range
      operationId: get:insight_2
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VehiclesCO2ByDateRangeRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/fleet/{id}/trips/{startDate}/{endDate}:
    get:
      tags:
        - Insights
      summary: Get vehicles trips insight
      description: Get the trips a list of vehicles have done by a date range
      operationId: get:insight_3
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: startDate
          in: path
          required: true
          schema:
            type: string
        - name: endDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightMultiTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /timeslot-bookings/{id}/cancel:
    post:
      tags:
        - Timeslot Booking
      summary: Cancel timeslot booking
      description: Cancels a booking and frees up the timeslot capacity
      operationId: handle_235
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Booking ID
          required: true
          schema:
            type: string
      requestBody:
        description: Cancellation details
        content:
          application/json:
            examples:
              With reason:
                description: With reason
                value:
                  reason: Customer requested cancellation
      responses:
        '200':
          description: Success - Booking cancelled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimeslotBookingResponse'
        '400':
          description: Invalid operation (booking already cancelled)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Booking not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/username/exists/{username}:
    post:
      tags:
        - User
      summary: Get if the username exists yes or no
      description: Check if the given username is already in use for another user
      operationId: handle_237
      parameters:
        - name: username
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExistsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/trips:swap:
    put:
      tags:
        - Trip
      summary: Update vehicle trips order
      description: Update an actions lifeCycle, this includes all child actions
      operationId: update:vehicle:trips
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateVehicleTripsOrderRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transactions/user/{user}/{offset}/{amount}:
    get:
      tags:
        - Transaction
      summary: Get all transactions
      description: Get all the transactions by offset and amount
      operationId: handle_238
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: business
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /bookings/{offset}/{amount}:
    get:
      tags:
        - Booking
      summary: Get bookings
      description: Get list of bookings
      operationId: handle_239
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookingsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Booking
      summary: Get bookings
      description: Get list of bookings
      operationId: handle_303
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookingsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/{id}/unlink:
    delete:
      tags:
        - Mail
      summary: Unlink email
      description: Remove a link between an email and a transport order or consignment
      operationId: handle_241
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Mail ID
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkMailRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Mail not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /widget/{id}/{publicKey}/submission:
    post:
      tags:
        - Widget
      summary: Submit widget payload
      description: >-
        Public endpoint to submit a payload to a widget (e.g. transport order
        request, quote request)
      operationId: submit:widget:public
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: publicKey
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WidgetModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WidgetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/action:
    put:
      tags:
        - Trip
      summary: Update action times
      description: Update an actions lifeCycle, this includes all child actions
      operationId: update:trip:action_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTripActionRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/{id}:
    get:
      tags:
        - Board
      summary: Get board
      description: Get a board on id
      operationId: get:board
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - Board
      summary: Update board
      description: Update a board
      operationId: update:board
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BoardModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Board
      summary: Delete board
      description: Delete a board
      operationId: delete:board
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /events/{offset}/{amount}:
    get:
      tags:
        - Event
      summary: Get events
      description: Get list of events
      operationId: create:events
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Event
      summary: Get events
      description: Get list of events
      operationId: search:events
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /alert/{id}:
    get:
      tags:
        - Alert
      summary: Get alert
      description: Get a alert on id
      operationId: handle_242
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /file/upload:
    post:
      tags:
        - File
      summary: Upload file
      description: 'Upload a new file '
      operationId: upload:file
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /documentTemplate/fields/{entityType}:
    get:
      tags:
        - DocumentTemplate
      summary: Get bindable fields
      description: >-
        Get the list of fields that can be bound to template elements for a
        specific entity type
      operationId: handle_245
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          description: >-
            Entity type (transportOrder, invoice, quote, trip, consignment,
            business)
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BindableFieldsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /taxRates:
    get:
      tags:
        - General
      summary: Get TaxRates
      description: Get all the Tax Rates available
      operationId: handle_299
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaxRatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Permissions not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
        - General
      summary: Put TaxRates
      description: Put all the Tax Rates available
      operationId: handle_246
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaxRatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Permissions not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/{id}/lanes/{offset}/{amount}:
    get:
      tags:
        - ToDo
      summary: Get lanes
      description: Get list of lanes
      operationId: handle_249
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LanesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /event/{id}:
    get:
      tags:
        - Event
      summary: Get event
      description: Get a event on id
      operationId: get:event
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Event
      summary: Delete event
      description: Delete a event
      operationId: delete:event
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicles/{offset}/{amount}:
    get:
      tags:
        - Vehicle
      summary: Get vehicles
      description: Get list of vehicles
      operationId: get:vehicles
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehiclesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Vehicle
      summary: Get vehicles
      description: Get list of vehicles
      operationId: search:vehicles
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchVehiclesRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehiclesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportEquipments/{offset}/{amount}:
    get:
      tags:
        - TransportEquipment
      summary: Get transportEquipments
      description: Get list of transportEquipments
      operationId: handle_377
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportEquipmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - TransportEquipment
      summary: Search transportEquipment
      description: Search transportEquipment
      operationId: handle_251
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchTransportEquipmentsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportEquipmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tender/bid/{id}:
    delete:
      tags:
        - Tender
      summary: Delete tender
      description: Delete a tender
      operationId: delete:tender
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/dataSource/mapping:test:
    post:
      tags:
        - Integration
      summary: Test DataSource mapping
      description: Ability to test the integration DataSource field mapping response
      operationId: handle_252
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestIntegrationDataSourceMappingResponse'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestIntegrationDataSourceMappingRequest'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tql/fields/{entityType}/{keyword}/{offset}:
    get:
      tags:
        - TQL
      summary: Get fields
      description: Get list of toDos
      operationId: handle_253
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: string
        - name: keyword
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FieldsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/logout/all:
    get:
      tags:
        - User
      summary: Log all user session out
      description: >-
        End the all the sessions of the logged in user. Meaning over all devices
        the sessions are invalidated
      operationId: handle_254
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tql/query:
    post:
      tags:
        - TQL
      summary: Execute TQL Query
      description: Execute a TQL query with a list result
      operationId: handle_255
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur-timeslots/{timeslotId}/exceptions/{exceptionId}:
    delete:
      tags:
        - Chauffeur Timeslots
      summary: Delete an exception for a specific chauffeur timeslot.
      operationId: deleteChauffeurActivityException
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Successful deletion of timeslot exception.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
  /tender/{id}/bids/{offset}/{amount}:
    get:
      tags:
        - Tender
      summary: Get tenders
      description: Get list of tenders
      operationId: get:tenders_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Tender
      summary: Search tender bids
      description: Search list of tenders based on query and params
      operationId: search:tenders
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchTenderBidsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomation/user-preferences:
    get:
      tags:
        - Message automation
      summary: Get User Message Automation Preferences
      description: >-
        Get all user-enableable message automations with the current user's
        preference status
      operationId: handle_257
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserMessageAutomationPreferencesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/generate/credentials:
    post:
      tags:
        - Integration
      summary: Generate integration credentials
      description: Generate all new integration credentials
      operationId: handle_258
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationCredentialsModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationCredentialsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicles/trips:nextActive/{offset}/{amount}:
    post:
      tags:
        - Vehicle
      summary: Get vehicle trips
      description: Get the trips of a vehicle
      operationId: get:vehicle:trips_4
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: string
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleLightTripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /notification/{id}:
    get:
      tags:
        - Notification
      summary: Get notification
      description: Get a notification on id
      operationId: handle_479
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Notification
      summary: Delete notification
      description: Delete a notification
      operationId: handle_261
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mails/linked/{entityType}/{entityId}:
    get:
      tags:
        - Mail
      summary: Get linked emails
      description: >-
        Get all emails linked to a specific entity (transportOrder or
        consignment)
      operationId: handle_264
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          description: Entity type (transportOrder or consignment)
          required: true
          schema:
            type: string
        - name: entityId
          in: path
          description: Entity ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/message:
    put:
      tags:
        - Chat
      summary: Update message
      description: Create a new message
      operationId: handle_345
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MessageModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageModel'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Chat
      summary: Create chat message
      description: Create a new chat message
      operationId: handle_265
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateChatRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageModel'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/{invoiceId}/approve:
    post:
      tags:
        - Invoice
      summary: Approve invoice
      description: Approve a pending invoice
      operationId: handle_266
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: invoiceId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Invoice not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail:
    put:
      tags:
        - Mail
      summary: Update mail
      description: Update a mail
      operationId: handle_472
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MailMessageModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Mail
      summary: Create mail
      description: Create a new mail
      operationId: handle_267
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MailMessageCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /stack-map/calculate:
    post:
      tags:
        - StackMap
      summary: Calculate and create a new stackMap
      description: Calculate and create a new stackMap based on Vehicle and the Actions.
      operationId: handle_269
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalculateStackMapFromActionsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StackMapResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/{id}/reply:
    post:
      tags:
        - Mail
      summary: Reply to email
      description: Reply to an existing email
      operationId: handle_271
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Mail ID to reply to
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReplyMailRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Mail not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration:
    put:
      tags:
        - Integration
      summary: Update integration
      description: Update a integration
      operationId: handle_272
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Integration
      summary: Create integration
      description: Create a new integration
      operationId: handle_507
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/user/welcome-stats:
    get:
      tags:
        - Insights
      summary: Get user's welcome insights for current day
      description: Get user's welcome insights for current day
      operationId: get:insight_4
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tires/vehicle/{id}/{offset}/{amount}:
    get:
      tags:
        - Tire
      summary: Get Tires
      description: Get list of Tires against a vehicle
      operationId: handle_274
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TiresResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /route:
    put:
      tags:
        - Route
      summary: Update route
      description: Update a route
      operationId: handle_276
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RouteModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Route
      summary: Create route
      description: Create a new route
      operationId: handle_432
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RouteCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportEquipments/trips:byDate/{fromDate}/{toDate}:
    post:
      tags:
        - TransportEquipment
      summary: Get transportEquipments trips
      description: Get the trips of  transportEquipments
      operationId: get:transportEquipments:trips
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportEquipmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /business:
    put:
      tags:
        - Business
      summary: Update business
      description: Update a business
      operationId: update:business
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Business'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Business
      summary: Create business
      description: Create a new business
      operationId: create:business
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BusinessCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /scheduleRoutes/{offset}/{amount}:
    get:
      tags:
        - ScheduleRoute
      summary: Get scheduleRoutes
      description: 'Get the scheduleRoutes with an offset '
      operationId: handle_278
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleRoutesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - ScheduleRoute
      summary: Get scheduleRoutes
      description: Get list of scheduleRoutes
      operationId: handle_430
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleRoutesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricingCategory:
    post:
      tags:
        - General
      summary: Create Pricing Category
      description: Create a new pricing category
      operationId: handle_279
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCategoryResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /action-schedules/{offset}/{amount}:
    get:
      tags:
        - Action Schedules
      summary: Get a paginated list of Action Schedules
      operationId: get:actionSchedules
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionSchedulesResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomation/user-preference:
    post:
      tags:
        - Message automation
      summary: Toggle User Message Automation Preference
      description: Toggle a user's preference for a specific message automation
      operationId: handle_283
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        description: Toggle preference request
        content:
          application/json:
            schema:
              type: string
              example:
                messageAutomationId: uuid-here
                enabled: true
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserMessageAutomationPreferencesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Message automation not found or not user-enableable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/access-request/{id}/approve:
    post:
      tags:
        - User
      summary: Approve an access request
      description: >-
        Approve a pending access request, confirming the user and adding them to
        the platform
      operationId: handle_284
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/trips-and-events:byDateTime/{startDateTime}/{endDateTime}:
    get:
      tags:
        - Vehicle
      summary: Get vehicle trips and calendar events by datetime range
      description: >-
        Get the trips and calendar events of a vehicle within a specific
        datetime range
      operationId: get:vehicle:trips-and-events:byDateTime
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Vehicle ID
          required: true
          schema:
            type: string
        - name: startDateTime
          in: path
          description: Start datetime in ISO 8601 format (e.g., 2023-12-01T00:00:00Z)
          required: true
          schema:
            type: string
            format: date-time
        - name: endDateTime
          in: path
          description: End datetime in ISO 8601 format (e.g., 2023-12-31T23:59:59Z)
          required: true
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Success
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Vehicle not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /notification/{id}/received:
    get:
      tags:
        - Notification
      summary: Received a notification
      description: Receive a notification by id
      operationId: handle_285
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /actors/{offset}/{amount}:
    get:
      tags:
        - Actor
      summary: Get actors
      description: Get list of actors
      operationId: get:actors
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActorsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Actor
      summary: Get actors
      description: Search list of actors based on query and params
      operationId: search:actors
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActorsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /sensors:
    put:
      tags:
        - Sensor
      summary: Get sensors
      description: Get list of sensors
      operationId: handle_289
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SensorModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SensorsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /toDo/comment:
    put:
      tags:
        - ToDo
      summary: Update toDoComment
      description: Update a toDoComment
      operationId: handle_368
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToDoCommentModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoCommentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - ToDo
      summary: Create toDoComment
      description: Create a new toDoComment
      operationId: handle_290
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToDoCommentModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoCommentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricingVariableIndex:
    put:
      tags:
        - Pricing
      summary: Update pricing
      description: Update a pricing
      operationId: handle_291
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PricingVariableIndexModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingVariableIndexResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Pricing
      summary: Create pricing variable index
      description: Create a new pricing variable index
      operationId: handle_415
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PricingVariableIndexCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingVariableIndexResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /calendar/recurring-events/occurrences:
    get:
      tags:
        - Calendar Events
      summary: Get occurrences of recurring events within a date range.
      operationId: getEventOccurrences
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Successfully retrieved event occurrences.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventOccurrencesList'
        '400':
          description: Invalid input (e.g., date format, missing params).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /contracts/{offset}/{amount}:
    get:
      tags:
        - Contract
      summary: Get contracts
      description: Get all contracts
      operationId: get:contracts
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Contract
      summary: Search contracts
      description: Search all contracts
      operationId: search:contracts
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trips/cancel:
    post:
      tags:
        - Trip
      summary: Cancel trips
      description: Cancel a list of trips
      operationId: handle_292
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TripIdsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeurs/timeslots:
    post:
      tags:
        - Chauffeur
      summary: Get chauffeurs timeslots
      description: Get list of chauffeurs timeslots, grouped by chauffeurs
      operationId: get:chauffeurs:timeslots
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetChauffeursTimeslotsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurActivitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tire/{id}:
    get:
      tags:
        - Tire
      summary: Get Tire
      description: Get a Tire on id
      operationId: handle_293
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TireResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Tire
      summary: Delete Tire
      description: Delete a Tire
      operationId: handle_296
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TireResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/customer/transportOrders:byDateRange:
    post:
      tags:
        - Insights
      summary: Get customer transport order report
      description: Get the information about things done by a user within a date range
      operationId: get:insight_5
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/PerCustomerTransportOrdersByDateRangeRequest
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /optimization/runs/{id}:
    get:
      tags:
        - Optimization
      summary: Get optimization run
      description: Retrieve detailed information about a specific optimization run
      operationId: get:optimization-run
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Optimization run ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Optimization run retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OptimizationRunResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Optimization run not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /damage:
    put:
      tags:
        - Damage
      summary: Update damage
      description: Update a damage
      operationId: handle_297
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DamageModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DamageResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Damage
      summary: Create damage
      description: Create a new damage
      operationId: handle_476
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DamageCreateModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DamageResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{uuid}/{lifeCycle}/startEngine:
    post:
      tags:
        - Vehicle
      summary: Create vehicle event
      description: Create a new vehicle event
      operationId: create:vehicle:event_3
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: uuid
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle ID
        - name: lifeCycle
          in: path
          required: true
          schema:
            type: string
            description: The LifeCycle
            enum:
              - requested
              - planned
              - projected
              - actual
              - realized
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /attribute:
    put:
      tags:
        - Attribute
      summary: Update attribute
      description: Update a attribute
      operationId: handle_301
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttributeModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttributeResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Attribute
      summary: Create attribute
      description: Create a new attribute
      operationId: handle_441
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttributeCreateModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttributeResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/messages/received:
    post:
      tags:
        - Chat
      summary: Received message
      description: Received message by ID
      operationId: handle_302
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReceivedMessagesRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeurs:extended/{offset}/{amount}:
    get:
      tags:
        - Chauffeur
      summary: Get extended chauffeurs
      description: Get list of extended chauffeurs
      operationId: get:chauffeurs:extended
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedChauffeursResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Chauffeur
      summary: Get extended chauffeurs
      description: Search list of extended chauffeurs based on query and params
      operationId: search:chauffeurs:extended
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedChauffeursResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip:
    put:
      tags:
        - Trip
      summary: Update trip
      description: Update a trip
      operationId: handle_304
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TripModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Trip
      summary: Create trip
      description: Create a new trip
      operationId: handle_310
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TripCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /action/{id}/times:
    put:
      tags:
        - Action
      summary: Update action
      description: Update a action
      operationId: update:actions_2
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateActionTimesRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/file/upload:
    post:
      tags:
        - Integration
      summary: Upload a template file
      description: 'Upload a new file '
      operationId: integration:fileUpload
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationFileTemplateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/2fa/verify:
    post:
      tags:
        - User
      summary: Verify 2FA code
      description: >-
        Verify an incoming 2FA code. In case of a first save this endpoint will
        also enable the 2FA
      operationId: handle_308
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User2FAVerifyRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User2FAVerifyResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /bans/actor/{id}/{offset}/{amount}:
    get:
      tags:
        - Ban
      summary: Get bans filtered by actor
      description: Get list of Bans
      operationId: handle_311
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BansResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/{shareCode}/trips:
    get:
      tags:
        - TransportOrder
      summary: Get trips for a shared transport order
      description: >-
        Returns trips linked to the transport order, filtered by the share
        settings visibility configuration
      operationId: get:transportOrder:public:trips
      parameters:
        - name: id
          in: path
          description: Transport order ID
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          description: Share code for public access
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '401':
          description: Not authorized - invalid or missing share code
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Transport order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/forgot:
    post:
      tags:
        - User
      summary: Start of recovering password
      description: The start of recovering
      operationId: handle_312
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserForgotRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/{id}/decline:
    post:
      tags:
        - Quote
      summary: Decline quote
      description: Decline the quote
      operationId: handle_313
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/invite:
    post:
      tags:
        - User
      summary: Invite a new user to the platform
      description: >-
        Invite a new user to the platform through an invitation e-mail, the user
        has to reset his password.
      operationId: handle_314
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteUserRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/{id}/activity:
    get:
      tags:
        - Invoice
      summary: Get invoice activity
      description: Get the activity timeline for an invoice
      operationId: handle_315
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationActivitiesResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrders/{offset}/{amount}:
    get:
      tags:
        - TransportOrder
      summary: Get transportOrders
      description: Get list of transportOrders
      operationId: get:transportOrder_4
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: types
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrdersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - TransportOrder
      summary: Get transportOrders
      description: Get list of transportOrders
      operationId: search:transportOrders_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: types
          in: query
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchTransportOrdersRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrdersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /saml/assertion:
    post:
      tags:
        - SAML
      summary: Assertion Consumer Service for SAMLResponse from IDP
      description: >-
        ACS handles authenticates SAMLResponse (validates authentication &
        assertions) and redirects in response.
      operationId: handle_316
      responses:
        '302':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SAMLAssertResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/action/{actionId}/times:
    put:
      tags:
        - Trip
      summary: Update action times
      description: Update an actions lifeCycle, this includes all child actions
      operationId: update:trip:action_2
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: actionId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTripActionTimesRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportEquipment/{id}/trips-and-events:byDateTime/{startDateTime}/{endDateTime}:
    get:
      tags:
        - TransportEquipment
      summary: Get transport equipment trips and calendar events by datetime range
      description: >-
        Get the trips and calendar events of a transport equipment within a
        specific datetime range
      operationId: get:transportEquipment:trips-and-events:byDateTime
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Transport Equipment ID
          required: true
          schema:
            type: string
        - name: startDateTime
          in: path
          description: Start datetime in ISO 8601 format (e.g., 2023-12-01T00:00:00Z)
          required: true
          schema:
            type: string
            format: date-time
        - name: endDateTime
          in: path
          description: End datetime in ISO 8601 format (e.g., 2023-12-31T23:59:59Z)
          required: true
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Success
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Transport equipment not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/from-documents:
    put:
      tags:
        - Quote
      summary: Create quote from documents
      description: Create quote from documents
      operationId: create:quote:fromDocuments
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/complete-actions:
    put:
      tags:
        - Trip
      summary: Complete all actions on a trip
      description: |-
        Complete all actions on a trip in bulk, marking them as REALIZED. 
                    This is useful when customers don't use driver-links or integrations and need to 
                    easily complete a trip by providing the dates/times of completion.
                    
                    You can optionally specify start/end times and results per action, or use default 
                    values that apply to all actions.
      operationId: complete:trip:actions
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: query
          schema:
            type: string
            description: (Optional) share code
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompleteAllActionsRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /types/{offset}/{amount}:
    get:
      tags:
        - Type
      summary: Get all types
      description: Get all the types by offset and amount
      operationId: handle_319
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Type
      summary: Get all types
      description: Get all the types by offset and amount
      operationId: handle_353
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /file/{id}:
    get:
      tags:
        - File
      summary: Get file
      description: Get a file on id
      operationId: get:file
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/{id}/unarchive:
    get:
      tags:
        - Mail
      summary: Unarchive mail
      description: Unarchive a mail based on id
      operationId: handle_320
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /entity:history/{entityType}/{id}/{offset}/{amount}:
    get:
      tags:
        - General
      summary: Get version history for an entity
      description: 'Get version history for an entity '
      operationId: handle_321
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmptyEntityResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Permissions not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/{id}/verify/{token}:
    get:
      tags:
        - User
      summary: Verify e-mail address
      description: End the current session of the logged in user
      operationId: handle_323
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserStatusResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/fileTemplate/mapping:test:
    post:
      tags:
        - Integration
      summary: Test fileTemplate mapping
      description: Ability to test the integration fileTemplate field mapping response
      operationId: handle_324
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileTemplateIntegrationModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/TestIntegrationFileTemplateMappingResponse
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice:public/{id}/{shareCode}/payment-providers:
    get:
      tags:
        - Invoice
      summary: Get available payment providers for a public invoice
      description: >-
        Returns the list of payment providers (stripe, mollie, adyen) configured
        for the platform of this invoice.
      operationId: handle_325
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: List of available providers
          content:
            application/json: {}
        '401':
          description: Invalid share code
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Invoice not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/user/{id}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur
      description: Get a chauffeur by user id
      operationId: get:chauffeur
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/attach/chauffeur:
    post:
      tags:
        - Vehicle
      summary: Attach chauffeur
      description: Attach chauffeur to Vehicle
      operationId: attach:chauffeur
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttachChauffeurActionModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/test:
    get:
      tags:
        - Integration
      summary: Get integration tests
      description: Returns all saved test cases associated with the given integration.
      operationId: handle_351
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationTestsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Integration
      summary: Create integration test
      description: >-
        Saves a new test case (input + expected output) for the given
        integration.
      operationId: handle_327
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateIntegrationTestRequest'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationTestResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /type/{id}:
    get:
      tags:
        - Type
      summary: Get type
      description: Get type by ID
      operationId: handle_328
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypeResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Type
      summary: Delete type
      description: Delete type by ID
      operationId: handle_346
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypeResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /fleets/light:
    get:
      tags:
        - Fleet
      summary: Get fleets
      description: Get list of fleets
      operationId: get:fleets
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FleetsLightResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/import/data:
    post:
      tags:
        - Integration
      summary: Import data
      description: Import data from any format through our mapping tool into the platform
      operationId: handle_329
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportDataIntegrationResponse'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportDataIntegrationRequest'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeurs/{id}/activity:
    post:
      tags:
        - Chauffeur
      summary: Logs the Chauffeur's Current Activity
      description: >-
        Ends the chauffeur's current activity and starts a new one, preserving
        history. This is the correct way to update a chauffeur's live status.
      operationId: handle_330
      parameters:
        - name: Authorization
          in: header
          description: Bearer token for authentication.
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: The ID of the chauffeur to update.
          required: true
          schema:
            type: string
      requestBody:
        description: Details for the new activity. The `activityType` is required.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateChauffeurActivityRequest'
        required: true
      responses:
        '200':
          description: Success, the new activity has been created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurActivityResponse'
        '400':
          description: Invalid input data (e.g., invalid activityType)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chauffeur not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /capacity:
    post:
      tags:
        - Capacity
      summary: Create capacity
      description: Create a capacity within a schedule specified by id.
      operationId: handle_331
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CapacityCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/{id}/activity:
    get:
      tags:
        - Quote
      summary: Get quote activity
      description: Get the activity timeline for a quote
      operationId: handle_333
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationActivitiesResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /calendar/transport-equipment/{equipmentId}/events:
    get:
      tags:
        - Calendar Events
      summary: >-
        Get calendar events for a specific transport equipment within a date
        range.
      operationId: getTransportEquipmentCalendarEvents
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Successful retrieval of transport equipment events.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OccurrencesResponse'
        '400':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Transport Equipment not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder:extended/{id}/{shareCode}:
    get:
      tags:
        - TransportOrder
      summary: Get transportOrder
      description: Get a transportOrder on id with extended information
      operationId: get:transportOrder_5
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedTransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/vehicle/{id}/trips/{startDate}/{endDate}:
    get:
      tags:
        - Insights
      summary: Get vehicle trips insight
      description: Get the trips a vehicle has done by a date range
      operationId: get:insight_6
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: startDate
          in: path
          required: true
          schema:
            type: string
        - name: endDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/trips:history/{offset}/{amount}:
    get:
      tags:
        - Vehicle
      summary: Get vehicle history of trips
      description: Get the trips of a vehicle that have either been completed or cancelled
      operationId: get:vehicle:trips_5
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /calendarEvents/search/{offset}/{amount}:
    post:
      tags:
        - CalendarEvent
      summary: Search calendar events
      description: Search calendar events with filters
      operationId: search:calendarEvents
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JSONObject'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalendarEventsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}:
    get:
      tags:
        - Integration
      summary: Get integration
      description: Get a integration on id
      operationId: handle_359
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Integration
      summary: Delete integration
      description: Delete a integration
      operationId: handle_336
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tql/fields/{entityType}:
    get:
      tags:
        - TQL
      summary: Get fields
      description: Get list of toDos
      operationId: handle_337
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FieldsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/complete:
    get:
      tags:
        - Trip
      summary: Complete a trip
      description: >-
        Complete a trip that is in PENDING_COMPLETION state, triggering invoices
        and integration events
      operationId: handle_338
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /team/{id}:
    get:
      tags:
        - Team
      summary: Get team
      description: Get a team on id
      operationId: get:team
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Team
      summary: Delete team
      description: Delete a team
      operationId: delete:team
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /toDo/{id}/comments/{offset}/{amount}:
    get:
      tags:
        - ToDo
      summary: Get toDoComments
      description: Get list of toDoComments
      operationId: handle_424
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoCommentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - ToDo
      summary: Get toDoComments
      description: Get list of toDoComments
      operationId: handle_341
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDoCommentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/dataSource/{dataSourceId}/{token}:
    get:
      tags:
        - Integration
      summary: 'Handle '
      description: Create a new integration
      operationId: handle_342
      parameters:
        - name: X-API-KEY
          in: header
          schema:
            type: string
        - name: X-API-SECRET
          in: header
          schema:
            type: string
        - name: Authorisation
          in: header
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: dataSourceId
          in: path
          required: true
          schema:
            type: string
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /sensor:
    post:
      tags:
        - Sensor
      summary: Create sensor
      description: Create a new sensor
      operationId: handle_343
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SensorCreateModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SensorResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/attach/transportEquipment:
    post:
      tags:
        - Vehicle
      summary: Attach chauffeur
      description: Attach chauffeur from Vehicle
      operationId: attach:transportEquipment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttachTransportEquipmentActionModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /role:
    put:
      tags:
        - User roles
      summary: Update role
      description: Update an existing role
      operationId: handle_374
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUserRoleRoute'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserRoleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - User roles
      summary: Create role
      description: Create a new role
      operationId: handle_404
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateUserRoleRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserRoleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - User roles
      summary: Delete role
      description: Delete an existing role
      operationId: handle_347
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserRoleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /saml/spSamlMetadata/xml:
    post:
      tags:
        - SAML
      summary: Generate Service-Provider's SAML Metadata XML File
      description: Generate XML File based on provided Service-Provider's SAML Metadata.
      operationId: handle_348
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SPSAMLMetadata'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SPSAMLMetadataXMLResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/capacityContract:
    post:
      tags:
        - CapacityContract
      summary: Create capacityContract
      description: Create a new capacityContract for a specified scheduledCapacity by id.
      operationId: create:capacityContract_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CapacityContractRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityContractResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomation-templates:
    get:
      tags:
        - Message automation
      summary: Get MessageAutomations
      description: Get a MessageAutomations
      operationId: handle_350
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/{id}/send:
    post:
      tags:
        - Invoice
      summary: Send invoice
      description: S a new invoice
      operationId: handle_352
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /optimization/plan:
    post:
      tags:
        - Optimization
      summary: Plan optimal trips
      description: Create optimal trips from available resources using VRP algorithms
      operationId: plan:trips
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlanTripsRequest'
        required: true
      responses:
        '200':
          description: Optimization completed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlanTripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/mail/receiver:
    put:
      tags:
        - TransportOrder
      summary: Create transportOrder from Email
      description: Create transportOrder from Email
      operationId: create:transportOrder:fromMail
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrdersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/access-requests/{offset}/{amount}:
    get:
      tags:
        - User
      summary: Get pending access requests
      description: >-
        Returns users who have submitted an access request and are awaiting
        approval
      operationId: handle_354
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsersResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trips/{offset}/{amount}:
    get:
      tags:
        - Trip
      summary: Get trips
      description: Get list of trips
      operationId: handle_355
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Trip
      summary: Search trips
      description: Get list of trips through a search
      operationId: handle_440
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/type/{type}/functions:
    get:
      tags:
        - Integration
      summary: Get manual integration functions
      description: Get list of manual integration functions
      operationId: handle_356
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: type
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationFunctionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/locationUpdateEvents/{fromDate}/{toDate}:
    get:
      tags:
        - Vehicle
      summary: Get vehicle location update events
      description: Get the location update events of a vehicle
      operationId: get:vehicle:locationUpdateEvents
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleLocationUpdateEventsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/fleet/{id}/moveActions/{startDate}/{endDate}:
    get:
      tags:
        - Insights
      summary: Get vehicles trips insight
      description: Get the trips a list of vehicles have done by a date range
      operationId: get:insight_7
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: startDate
          in: path
          required: true
          schema:
            type: string
        - name: endDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightMultiTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /complaints/location/{id}/{offset}/{amount}:
    get:
      tags:
        - Complaint
      summary: Get complaints for a location
      description: Get list of Complaints
      operationId: handle_358
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplaintsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicleGroups/light:
    get:
      tags:
        - VehicleGroup
      summary: Get vehicleGroups
      description: Get list of vehicleGroups
      operationId: get:vehicleGroups_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleLightGroupsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/generate:
    post:
      tags:
        - Integration
      summary: Generate integration with AI
      description: >-
        Use AI to generate an integration configuration from a text description
        or API documentation
      operationId: generate:integration
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateIntegrationRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeneratedIntegrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /currencies:
    get:
      tags:
        - General
      summary: Get Currencies
      description: Get all the currencies available
      operationId: handle_363
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrenciesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Industries not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /notifications/{offset}/{amount}:
    get:
      tags:
        - Notification
      summary: Get notifications
      description: Get list of notifications
      operationId: handle_364
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/login:otp:
    post:
      tags:
        - User
      summary: User login otp
      description: Authenticate a user with the OTP
      operationId: handle_365
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginUserOtpRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transactions/date/{startDate}/{endDate}:
    get:
      tags:
        - Transaction
      summary: Get all transactions
      description: Get all the transactions by offset and amount
      operationId: handle_367
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: startDate
          in: path
          required: true
          schema:
            type: string
        - name: endDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/trips/past/{offset}/{amount}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur trips
      description: Get the trips of a chauffeur
      operationId: get:chauffeur:trips_2
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /location-timeslots/available:
    get:
      tags:
        - Timeslot Booking
      summary: Get available timeslots
      description: >-
        Retrieves available timeslots for a location within a date range.
        Returns slots with capacity information for date-time picker
        integration.
      operationId: handle_373
      parameters:
        - name: Authorization
          in: header
          description: Bearer token for authentication
          required: true
          schema:
            type: string
        - name: locationId
          in: query
          description: ID of the location to check availability
          required: true
          schema:
            type: string
        - name: startDate
          in: query
          description: 'Start date for availability check (ISO format: YYYY-MM-DD)'
          required: true
          schema:
            type: string
          example: '2025-02-01'
        - name: endDate
          in: query
          description: 'End date for availability check (ISO format: YYYY-MM-DD)'
          required: true
          schema:
            type: string
          example: '2025-02-28'
        - name: dockId
          in: query
          description: 'Optional: Filter by specific loading dock'
          schema:
            type: string
        - name: slotType
          in: query
          description: 'Optional: Filter by slot type (PICKUP, DELIVERY, BOTH)'
          schema:
            type: string
            enum:
              - PICKUP
              - DELIVERY
              - BOTH
      responses:
        '200':
          description: Success - Returns list of available timeslots with capacity info
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationTimeslotsResponse'
        '400':
          description: Invalid input data (missing required parameters)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicles/location:
    get:
      tags:
        - Vehicle
      summary: Get the location of all vehicles
      description: Get the location of all vehicles within a platform
      operationId: get:vehicles:location_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleLocationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Vehicle
      summary: Get the location of all vehicles
      description: Get the location of all vehicles within a platform
      operationId: get:vehicles:location
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleLocationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /settingsGroup/{id}/apply:
    get:
      tags:
        - Team
      summary: Get settingsGroup
      description: Get a settingsGroup on id
      operationId: get:settingsGroup
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGroupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/activity/{id}:
    delete:
      tags:
        - Chauffeur
      summary: Delete chauffeur activity
      description: Delete a chauffeur activity allocation
      operationId: delete:chauffeur:activity
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurActivityResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mails/{offset}/{amount}:
    get:
      tags:
        - Mail
      summary: Get mails
      description: Get list of mails
      operationId: handle_378
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Mail
      summary: Get mails
      description: Get list of mails
      operationId: handle_500
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /consignments:extended/{offset}/{amount}:
    get:
      tags:
        - Consignment
      summary: Get extended consignments
      description: Get extended list of consignments
      operationId: get:consignments_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Consignment
      summary: Search extended consignments
      description: Search extended list of consignments by query and multiple parameters
      operationId: search:consignments_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/test/run:
    post:
      tags:
        - Integration
      summary: Run all integration tests
      description: >-
        Executes every saved test case for the integration and returns a
        pass/fail summary. The last status of each test is persisted.
      operationId: handle_380
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunIntegrationTestsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/timeslots/{fromDate}/{toDate}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur timeslots
      description: Get list of chauffeurs
      operationId: get:chauffeur:timeslots
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurActivitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /ledgerEntriesByEntity:
    post:
      tags:
        - LedgerEntry
      summary: Get LedgerEntries by entity type
      description: Get list of ledgerEntries
      operationId: get:actions_4
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FindByRelatedEntityRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /stack-maps/{offset}/{amount}:
    get:
      tags:
        - StackMap
      summary: Get stackMaps
      description: Get list of stackMaps
      operationId: handle_495
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StackMapsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - StackMap
      summary: Search stackMaps
      description: Search list of stackMaps based on query
      operationId: handle_381
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StackMapsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /calendarEvents/{offset}/{amount}:
    get:
      tags:
        - CalendarEvent
      summary: Get calendar events
      description: Get list of calendar events
      operationId: get:calendarEvents
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalendarEventsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/chauffeurs/actions:byDateRange:
    post:
      tags:
        - Insights
      summary: Get vehicle trips insight
      description: Get the trips a vehicle has done by a date range
      operationId: get:insight_8
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChauffeursOnTruckByDateRangeRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightMultiTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/assign-user:
    post:
      tags:
        - Chauffeur
      summary: Assign a user to an existing chauffeur
      description: >-
        Creates a new user account for an existing chauffeur and sends an
        invitation to log in.
      operationId: assign:user:chauffeur
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: The ID of the chauffeur
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignUserToChauffeurRequest'
        required: true
      responses:
        '200':
          description: Success, user assigned and invitation sent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurResponse'
        '400':
          description: >-
            Invalid input data (e.g., chauffeur already has a user, email
            exists)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chauffeur not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/decline:
    get:
      tags:
        - TransportOrder
      summary: Decline TransportOrder
      description: Decline a requested transport order
      operationId: decline:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /capacities/{offset}/{amount}:
    get:
      tags:
        - Capacity
      summary: Get capacities
      description: Get a list of capacities from offset to amount.
      operationId: handle_382
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: string
        - name: amount
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /taxRate/{id}:
    put:
      tags:
        - General
      summary: Update Tax Rate
      description: Update an existing tax rate
      operationId: handle_467
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaxRateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - General
      summary: Delete Tax Rate
      description: Delete a tax rate
      operationId: handle_383
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaxRateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /document:
    put:
      tags:
        - Document
      summary: Update document
      description: Update a document
      operationId: update:document
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocumentModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Document
      summary: Create document
      description: Create a new document
      operationId: create:document
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocumentCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/activities:byDate/{fromDate}/{toDate}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur activities
      description: Get the activities of  chauffeur
      operationId: get:chauffeur:activities
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurActivitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/trips:byStatus/{status}/{offset}/{amount}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur trips
      description: Get the trips of a chauffeur
      operationId: get:chauffeur:trips_3
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/vehicles/sensorValueAtDate:
    post:
      tags:
        - Insights
      summary: Get vehicle trips insight
      description: Get the trips a vehicle has done by a date range
      operationId: get:insight_9
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VehiclesSensorValueAtDateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /certificates/business/{id}/{offset}/{amount}:
    get:
      tags:
        - Certificate
      summary: Get certificates for a Business
      description: Get list of Certificates
      operationId: handle_384
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificatesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/{shareCode}:
    get:
      tags:
        - TransportOrder
      summary: Get transportOrder
      description: Get a transportOrder on id with extended information
      operationId: get:transportOrder_6
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/chauffeurs/onTruck:byDateRange:
    post:
      tags:
        - Insights
      summary: Get vehicle trips insight
      description: Get the trips a vehicle has done by a date range
      operationId: get:insight_10
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChauffeursOnTruckByDateRangeRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightMultiTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/{id}/link:
    post:
      tags:
        - Mail
      summary: Link email
      description: Link an email to a transport order or consignment
      operationId: handle_385
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Mail ID
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkMailRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Mail not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/trips:byDate/{fromDate}/{toDate}:
    get:
      tags:
        - Chauffeur
      summary: Get chauffeur trips
      description: Get the trips of a chauffeur
      operationId: get:chauffeur:trips_4
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /notification/{id}/read:
    get:
      tags:
        - Notification
      summary: Read notification notification by id
      description: Get a notification on id
      operationId: handle_387
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /management/operational/{start}/{end}:
    get:
      tags:
        - Management
      summary: Get operational overview
      description: Get the operational management overview
      operationId: handle_389
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: start
          in: path
          required: true
          schema:
            type: string
        - name: end
          in: path
          required: true
          schema:
            type: string
        - name: administrationId
          in: query
          description: Filter by administration ID
          schema:
            type: string
        - name: teamId
          in: query
          description: Filter by team ID
          schema:
            type: string
        - name: customerId
          in: query
          description: Filter by customer ID
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationalOverviewResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricings/{offset}/{amount}:
    get:
      tags:
        - Pricing
      summary: Get pricings
      description: Get list of pricings
      operationId: handle_390
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Pricing
      summary: Search pricings
      description: Search list of pricings based on query
      operationId: handle_471
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/send:
    post:
      tags:
        - Mail
      summary: Send email
      description: Send a new email
      operationId: handle_392
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendMailRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice:public/{id}/{shareCode}:
    get:
      tags:
        - Invoice
      summary: Get invoice publicly
      description: Get invoice by ID and shareCode
      operationId: handle_393
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/cancel:
    get:
      tags:
        - Trip
      summary: Cancel a trip
      description: >-
        Cancel a trip, realize all actions below, remove from Vehicle and change
        Consignment status
      operationId: handle_394
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/optimizer:
    post:
      tags:
        - Trip
      summary: Create trips
      description: Create a new trip
      operationId: handle_395
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOptimizedTripsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OptimizedTripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomation/generate:
    post:
      tags:
        - Message automation
      summary: Generate message automation with AI
      description: >-
        Use AI to generate a message automation configuration from a text
        description or documents
      operationId: generate:messageAutomation
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateMessageAutomationRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeneratedMessageAutomationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote/{id}/create:invoice:
    post:
      tags:
        - Quote
      summary: Create invoice from quote
      description: Create invoice entity from the quote entity
      operationId: handle_397
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/messages/read:
    post:
      tags:
        - Chat
      summary: Read message
      description: read message by ID
      operationId: handle_398
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReadMessagesRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/users/report:
    post:
      tags:
        - Insights
      summary: Get users' insight
      description: Get the information about things done by a user within a date range
      operationId: get:insight_11
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserReportRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /languages:
    get:
      tags:
        - General
      summary: Get Languages
      description: Get all the languages available
      operationId: handle_401
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LanguagesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Languages not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/mail/receiver:
    put:
      tags:
        - Invoice
      summary: Create invoice from Email
      description: Create invoice from Email
      operationId: create:invoice:fromMail
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoicesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /certificate:
    put:
      tags:
        - Certificate
      summary: Update Certificate
      description: Update a Certificate
      operationId: handle_406
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CertificateModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Certificate
      summary: Create Certificate
      description: Create a new Certificate
      operationId: handle_420
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CertificateCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificateResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transaction/{id}:
    get:
      tags:
        - Transaction
      summary: Get transaction
      description: Get transaction by ID
      operationId: handle_407
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/v1/tender/inbound:
    post:
      tags:
        - Tender
      summary: Create inbound tender from external source
      description: >-
        Receives an external order and creates a tender with source=API_INBOUND.
        Authenticated via x-api-key/x-api-secret headers.
      operationId: create:tender:inbound
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
        - name: x-api-secret
          in: header
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeurs/{chauffeurId}/available:
    get:
      tags:
        - Chauffeur Calendar Events
      summary: Check if a specific chauffeur is available within a date range.
      operationId: isChauffeurAvailable
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Successful availability check.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetAvailabilityResponse'
        '400':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chauffeur not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/{shareCode}:
    get:
      tags:
        - Trip
      summary: Get trip
      description: Get a trip on id
      operationId: handle_409
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/requestLogs/{offset}/{amount}:
    get:
      tags:
        - Integration
      summary: Get integration request logs
      description: Get list of integration request logs
      operationId: handle_411
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationRequestLogsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /fleet/{id}:
    get:
      tags:
        - Fleet
      summary: Get fleet
      description: Get a fleet on id
      operationId: get:fleet
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FleetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Fleet
      summary: Delete fleet
      description: Delete a fleet
      operationId: delete:fleet
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FleetResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/logout:
    get:
      tags:
        - User
      summary: Log user out
      description: End the current session of the logged in user
      operationId: handle_414
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/duplicate:
    get:
      tags:
        - TransportOrder
      summary: Duplicate transportOrder
      description: Duplicate a TransportOrder to a new transport order
      operationId: duplicate:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /todos:byDateRange/{fromDate}/{toDate}:
    get:
      tags:
        - ToDo
      summary: Get toDos
      description: Get list of toDos
      operationId: handle_416
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDosResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/activity:
    post:
      tags:
        - Chauffeur
      summary: Create a chauffeur activity
      description: Register a chauffeur activity that either will happen or has happened
      operationId: create:chauffeur:activity
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChauffeurActivityCreateModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChauffeurActivityResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/all-pending-approvals:
    get:
      tags:
        - Invoice
      summary: Get all pending approvals
      description: Get all pending invoice approvals for the platform (admin function)
      operationId: handle_417
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicleGroup:
    put:
      tags:
        - VehicleGroup
      summary: Update vehicleGroup
      description: Update a vehicleGroup
      operationId: update:vehicleGroup
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VehicleGroupModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleGroupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - VehicleGroup
      summary: Create vehicleGroup
      description: Create a new vehicleGroup
      operationId: create:vehicleGroup
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VehicleGroupCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleGroupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /ban:
    put:
      tags:
        - Ban
      summary: Update Ban
      description: Update a Ban
      operationId: handle_418
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BanModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BanResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Ban
      summary: Create Ban
      description: Create a new Ban
      operationId: handle_450
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BanCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BanResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur/{id}/trips/prioritized/{offset}/{amount}:
    get:
      tags:
        - Chauffeur
      summary: Get prioritized chauffeur trips
      description: Get the trips of a chauffeur sorted by status priority
      operationId: get:chauffeur:trips:prioritized
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/from-documents:
    put:
      tags:
        - Invoice
      summary: Create invoice from documents
      description: Create invoice from documents
      operationId: create:invoice:fromDocuments
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoicesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/email:
    post:
      tags:
        - Integration
      summary: Handle incoming email
      description: Tne endpoint to receive email data
      operationId: handle_422
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /booking/carrier/{carrierId}/confirm:
    post:
      tags:
        - Booking
      summary: Carrier booking confirmation webhook
      description: >-
        Receives a booking confirmation from an external ferry or air carrier
        and updates the corresponding Booking record.
      operationId: handle_425
      parameters:
        - name: carrierId
          in: path
          description: >-
            Carrier identifier matching IntegrationManualType (e.g. dfds,
            stena_line, po_ferries, cldn)
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json: {}
        required: true
      responses:
        '200':
          description: Confirmation processed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataResponse'
        '400':
          description: Invalid payload or carrier
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid carrier credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Booking not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/messages/{id}/{offset}/{amount}:
    get:
      tags:
        - Chat
      summary: Get all chats
      description: Get all the chats by offset and amount
      operationId: handle_485
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - Chat
      summary: Search all chats
      description: Search all the chats by offset and amount
      operationId: handle_427
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /messageAutomation-template/{id}/duplicate:
    post:
      tags:
        - Message automation
      summary: Duplicate message automation template
      description: Duplicate a message automation template
      operationId: handle_435
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAutomationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/{id}/archive:
    get:
      tags:
        - Mail
      summary: Archive mail
      description: Archive a mail based on id
      operationId: handle_436
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /calendar/recurring-events:
    post:
      tags:
        - Calendar Events
      summary: Create a new recurring calendar event.
      operationId: createRecurringEvent
      parameters:
        - name: Authorization
          in: header
          description: Bearer token for authentication.
          required: true
          schema:
            $ref: '#/components/schemas/Context'
      requestBody:
        description: Details of the recurring event to create.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRecurringEventRequest'
        required: true
      responses:
        '200':
          description: Recurring event created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecurringEventResponse'
        '400':
          description: Invalid input data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/trips:dailyReport:
    post:
      tags:
        - Insights
      summary: Get trips daily report
      description: >-
        Get trips per day per vehicle in a date range, showing trip number,
        drivers, vehicle info, stop counts, load/unload stops, total LDM and
        total weight
      operationId: post:insight
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TripsDailyReportRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightMultiTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/activity:
    get:
      tags:
        - TransportOrder
      summary: Get transport order activity
      description: Get the activity timeline for a transport order
      operationId: handle_437
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationActivitiesResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /contract/{id}:
    get:
      tags:
        - Contract
      summary: Get contract
      description: Get contract by ID
      operationId: handle_498
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Contract
      summary: Delete contract
      description: Delete contract by ID
      operationId: handle_438
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/{id}/assign-chauffeur:
    post:
      tags:
        - User
      summary: Assign chauffeur to user
      description: >-
        Links an existing Chauffeur to an existing User; both must not already
        be linked.
      operationId: assign:chauffeur:user
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: The ID of the user
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignChauffeurToUserRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: User or Chauffeur not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/sessions:
    get:
      tags:
        - User
      summary: 'Get a user active session '
      description: Get the currently active sessions for a user
      operationId: handle_442
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/2fa/setup:
    post:
      tags:
        - User
      summary: Setup a users 2FA
      description: Get the 2FA QR image and the recovery codes
      operationId: handle_443
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User2FASetupResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/message/{id}/received:
    get:
      tags:
        - Chat
      summary: Received message
      description: Received message by ID
      operationId: handle_445
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/from-documents:
    post:
      tags:
        - TransportOrder
      summary: Create transportOrder from documents
      description: Create a new transportOrder from documents
      operationId: create:transportOrder:fromDocument
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTransportOrderFromDocumentsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrderResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /consignment:cancel/{id}:
    get:
      tags:
        - Consignment
      summary: Cancel consignment
      description: Cancel a consignment
      operationId: cancel:consignment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsignmentResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pricingCategories/{offset}/{amount}:
    post:
      tags:
        - General
      summary: Search Pricing Categories
      description: Search pricing categories with pagination
      operationId: handle_449
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCategoriesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/activity:
    get:
      tags:
        - Trip
      summary: Get trip activity
      description: Get the activity timeline for a trip
      operationId: handle_451
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationActivitiesResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /management/operational/tripsPerDay/{start}/{end}:
    get:
      tags:
        - Management
      summary: Get operational trip per day
      description: Get the operational management overview
      operationId: handle_453
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: start
          in: path
          required: true
          schema:
            type: string
        - name: end
          in: path
          required: true
          schema:
            type: string
        - name: administrationId
          in: query
          description: Filter by administration ID
          schema:
            type: string
        - name: teamId
          in: query
          description: Filter by team ID
          schema:
            type: string
        - name: customerId
          in: query
          description: Filter by customer ID
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationalTripsPerDayResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /boardComputers/{offset}/{amount}:
    get:
      tags:
        - BoardComputer
      summary: Get boardComputers
      description: Get list of boardComputers
      operationId: get:boardComputers
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardComputersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - BoardComputer
      summary: Get boardComputers
      description: Get list of boardComputers
      operationId: search:boardComputers
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BoardComputersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/session:
    get:
      tags:
        - User
      summary: Get a user active session by login token
      description: >-
        Get a user active session by active 'login attempt session''s token.
        Note: 'login attempt session' is a session for any specific login
        attemptSuch sessions would usually have short time window, hence
        endpoint usable only in that short duration.
      operationId: handle_454
      parameters:
        - name: token
          in: query
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /insights/vehicles/actions:
    post:
      tags:
        - Insights
      summary: Get vehicles actions insight
      description: Get the actions a list of vehicles have done by a date range
      operationId: get:insight_12
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VehiclesTripsByDateRangeRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightMultiTableResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/register:
    post:
      tags:
        - User
      summary: Register user
      description: Register a new user
      operationId: handle_455
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserRegisterRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFCMResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /tql/fields/{entityType}/{keyword}/{offset}/{amount}:
    get:
      tags:
        - TQL
      summary: Search for fields
      description: Get list of fields that match the given keyword
      operationId: handle_456
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          required: true
          schema:
            type: string
        - name: keyword
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FieldsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrders/cancel:
    post:
      tags:
        - TransportOrder
      summary: Cancel transport orders
      description: Cancel a list of transport orders
      operationId: handle_457
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransportOrderIdsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrdersResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /damage/{id}:
    get:
      tags:
        - Damage
      summary: Get damage
      description: Get a damage on id
      operationId: handle_469
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DamageResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
        - Damage
      summary: Delete damage
      description: Delete a damage
      operationId: handle_458
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DamageResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /quote:public/{id}/decline/{shareCode}:
    post:
      tags:
        - Quote
      summary: Decline public quote
      description: Decline the quote
      operationId: handle_461
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: shareCode
          in: path
          required: true
          schema:
            type: string
            description: (Optional) share code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /notification/received:
    post:
      tags:
        - Notification
      summary: Read notifications
      description: 'Read notifications by ids '
      operationId: handle_462
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationIdList'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trips/confirm:
    post:
      tags:
        - Trip
      summary: Confirm trips
      description: Confirm a list of trips
      operationId: handle_463
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TripIdsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /optimization/insert-consignment:
    post:
      tags:
        - Optimization
      summary: Insert consignment into existing trips
      description: Add a consignment to existing trips using real-time optimization
      operationId: insert:consignment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InsertConsignmentRequest'
        required: true
      responses:
        '200':
          description: Consignment insertion completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsertConsignmentResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Consignment not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur:extended/{id}:
    get:
      tags:
        - Chauffeur
      summary: Get extended chauffeur
      description: Get a extended chauffeur on id
      operationId: get:chauffeur:extended
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedChauffeurResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chauffeur-timeslots/{timeslotId}/exception:
    get:
      tags:
        - Chauffeur Timeslots
      summary: Get all exceptions for a specific chauffeur timeslot.
      operationId: getChauffeurActivityExceptions
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/Context'
      responses:
        '200':
          description: Successful retrieval of timeslot exceptions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
    post:
      tags:
        - Chauffeur Timeslots
      summary: Add or update an exception for a specific chauffeur timeslot.
      operationId: addTimeslotException
      requestBody:
        description: Details of the exception to add/update.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateExceptionRequest'
        required: true
      responses:
        '200':
          description: Exception added/updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventExceptionResponse'
        '400':
          description: Invalid input data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Chauffeur timeslot not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/forward:
    post:
      tags:
        - TransportOrder
      summary: Forward TransportOrder to Carrier
      description: >-
        Forward an entire transport order to an external carrier. This is a
        simplified operation that creates a single forwarded trip for the entire
        order, assigned to the specified capacity contract (external carrier).
        For splitting into multiple legs with different carriers, use the /split
        endpoint instead.
      operationId: forward:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Transport order ID
          required: true
          schema:
            type: string
      requestBody:
        description: Forward configuration with capacity contract ID
        content:
          application/json:
            examples:
              Forward to carrier:
                description: Forward to carrier
                value:
                  capacityContractId: contract-123
        required: true
      responses:
        '200':
          description: Forwarded trip created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data (e.g., missing capacityContractId)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Transport order or capacity contract not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /stack-map:
    put:
      tags:
        - StackMap
      summary: Update stackMap
      description: Update a stackMap
      operationId: handle_484
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StackMapModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StackMapResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
        - StackMap
      summary: Create stackMap
      description: Create a new stackMap
      operationId: handle_474
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StackMapCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StackMapResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mail/thread/{threadId}:
    get:
      tags:
        - Mail
      summary: Get thread
      description: Get all emails in a thread
      operationId: handle_475
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: threadId
          in: path
          description: Thread ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailsResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{id}/detach/transportEquipment:
    post:
      tags:
        - Vehicle
      summary: Detach chauffeur
      description: Detach chauffeur from Vehicle
      operationId: detach:transportEquipment
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DetachTransportEquipmentActionModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{uuid}/{lifeCycle}/stopEngine:
    post:
      tags:
        - Vehicle
      summary: Create vehicle event
      description: Create a new vehicle event
      operationId: create:vehicle:event_4
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: uuid
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle ID
        - name: lifeCycle
          in: path
          required: true
          schema:
            type: string
            description: The LifeCycle
            enum:
              - requested
              - planned
              - projected
              - actual
              - realized
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /invoice/{id}/send:reminder:
    post:
      tags:
        - Invoice
      summary: Send invoice reminder
      description: Send a invoice reminder
      operationId: handle_480
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportOrder/{id}/split:
    post:
      tags:
        - TransportOrder
      summary: Split TransportOrder into Trips
      description: >-
        Split a transport order into multiple trips (legs) for forwarding
        scenarios. This is used when an order needs to be executed by multiple
        carriers, for example: pickup carrier collects from shipper, line-haul
        carrier transports between hubs, delivery carrier delivers to consignee.
        Each leg can be assigned to a different external carrier via a capacity
        contract.
      operationId: split:transportOrder
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Transport order ID
          required: true
          schema:
            type: string
      requestBody:
        description: Split configuration with leg definitions
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SplitTransportOrderRequest'
        required: true
      responses:
        '200':
          description: Trips created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Transport order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/tasks/{offset}/{amount}:
    get:
      tags:
        - Integration
      summary: Get integration tasks
      description: Get list of integration tasks
      operationId: handle_482
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationTasksResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/logs/{offset}/{amount}:
    get:
      tags:
        - Integration
      summary: Get integration logs
      description: Get list of integration logs
      operationId: handle_483
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationLogsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{uuid}/{lifeCycle}/startWaiting:
    post:
      tags:
        - Vehicle
      summary: Create vehicle event
      description: Create a new vehicle event
      operationId: create:vehicle:event_5
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: uuid
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle ID
        - name: lifeCycle
          in: path
          required: true
          schema:
            type: string
            description: The LifeCycle
            enum:
              - requested
              - planned
              - projected
              - actual
              - realized
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/block/{id}:
    post:
      tags:
        - User
      summary: Block user
      description: Block a user from the platform
      operationId: handle_487
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json: {}
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{vehicle_id}/cameras:
    get:
      tags:
        - Camera
      summary: Get Cameras by vehicle Id
      description: Get list of cameras
      operationId: handle_489
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: vehicle_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CamerasResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /chat/message:translate/{id}:
    get:
      tags:
        - Chat
      summary: Get translated message
      description: Get a translated version of the  message by ID
      operationId: handle_490
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /vehicle/{uuid}/{lifeCycle}/startMoving:
    post:
      tags:
        - Vehicle
      summary: Create vehicle event
      description: Create a new vehicle event
      operationId: create:vehicle:event_6
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: uuid
          in: path
          required: true
          schema:
            type: string
            description: The Vehicle ID
        - name: lifeCycle
          in: path
          required: true
          schema:
            type: string
            description: The LifeCycle
            enum:
              - requested
              - planned
              - projected
              - actual
              - realized
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /user/password:
    put:
      tags:
        - User
      summary: Update logged in user password
      description: >-
        Update the password of the currently logged in user. The current
        password has to be known for this change
      operationId: handle_491
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePasswordRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /route/calculate:
    post:
      tags:
        - Route
      summary: Calculate and create a new route
      description: Calculate and create a new route based on Vehicle and the Georeferences
      operationId: handle_492
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalculateRouteFromActionsRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /location/geocode/addressGeoReference:
    post:
      tags:
        - Location
      summary: Geocode from AddressGeoReference
      description: Get coordinates (LatLongPointGeoReference) from AddressGeoReference
      operationId: handle_493
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocationCreateRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LatLonPointGeoReferenceResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /board/lane/{id}/todo:
    post:
      tags:
        - Lane
      summary: Add new Todo in Lane
      description: Add new Todo in a Lane
      operationId: handle_494
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToDoModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaneResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /todos:byDateRange/user/{user}/{fromDate}/{toDate}:
    get:
      tags:
        - ToDo
      summary: Get toDos
      description: Get list of toDos
      operationId: handle_497
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: user
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDosResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /todos:byEntity/{entityType}/{entityId}/{offset}/{amount}:
    get:
      tags:
        - ToDo
      summary: Get toDos
      description: Get list of toDos
      operationId: handle_499
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: entityType
          in: path
          required: true
          schema:
            type: string
        - name: entityId
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToDosResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /trip/{id}/documents:
    put:
      tags:
        - Trip
      summary: Add documents
      description: Add documents to tripp
      operationId: handle_502
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddDocumentsToTripRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /attributes:
    put:
      tags:
        - Attribute
      summary: Update attribute
      description: Update a attribute
      operationId: handle_504
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/AttributeModel'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttributesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /integration/{id}/objects/{offset}/{amount}:
    get:
      tags:
        - Integration
      summary: Get integration logs
      description: Get list of integrations
      operationId: handle_506
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationObjectsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /general/{offset}/{amount}:
    post:
      tags:
        - General
      summary: Search any element
      description: Search list of consignments by query and multiple parameters
      operationId: search:general
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: offset
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: amount
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntitiesResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /transportEquipment/{id}/trips:byDate/{fromDate}/{toDate}:
    get:
      tags:
        - TransportEquipment
      summary: Get transportEquipment transportEquipment
      description: Get the trips of a chauffeur
      operationId: get:transportEquipment:trips_1
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: fromDate
          in: path
          required: true
          schema:
            type: string
        - name: toDate
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripsResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /mappingToJson:
    put:
      tags:
        - General
      summary: Creating JSON from value pairs
      description: >-
        Create JSON object and/or array from the mapping array with the mapping
        path and value
      operationId: handle_509
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MappingToJsonRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MappingToJsonResponse'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Permissions not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    AssetAvailabilityResponse:
      type: object
      properties:
        available:
          type: boolean
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        errors:
          type: array
          items:
            type: string
        suggestion:
          type: string
    Context:
      type: object
    ADR:
      type: object
      properties:
        UNNumber:
          type: string
        language:
          type: string
        description:
          type: string
        technicalName:
          type: string
        waste:
          type: boolean
        environmentallyHazardous:
          type: boolean
        class:
          type: string
        classificationCode:
          type: string
        packagingGroup:
          type: string
        dangerLabels:
          type: string
        dangerNUmber:
          type: string
        tunnelCode:
          type: string
    AccountValidation:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        firstValue:
          type: number
          format: double
        secondValue:
          type: number
          format: double
    AchCreditTransfer:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        account_number:
          type: string
        bank_name:
          type: string
        fingerprint:
          type: string
        refund_account_holder_name:
          type: string
        refund_account_holder_type:
          type: string
        refund_routing_number:
          type: string
        routing_number:
          type: string
        swift_code:
          type: string
    AchCreditTransferModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        accountNumber:
          type: string
        bankName:
          type: string
        fingerprint:
          type: string
        refundAccountHolderName:
          type: string
        refundAccountHolderType:
          type: string
        refundRoutingNumber:
          type: string
        routingNumber:
          type: string
        swiftCode:
          type: string
    AchDebit:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        bank_name:
          type: string
        country:
          type: string
        fingerprint:
          type: string
        last4:
          type: string
        routing_number:
          type: string
        type:
          type: string
    AchDebitModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        bankName:
          type: string
        country:
          type: string
        fingerprint:
          type: string
        last4:
          type: string
        routingNumber:
          type: string
        type:
          type: string
    AcssDebit:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        bank_address_city:
          type: string
        bank_address_line_1:
          type: string
        bank_address_line_2:
          type: string
        bank_address_postal_code:
          type: string
        bank_name:
          type: string
        category:
          type: string
        country:
          type: string
        fingerprint:
          type: string
        last4:
          type: string
        routing_number:
          type: string
    AcssDebitModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        bankAddressCity:
          type: string
        bankAddressLine1:
          type: string
        bankAddressLine2:
          type: string
        bankAddressPostalCode:
          type: string
        bankName:
          type: string
        category:
          type: string
        country:
          type: string
        fingerprint:
          type: string
        last4:
          type: string
        routingNumber:
          type: string
    Action:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        versionNumber:
          type: integer
          format: int32
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          description: The type of action
          enum:
            - load
            - unload
            - handOver
            - stop
            - move
            - attachTransportEquipment
            - detachTransportEquipment
            - attachChauffeur
            - detachChauffeur
            - genericAction
            - wait
            - break
            - refuel
            - customs
            - weighing
            - typeTakeAndReturn
            - booking
        name:
          type: string
          description: The name of the action
        groupId:
          type: string
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        result:
          $ref: '#/components/schemas/ActionResult'
        remark:
          type: string
          description: The remark for this specific action
        sequenceNr:
          type: integer
          description: The number in which order the Action occurs
          format: int32
        tripSequenceNr:
          type: integer
          description: The number in which order the Action occurs within the trip
          format: int32
        location:
          $ref: '#/components/schemas/LocationAssociation'
        startTime:
          type: string
          description: The start time of this
          format: date-time
        endTime:
          type: string
          format: date-time
        eta:
          type: string
          description: Estimated Time of Arrival
          format: date-time
        etd:
          type: string
          description: Estimated Time of Departure
          format: date-time
        timeFormat:
          type: string
        recurrence:
          type: string
        duration:
          type: integer
          format: int32
        estimatedDuration:
          type: integer
          format: int32
        inTripOnly:
          type: boolean
        actions:
          type: array
          items:
            type: object
            description: circular reference
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        contextEvents:
          type: array
          items:
            $ref: '#/components/schemas/Event'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/Attribute'
        timeslotBookings:
          type: array
          description: Timeslot bookings associated with this action
          items:
            $ref: '#/components/schemas/TimeslotBooking'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintAssociation'
        communicationRequests:
          type: array
          items:
            $ref: '#/components/schemas/CommunicationRequest'
      discriminator:
        propertyName: type
        mapping:
          attachTransportEquipment: '#/components/schemas/AttachTransportEquipmentAction'
          detachTransportEquipment: '#/components/schemas/DetachTransportEquipmentAction'
          attachChauffeur: '#/components/schemas/AttachChauffeurAction'
          detachChauffeur: '#/components/schemas/DetachChauffeurAction'
          genericAction: '#/components/schemas/GenericAction'
          handOver: '#/components/schemas/HandOverAction'
          load: '#/components/schemas/LoadAction'
          move: '#/components/schemas/MoveAction'
          stop: '#/components/schemas/StopAction'
          unload: '#/components/schemas/UnloadAction'
          break: '#/components/schemas/BreakAction'
          wait: '#/components/schemas/WaitAction'
          customs: '#/components/schemas/CustomsAction'
          weighing: '#/components/schemas/WeighingAction'
          typeTakeAndReturn: '#/components/schemas/TypeTakeAndReturnAction'
          booking: '#/components/schemas/BookingAction'
          refuel: '#/components/schemas/RefuelAction'
      oneOf:
        - $ref: '#/components/schemas/AttachTransportEquipmentAction'
        - $ref: '#/components/schemas/DetachTransportEquipmentAction'
        - $ref: '#/components/schemas/AttachChauffeurAction'
        - $ref: '#/components/schemas/DetachChauffeurAction'
        - $ref: '#/components/schemas/GenericAction'
        - $ref: '#/components/schemas/HandOverAction'
        - $ref: '#/components/schemas/LoadAction'
        - $ref: '#/components/schemas/MoveAction'
        - $ref: '#/components/schemas/StopAction'
        - $ref: '#/components/schemas/UnloadAction'
        - $ref: '#/components/schemas/BreakAction'
        - $ref: '#/components/schemas/WaitAction'
        - $ref: '#/components/schemas/CustomsAction'
        - $ref: '#/components/schemas/WeighingAction'
        - $ref: '#/components/schemas/TypeTakeAndReturnAction'
        - $ref: '#/components/schemas/BookingAction'
        - $ref: '#/components/schemas/RefuelAction'
    ActionAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
      discriminator:
        propertyName: associationType
        mapping:
          inline: '#/components/schemas/ActionInlineAssociation'
          reference: '#/components/schemas/ActionReferenceAssociation'
      oneOf:
        - $ref: '#/components/schemas/ActionInlineAssociation'
        - $ref: '#/components/schemas/ActionReferenceAssociation'
    ActionInlineAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            entity:
              $ref: '#/components/schemas/Action'
            description:
              type: string
    ActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - load
            - unload
            - handOver
            - stop
            - move
            - attachTransportEquipment
            - detachTransportEquipment
            - attachChauffeur
            - detachChauffeur
            - genericAction
            - wait
            - break
            - refuel
            - customs
            - weighing
            - typeTakeAndReturn
            - booking
        groupId:
          type: string
        name:
          type: string
          description: The name of the action
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        result:
          $ref: '#/components/schemas/ActionResult'
        remark:
          type: string
        sequenceNr:
          type: integer
          description: The number in which order the Action occurs
          format: int32
        tripSequenceNr:
          type: integer
          description: The number in which order the Action occurs within the trip
          format: int32
        location:
          $ref: '#/components/schemas/LocationAssociation'
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        eta:
          type: string
          format: date-time
        etd:
          type: string
          format: date-time
        timeFormat:
          type: string
        recurrence:
          type: string
        duration:
          type: integer
          description: The actual duration of the action in minutes
          format: int32
        estimatedDuration:
          type: integer
          description: The estimated duration of the action in minutes
          format: int32
        inTripOnly:
          type: boolean
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionAssociation'
        communicationRequests:
          type: array
          items:
            $ref: '#/components/schemas/CommunicationRequestModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        contextEvents:
          type: array
          items:
            $ref: '#/components/schemas/EventModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        versionNumber:
          type: integer
          format: int32
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintAssociation'
      discriminator:
        propertyName: type
        mapping:
          attachTransportEquipment: '#/components/schemas/AttachTransportEquipmentActionModel'
          detachTransportEquipment: '#/components/schemas/DetachTransportEquipmentActionModel'
          attachChauffeur: '#/components/schemas/AttachChauffeurActionModel'
          detachChauffeur: '#/components/schemas/DetachChauffeurActionModel'
          genericAction: '#/components/schemas/GenericActionModel'
          handOver: '#/components/schemas/HandOverActionModel'
          load: '#/components/schemas/LoadActionModel'
          move: '#/components/schemas/MoveActionModel'
          stop: '#/components/schemas/StopActionModel'
          unload: '#/components/schemas/UnloadActionModel'
          break: '#/components/schemas/BreakActionModel'
          wait: '#/components/schemas/WaitActionModel'
          customs: '#/components/schemas/CustomsActionModel'
          weighing: '#/components/schemas/WeighingActionModel'
          typeTakeAndReturn: '#/components/schemas/TypeTakeAndReturnActionModel'
          booking: '#/components/schemas/BookingActionModel'
          refuel: '#/components/schemas/RefuelActionModel'
      oneOf:
        - $ref: '#/components/schemas/AttachTransportEquipmentActionModel'
        - $ref: '#/components/schemas/DetachTransportEquipmentActionModel'
        - $ref: '#/components/schemas/AttachChauffeurActionModel'
        - $ref: '#/components/schemas/DetachChauffeurActionModel'
        - $ref: '#/components/schemas/GenericActionModel'
        - $ref: '#/components/schemas/HandOverActionModel'
        - $ref: '#/components/schemas/LoadActionModel'
        - $ref: '#/components/schemas/MoveActionModel'
        - $ref: '#/components/schemas/StopActionModel'
        - $ref: '#/components/schemas/UnloadActionModel'
        - $ref: '#/components/schemas/BreakActionModel'
        - $ref: '#/components/schemas/WaitActionModel'
        - $ref: '#/components/schemas/CustomsActionModel'
        - $ref: '#/components/schemas/WeighingActionModel'
        - $ref: '#/components/schemas/TypeTakeAndReturnActionModel'
        - $ref: '#/components/schemas/BookingActionModel'
        - $ref: '#/components/schemas/RefuelActionModel'
    ActionReferenceAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
        uuid:
          type: string
        description:
          type: string
    ActionResult:
      type: object
      properties:
        status:
          type: string
          enum:
            - succeeded
            - failed
            - partiallySucceeded
            - cancelled
        remark:
          type: string
        reason:
          type: string
        results:
          type: array
          items:
            type: object
            additionalProperties:
              type: object
        answers:
          type: object
          additionalProperties:
            type: object
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/ResultAttachment'
    ActionResultQuestionnaire:
      type: object
      properties:
        enabled:
          type: boolean
        questions:
          type: array
          items:
            $ref: '#/components/schemas/ResultQuestion'
        resultMappings:
          type: array
          items:
            $ref: '#/components/schemas/ResultMapping'
      description: >-
        Configurable questionnaires for action results, keyed by action type.
        Enables dynamic question-answer flows that can set result status and
        modify action/consignment fields.
    Actor:
      required:
        - id
        - name
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
          description: The name of the actor
        user:
          type: object
          description: circular reference
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetail'
    ActorAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
      discriminator:
        propertyName: associationType
        mapping:
          inline: '#/components/schemas/DocumentInlineAssociation'
          reference: '#/components/schemas/DocumentReferenceAssociation'
      oneOf:
        - $ref: '#/components/schemas/DocumentInlineAssociation'
        - $ref: '#/components/schemas/DocumentReferenceAssociation'
    ActorModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        user:
          type: object
          description: circular reference
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetailModel'
    AddressGeoReference:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            hash:
              type: string
            name:
              type: string
            street:
              type: string
            houseNumber:
              type: string
            houseNumberAddition:
              type: string
            postCode:
              type: string
            city:
              type: string
            country:
              type: string
    AddressGeoReferenceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            name:
              type: string
            street:
              type: string
            houseNumber:
              type: string
            houseNumberAddition:
              type: string
            postalCode:
              type: string
            city:
              type: string
            country:
              type: string
            hash:
              type: string
    Administration:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        primary:
          type: boolean
        business:
          $ref: '#/components/schemas/Business'
        currency:
          $ref: '#/components/schemas/Currency'
        balance:
          $ref: '#/components/schemas/Money'
        bankAccounts:
          type: array
          items:
            $ref: '#/components/schemas/BankAccount'
        numberFormat:
          type: string
        numberLength:
          type: integer
          format: int32
        dueDays:
          type: integer
          format: int32
        invoiceNumberIndex:
          type: object
          additionalProperties:
            type: integer
            format: int32
        quoteNumberIndex:
          type: object
          additionalProperties:
            type: integer
            format: int32
        invoiceSendMessageAutomation:
          $ref: '#/components/schemas/MessageAutomation'
        automaticallySendReminders:
          type: boolean
        invoiceFirstReminderMessageAutomation:
          $ref: '#/components/schemas/MessageAutomation'
        invoiceSecondReminderMessageAutomation:
          $ref: '#/components/schemas/MessageAutomation'
        invoiceThirdReminderMessageAutomation:
          $ref: '#/components/schemas/MessageAutomation'
        invoicePaidMessageAutomation:
          $ref: '#/components/schemas/MessageAutomation'
        quoteSendMessageAutomation:
          $ref: '#/components/schemas/MessageAutomation'
        invoiceTermsAndConditions:
          type: array
          items:
            $ref: '#/components/schemas/LocalizedText'
        quoteTermsAndConditions:
          type: array
          items:
            $ref: '#/components/schemas/LocalizedText'
        transportOrderTermsAndConditions:
          type: array
          items:
            $ref: '#/components/schemas/LocalizedText'
        invoiceStandardDocuments:
          type: array
          items:
            $ref: '#/components/schemas/Document'
        quoteStandardDocuments:
          type: array
          items:
            $ref: '#/components/schemas/Document'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        transportOrderPrefix:
          type: string
        consignmentPrefix:
          type: string
    AdministrationModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        platforms:
          type: array
          items:
            type: object
            description: circular reference
        name:
          type: string
        primary:
          type: boolean
        transportOrderPrefix:
          type: string
        consignmentPrefix:
          type: string
        business:
          type: object
          description: circular reference
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        balance:
          $ref: '#/components/schemas/MoneyModel'
        bankAccounts:
          type: array
          items:
            $ref: '#/components/schemas/BankAccountModel'
        numberFormat:
          type: string
        numberLength:
          type: integer
          format: int32
        dueDays:
          type: integer
          format: int32
        invoiceNumberIndex:
          type: object
          additionalProperties:
            type: integer
            format: int32
        quoteNumberIndex:
          type: object
          additionalProperties:
            type: integer
            format: int32
        invoiceSendMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        automaticallySendReminders:
          type: boolean
        invoiceFirstReminderMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        invoiceSecondReminderMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        invoiceThirdReminderMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        invoicePaidMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        quoteSendMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        invoiceTermsAndConditions:
          type: array
          items:
            $ref: '#/components/schemas/LocalizedText'
        quoteTermsAndConditions:
          type: array
          items:
            $ref: '#/components/schemas/LocalizedText'
        transportOrderTermsAndConditions:
          type: array
          items:
            $ref: '#/components/schemas/LocalizedText'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    AdministrativeReference:
      type: object
      properties:
        name:
          type: string
        street:
          type: string
        houseNumber:
          type: string
        houseNumberAddition:
          type: string
        postalCode:
          type: string
        city:
          type: string
        country:
          type: string
    AirBooking:
      required:
        - id
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            airlinePrefix:
              type: string
            serialNumber:
              type: string
            carrierCode:
              type: string
            airwayBillNo:
              type: string
            houseAirwayBillNo:
              type: string
            airwayBill:
              $ref: '#/components/schemas/Document'
    AirBookingModel:
      required:
        - id
        - primaryPlatformId
        - type
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            airlinePrefix:
              type: string
            serialNumber:
              type: string
            carrierCode:
              type: string
            airwayBillNo:
              type: string
            houseAirwayBillNo:
              type: string
            airwayBill:
              $ref: '#/components/schemas/DocumentModel'
    Alipay:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        data_string:
          type: string
        native_url:
          type: string
        statement_descriptor:
          type: string
    AlipayModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        dataString:
          type: string
        nativeUrl:
          type: string
        statementDescriptor:
          type: string
    AndConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            and:
              type: array
              items:
                type: object
                description: circular reference
    AndConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            and:
              type: array
              items:
                type: object
                description: circular reference
    ApiAccessIntegration:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            accessKey:
              type: string
            secretKey:
              type: string
            allowedIps:
              type: array
              items:
                type: string
            permissions:
              type: array
              items:
                $ref: '#/components/schemas/Permission'
            maxRequestsPerMinute:
              type: integer
              format: int32
    ApiAccessIntegrationModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            accessKey:
              type: string
            secretKey:
              type: string
            allowedIps:
              type: array
              items:
                type: string
            permissions:
              type: array
              items:
                $ref: '#/components/schemas/Permission'
            maxRequestsPerMinute:
              type: integer
              format: int32
    AppHookModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - ui
            - api
        subtype:
          type: string
          enum:
            - ui_dashboard_tab
            - ui_menu_tab
        name:
          type: string
        description:
          type: string
        iframeURI:
          type: string
    AppModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        logo:
          $ref: '#/components/schemas/FileModel'
        name:
          type: string
        description:
          type: string
        publisher:
          $ref: '#/components/schemas/PublisherModel'
        termsAndConditions:
          type: string
        lastVersion:
          $ref: '#/components/schemas/AppVersionModel'
        versions:
          type: array
          items:
            $ref: '#/components/schemas/AppVersionModel'
        approved:
          type: boolean
        public:
          type: boolean
    AppVersionModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        description:
          type: string
        buildNumber:
          type: integer
          format: int32
        version:
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/PermissionModel'
        hooks:
          type: array
          items:
            $ref: '#/components/schemas/AppHookModel'
        approved:
          type: boolean
    ArrivalEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              $ref: '#/components/schemas/Vehicle'
            transportEquipment:
              $ref: '#/components/schemas/TransportEquipment'
            stopAction:
              $ref: '#/components/schemas/StopAction'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    ArrivalEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              type: object
              description: circular reference
            transportEquipment:
              type: object
              description: circular reference
            stopAction:
              $ref: '#/components/schemas/StopActionModel'
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    Association:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
      discriminator:
        propertyName: associationType
    AttachChauffeurAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            role:
              type: string
            vehicle:
              $ref: '#/components/schemas/Association'
            chauffeur:
              $ref: '#/components/schemas/Association'
            stopAction:
              type: object
              description: circular reference
    AttachChauffeurActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            role:
              type: string
            vehicle:
              $ref: '#/components/schemas/Association'
            chauffeur:
              $ref: '#/components/schemas/Association'
            stopAction:
              $ref: '#/components/schemas/ActionAssociation'
    AttachTransportEquipmentAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            isContainmentAction:
              type: boolean
            vehicle:
              $ref: '#/components/schemas/Association'
            transportEquipment:
              $ref: '#/components/schemas/Association'
            stop:
              type: object
              description: circular reference
            pin:
              type: string
            tar:
              type: string
            shipmentLine:
              $ref: '#/components/schemas/ShipmentLine'
            containmentUUID:
              type: string
    AttachTransportEquipmentActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            isContainmentAction:
              type: boolean
            vehicle:
              $ref: '#/components/schemas/Association'
            transportEquipment:
              $ref: '#/components/schemas/Association'
            stop:
              $ref: '#/components/schemas/ActionAssociation'
            pin:
              type: string
            tar:
              type: string
            shipmentLine:
              $ref: '#/components/schemas/ShipmentLine'
            containmentUUID:
              type: string
    Attribute:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        color:
          type: string
    AttributeConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            attributes:
              type: array
              items:
                $ref: '#/components/schemas/Attribute'
    AttributeConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            attributes:
              type: array
              items:
                $ref: '#/components/schemas/AttributeModel'
    AttributeModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        color:
          type: string
    AuBecsDebit:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        bsb_number:
          type: string
        fingerprint:
          type: string
        last4:
          type: string
    AuBecsDebitModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        bsbNumber:
          type: string
        fingerprint:
          type: string
        last4:
          type: string
    AutomationDocumentAttachment:
      type: object
      properties:
        documentSourceType:
          type: string
          enum:
            - ENTITY_PDF
            - CUSTOM_TEMPLATE
            - INSIGHT_REPORT
            - STATIC_FILE
        documentType:
          type: string
          enum:
            - cmr
            - waybill
            - invoice
            - quote
            - transportOrder
            - trip
            - custom
        documentTemplateId:
          type: string
        fileUrl:
          type: string
        insightType:
          type: string
        reportParameters:
          type: object
          additionalProperties:
            type: string
        entityIdSelector:
          type: string
        fileNameTemplate:
          type: string
    AvailableCapacityChange:
      type: object
      properties:
        preStackCapacityMetrics:
          $ref: '#/components/schemas/StackCapacityMetrics'
        postStackCapacityMetrics:
          $ref: '#/components/schemas/StackCapacityMetrics'
    Bancontact:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        bank_code:
          type: string
        bank_name:
          type: string
        bic:
          type: string
        iban_last4:
          type: string
        preferred_language:
          type: string
        statement_descriptor:
          type: string
    BancontactModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        bankCode:
          type: string
        bankName:
          type: string
        bic:
          type: string
        ibanLast4:
          type: string
        preferredLanguage:
          type: string
        statementDescriptor:
          type: string
    BankAccount:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        routingNumber:
          type: string
        accountNumber:
          type: string
        last4:
          type: string
        currency:
          $ref: '#/components/schemas/Currency'
        country:
          type: string
        validation:
          $ref: '#/components/schemas/AccountValidation'
        validated:
          type: boolean
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        accountHolderName:
          type: string
        accountHolderType:
          type: string
        bankName:
          type: string
    BankAccountModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        accountHolderName:
          type: string
        accountHolderType:
          type: string
        bankName:
          type: string
        routingNumber:
          type: string
        accountNumber:
          type: string
        last4:
          type: string
        currency:
          $ref: '#/components/schemas/Currency'
        country:
          type: string
        validation:
          type: object
          description: circular reference
        validated:
          type: boolean
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    Billing:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        plan:
          $ref: '#/components/schemas/Plan'
        companyName:
          type: string
        vat:
          type: string
        email:
          type: string
        administrativeReference:
          $ref: '#/components/schemas/AdministrativeReference'
        customerId:
          type: string
        intentId:
          type: string
        lastBilled:
          type: string
          format: date-time
        lastUsageEventsRun:
          type: string
          format: date-time
        approvedBillingElementTypes:
          type: array
          items:
            type: string
            enum:
              - user
              - vehicle
              - consignment
              - invoice
              - quote
              - trip
              - messageAutomation
              - integration
    BillingModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        plan:
          $ref: '#/components/schemas/PlanModel'
        companyName:
          type: string
        vat:
          type: string
        email:
          type: string
        administrativeReference:
          $ref: '#/components/schemas/AdministrativeReference'
        customerId:
          type: string
        intentId:
          type: string
        lastBilled:
          type: string
          format: date-time
        lastUsageEventsRun:
          type: string
          format: date-time
        approvedBillingElementTypes:
          type: array
          items:
            type: string
            enum:
              - user
              - vehicle
              - consignment
              - invoice
              - quote
              - trip
              - messageAutomation
              - integration
    BoardComputer:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        type:
          type: string
          enum:
            - vehicle
            - meansOfTransport
            - mobile
        active:
          type: boolean
        boardComputerId:
          type: string
        inviteCode:
          type: string
        inviteUrl:
          type: string
        integration:
          $ref: '#/components/schemas/Integration'
        vehicle:
          type: object
          description: circular reference
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipment'
        chauffeur:
          $ref: '#/components/schemas/Chauffeur'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
    BoardComputerModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        type:
          type: string
          enum:
            - vehicle
            - meansOfTransport
            - mobile
        active:
          type: boolean
        boardComputerId:
          type: string
        inviteCode:
          type: string
        inviteUrl:
          type: string
        integration:
          $ref: '#/components/schemas/IntegrationModel'
        vehicle:
          type: object
          description: circular reference
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipmentModel'
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    Booking:
      required:
        - id
        - type
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          description: The type of booking
          enum:
            - maritime
            - road
            - air
            - rail
        capacitySubType:
          type: string
          enum:
            - load
            - vehicle
            - transport_equipment
            - chauffeur
        name:
          type: string
        bookingNumber:
          type: string
        externalReference:
          type: string
        transportOrder:
          $ref: '#/components/schemas/TransportOrder'
        capacityContract:
          $ref: '#/components/schemas/CapacityContract'
        quote:
          $ref: '#/components/schemas/Quote'
        invoice:
          $ref: '#/components/schemas/Invoice'
        status:
          type: string
          enum:
            - draft
            - submitted
            - pendingConfirmation
            - confirmed
            - cancelled
            - failed
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
      discriminator:
        propertyName: type
        mapping:
          air: '#/components/schemas/AirBooking'
          maritime: '#/components/schemas/MaritimeBooking'
          road: '#/components/schemas/RoadBooking'
      oneOf:
        - $ref: '#/components/schemas/MaritimeBooking'
        - $ref: '#/components/schemas/RoadBooking'
        - $ref: '#/components/schemas/AirBooking'
    BookingAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            from:
              $ref: '#/components/schemas/LocationAssociation'
            to:
              $ref: '#/components/schemas/LocationAssociation'
            capacityContract:
              $ref: '#/components/schemas/CapacityContract'
            booking:
              $ref: '#/components/schemas/Booking'
    BookingActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            from:
              $ref: '#/components/schemas/LocationAssociation'
            to:
              $ref: '#/components/schemas/LocationAssociation'
            capacityContract:
              $ref: '#/components/schemas/CapacityContract'
            booking:
              $ref: '#/components/schemas/Booking'
    BookingModel:
      required:
        - id
        - primaryPlatformId
        - type
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          description: The type of booking
          enum:
            - maritime
            - road
            - air
            - rail
        capacitySubType:
          type: string
          enum:
            - load
            - vehicle
            - transport_equipment
            - chauffeur
        name:
          type: string
        bookingNumber:
          type: string
        externalReference:
          type: string
        transportOrder:
          type: object
          description: circular reference
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        quote:
          $ref: '#/components/schemas/QuoteModel'
        invoice:
          $ref: '#/components/schemas/InvoiceModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
      discriminator:
        propertyName: type
        mapping:
          air: '#/components/schemas/AirBookingModel'
          maritime: '#/components/schemas/MaritimeBookingModel'
          road: '#/components/schemas/RoadBookingModel'
      oneOf:
        - $ref: '#/components/schemas/MaritimeBookingModel'
        - $ref: '#/components/schemas/RoadBookingModel'
        - $ref: '#/components/schemas/AirBookingModel'
    Brand:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        logo:
          $ref: '#/components/schemas/File'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        name:
          type: string
        description:
          type: string
        business:
          type: object
          description: circular reference
        url:
          type: string
    BrandModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        logo:
          $ref: '#/components/schemas/FileModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        name:
          type: string
        description:
          type: string
        business:
          type: object
          description: circular reference
        url:
          type: string
    BreakAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
    BreakActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
    Bucket:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
    BucketModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
    Business:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
          description: The name of the business
        relationType:
          type: string
        alias:
          type: string
          description: The alias name of the business
        description:
          type: string
        transportLicenseNumber:
          type: string
        eori:
          type: string
        scacCode:
          type: string
        industry:
          $ref: '#/components/schemas/IndustryModel'
        website:
          type: string
        coc:
          type: string
        vat:
          type: string
        invoiceAttentionTo:
          type: string
        invoiceEmail:
          type: string
        quoteAttentionTo:
          type: string
        quoteEmail:
          type: string
        verified:
          type: boolean
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        logo:
          $ref: '#/components/schemas/File'
        banners:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
        locations:
          type: array
          items:
            $ref: '#/components/schemas/LocationModel'
        identification:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetailModel'
        contactPersons:
          type: array
          items:
            $ref: '#/components/schemas/ContactPersonModel'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        partOf:
          type: array
          items:
            type: object
            description: circular reference
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        dataIsComplete:
          type: boolean
        pricingConfigurationCount:
          type: integer
          format: int32
        hasAgreedToPrice:
          type: boolean
    Camera:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        vehicle:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - telenormicCamera
      discriminator:
        propertyName: type
        mapping:
          telenormicCamera: '#/components/schemas/TelenormicCamera'
      oneOf:
        - $ref: '#/components/schemas/TelenormicCamera'
    CameraModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - telenormicCamera
        vehicle:
          type: object
          description: circular reference
      discriminator:
        propertyName: type
        mapping:
          telenormicCamera: '#/components/schemas/TelenormicCameraModel'
      oneOf:
        - $ref: '#/components/schemas/TelenormicCameraModel'
    CapacitorInstanceStackPlan:
      type: object
      properties:
        order:
          type: integer
          format: int32
        capacitorObjectID:
          type: string
        capacitorInstanceNo:
          type: integer
          format: int32
        occupantsIDToQuantityMap:
          type: object
          additionalProperties:
            type: integer
            format: int32
        stackString:
          type: string
    CapacitorStackPlan:
      type: object
      properties:
        capacitorID:
          type: string
        totalInstances:
          type: integer
          format: int32
        occupantsIDToQuantityMap:
          type: object
          additionalProperties:
            type: integer
            format: int32
        loadLength_Dx:
          type: number
          format: double
        loadWidth_Dy:
          type: number
          format: double
        loadHeight_Dz:
          type: number
          format: double
        instancesStackPlan:
          type: array
          items:
            $ref: '#/components/schemas/CapacitorInstanceStackPlan'
    Capacity:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        description:
          type: string
        business:
          type: object
          description: circular reference
        schedule:
          $ref: '#/components/schemas/Schedule'
        modality:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        subType:
          type: string
          enum:
            - load
            - vehicle
            - transport_equipment
            - chauffeur
        capacityPerUnit:
          $ref: '#/components/schemas/ValueWithUnit'
        totalUnits:
          type: integer
          format: int32
        availableCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        totalCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
    CapacityChangeEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            capacityChangeEventType:
              type: string
              enum:
                - emptyCapacityInitializationEvent
                - stopCapacityChangeEvent
                - loadItemsEvent
                - unloadItemsEvent
                - attachTransportEquipmentEvent
                - detachTransportEquipmentEvent
                - loadTransportEquipmentEvent
                - unloadTransportEquipmentEvent
            checkpointDateTime:
              type: string
              format: date-time
            sequenceNr:
              type: integer
              format: int32
            stackCapacities:
              type: array
              items:
                $ref: '#/components/schemas/StackCapacity'
            availableCapacityChange:
              $ref: '#/components/schemas/AvailableCapacityChange'
            usedCapacityChange:
              $ref: '#/components/schemas/UsedCapacityChange'
            requiresRecalculation:
              type: boolean
    CapacityContract:
      required:
        - id
        - type
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        type:
          type: string
          description: The type of contract
          enum:
            - permanentContract
            - oneTimeContract
            - transportOrderContract
        communicationMethod:
          type: string
          enum:
            - messageAutomation
            - integration
            - pdf
        contract:
          $ref: '#/components/schemas/Contract'
        business:
          type: object
          description: circular reference
        administration:
          type: object
          description: circular reference
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        selfBilling:
          type: boolean
        currency:
          $ref: '#/components/schemas/Currency'
        triggerType:
          type: string
          enum:
            - endOfWeek
            - endOfWeekOrMonth
            - endOfMonth
            - endOfQuarter
            - endOfTrip
            - endOfTransportOrder
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
        lastHandledSelfBilling:
          type: string
          format: date-time
        signature:
          $ref: '#/components/schemas/Signature'
        integration:
          $ref: '#/components/schemas/Integration'
        messageAutomation:
          $ref: '#/components/schemas/MessageAutomation'
      discriminator:
        propertyName: type
        mapping:
          oneTimeContract: '#/components/schemas/OneTimeContract'
          permanentContract: '#/components/schemas/PermanentContract'
          transportOrderContract: '#/components/schemas/TransportOrderContract'
      oneOf:
        - $ref: '#/components/schemas/OneTimeContract'
        - $ref: '#/components/schemas/PermanentContract'
        - $ref: '#/components/schemas/TransportOrderContract'
    CapacityContractModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        type:
          type: string
          enum:
            - permanentContract
            - oneTimeContract
            - transportOrderContract
        communicationMethod:
          type: string
          enum:
            - messageAutomation
            - integration
            - pdf
        contract:
          $ref: '#/components/schemas/ContractModel'
        business:
          type: object
          description: circular reference
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        selfBilling:
          type: boolean
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        triggerType:
          type: string
          enum:
            - endOfWeek
            - endOfWeekOrMonth
            - endOfMonth
            - endOfQuarter
            - endOfTrip
            - endOfTransportOrder
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
        lastHandledSelfBilling:
          type: string
          format: date-time
        signature:
          $ref: '#/components/schemas/SignatureModel'
        integration:
          $ref: '#/components/schemas/IntegrationModel'
        messageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
      discriminator:
        propertyName: type
        mapping:
          oneTimeContract: '#/components/schemas/OneTimeContractModel'
          permanentContract: '#/components/schemas/PermanentContractModel'
          transportOrderContract: '#/components/schemas/TransportOrderContractModel'
      oneOf:
        - $ref: '#/components/schemas/OneTimeContractModel'
        - $ref: '#/components/schemas/PermanentContractModel'
        - $ref: '#/components/schemas/TransportOrderContractModel'
    CapacityModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        platforms:
          type: array
          items:
            type: object
            description: circular reference
        name:
          type: string
        description:
          type: string
        business:
          type: object
          description: circular reference
        schedule:
          $ref: '#/components/schemas/ScheduleModel'
        modality:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        subType:
          type: string
          enum:
            - load
            - vehicle
            - transport_equipment
            - chauffeur
        capacityPerUnit:
          $ref: '#/components/schemas/ValueWithUnit'
        totalUnits:
          type: integer
          format: int32
        availableCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        totalCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    Card:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        address_line1_check:
          type: string
        address_zip_check:
          type: string
        brand:
          type: string
        country:
          type: string
        cvc_check:
          type: string
        description:
          type: string
        dynamic_last4:
          type: string
        exp_month:
          type: integer
          format: int64
        exp_year:
          type: integer
          format: int64
        fingerprint:
          type: string
        funding:
          type: string
        iin:
          type: string
        issuer:
          type: string
        last4:
          type: string
        name:
          type: string
        three_d_secure:
          type: string
        tokenization_method:
          type: string
    CardModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        addressLine1Check:
          type: string
        addressZipCheck:
          type: string
        brand:
          type: string
        country:
          type: string
        cvcCheck:
          type: string
        description:
          type: string
        dynamicLast4:
          type: string
        expMonth:
          type: integer
          format: int64
        expYear:
          type: integer
          format: int64
        fingerprint:
          type: string
        funding:
          type: string
        iin:
          type: string
        issuer:
          type: string
        last4:
          type: string
        name:
          type: string
        threeDSecure:
          type: string
        tokenizationMethod:
          type: string
    CardPresent:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        application_cryptogram:
          type: string
        application_preferred_name:
          type: string
        authorization_code:
          type: string
        authorization_response_code:
          type: string
        brand:
          type: string
        country:
          type: string
        cvm_type:
          type: string
        data_type:
          type: string
        dedicated_file_name:
          type: string
        description:
          type: string
        emv_auth_data:
          type: string
        evidence_customer_signature:
          type: string
        evidence_transaction_certificate:
          type: string
        exp_month:
          type: integer
          format: int64
        exp_year:
          type: integer
          format: int64
        fingerprint:
          type: string
        funding:
          type: string
        iin:
          type: string
        issuer:
          type: string
        last4:
          type: string
        pos_device_id:
          type: string
        pos_entry_mode:
          type: string
        read_method:
          type: string
        reader:
          type: string
        terminal_verification_results:
          type: string
        transaction_status_information:
          type: string
    CardPresentModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        applicationCryptogram:
          type: string
        applicationPreferredName:
          type: string
        authorizationCode:
          type: string
        authorizationResponseCode:
          type: string
        brand:
          type: string
        country:
          type: string
        cvmType:
          type: string
        dataType:
          type: string
        dedicatedFileName:
          type: string
        description:
          type: string
        emvAuthData:
          type: string
        evidenceCustomerSignature:
          type: string
        evidenceTransactionCertificate:
          type: string
        expMonth:
          type: integer
          format: int64
        expYear:
          type: integer
          format: int64
        fingerprint:
          type: string
        funding:
          type: string
        iin:
          type: string
        issuer:
          type: string
        last4:
          type: string
        posDeviceId:
          type: string
        posEntryMode:
          type: string
        readMethod:
          type: string
        reader:
          type: string
        terminalVerificationResults:
          type: string
        transactionStatusInformation:
          type: string
    Chat:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        title:
          type: string
        type:
          type: string
          enum:
            - private
            - public
        image:
          $ref: '#/components/schemas/File'
        active:
          type: boolean
        starter:
          type: object
          description: circular reference
        users:
          type: array
          items:
            $ref: '#/components/schemas/ChatUser'
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
        unreadMessages:
          type: integer
          format: int32
        maxCharacters:
          type: integer
          format: int32
        latestMessage:
          $ref: '#/components/schemas/Message'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
      readOnly: true
    ChatModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        title:
          type: string
        type:
          type: string
          enum:
            - private
            - public
        image:
          $ref: '#/components/schemas/FileModel'
        active:
          type: boolean
        starter:
          type: object
          description: circular reference
        users:
          type: array
          items:
            $ref: '#/components/schemas/ChatUserModel'
        messages:
          type: array
          items:
            $ref: '#/components/schemas/MessageModel'
        unreadMessages:
          type: integer
          format: int32
        maxCharacters:
          type: integer
          format: int32
        latestMessage:
          $ref: '#/components/schemas/MessageModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    ChatUser:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        chat:
          type: object
          description: circular reference
        user:
          type: object
          description: circular reference
        business:
          type: object
          description: circular reference
        chauffeur:
          $ref: '#/components/schemas/Chauffeur'
        vehicle:
          type: object
          description: circular reference
        permission:
          type: string
          enum:
            - NONE
            - READ
            - CHAT
            - MODERATOR
            - ADMIN
        muted:
          type: boolean
        markedAsUnread:
          type: boolean
          description: If this user has the chat on read yes/no
        unreadMessages:
          type: integer
          format: int32
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
    ChatUserModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        chat:
          type: object
          description: circular reference
        user:
          type: object
          description: circular reference
        business:
          type: object
          description: circular reference
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        vehicle:
          type: object
          description: circular reference
        permission:
          type: string
          enum:
            - NONE
            - READ
            - CHAT
            - MODERATOR
            - ADMIN
        muted:
          type: boolean
        markedAsUnread:
          type: boolean
          description: If this user has the chat on read yes/no
        unreadMessages:
          type: integer
          format: int32
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    Chauffeur:
      required:
        - firstName
        - id
        - lastName
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - driver
            - conductor
            - captain
            - pilot
        picture:
          $ref: '#/components/schemas/File'
        user:
          type: object
          description: circular reference
        firstName:
          type: string
          description: The first name of the chauffeur
        lastName:
          type: string
          description: The last name of the chauffeur
        dateOfBirth:
          type: string
          format: date
        birthPlace:
          type: string
        nationality:
          type: string
        hourlyRate:
          $ref: '#/components/schemas/Money'
        hoursPerMonth:
          type: number
          format: double
        preferredVehicle:
          type: object
          description: circular reference
        capacityContract:
          type: object
          description: circular reference
        adr:
          $ref: '#/components/schemas/ChauffeurADR'
        driverLicense:
          $ref: '#/components/schemas/ChauffeurDriverLicense'
        tachoCard:
          $ref: '#/components/schemas/ChauffeurTachoCard'
        remainingRestingTimes:
          $ref: '#/components/schemas/RemainingRestingTimes'
        remainingDrivingTimes:
          $ref: '#/components/schemas/RemainingDrivingTimes'
        upcomingRestingTimes:
          $ref: '#/components/schemas/UpcomingRestingTimes'
        languages:
          type: array
          items:
            type: string
        preferredLanguage:
          $ref: '#/components/schemas/Language'
        notes:
          type: array
          items:
            type: object
            description: circular reference
        boardComputers:
          type: array
          items:
            type: object
            description: circular reference
        lastActivity:
          $ref: '#/components/schemas/ChauffeurActivity'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
        operational:
          type: boolean
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/Association'
    ChauffeurADR:
      type: object
      properties:
        hasADR:
          type: boolean
        ADRNumber:
          type: string
        ADRValidFromDate:
          type: string
          format: date
        ADRExpirationDate:
          type: string
          format: date
        ADRFiles:
          type: array
          items:
            $ref: '#/components/schemas/File'
    ChauffeurActivity:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - work
            - driving
            - available
            - rest
            - vacation
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        chauffeur:
          type: object
          description: circular reference
        vehicle:
          type: object
          description: circular reference
        transportEquipments:
          type: array
          items:
            type: object
            description: circular reference
        trip:
          type: object
          description: circular reference
        name:
          type: string
        description:
          type: string
        remarks:
          type: string
        kmsStart:
          type: integer
          format: int32
        kmsEnd:
          type: integer
          format: int32
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
        isFromTacho:
          type: boolean
    ChauffeurActivityModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - work
            - driving
            - available
            - rest
            - vacation
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        chauffeur:
          type: object
          description: circular reference
        vehicle:
          type: object
          description: circular reference
        transportEquipments:
          type: array
          items:
            type: object
            description: circular reference
        trip:
          type: object
          description: circular reference
        name:
          type: string
        description:
          type: string
        remarks:
          type: string
        kmsStart:
          type: integer
          format: int32
        kmsEnd:
          type: integer
          format: int32
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
        isFromTacho:
          type: boolean
    ChauffeurDriverLicense:
      type: object
      properties:
        hasDriverLicense:
          type: boolean
        driverLicenseNumber:
          type: string
        driverLicenseValidFromDate:
          type: string
          format: date
        driverLicenseExpirationDate:
          type: string
          format: date
        driverLicenseObtainedOn:
          type: string
          format: date
        driverLicenseCountryOfIssue:
          type: string
        driverLicenseIssuingAuthority:
          type: string
        driverLicenseFiles:
          type: array
          items:
            $ref: '#/components/schemas/File'
    ChauffeurModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - driver
            - conductor
            - captain
            - pilot
        picture:
          $ref: '#/components/schemas/FileModel'
        user:
          type: object
          description: circular reference
        firstName:
          type: string
        lastName:
          type: string
        dateOfBirth:
          type: string
          format: date
        birthPlace:
          type: string
        nationality:
          type: string
        hourlyRate:
          $ref: '#/components/schemas/MoneyModel'
        hoursPerMonth:
          type: number
          format: double
        preferredVehicle:
          type: object
          description: circular reference
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        adr:
          $ref: '#/components/schemas/ChauffeurADR'
        driverLicense:
          $ref: '#/components/schemas/ChauffeurDriverLicense'
        tachoCard:
          $ref: '#/components/schemas/ChauffeurTachoCard'
        operational:
          type: boolean
        remainingRestingTimes:
          $ref: '#/components/schemas/RemainingRestingTimes'
        remainingDrivingTimes:
          $ref: '#/components/schemas/RemainingDrivingTimes'
        upcomingRestingTimes:
          $ref: '#/components/schemas/UpcomingRestingTimes'
        languages:
          type: array
          items:
            type: string
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        boardComputers:
          type: array
          items:
            type: object
            description: circular reference
        lastActivity:
          $ref: '#/components/schemas/ChauffeurActivityModel'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
    ChauffeurTachoCard:
      type: object
      properties:
        cardId:
          type: string
        countryOfIssue:
          type: string
        renewalIndex:
          type: string
        replacementIndex:
          type: string
        startOfValidity:
          type: string
          format: date-time
        endOfValidity:
          type: string
          format: date-time
    CommunicationRequest:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - pending
            - processing
            - success
            - failure
        responseMessage:
          type: string
        responseValue:
          type: string
        communicationRequests:
          type: array
          items:
            type: object
            description: circular reference
    CommunicationRequestModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - pending
            - processing
            - success
            - failure
        responseMessage:
          type: string
        responseValue:
          type: string
    ConfiguredIntegration:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            triggerType:
              type: string
              enum:
                - trigger
                - scheduler
                - listener
            triggerEvent:
              type: string
              enum:
                - afterCreatingTrip
                - afterUpdatingTrip
                - afterConfirmingTrip
                - afterStartingTrip
                - afterFinishingTrip
                - afterCancelingTrip
                - afterLocationUpdateEvent
                - afterCreatingMessage
                - afterUpdatingMessage
                - afterCreatingEvent
                - afterStartEngineEvent
                - afterStartMovingEvent
                - afterStopMovingEvent
                - afterStopEngineEvent
                - afterCreatingWaitAction
                - afterUpdatingWaitAction
                - afterCreatingWeighingAction
                - afterUpdatingWeighingAction
                - afterCreatingUnloadAction
                - afterUpdatingUnloadAction
                - afterCreatingStopAction
                - afterUpdatingStopAction
                - afterCreatingMoveAction
                - afterUpdatingMoveAction
                - afterCreatingLoadAction
                - afterUpdatingLoadAction
                - afterCreatingDetachTransportEquipmentAction
                - afterUpdatingDetachTransportEquipmentAction
                - afterCreatingDetachChauffeurAction
                - afterUpdatingDetachChauffeurAction
                - afterCreatingBreakAction
                - afterUpdatingBreakAction
                - afterCreatingAttachTransportEquipmentAction
                - afterUpdatingAttachTransportEquipmentAction
                - afterCreatingAttachChauffeurAction
                - afterUpdatingAttachChauffeurAction
                - afterActionLifeCycleUpdate
                - afterCreatingCapacityContract
                - afterUpdatingCapacityContract
                - afterCreatingMessageAutomation
                - AfterUpdatingMessageAutomation
                - afterCreatingTransportOrder
                - afterUpdatingTransportOrder
                - afterCreatingConsignment
                - afterUpdatingConsignment
                - afterCreatingBusiness
                - afterUpdatingBusiness
                - afterCreatingInvoice
                - afterSendingInvoice
                - afterUpdatingInvoice
                - afterCreatingQuote
                - afterUpdatingQuote
                - afterSendingQuote
                - afterCreatingUser
                - afterUpdatingUser
                - afterCreatingLocation
                - afterUpdatingLocation
                - afterExceedingStopAverageDuration
                - afterHomeBaseReturnOverdue
                - afterCreatingBooking
                - afterUpdatingBooking
                - afterCancellingBooking
                - afterConfirmingBooking
                - afterCreatingIntegration
                - afterUpdatingIntegration
                - afterUpdatingCalendarEvent
                - afterDeletingCalendarEvent
                - afterCreatingTodo
                - afterUpdatingTodo
                - afterDeletingTodo
                - afterAssigningTodo
                - afterCalendarSyncRequested
                - afterCalendarAuthorizationGranted
            filters:
              type: array
              items:
                $ref: '#/components/schemas/IntegrationFilter'
    ConfiguredIntegrationModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            triggerType:
              type: string
              enum:
                - trigger
                - scheduler
                - listener
            triggerEvent:
              type: string
              enum:
                - afterCreatingTrip
                - afterUpdatingTrip
                - afterConfirmingTrip
                - afterStartingTrip
                - afterFinishingTrip
                - afterCancelingTrip
                - afterLocationUpdateEvent
                - afterCreatingMessage
                - afterUpdatingMessage
                - afterCreatingEvent
                - afterStartEngineEvent
                - afterStartMovingEvent
                - afterStopMovingEvent
                - afterStopEngineEvent
                - afterCreatingWaitAction
                - afterUpdatingWaitAction
                - afterCreatingWeighingAction
                - afterUpdatingWeighingAction
                - afterCreatingUnloadAction
                - afterUpdatingUnloadAction
                - afterCreatingStopAction
                - afterUpdatingStopAction
                - afterCreatingMoveAction
                - afterUpdatingMoveAction
                - afterCreatingLoadAction
                - afterUpdatingLoadAction
                - afterCreatingDetachTransportEquipmentAction
                - afterUpdatingDetachTransportEquipmentAction
                - afterCreatingDetachChauffeurAction
                - afterUpdatingDetachChauffeurAction
                - afterCreatingBreakAction
                - afterUpdatingBreakAction
                - afterCreatingAttachTransportEquipmentAction
                - afterUpdatingAttachTransportEquipmentAction
                - afterCreatingAttachChauffeurAction
                - afterUpdatingAttachChauffeurAction
                - afterActionLifeCycleUpdate
                - afterCreatingCapacityContract
                - afterUpdatingCapacityContract
                - afterCreatingMessageAutomation
                - AfterUpdatingMessageAutomation
                - afterCreatingTransportOrder
                - afterUpdatingTransportOrder
                - afterCreatingConsignment
                - afterUpdatingConsignment
                - afterCreatingBusiness
                - afterUpdatingBusiness
                - afterCreatingInvoice
                - afterSendingInvoice
                - afterUpdatingInvoice
                - afterCreatingQuote
                - afterUpdatingQuote
                - afterSendingQuote
                - afterCreatingUser
                - afterUpdatingUser
                - afterCreatingLocation
                - afterUpdatingLocation
                - afterExceedingStopAverageDuration
                - afterHomeBaseReturnOverdue
                - afterCreatingBooking
                - afterUpdatingBooking
                - afterCancellingBooking
                - afterConfirmingBooking
                - afterCreatingIntegration
                - afterUpdatingIntegration
                - afterUpdatingCalendarEvent
                - afterDeletingCalendarEvent
                - afterCreatingTodo
                - afterUpdatingTodo
                - afterDeletingTodo
                - afterAssigningTodo
                - afterCalendarSyncRequested
                - afterCalendarAuthorizationGranted
            filters:
              type: array
              items:
                $ref: '#/components/schemas/IntegrationFilter'
    Consignment:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        versionNumber:
          type: integer
          format: int32
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        hasAgreedToPrice:
          type: boolean
        orderType:
          type: string
          enum:
            - standard
            - urgent
            - expected
            - forwarded
        name:
          type: string
        consignmentNr:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - draft
            - requested
            - confirmed
            - in_transit
            - completed
            - cancelled
            - partially_planned
            - planned
            - partially_completed
            - partially_in_transit
            - concept
        highValueGoods:
          type: boolean
        goods:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        team:
          $ref: '#/components/schemas/Team'
        consignment:
          type: object
          description: circular reference
        currentLocation:
          $ref: '#/components/schemas/LatLonPointGeoReference'
        nextAction:
          type: object
          description: circular reference
        lastAction:
          type: object
          description: circular reference
        lastPlannedAction:
          type: object
          description: circular reference
        isPlannedToLastLocation:
          type: boolean
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        chat:
          $ref: '#/components/schemas/Chat'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElement'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoney'
        expectedCost:
          $ref: '#/components/schemas/CumulativeMoney'
        combined:
          type: boolean
        type:
          type: string
          description: >-
            This field can be used to categorize and/or group shipments by type,
            depending on the needs of a specific logistic process.
        remark:
          type: string
          description: >-
            Remark concerning the complete consignment, to be printed on the
            transport document.
        constraints:
          type: array
          description: >-
            In the context of a Consignment, constraints can be used to e.g.
            define minimum or maximum temperatures for consignments, or date
            time constraints for delivery.
          items:
            $ref: '#/components/schemas/Constraint'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/Attribute'
    ConsignmentAssociation:
      required:
        - associationType
      type: object
      properties:
        associationType:
          type: string
      discriminator:
        propertyName: associationType
        mapping:
          inline: '#/components/schemas/ConsignmentInlineAssociation'
          reference: '#/components/schemas/ConsignmentReferenceAssociation'
      oneOf:
        - $ref: '#/components/schemas/ConsignmentInlineAssociation'
        - $ref: '#/components/schemas/ConsignmentReferenceAssociation'
    ConsignmentInlineAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
        entity:
          $ref: '#/components/schemas/Consignment'
    ConsignmentModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
          description: Name of the Consignment. For display purposes and search only.
        consignmentNr:
          type: string
        description:
          type: string
          description: >-
            General description of consignment in Free text. e.g 20 europallets
            fruit. Meant for human inspection, not for automating processes.
        status:
          type: string
          enum:
            - draft
            - requested
            - confirmed
            - in_transit
            - completed
            - cancelled
            - partially_planned
            - planned
            - partially_completed
            - partially_in_transit
            - concept
        highValueGoods:
          type: boolean
        goods:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        team:
          type: object
          description: circular reference
        combined:
          type: boolean
        consignment:
          type: object
          description: circular reference
        originalPhysicalSender:
          type: object
          description: circular reference
        originalLegalSender:
          type: object
          description: circular reference
        originalPhysicalAddressee:
          type: object
          description: circular reference
        originalLegalAddressee:
          type: object
          description: circular reference
        currentLocation:
          $ref: '#/components/schemas/LatLonPointGeoReferenceModel'
        nextAction:
          type: object
          description: circular reference
        lastAction:
          type: object
          description: circular reference
        lastPlannedAction:
          type: object
          description: circular reference
        isPlannedToLastLocation:
          type: boolean
        type:
          type: string
          description: >-
            This field can be used to categorize and/or group shipments by type,
            depending on the needs of a specific logistic process.
        remark:
          type: string
          description: >-
            Remark concerning the complete consignment, to be printed on the
            transport document.
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        constraints:
          type: array
          description: >-
            In the context of a Consignment, constraints can be used to e.g.
            define minimum or maximum temperatures for consignments, or date
            time constraints for delivery.
          items:
            type: object
            description: circular reference
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        expectedCost:
          $ref: '#/components/schemas/MoneyModel'
        hasAgreedToPrice:
          type: boolean
          description: >-
            Set this value to 'true' if the user has agreed to the pricing of
            this element. Only needed once the NeedsBillingApproval Exception is
            thrown
          writeOnly: true
        versionNumber:
          type: integer
          format: int32
        nextPlanFromAction:
          type: object
          description: circular reference
    ConsignmentReferenceAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            uuid:
              type: string
            description:
              type: string
    Constraint:
      required:
        - id
        - name
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        enforceability:
          type: string
          enum:
            - enforced
            - preference
        type:
          type: string
          enum:
            - accessConstraint
            - timeConstraint
            - timeWindowsConstraint
            - startDateTimeConstraint
            - endDateTimeConstraint
            - sizeConstraint
            - weightConstraint
            - speedConstraint
            - sensorValueConstraint
            - fuelTypeConstraint
            - vehicleTypeConstraint
            - emissionStandardConstraint
            - attributeConstraint
            - transportEquipmentTypeConstraint
            - routeConstraint
            - andConstraint
            - orConstraint
            - notConstraint
            - genericConstraint
      discriminator:
        propertyName: type
        mapping:
          genericConstraint: '#/components/schemas/GenericConstraintValue'
          andConstraint: '#/components/schemas/AndConstraintValue'
          orConstraint: '#/components/schemas/OrConstraintValue'
          notConstraint: '#/components/schemas/NotConstraintValue'
          startDateTimeConstraint: '#/components/schemas/StartDateTimeConstraintValue'
          endDateTimeConstraint: '#/components/schemas/EndDateTimeConstraintValue'
          timeConstraint: '#/components/schemas/TimeConstraintValue'
          timeWindowsConstraint: '#/components/schemas/TimeWindowsConstraintValue'
          sizeConstraint: '#/components/schemas/SizeConstraintValue'
          weightConstraint: '#/components/schemas/WeightConstraintValue'
          speedConstraint: '#/components/schemas/SpeedConstraintValue'
          sensorValueConstraint: '#/components/schemas/SensorValueConstraintValue'
          fuelTypeConstraint: '#/components/schemas/FuelTypeConstraintValue'
          vehicleTypeConstraint: '#/components/schemas/VehicleTypeConstraintValue'
          transportEquipmentTypeConstraint: '#/components/schemas/TransportEquipmentTypeConstraintValue'
          attributeConstraint: '#/components/schemas/AttributeConstraintValue'
          routeConstraint: '#/components/schemas/RouteConstraintValue'
      oneOf:
        - $ref: '#/components/schemas/GenericConstraintValue'
        - $ref: '#/components/schemas/AndConstraintValue'
        - $ref: '#/components/schemas/OrConstraintValue'
        - $ref: '#/components/schemas/NotConstraintValue'
        - $ref: '#/components/schemas/StartDateTimeConstraintValue'
        - $ref: '#/components/schemas/EndDateTimeConstraintValue'
        - $ref: '#/components/schemas/TimeWindowsConstraintValue'
        - $ref: '#/components/schemas/TimeConstraintValue'
        - $ref: '#/components/schemas/SizeConstraintValue'
        - $ref: '#/components/schemas/WeightConstraintValue'
        - $ref: '#/components/schemas/SpeedConstraintValue'
        - $ref: '#/components/schemas/SensorValueConstraintValue'
        - $ref: '#/components/schemas/FuelTypeConstraintValue'
        - $ref: '#/components/schemas/VehicleTypeConstraintValue'
        - $ref: '#/components/schemas/TransportEquipmentTypeConstraintValue'
        - $ref: '#/components/schemas/AttributeConstraintValue'
        - $ref: '#/components/schemas/RouteConstraintValue'
    ConstraintAssociation:
      required:
        - associationType
      type: object
      properties:
        associationType:
          type: string
      discriminator:
        propertyName: associationType
        mapping:
          inline: '#/components/schemas/ConstraintInlineAssociation'
          reference: '#/components/schemas/ConstraintReferenceAssociation'
      oneOf:
        - $ref: '#/components/schemas/ConstraintInlineAssociation'
        - $ref: '#/components/schemas/ConstraintReferenceAssociation'
    ConstraintInlineAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
        entity:
          $ref: '#/components/schemas/Constraint'
        description:
          type: string
    ConstraintModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - accessConstraint
            - timeConstraint
            - timeWindowsConstraint
            - startDateTimeConstraint
            - endDateTimeConstraint
            - sizeConstraint
            - weightConstraint
            - speedConstraint
            - sensorValueConstraint
            - fuelTypeConstraint
            - vehicleTypeConstraint
            - emissionStandardConstraint
            - attributeConstraint
            - transportEquipmentTypeConstraint
            - routeConstraint
            - andConstraint
            - orConstraint
            - notConstraint
            - genericConstraint
        name:
          type: string
        enforceability:
          type: string
          enum:
            - enforced
            - preference
      description: >-
        In the context of a Consignment, constraints can be used to e.g. define
        minimum or maximum temperatures for consignments, or date time
        constraints for delivery.
      discriminator:
        propertyName: type
        mapping:
          genericConstraint: '#/components/schemas/GenericConstraintValueModel'
          andConstraint: '#/components/schemas/AndConstraintValueModel'
          orConstraint: '#/components/schemas/OrConstraintValueModel'
          notConstraint: '#/components/schemas/NotConstraintValueModel'
          startDateTimeConstraint: '#/components/schemas/StartDateTimeConstraintValueModel'
          endDateTimeConstraint: '#/components/schemas/EndDateTimeConstraintValueModel'
          timeWindowsConstraint: '#/components/schemas/TimeWindowsConstraintValueModel'
          timeConstraint: '#/components/schemas/TimeConstraintValueModel'
          sizeConstraint: '#/components/schemas/SizeConstraintValueModel'
          weightConstraint: '#/components/schemas/WeightConstraintValueModel'
          speedConstraint: '#/components/schemas/SpeedConstraintValueModel'
          sensorValueConstraint: '#/components/schemas/SensorValueConstraintValueModel'
          fuelTypeConstraint: '#/components/schemas/FuelTypeConstraintValueModel'
          vehicleTypeConstraint: '#/components/schemas/VehicleTypeConstraintValueModel'
          transportEquipmentTypeConstraint: '#/components/schemas/TransportEquipmentTypeConstraintValueModel'
          attributeConstraint: '#/components/schemas/AttributeConstraintValueModel'
          routeConstraint: '#/components/schemas/RouteConstraintValueModel'
      oneOf:
        - $ref: '#/components/schemas/GenericConstraintValueModel'
        - $ref: '#/components/schemas/AndConstraintValueModel'
        - $ref: '#/components/schemas/OrConstraintValueModel'
        - $ref: '#/components/schemas/NotConstraintValueModel'
        - $ref: '#/components/schemas/StartDateTimeConstraintValueModel'
        - $ref: '#/components/schemas/EndDateTimeConstraintValueModel'
        - $ref: '#/components/schemas/TimeWindowsConstraintValueModel'
        - $ref: '#/components/schemas/TimeConstraintValueModel'
        - $ref: '#/components/schemas/SizeConstraintValueModel'
        - $ref: '#/components/schemas/WeightConstraintValueModel'
        - $ref: '#/components/schemas/SpeedConstraintValueModel'
        - $ref: '#/components/schemas/SensorValueConstraintValueModel'
        - $ref: '#/components/schemas/FuelTypeConstraintValueModel'
        - $ref: '#/components/schemas/VehicleTypeConstraintValueModel'
        - $ref: '#/components/schemas/TransportEquipmentTypeConstraintValueModel'
        - $ref: '#/components/schemas/AttributeConstraintValueModel'
        - $ref: '#/components/schemas/RouteConstraintValueModel'
    ConstraintReferenceAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            uuid:
              type: string
            description:
              type: string
    ContactDetail:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - iban
            - gln
            - vatCode
            - name
            - lastName
            - middleName
            - firstName
            - phone
            - mobilePhone
            - email
            - language
            - other
        value:
          type: string
        remarks:
          type: string
    ContactDetailAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
      discriminator:
        propertyName: associationType
        mapping:
          inline: '#/components/schemas/ContactDetailInlineAssociation'
          reference: '#/components/schemas/ContactDetailReferenceAssociation'
      oneOf:
        - $ref: '#/components/schemas/ContactDetailInlineAssociation'
        - $ref: '#/components/schemas/ContactDetailReferenceAssociation'
    ContactDetailInlineAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            entity:
              $ref: '#/components/schemas/ContactDetail'
            description:
              type: string
    ContactDetailModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - iban
            - gln
            - vatCode
            - name
            - lastName
            - middleName
            - firstName
            - phone
            - mobilePhone
            - email
            - language
            - other
        value:
          type: string
        remarks:
          type: string
    ContactDetailReferenceAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            uuid:
              type: string
            description:
              type: string
    ContactPerson:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        firstName:
          type: string
        lastName:
          type: string
        position:
          type: string
        email:
          type: string
        phone:
          type: string
        mobilePhone:
          type: string
        business:
          type: object
          description: circular reference
        location:
          $ref: '#/components/schemas/Location'
    ContactPersonModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        firstName:
          type: string
        lastName:
          type: string
        position:
          type: string
        email:
          type: string
        phone:
          type: string
        mobilePhone:
          type: string
    Contract:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        title:
          type: string
        description:
          type: string
        deliveryTerms:
          type: string
          enum:
            - EXW
            - FCA
            - FAS
            - FOB
            - CPT
            - CIP
            - CFR
            - CIF
            - DAP
            - DPU
            - DDP
        contractor:
          type: object
          description: circular reference
        contractorSignee:
          $ref: '#/components/schemas/ContactPerson'
        client:
          type: object
          description: circular reference
        clientSignee:
          $ref: '#/components/schemas/ContactPerson'
    ContractModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        title:
          type: string
        description:
          type: string
        deliveryTerms:
          type: string
          enum:
            - EXW
            - FCA
            - FAS
            - FOB
            - CPT
            - CIP
            - CFR
            - CIF
            - DAP
            - DPU
            - DDP
        contractor:
          type: object
          description: circular reference
        contractorSignee:
          $ref: '#/components/schemas/ContactPersonModel'
        client:
          type: object
          description: circular reference
        clientSignee:
          $ref: '#/components/schemas/ContactPersonModel'
    CountryCabotageStatistics:
      type: object
      properties:
        completedCabotageTrips:
          type: integer
          format: int32
        lastInstantOfCompletedCabotageTrip:
          type: string
          format: date-time
        lastInstantOfInternationalTripWithCountryAsDestination:
          type: string
          format: date-time
    CumulativeMoney:
      type: object
      properties:
        amount:
          type: number
          format: double
        currency:
          $ref: '#/components/schemas/Currency'
        taxRate:
          $ref: '#/components/schemas/TaxRate'
        inclusiveOfTax:
          type: boolean
        moneyBuildBlocks:
          type: array
          items:
            $ref: '#/components/schemas/MoneyBuildBlock'
    CumulativeMoneyModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        amount:
          type: number
          format: double
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        taxRate:
          $ref: '#/components/schemas/TaxRate'
        inclusiveOfTax:
          type: boolean
        moneyBuildBlocks:
          type: array
          items:
            $ref: '#/components/schemas/MoneyBuildBlock'
    Currency:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        short:
          type: string
        sign:
          type: string
        decimalDelimiter:
          type: string
        thousandDelimiter:
          type: string
        enabled:
          type: boolean
    CurrencyModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        short:
          type: string
        sign:
          type: string
        decimalDelimiter:
          type: string
        thousandDelimiter:
          type: string
        enabled:
          type: boolean
    CustomerModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        business:
          type: object
          description: circular reference
        contactPerson:
          $ref: '#/components/schemas/ContactPersonModel'
        location:
          type: object
          description: circular reference
        customer:
          type: object
          description: circular reference
      description: The Customer, who this transport order is executed for
    CustomsAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
    CustomsActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
    DepartureEvent:
      required:
        - geoReference
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              $ref: '#/components/schemas/Vehicle'
            transportEquipment:
              $ref: '#/components/schemas/TransportEquipment'
            stopAction:
              $ref: '#/components/schemas/StopAction'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    DepartureEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              type: object
              description: circular reference
            transportEquipment:
              type: object
              description: circular reference
            stopAction:
              $ref: '#/components/schemas/StopActionModel'
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    DetachChauffeurAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            role:
              type: string
            vehicle:
              $ref: '#/components/schemas/Association'
            chauffeur:
              $ref: '#/components/schemas/Association'
            stopAction:
              type: object
              description: circular reference
    DetachChauffeurActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            role:
              type: string
            vehicle:
              $ref: '#/components/schemas/Association'
            chauffeur:
              $ref: '#/components/schemas/Association'
            stopAction:
              $ref: '#/components/schemas/ActionAssociation'
    DetachTransportEquipmentAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            isContainmentAction:
              type: boolean
            vehicle:
              $ref: '#/components/schemas/Association'
            transportEquipment:
              $ref: '#/components/schemas/Association'
            stop:
              type: object
              description: circular reference
            pin:
              type: string
            tar:
              type: string
            shipmentLine:
              $ref: '#/components/schemas/ShipmentLine'
            containmentUUID:
              type: string
    DetachTransportEquipmentActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            isContainmentAction:
              type: boolean
            vehicle:
              $ref: '#/components/schemas/Association'
            transportEquipment:
              $ref: '#/components/schemas/Association'
            stop:
              $ref: '#/components/schemas/ActionAssociation'
            pin:
              type: string
            tar:
              type: string
            shipmentLine:
              $ref: '#/components/schemas/ShipmentLine'
            containmentUUID:
              type: string
    Document:
      required:
        - id
        - name
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        description:
          type: string
        expiresAt:
          type: string
          format: date-time
        fileName:
          type: string
        mimeType:
          type: string
        encoding:
          type: string
        verified:
          type: boolean
        isPublic:
          type: boolean
        owner:
          $ref: '#/components/schemas/Association'
        content:
          $ref: '#/components/schemas/DocumentContent'
        file:
          $ref: '#/components/schemas/File'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        name:
          type: string
          description: The name of the document
    DocumentAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
      discriminator:
        propertyName: associationType
        mapping:
          inline: '#/components/schemas/DocumentInlineAssociation'
          reference: '#/components/schemas/DocumentReferenceAssociation'
      oneOf:
        - $ref: '#/components/schemas/DocumentInlineAssociation'
        - $ref: '#/components/schemas/DocumentReferenceAssociation'
    DocumentContent:
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        contentType:
          type: string
          enum:
            - data
            - uri
      discriminator:
        propertyName: type
        mapping:
          data: '#/components/schemas/DocumentDataContent'
          uri: '#/components/schemas/DocumentUriContent'
      oneOf:
        - $ref: '#/components/schemas/DocumentDataContent'
        - $ref: '#/components/schemas/DocumentUriContent'
    DocumentDataContent:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            data:
              type: string
    DocumentInlineAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            entity:
              $ref: '#/components/schemas/Document'
    DocumentModel:
      required:
        - content
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        description:
          type: string
        expiresAt:
          type: string
          format: date-time
        fileName:
          type: string
        mimeType:
          type: string
        encoding:
          type: string
        verified:
          type: boolean
        owner:
          $ref: '#/components/schemas/ActorAssociation'
        content:
          $ref: '#/components/schemas/DocumentContent'
        file:
          $ref: '#/components/schemas/FileModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
    DocumentReferenceAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            uuid:
              type: string
            description:
              type: string
    DocumentUriContent:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            uri:
              type: string
    EndDateTimeConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            endDateTime:
              type: string
              format: date-time
    EndDateTimeConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            endDateTime:
              type: string
              format: date-time
    EntityRelationship:
      type: object
      properties:
        entityId:
          type: string
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
    Eps:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        reference:
          type: string
        statement_descriptor:
          type: string
    EpsModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        reference:
          type: string
        statementDescriptor:
          type: string
    Event:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - generalEvent
            - sensorUpdateEvent
            - gateInEvent
            - gateOutEvent
            - arrivalEvent
            - departureEvent
            - stopEngineEvent
            - startEngineEvent
            - startWaitingEvent
            - stopWaitingEvent
            - stopMovingEvent
            - startMovingEvent
            - locationUpdateEvent
            - updateEvent
            - associationRemovedEvent
            - associationCreatedEvent
            - capacityChangeEvent
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        dateTime:
          type: string
          format: date-time
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
      discriminator:
        propertyName: type
        mapping:
          arrivalEvent: '#/components/schemas/ArrivalEvent'
          departureEvent: '#/components/schemas/DepartureEvent'
          gateInEvent: '#/components/schemas/GateInEvent'
          gateOutEvent: '#/components/schemas/GateOutEvent'
          generalEvent: '#/components/schemas/GeneralEvent'
          sensorUpdateEvent: '#/components/schemas/SensorUpdateEvent'
          startEngineEvent: '#/components/schemas/StartEngineEvent'
          startMovingEvent: '#/components/schemas/StartMovingEvent'
          startWaitingEvent: '#/components/schemas/StartWaitingEvent'
          stopEngineEvent: '#/components/schemas/StopEngineEvent'
          stopMovingEvent: '#/components/schemas/StopMovingEvent'
          locationUpdateEvent: '#/components/schemas/LocationUpdateEvent'
          capacityChangeEvent: '#/components/schemas/CapacityChangeEvent'
          updateEvent: '#/components/schemas/UpdateEvent'
      oneOf:
        - $ref: '#/components/schemas/ArrivalEvent'
        - $ref: '#/components/schemas/DepartureEvent'
        - $ref: '#/components/schemas/GateInEvent'
        - $ref: '#/components/schemas/GateOutEvent'
        - $ref: '#/components/schemas/GeneralEvent'
        - $ref: '#/components/schemas/SensorUpdateEvent'
        - $ref: '#/components/schemas/StartEngineEvent'
        - $ref: '#/components/schemas/StartMovingEvent'
        - $ref: '#/components/schemas/StartWaitingEvent'
        - $ref: '#/components/schemas/StopEngineEvent'
        - $ref: '#/components/schemas/StopMovingEvent'
        - $ref: '#/components/schemas/LocationUpdateEvent'
        - $ref: '#/components/schemas/CapacityChangeEvent'
        - $ref: '#/components/schemas/UpdateEvent'
    EventModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - generalEvent
            - sensorUpdateEvent
            - gateInEvent
            - gateOutEvent
            - arrivalEvent
            - departureEvent
            - stopEngineEvent
            - startEngineEvent
            - startWaitingEvent
            - stopWaitingEvent
            - stopMovingEvent
            - startMovingEvent
            - locationUpdateEvent
            - updateEvent
            - associationRemovedEvent
            - associationCreatedEvent
            - capacityChangeEvent
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        dateTime:
          type: string
          format: date-time
      discriminator:
        propertyName: type
        mapping:
          arrivalEvent: '#/components/schemas/ArrivalEventModel'
          departureEvent: '#/components/schemas/DepartureEventModel'
          gateInEvent: '#/components/schemas/GateInEventModel'
          gateOutEvent: '#/components/schemas/GateOutEventModel'
          generalEvent: '#/components/schemas/GeneralEventModel'
          sensorUpdateEvent: '#/components/schemas/SensorUpdateEventModel'
          startEngineEvent: '#/components/schemas/StartEngineEventModel'
          startMovingEvent: '#/components/schemas/StartMovingEventModel'
          startWaitingEvent: '#/components/schemas/StartWaitingEventModel'
          stopEngineEvent: '#/components/schemas/StopEngineEventModel'
          stopMovingEvent: '#/components/schemas/StopMovingEventModel'
          locationUpdateEvent: '#/components/schemas/LocationUpdateEventModel'
          updateEvent: '#/components/schemas/UpdateEventModel'
      oneOf:
        - $ref: '#/components/schemas/ArrivalEventModel'
        - $ref: '#/components/schemas/DepartureEventModel'
        - $ref: '#/components/schemas/GateInEventModel'
        - $ref: '#/components/schemas/GateOutEventModel'
        - $ref: '#/components/schemas/GeneralEventModel'
        - type: object
          description: circular reference
        - $ref: '#/components/schemas/StartEngineEventModel'
        - $ref: '#/components/schemas/StartMovingEventModel'
        - $ref: '#/components/schemas/StartWaitingEventModel'
        - $ref: '#/components/schemas/StopEngineEventModel'
        - $ref: '#/components/schemas/StopMovingEventModel'
        - $ref: '#/components/schemas/LocationUpdateEventModel'
        - $ref: '#/components/schemas/UpdateEventModel'
    Feature:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            geometry:
              $ref: '#/components/schemas/Geometry'
            properties:
              type: object
              additionalProperties:
                type: string
            administrativeReference:
              $ref: '#/components/schemas/AdministrativeReference'
    FeatureModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            geometry:
              $ref: '#/components/schemas/GeometryModel'
            properties:
              type: object
              additionalProperties:
                type: string
            administrativeReference:
              $ref: '#/components/schemas/AdministrativeReference'
    Field:
      type: object
      properties:
        name:
          type: string
        groupByAggregate:
          type: string
          enum:
            - count
            - max
            - min
            - sum
            - avg
    FieldMapping:
      type: object
      properties:
        target:
          type: string
          enum:
            - action
            - consignment
            - actionResult
        fieldPath:
          type: string
        transform:
          $ref: '#/components/schemas/ValueTransform'
    File:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        url:
          type: string
        path:
          type: string
        name:
          type: string
        originalName:
          type: string
        size:
          type: integer
          format: int64
        purpose:
          type: string
        type:
          type: string
          enum:
            - IMAGE
            - VIDEO
            - MUSIC
            - WORD
            - EXCEL
            - CSV
            - PDF
            - EMAIL
            - JSON
        mimeType:
          type: string
        extension:
          type: string
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        bucket:
          $ref: '#/components/schemas/Bucket'
        uploadedAt:
          type: string
          format: date-time
        tempFile:
          type: string
          format: binary
    FileBasedMessageAutomation:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            filesRequested:
              type: array
              items:
                $ref: '#/components/schemas/File'
    FileBasedMessageAutomationModel:
      required:
        - description
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            filesRequested:
              type: array
              items:
                $ref: '#/components/schemas/FileModel'
    FileModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        url:
          type: string
        path:
          type: string
        name:
          type: string
        originalName:
          type: string
        size:
          type: integer
          format: int64
        purpose:
          type: string
        type:
          type: string
          enum:
            - IMAGE
            - VIDEO
            - MUSIC
            - WORD
            - EXCEL
            - CSV
            - PDF
            - EMAIL
            - JSON
        mimeType:
          type: string
        extension:
          type: string
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        bucket:
          $ref: '#/components/schemas/BucketModel'
        uploadedAt:
          type: string
          format: date-time
        tempFile:
          type: string
          format: binary
        contentMatrix:
          type: array
          items:
            type: array
            items:
              type: string
    FileTemplateIntegration:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            files:
              type: array
              items:
                $ref: '#/components/schemas/File'
            entityType:
              type: string
              enum:
                - action
                - attachTransportEquipmentAction
                - detachTransportEquipmentAction
                - stopAction
                - loadAction
                - unloadAction
                - waitAction
                - consignment
                - extendedConsignment
                - transportEquipment
                - extendedTransportEquipment
                - items
                - goods
                - constraint
                - actor
                - location
                - route
                - sensor
                - vehicle
                - extendedVehicle
                - trip
                - fleet
                - transportOrder
                - extendedTransportOrder
                - business
                - event
                - locationUpdateEvent
                - startMovingEvent
                - startWaitingEvent
                - stopEngineEvent
                - stopMovingEvent
                - message
                - document
                - chauffeur
                - extendedChauffeur
                - chauffeurTimeslot
                - chat
                - user
                - administration
                - fleetVehicle
                - messageAutomation
                - capacity_contract
                - booking
                - invoice
                - invoice_line
                - quote
                - quote_line
                - integration
                - calendarEvent
                - to_do
            html:
              type: string
            htmlFingerPrint:
              type: string
            matrix:
              type: array
              items:
                type: array
                items:
                  type: string
            matrixFingerPrint:
              type: string
            fields:
              type: array
              items:
                $ref: '#/components/schemas/IntegrationFileTemplateField'
    FileTemplateIntegrationModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            files:
              type: array
              items:
                $ref: '#/components/schemas/File'
            entityType:
              type: string
              enum:
                - action
                - attachTransportEquipmentAction
                - detachTransportEquipmentAction
                - stopAction
                - loadAction
                - unloadAction
                - waitAction
                - consignment
                - extendedConsignment
                - transportEquipment
                - extendedTransportEquipment
                - items
                - goods
                - constraint
                - actor
                - location
                - route
                - sensor
                - vehicle
                - extendedVehicle
                - trip
                - fleet
                - transportOrder
                - extendedTransportOrder
                - business
                - event
                - locationUpdateEvent
                - startMovingEvent
                - startWaitingEvent
                - stopEngineEvent
                - stopMovingEvent
                - message
                - document
                - chauffeur
                - extendedChauffeur
                - chauffeurTimeslot
                - chat
                - user
                - administration
                - fleetVehicle
                - messageAutomation
                - capacity_contract
                - booking
                - invoice
                - invoice_line
                - quote
                - quote_line
                - integration
                - calendarEvent
                - to_do
            html:
              type: string
            htmlFingerPrint:
              type: string
            matrix:
              type: array
              items:
                type: array
                items:
                  type: string
            matrixFingerPrint:
              type: string
            fields:
              type: array
              items:
                $ref: '#/components/schemas/IntegrationFileTemplateField'
    Filter:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        sequenceNr:
          type: integer
          format: int32
        field:
          type: string
        comparisonOperations:
          type: string
          enum:
            - equal
            - not_equal
            - greater_than
            - greater_or_equal_than
            - lesser_than
            - lesser_or_equal_than
            - between
            - in
            - not_in
            - contains
            - starts_with
            - ends_with
            - is_blank
            - is_not_blank
        value:
          type: string
        valueType:
          type: string
          enum:
            - constant
            - string
            - integer
            - float
            - datetime
            - duration
            - date
            - time
            - boolean
            - object
            - array
            - filters
            - table
        linkType:
          type: string
          enum:
            - and
            - or
    FilterModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        sequenceNr:
          type: integer
          format: int32
        field:
          type: string
        comparisonOperations:
          type: string
          enum:
            - equal
            - not_equal
            - greater_than
            - greater_or_equal_than
            - lesser_than
            - lesser_or_equal_than
            - between
            - in
            - not_in
            - contains
            - starts_with
            - ends_with
            - is_blank
            - is_not_blank
        value:
          type: string
        valueType:
          type: string
          enum:
            - constant
            - string
            - integer
            - float
            - datetime
            - duration
            - date
            - time
            - boolean
            - object
            - array
            - filters
            - table
        linkType:
          type: string
          enum:
            - and
            - or
    Fleet:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/FleetVehicle'
        teams:
          type: array
          items:
            type: object
            description: circular reference
        businesses:
          type: array
          items:
            type: object
            description: circular reference
        name:
          type: string
        number:
          type: string
    FleetModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        number:
          type: string
        vehicles:
          type: array
          items:
            type: object
            description: circular reference
        teams:
          type: array
          items:
            type: object
            description: circular reference
        businesses:
          type: array
          items:
            type: object
            description: circular reference
    FleetVehicle:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        fleet:
          type: object
          description: circular reference
        order:
          type: integer
          format: int32
        vehicle:
          type: object
          description: circular reference
    FleetVehicleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        fleet:
          $ref: '#/components/schemas/FleetModel'
        order:
          type: integer
          format: int32
        vehicle:
          type: object
          description: circular reference
    FuelTypeConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            fuelTypes:
              type: array
              items:
                type: string
    FuelTypeConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            fuelTypes:
              type: array
              items:
                type: string
    GateInEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            full:
              type: boolean
            transportEquipment:
              $ref: '#/components/schemas/TransportEquipment'
            stopAction:
              $ref: '#/components/schemas/StopAction'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    GateInEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            full:
              type: boolean
            transportEquipment:
              type: object
              description: circular reference
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    GateOutEvent:
      required:
        - geoReference
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            full:
              type: boolean
            transportEquipment:
              $ref: '#/components/schemas/TransportEquipment'
            stopAction:
              $ref: '#/components/schemas/StopAction'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    GateOutEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            full:
              type: boolean
            transportEquipment:
              type: object
              description: circular reference
            stopAction:
              $ref: '#/components/schemas/StopActionModel'
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    GeneralEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            name:
              type: string
            description:
              type: string
            vehicle:
              $ref: '#/components/schemas/Vehicle'
            transportEquipment:
              $ref: '#/components/schemas/TransportEquipment'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    GeneralEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            name:
              type: string
            description:
              type: string
            vehicle:
              type: object
              description: circular reference
            transportEquipment:
              type: object
              description: circular reference
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    GeneratedTimeSlot:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        date:
          type: string
          format: date-time
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/Consignment'
        route:
          $ref: '#/components/schemas/Route'
    GeneratedTimeSlotModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        platforms:
          type: array
          items:
            type: object
            description: circular reference
        date:
          type: string
          format: date-time
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/ConsignmentModel'
        route:
          $ref: '#/components/schemas/RouteModel'
    GenericAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
    GenericActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
    GenericConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            description:
              type: string
    GenericConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            description:
              type: string
    GeoReference:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - addressGeoReference
            - zoneGeoReference
            - tmcArrayGeoReference
            - tmcLocationGeoReference
            - openLRGeoReference
            - GeoReference
            - Feature
            - latLonArrayGeoReference
            - latLonPointGeoReference
      discriminator:
        propertyName: type
        mapping:
          addressGeoReference: '#/components/schemas/AddressGeoReference'
          zoneGeoReference: '#/components/schemas/ZoneGeoReference'
          tmcArrayGeoReference: '#/components/schemas/TmcArrayGeoReference'
          tmcLocationGeoReference: '#/components/schemas/TmcLocationGeoReference'
          Feature: '#/components/schemas/Feature'
          latLonArrayGeoReference: '#/components/schemas/LatLonArrayGeoReference'
          latLonPointGeoReference: '#/components/schemas/LatLonPointGeoReference'
      oneOf:
        - $ref: '#/components/schemas/AddressGeoReference'
        - $ref: '#/components/schemas/ZoneGeoReference'
        - $ref: '#/components/schemas/TmcArrayGeoReference'
        - $ref: '#/components/schemas/TmcLocationGeoReference'
        - $ref: '#/components/schemas/Feature'
        - $ref: '#/components/schemas/LatLonArrayGeoReference'
        - $ref: '#/components/schemas/LatLonPointGeoReference'
    GeoReferenceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - addressGeoReference
            - zoneGeoReference
            - tmcArrayGeoReference
            - tmcLocationGeoReference
            - openLRGeoReference
            - GeoReference
            - Feature
            - latLonArrayGeoReference
            - latLonPointGeoReference
      discriminator:
        propertyName: type
        mapping:
          addressGeoReference: '#/components/schemas/AddressGeoReferenceModel'
          zoneGeoReference: '#/components/schemas/ZoneGeoReferenceModel'
          tmcArrayGeoReference: '#/components/schemas/TmcArrayGeoReferenceModel'
          tmcLocationGeoReference: '#/components/schemas/TmcLocationGeoReferenceModel'
          Feature: '#/components/schemas/FeatureModel'
          latLonArrayGeoReference: '#/components/schemas/LatLonArrayGeoReferenceModel'
          latLonPointGeoReference: '#/components/schemas/LatLonPointGeoReferenceModel'
      oneOf:
        - $ref: '#/components/schemas/AddressGeoReferenceModel'
        - $ref: '#/components/schemas/ZoneGeoReferenceModel'
        - $ref: '#/components/schemas/TmcArrayGeoReferenceModel'
        - $ref: '#/components/schemas/TmcLocationGeoReferenceModel'
        - $ref: '#/components/schemas/FeatureModel'
        - $ref: '#/components/schemas/LatLonArrayGeoReferenceModel'
        - $ref: '#/components/schemas/LatLonPointGeoReferenceModel'
    Geometry:
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
        type:
          type: string
          enum:
            - Point
            - MultiPoint
            - Polygon
            - LineString
            - MultiPolygon
            - MultiLineString
        properties:
          type: object
          additionalProperties:
            type: string
      discriminator:
        propertyName: type
        mapping:
          Point: '#/components/schemas/Point'
          Polygon: '#/components/schemas/Polygon'
          MultiPoint: '#/components/schemas/MultiPoint'
          LineString: '#/components/schemas/LineString'
          MultiLineString: '#/components/schemas/MultiLinesString'
          MultiPolygon: '#/components/schemas/MultiPolygon'
      oneOf:
        - $ref: '#/components/schemas/Point'
        - $ref: '#/components/schemas/Polygon'
        - $ref: '#/components/schemas/MultiPoint'
        - $ref: '#/components/schemas/LineString'
        - $ref: '#/components/schemas/MultiLinesString'
        - $ref: '#/components/schemas/MultiPolygon'
    GeometryModel:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - Point
            - MultiPoint
            - Polygon
            - LineString
            - MultiPolygon
            - MultiLineString
        properties:
          type: object
          additionalProperties:
            type: string
      discriminator:
        propertyName: type
        mapping:
          Point: '#/components/schemas/PointModel'
          Polygon: '#/components/schemas/PolygonModel'
          MultiPoint: '#/components/schemas/MultiPointModel'
          LineString: '#/components/schemas/LineStringModel'
          MultiLineString: '#/components/schemas/MultiLinesStringModel'
          MultiPolygon: '#/components/schemas/MultiPolygonModel'
      oneOf:
        - $ref: '#/components/schemas/PointModel'
        - $ref: '#/components/schemas/PolygonModel'
        - $ref: '#/components/schemas/MultiPointModel'
        - $ref: '#/components/schemas/LineStringModel'
        - $ref: '#/components/schemas/MultiLinesStringModel'
        - $ref: '#/components/schemas/MultiPolygonModel'
    Goods:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - transportEquipment
            - items
        name:
          type: string
        description:
          type: string
        remark:
          type: string
        barCode:
          type: string
        quantity:
          type: integer
          format: int32
        weight:
          $ref: '#/components/schemas/ValueWithUnit'
        grossWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        maxStackableWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        loadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Document'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Actor'
        actions:
          type: array
          items:
            type: object
            description: circular reference
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/Attribute'
      discriminator:
        propertyName: type
    GoodsAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
      discriminator:
        propertyName: associationType
        mapping:
          inline: '#/components/schemas/GoodsInlineAssociation'
          reference: '#/components/schemas/GoodsReferenceAssociation'
      oneOf:
        - $ref: '#/components/schemas/GoodsInlineAssociation'
        - $ref: '#/components/schemas/GoodsReferenceAssociation'
    GoodsInlineAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
        entity:
          $ref: '#/components/schemas/Goods'
        description:
          type: string
    GoodsModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - transportEquipment
            - items
        name:
          type: string
        description:
          type: string
        remark:
          type: string
        barCode:
          type: string
        quantity:
          type: integer
          format: int32
        weight:
          $ref: '#/components/schemas/ValueWithUnit'
        grossWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        maxStackableWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        loadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/ActorModel'
        actions:
          type: array
          items:
            type: object
            description: circular reference
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        stackObjectMetrics:
          $ref: '#/components/schemas/StackObjectMetrics'
        isStackObjectMetricsUpdated:
          type: boolean
      discriminator:
        propertyName: type
        mapping:
          items: '#/components/schemas/ItemsModel'
          transportEquipment: '#/components/schemas/TransportEquipmentModel'
      oneOf:
        - $ref: '#/components/schemas/ItemsModel'
        - type: object
          description: circular reference
    GoodsReferenceAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            uuid:
              type: string
            description:
              type: string
    HandOverAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            from:
              $ref: '#/components/schemas/Association'
            to:
              $ref: '#/components/schemas/Association'
            stop:
              type: object
              description: circular reference
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            pin:
              type: string
    HandOverActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            from:
              $ref: '#/components/schemas/Association'
            to:
              $ref: '#/components/schemas/Association'
            stop:
              $ref: '#/components/schemas/ActionAssociation'
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            pin:
              type: string
    IMAP:
      type: object
      properties:
        name:
          type: string
        host:
          type: string
        port:
          type: string
        username:
          type: string
        password:
          type: string
        enabled:
          type: boolean
        useOAuth:
          type: boolean
    IMAPModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        host:
          type: string
        port:
          type: string
        username:
          type: string
        password:
          type: string
        enabled:
          type: boolean
    Ideal:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        bank:
          type: string
        bic:
          type: string
        iban_last4:
          type: string
        statement_descriptor:
          type: string
    IdealModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        bank:
          type: string
        bic:
          type: string
        ibanLast4:
          type: string
        statementDescriptor:
          type: string
    Identifier:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        system:
          type: string
        value:
          type: string
        expiredAt:
          type: string
          format: date-time
    IdentifierModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        system:
          type: string
        value:
          type: string
        expiredAt:
          type: string
          format: date-time
    IndustryModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        abbreviated:
          type: string
        enabled:
          type: boolean
    Integration:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - manual
            - configured
            - messageAutomation
            - fileTemplate
            - apiAccess
        name:
          type: string
        description:
          type: string
        schedule:
          $ref: '#/components/schemas/IntegrationSchedulerSchedule'
        dataSources:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationDataSource'
        enabled:
          type: boolean
        lastHandled:
          type: string
          format: date-time
      discriminator:
        propertyName: type
        mapping:
          configured: '#/components/schemas/ConfiguredIntegration'
          fileTemplate: '#/components/schemas/FileTemplateIntegration'
          manual: '#/components/schemas/ManualIntegration'
          messageAutomation: '#/components/schemas/MessageAutomationIntegration'
          apiAccess: '#/components/schemas/ApiAccessIntegration'
      oneOf:
        - $ref: '#/components/schemas/ConfiguredIntegration'
        - $ref: '#/components/schemas/FileTemplateIntegration'
        - type: object
          description: circular reference
        - $ref: '#/components/schemas/MessageAutomationIntegration'
        - $ref: '#/components/schemas/ApiAccessIntegration'
    IntegrationCredentials:
      type: object
      properties:
        authenticationMethod:
          type: string
          enum:
            - apiKey
            - accessKeys
            - basic
            - OAuth
            - bearer
            - openId
            - clientKeysOpenId
            - clientKeys
            - headers
        username:
          type: string
        password:
          type: string
        accessKey:
          type: string
        secretKey:
          type: string
        clientId:
          type: string
        clientSecret:
          type: string
        grantType:
          type: string
        scope:
          type: string
        apiKey:
          type: string
        bearer:
          type: string
        sshKey:
          $ref: '#/components/schemas/File'
        sshTunnel:
          type: boolean
        sshHost:
          type: string
        sshUsername:
          type: string
        sshPassword:
          type: string
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        headers:
          type: object
          additionalProperties:
            type: object
        oauthUrl:
          type: string
        oAuthCache:
          type: string
        oAuthCacheCreationDate:
          type: string
          format: date-time
        openIdToken:
          type: string
        openIdRefreshToken:
          type: string
        openIdAccessToken:
          type: string
        openIdExpiration:
          type: string
          format: date-time
    IntegrationCredentialsModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        authenticationMethod:
          type: string
          enum:
            - apiKey
            - accessKeys
            - basic
            - OAuth
            - bearer
            - openId
            - clientKeysOpenId
            - clientKeys
            - headers
        username:
          type: string
        password:
          type: string
        accessKey:
          type: string
        secretKey:
          type: string
        clientId:
          type: string
        clientSecret:
          type: string
        grantType:
          type: string
        scope:
          type: string
        apiKey:
          type: string
        bearer:
          type: string
        sshKey:
          $ref: '#/components/schemas/FileModel'
        sshTunnel:
          type: boolean
        sshHost:
          type: string
        sshUsername:
          type: string
        sshPassword:
          type: string
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        headers:
          type: object
          additionalProperties:
            type: object
        oauthUrl:
          type: string
        oAuthCache:
          type: string
        oAuthCacheCreationDate:
          type: string
          format: date-time
        openIdToken:
          type: string
        openIdRefreshToken:
          type: string
        openIdAccessToken:
          type: string
        openIdExpiration:
          type: string
          format: date-time
    IntegrationDataSource:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        directionType:
          type: string
          enum:
            - in
            - out
        connectionType:
          type: string
          enum:
            - api
            - ftp
            - sftp
            - sql
            - web_hook
            - email
            - virtual_ftp
        requestMethod:
          type: string
          enum:
            - get
            - post
            - put
            - patch
            - delete
        dataType:
          type: string
          enum:
            - xml
            - json
            - csv
            - empty
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        url:
          type: string
        port:
          type: integer
          format: int32
        path:
          type: string
        token:
          type: string
        query:
          type: string
        parameters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationField'
        allowedIps:
          type: array
          items:
            type: string
        hasAuthentication:
          type: boolean
        credentials:
          $ref: '#/components/schemas/IntegrationCredentials'
        otm:
          type: boolean
        fields:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationField'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationFilter'
        template:
          type: boolean
    IntegrationDataSourceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        directionType:
          type: string
          enum:
            - in
            - out
        connectionType:
          type: string
          enum:
            - api
            - ftp
            - sftp
            - sql
            - web_hook
            - email
            - virtual_ftp
        requestMethod:
          type: string
          enum:
            - get
            - post
            - put
            - patch
            - delete
        dataType:
          type: string
          enum:
            - xml
            - json
            - csv
            - empty
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        url:
          type: string
        port:
          type: integer
          format: int32
        path:
          type: string
        token:
          type: string
        query:
          type: string
        parameters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationField'
        allowedIps:
          type: array
          items:
            type: string
        hasAuthentication:
          type: boolean
        credentials:
          $ref: '#/components/schemas/IntegrationCredentialsModel'
        otm:
          type: boolean
        fields:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationField'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationFilter'
        template:
          type: boolean
    IntegrationField:
      type: object
      properties:
        sequenceNr:
          type: integer
          format: int32
        type:
          type: string
          enum:
            - constant
            - string
            - integer
            - float
            - datetime
            - duration
            - date
            - time
            - boolean
            - object
            - array
            - filters
            - table
        regex:
          type: string
        format:
          type: string
        locale:
          type: string
        zoneId:
          type: string
        incomingPath:
          type: string
        outgoingPath:
          type: string
        insertRegexSelector:
          type: string
        insertType:
          type: string
          enum:
            - before
            - replace
            - after
        insertValue:
          type: string
        defaultValue:
          type: string
        fields:
          type: array
          items:
            type: object
            description: circular reference
        filters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationFilter'
        options:
          type: array
          items:
            type: string
            enum:
              - identifier
              - to_lower_case
              - to_upper_case
              - capitalize
              - trim
              - remove_all_whitespace
              - filters
    IntegrationFileTemplateField:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        fieldType:
          type: string
          description: The field type that is being aggregated from the file
          enum:
            - constant
            - string
            - integer
            - float
            - datetime
            - duration
            - date
            - time
            - boolean
            - object
            - array
            - filters
            - table
        selectorType:
          type: string
          enum:
            - matrix
            - html
            - text_variable_position
            - constant
        selector:
          type: string
          description: >-
            The selector, different based on selectorType (A1:A2, div>div,
            "Date:")
        regex:
          type: string
          description: A regex that filters the value selected
        format:
          type: string
          description: The format the value is coming in and has to be fetched offset
        locale:
          type: string
        zoneId:
          type: string
        top:
          type: integer
          description: Spaces up for text variable position
          format: int32
        right:
          type: integer
          description: Spaces to the right for text variable position
          format: int32
        bottom:
          type: integer
          description: Spaces down for text variable position
          format: int32
        left:
          type: integer
          description: Spaces to the left for text variable position
          format: int32
        insertRegexSelector:
          type: string
        insertType:
          type: string
          enum:
            - before
            - replace
            - after
        insertValue:
          type: string
        path:
          type: string
          description: The JSON path the value has to map to
        fields:
          type: array
          items:
            type: object
            description: circular reference
        filters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationFilter'
        options:
          type: array
          items:
            type: string
            enum:
              - identifier
              - to_lower_case
              - to_upper_case
              - capitalize
              - trim
              - remove_all_whitespace
              - filters
    IntegrationFilter:
      type: object
      properties:
        selector:
          type: string
        comparisonType:
          type: string
          enum:
            - equal
            - not_equal
            - greater_than
            - greater_or_equal_than
            - lesser_than
            - lesser_or_equal_than
            - between
            - in
            - not_in
            - contains
            - starts_with
            - ends_with
            - is_blank
            - is_not_blank
        value:
          type: string
        linkType:
          type: string
          enum:
            - and
            - or
        filters:
          type: array
          items:
            type: object
            description: circular reference
        sequenceNr:
          type: integer
          format: int32
        valueSelector:
          type: string
    IntegrationModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - manual
            - configured
            - messageAutomation
            - fileTemplate
            - apiAccess
        name:
          type: string
        description:
          type: string
        schedule:
          $ref: '#/components/schemas/IntegrationSchedulerSchedule'
        dataSources:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationDataSourceModel'
        enabled:
          type: boolean
        lastHandled:
          type: string
          format: date-time
      discriminator:
        propertyName: type
        mapping:
          configured: '#/components/schemas/ConfiguredIntegrationModel'
          fileTemplate: '#/components/schemas/FileTemplateIntegrationModel'
          manual: '#/components/schemas/ManualIntegrationModel'
          messageAutomation: '#/components/schemas/MessageAutomationIntegrationModel'
          apiAccess: '#/components/schemas/ApiAccessIntegrationModel'
      oneOf:
        - $ref: '#/components/schemas/ConfiguredIntegrationModel'
        - $ref: '#/components/schemas/FileTemplateIntegrationModel'
        - $ref: '#/components/schemas/ManualIntegrationModel'
        - $ref: '#/components/schemas/MessageAutomationIntegrationModel'
        - $ref: '#/components/schemas/ApiAccessIntegrationModel'
    IntegrationSchedulerSchedule:
      type: object
      properties:
        integrationSchedulerScheduleValue:
          type: integer
          format: int32
        integrationSchedulerScheduleType:
          type: string
          enum:
            - seconds
            - minutes
            - hours
            - days
            - months
        milliseconds:
          type: integer
          format: int64
    Interval:
      type: object
      properties:
        start:
          type: integer
          format: int32
        end:
          type: integer
          format: int32
    Invoice:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        hasAgreedToPrice:
          type: boolean
        administration:
          type: object
          description: circular reference
        year:
          type: integer
          format: int32
        number:
          type: integer
          format: int32
        reference:
          type: string
        paymentReference:
          type: string
        status:
          type: string
          enum:
            - concept
            - pending_approval
            - approved
            - rejected
            - open
            - paid
            - reminded
            - too_late
            - cancelled
        reminderCount:
          type: integer
          format: int32
        direction:
          type: string
          enum:
            - in
            - out
        currency:
          $ref: '#/components/schemas/Currency'
        cancelledReason:
          type: string
          readOnly: true
        lines:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceLine'
        subjectBusiness:
          type: object
          description: circular reference
        targetBusiness:
          type: object
          description: circular reference
        contactPerson:
          $ref: '#/components/schemas/ContactPerson'
        creator:
          type: object
          description: circular reference
        nextReminderDate:
          type: string
          format: date-time
        subTotal:
          $ref: '#/components/schemas/Money'
        tax:
          $ref: '#/components/schemas/Money'
        total:
          $ref: '#/components/schemas/Money'
        totalOpen:
          $ref: '#/components/schemas/Money'
        transactions:
          type: array
          items:
            $ref: '#/components/schemas/Transaction'
        identifiers:
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/Identifier'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Document'
        shareSettings:
          $ref: '#/components/schemas/ShareSettings'
        billing:
          $ref: '#/components/schemas/Billing'
        name:
          type: string
        description:
          type: string
        date:
          type: string
          format: date-time
        dueAt:
          type: string
          format: date-time
    InvoiceLine:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        sequenceNr:
          type: integer
          format: int32
        quantity:
          type: number
          format: double
        description:
          type: string
        startDateTime:
          type: string
          format: date-time
        endDateTime:
          type: string
          format: date-time
        value:
          $ref: '#/components/schemas/Money'
        subTotal:
          $ref: '#/components/schemas/Money'
        tax:
          $ref: '#/components/schemas/Money'
        total:
          $ref: '#/components/schemas/Money'
        entityId:
          type: string
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        quoteLine:
          $ref: '#/components/schemas/QuoteLine'
        pricingCategory:
          $ref: '#/components/schemas/PricingCategory'
        distinctPerInvoiceId:
          type: string
    InvoiceLineModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        sequenceNr:
          type: integer
          format: int32
        quantity:
          type: number
          format: double
        description:
          type: string
        startDateTime:
          type: string
          format: date-time
        endDateTime:
          type: string
          format: date-time
        value:
          $ref: '#/components/schemas/MoneyModel'
        subTotal:
          $ref: '#/components/schemas/MoneyModel'
        tax:
          $ref: '#/components/schemas/MoneyModel'
        total:
          $ref: '#/components/schemas/MoneyModel'
        plan:
          $ref: '#/components/schemas/PlanModel'
        subscription:
          $ref: '#/components/schemas/SubscriptionModel'
        entityId:
          type: string
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        quoteLine:
          $ref: '#/components/schemas/QuoteLineModel'
        pricingCategory:
          $ref: '#/components/schemas/PricingCategoryModel'
        distinctPerInvoiceId:
          type: string
    InvoiceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        year:
          type: integer
          format: int32
          readOnly: true
        number:
          type: integer
          format: int32
          readOnly: true
        name:
          type: string
        description:
          type: string
        reference:
          type: string
        paymentReference:
          type: string
        status:
          type: string
          enum:
            - concept
            - pending_approval
            - approved
            - rejected
            - open
            - paid
            - reminded
            - too_late
            - cancelled
        reminderCount:
          type: integer
          format: int32
        direction:
          type: string
          enum:
            - in
            - out
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        cancelledReason:
          type: string
        lines:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceLineModel'
        subjectBusiness:
          type: object
          description: circular reference
        targetBusiness:
          type: object
          description: circular reference
        contactPerson:
          $ref: '#/components/schemas/ContactPersonModel'
        creator:
          type: object
          description: circular reference
        date:
          type: string
          format: date-time
          readOnly: true
        dueAt:
          type: string
          format: date-time
        nextReminderDate:
          type: string
          format: date-time
        subTotal:
          $ref: '#/components/schemas/MoneyModel'
        tax:
          $ref: '#/components/schemas/MoneyModel'
        total:
          $ref: '#/components/schemas/MoneyModel'
        totalOpen:
          $ref: '#/components/schemas/MoneyModel'
        transactions:
          type: array
          items:
            $ref: '#/components/schemas/TransactionModel'
        identifiers:
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/IdentifierModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        shareSettings:
          $ref: '#/components/schemas/ShareSettings'
        billing:
          $ref: '#/components/schemas/BillingModel'
    ItemsModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            value:
              $ref: '#/components/schemas/MoneyModel'
            statisticalValue:
              $ref: '#/components/schemas/MoneyModel'
            adr:
              $ref: '#/components/schemas/ADR'
            productType:
              type: string
              description: The product type of goods, for instance bananas.
            packagingMaterial:
              type: string
              description: >-
                Description of the package type f.e. pallet, europallet, drum,
                carton etc.
            hsCode:
              type: string
            recordsCode:
              type: string
            mrnCode:
              type: string
    Join:
      type: object
      properties:
        type:
          type: string
          enum:
            - inner_join
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        onLeft:
          $ref: '#/components/schemas/Field'
        onRight:
          $ref: '#/components/schemas/Field'
    Klarna:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        background_image_url:
          type: string
        client_token:
          type: string
        first_name:
          type: string
        last_name:
          type: string
        locale:
          type: string
        logo_url:
          type: string
        page_title:
          type: string
        pay_later_asset_urls_descriptive:
          type: string
        pay_later_asset_urls_standard:
          type: string
        pay_later_name:
          type: string
        pay_later_redirect_url:
          type: string
        pay_now_asset_urls_descriptive:
          type: string
        pay_now_asset_urls_standard:
          type: string
        pay_now_name:
          type: string
        pay_now_redirect_url:
          type: string
        pay_over_time_asset_urls_descriptive:
          type: string
        pay_over_time_asset_urls_standard:
          type: string
        pay_over_time_name:
          type: string
        pay_over_time_redirect_url:
          type: string
        payment_method_categories:
          type: string
        purchase_country:
          type: string
        purchase_type:
          type: string
        redirect_url:
          type: string
        shipping_first_name:
          type: string
        shipping_last_name:
          type: string
    KlarnaModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        backgroundImageUrl:
          type: string
        clientToken:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        locale:
          type: string
        logoUrl:
          type: string
        pageTitle:
          type: string
        payLaterAssetUrlsDescriptive:
          type: string
        payLaterAssetUrlsStandard:
          type: string
        payLaterName:
          type: string
        payLaterRedirectUrl:
          type: string
        payNowAssetUrlsDescriptive:
          type: string
        payNowAssetUrlsStandard:
          type: string
        payNowName:
          type: string
        payNowRedirectUrl:
          type: string
        payOverTimeAssetUrlsDescriptive:
          type: string
        payOverTimeAssetUrlsStandard:
          type: string
        payOverTimeName:
          type: string
        payOverTimeRedirectUrl:
          type: string
        paymentMethodCategories:
          type: string
        purchaseCountry:
          type: string
        purchaseType:
          type: string
        redirectUrl:
          type: string
        shippingFirstName:
          type: string
        shippingLastName:
          type: string
    Language:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        localName:
          type: string
        code:
          type: string
        iso3166:
          type: string
        decimalDelimiter:
          type: string
        thousandDelimiter:
          type: string
        dateFormat:
          type: string
        measurementUnit:
          type: string
          enum:
            - metric
            - imperial
    LanguageLabels:
      type: object
      properties:
        language:
          type: string
        labels:
          type: string
    LanguageModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        localName:
          type: string
        code:
          type: string
        iso3166:
          type: string
        decimalDelimiter:
          type: string
        thousandDelimiter:
          type: string
        dateFormat:
          type: string
        measurementUnit:
          type: string
          enum:
            - metric
            - imperial
    LatLonArrayGeoReference:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            administrativeReference:
              $ref: '#/components/schemas/AdministrativeReference'
            points:
              type: array
              items:
                $ref: '#/components/schemas/Point'
    LatLonArrayGeoReferenceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            points:
              type: array
              items:
                $ref: '#/components/schemas/PointModel'
            administrativeReference:
              $ref: '#/components/schemas/AdministrativeReference'
    LatLonPointGeoReference:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            administrativeReference:
              $ref: '#/components/schemas/AdministrativeReference'
            lat:
              type: number
              format: double
            lon:
              type: number
              format: double
            speed:
              $ref: '#/components/schemas/ValueWithUnit'
            heading:
              $ref: '#/components/schemas/ValueWithUnit'
            bearing:
              $ref: '#/components/schemas/ValueWithUnit'
            bearingType:
              type: string
              enum:
                - absolute
                - relative
    LatLonPointGeoReferenceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            administrativeReference:
              $ref: '#/components/schemas/AdministrativeReference'
            lat:
              type: number
              format: double
            lon:
              type: number
              format: double
            speed:
              $ref: '#/components/schemas/ValueWithUnit'
            heading:
              $ref: '#/components/schemas/ValueWithUnit'
            bearing:
              $ref: '#/components/schemas/ValueWithUnit'
            bearingType:
              type: string
              enum:
                - absolute
                - relative
    LineString:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: number
                  format: double
    LineStringModel:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: number
                  format: double
    LoadAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            stop:
              $ref: '#/components/schemas/Association'
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            isContainmentAction:
              type: boolean
            goods:
              $ref: '#/components/schemas/GoodsAssociation'
            pin:
              type: string
            tar:
              type: string
            shipmentLine:
              $ref: '#/components/schemas/ShipmentLine'
            stackPointer:
              $ref: '#/components/schemas/StackPointer'
            containmentUUID:
              type: string
            containmentGoodsTypes:
              type: array
              items:
                type: string
                enum:
                  - transportEquipment
                  - items
    LoadActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            stop:
              $ref: '#/components/schemas/ActionAssociation'
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            isContainmentAction:
              type: boolean
            goods:
              $ref: '#/components/schemas/GoodsAssociation'
            pin:
              type: string
            tar:
              type: string
            shipmentLine:
              $ref: '#/components/schemas/ShipmentLine'
            stackPointer:
              $ref: '#/components/schemas/StackPointer'
            containmentUUID:
              type: string
            containmentGoodsTypes:
              type: array
              items:
                type: string
                enum:
                  - transportEquipment
                  - items
    LoadingDock:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        dockNumber:
          type: string
        location:
          type: object
          description: circular reference
        dockType:
          type: string
          enum:
            - LOADING
            - UNLOADING
            - BOTH
        operational:
          type: boolean
        description:
          type: string
        maxConcurrentOperations:
          type: integer
          format: int32
        heightRestrictionCm:
          type: integer
          format: int32
        widthRestrictionCm:
          type: integer
          format: int32
        lengthRestrictionCm:
          type: integer
          format: int32
        weightRestrictionKg:
          type: integer
          format: int32
        requiresAppointment:
          type: boolean
        displayOrder:
          type: integer
          format: int32
    LocalTime:
      type: object
      properties:
        hour:
          type: integer
          format: int32
        minute:
          type: integer
          format: int32
        second:
          type: integer
          format: int32
        nano:
          type: integer
          format: int32
    LocalizedMessageAutomationText:
      required:
        - content
        - messageTemplate
      type: object
      properties:
        language:
          $ref: '#/components/schemas/Language'
        content:
          type: string
          description: The template of a message for a particular messageAutomation
        messageTemplate:
          type: string
          description: The template of a message for a particular messageAutomation
        subject:
          type: string
    LocalizedText:
      type: object
      properties:
        language:
          $ref: '#/components/schemas/Language'
        text:
          type: string
    Location:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - warehouse
            - store
            - environmentalZone
            - restrictedArea
            - customer
            - parkingSpot
            - loadingUnloadingArea
            - operationalBase
            - fuelStation
        name:
          type: string
        unCode:
          type: string
        geoReference:
          $ref: '#/components/schemas/GeoReference'
        administrativeReference:
          $ref: '#/components/schemas/AdministrativeReference'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetail'
        contactPersons:
          type: array
          items:
            type: object
            description: circular reference
        openingTimes:
          $ref: '#/components/schemas/WeekTimes'
        terminal:
          $ref: '#/components/schemas/Terminal'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElement'
        hash:
          type: string
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/Attribute'
        requiresTimeslotBooking:
          type: boolean
        loadingDocks:
          type: array
          items:
            $ref: '#/components/schemas/LoadingDock'
        dataIsComplete:
          type: boolean
        actions:
          type: array
          items:
            type: object
            description: circular reference
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
        remark:
          type: string
    LocationAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
      discriminator:
        propertyName: associationType
        mapping:
          inline: '#/components/schemas/LocationInlineAssociation'
          reference: '#/components/schemas/LocationReferenceAssociation'
      oneOf:
        - $ref: '#/components/schemas/LocationInlineAssociation'
        - $ref: '#/components/schemas/LocationReferenceAssociation'
    LocationInlineAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
        entity:
          type: object
          description: circular reference
        description:
          type: string
    LocationModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - warehouse
            - store
            - environmentalZone
            - restrictedArea
            - customer
            - parkingSpot
            - loadingUnloadingArea
            - operationalBase
            - fuelStation
        name:
          type: string
        unCode:
          type: string
        geoReference:
          $ref: '#/components/schemas/GeoReferenceModel'
        administrativeReference:
          $ref: '#/components/schemas/AdministrativeReference'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetailModel'
        openingTimes:
          $ref: '#/components/schemas/WeekTimes'
        terminal:
          $ref: '#/components/schemas/TerminalModel'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionModel'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintModel'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElementModel'
        remark:
          type: string
        hash:
          type: string
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        dataIsComplete:
          type: boolean
    LocationReferenceAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            uuid:
              type: string
            description:
              type: string
    LocationTimeslot:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        timeWindow:
          $ref: '#/components/schemas/TimeWindow'
        location:
          $ref: '#/components/schemas/Location'
        loadingDock:
          $ref: '#/components/schemas/LoadingDock'
        slotType:
          type: string
          enum:
            - PICKUP
            - DELIVERY
            - BOTH
        maxCapacity:
          type: integer
          format: int32
        currentBookings:
          type: integer
          format: int32
        description:
          type: string
        active:
          type: boolean
        bookingCutoffHours:
          type: integer
          format: int32
        estimatedDurationMinutes:
          type: integer
          format: int32
    LocationUpdateEvent:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - generalEvent
            - sensorUpdateEvent
            - gateInEvent
            - gateOutEvent
            - arrivalEvent
            - departureEvent
            - stopEngineEvent
            - startEngineEvent
            - startWaitingEvent
            - stopWaitingEvent
            - stopMovingEvent
            - startMovingEvent
            - locationUpdateEvent
            - updateEvent
            - associationRemovedEvent
            - associationCreatedEvent
            - capacityChangeEvent
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        dateTime:
          type: string
          format: date-time
        vehicle:
          type: object
          description: circular reference
        chauffeur:
          $ref: '#/components/schemas/Chauffeur'
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipment'
        trip:
          $ref: '#/components/schemas/Trip'
        geoReference:
          $ref: '#/components/schemas/GeoReference'
        distanceToNextStop:
          type: integer
          format: int32
        timeToNextStop:
          type: integer
          format: int32
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
      readOnly: true
    LocationUpdateEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - generalEvent
            - sensorUpdateEvent
            - gateInEvent
            - gateOutEvent
            - arrivalEvent
            - departureEvent
            - stopEngineEvent
            - startEngineEvent
            - startWaitingEvent
            - stopWaitingEvent
            - stopMovingEvent
            - startMovingEvent
            - locationUpdateEvent
            - updateEvent
            - associationRemovedEvent
            - associationCreatedEvent
            - capacityChangeEvent
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        dateTime:
          type: string
          format: date-time
        vehicle:
          type: object
          description: circular reference
        transportEquipment:
          type: object
          description: circular reference
        trip:
          $ref: '#/components/schemas/TripModel'
        geoReference:
          $ref: '#/components/schemas/GeoReferenceModel'
        distanceToNextStop:
          type: integer
          format: int32
        timeToNextStop:
          type: integer
          format: int32
      readOnly: true
    MailAddress:
      type: object
      properties:
        name:
          type: string
        email:
          type: string
        smtpCredentials:
          $ref: '#/components/schemas/SmtpCredentials'
        imap:
          $ref: '#/components/schemas/IMAP'
    MailAddressModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        email:
          type: string
        smtp:
          $ref: '#/components/schemas/SMTPModel'
        imap:
          $ref: '#/components/schemas/IMAPModel'
    MailMessage:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        imap:
          $ref: '#/components/schemas/IMAP'
        contentId:
          type: string
        messageNumber:
          type: integer
          format: int32
        receivedDate:
          type: string
          format: date-time
        sentDate:
          type: string
          format: date-time
        read:
          type: boolean
        starred:
          type: boolean
        subject:
          type: string
        plainText:
          type: string
        text:
          type: string
        sender:
          $ref: '#/components/schemas/MailAddress'
        recipients:
          type: array
          items:
            $ref: '#/components/schemas/MailAddress'
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/File'
        threadId:
          type: string
        parentMessageId:
          type: string
        linkedTransportOrderIds:
          type: array
          items:
            type: string
        linkedConsignmentIds:
          type: array
          items:
            type: string
    MailMessageModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        imap:
          $ref: '#/components/schemas/IMAPModel'
        contentId:
          type: string
        messageNumber:
          type: integer
          format: int32
        receivedDate:
          type: string
          format: date-time
        sentDate:
          type: string
          format: date-time
        read:
          type: boolean
        starred:
          type: boolean
        subject:
          type: string
        plainText:
          type: string
        text:
          type: string
        sender:
          $ref: '#/components/schemas/MailAddressModel'
        recipients:
          type: array
          items:
            $ref: '#/components/schemas/MailAddressModel'
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
        threadId:
          type: string
        parentMessageId:
          type: string
        linkedTransportOrderIds:
          type: array
          items:
            type: string
        linkedConsignmentIds:
          type: array
          items:
            type: string
    ManualIntegration:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - manual
            - configured
            - messageAutomation
            - fileTemplate
            - apiAccess
        name:
          type: string
        description:
          type: string
        schedule:
          $ref: '#/components/schemas/IntegrationSchedulerSchedule'
        dataSources:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationDataSource'
        enabled:
          type: boolean
        lastHandled:
          type: string
          format: date-time
        sectorType:
          type: string
          enum:
            - boardComputer
            - transportOrder
            - terminal
            - mail
            - camera
            - sending_data
            - administration
            - communication_channel
            - CRM
            - calendar
            - ferry
            - freight_exchange
        manualType:
          type: string
          enum:
            - transics
            - web_fleet
            - squarell
            - evogps
            - trimble
            - portbase
            - psa
            - dpworld
            - uturn
            - imap
            - smtp
            - exchange
            - samskip
            - containership
            - project44
            - searates
            - telenormic
            - cbs
            - afas
            - twinfield
            - exact
            - moneybird
            - telegram
            - whatsapp
            - timocom
            - trans_eu
            - teleroute
            - freightos
            - dat
            - sennder
            - hubspot
            - bigmile
            - iveco
            - volvo
            - champ
            - opensky
            - fleets_online
            - fleet_access
            - stripe
            - mollie
            - adyen
            - dfds
            - stena_line
            - po_ferries
            - cldn
            - google_calendar
            - microsoft_calendar
            - apple_calendar
            - avantida
        enabledFunctions:
          type: array
          items:
            type: string
        url:
          type: string
        port:
          type: integer
          format: int32
        credentials:
          $ref: '#/components/schemas/IntegrationCredentials'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationFilter'
        integration:
          type: array
          items:
            $ref: '#/components/schemas/Note'
    ManualIntegrationModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            sectorType:
              type: string
              enum:
                - boardComputer
                - transportOrder
                - terminal
                - mail
                - camera
                - sending_data
                - administration
                - communication_channel
                - CRM
                - calendar
                - ferry
                - freight_exchange
            manualType:
              type: string
              enum:
                - transics
                - web_fleet
                - squarell
                - evogps
                - trimble
                - portbase
                - psa
                - dpworld
                - uturn
                - imap
                - smtp
                - exchange
                - samskip
                - containership
                - project44
                - searates
                - telenormic
                - cbs
                - afas
                - twinfield
                - exact
                - moneybird
                - telegram
                - whatsapp
                - timocom
                - trans_eu
                - teleroute
                - freightos
                - dat
                - sennder
                - hubspot
                - bigmile
                - iveco
                - volvo
                - champ
                - opensky
                - fleets_online
                - fleet_access
                - stripe
                - mollie
                - adyen
                - dfds
                - stena_line
                - po_ferries
                - cldn
                - google_calendar
                - microsoft_calendar
                - apple_calendar
                - avantida
            enabledFunctions:
              type: array
              items:
                type: string
            url:
              type: string
            port:
              type: integer
              format: int32
            credentials:
              $ref: '#/components/schemas/IntegrationCredentialsModel'
            filters:
              type: array
              items:
                $ref: '#/components/schemas/IntegrationFilter'
    MapReference:
      type: object
      properties:
        name:
          type: string
        previewUrl:
          type: string
        url:
          type: string
    MappingCondition:
      type: object
      properties:
        questionId:
          type: string
        operator:
          type: string
          enum:
            - equals
            - notEquals
            - contains
            - greaterThan
            - lessThan
            - isEmpty
            - isNotEmpty
        value:
          type: string
    MaritimeBooking:
      required:
        - id
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            billOfLadingNumber:
              type: string
            billOfLading:
              $ref: '#/components/schemas/Document'
    MaritimeBookingModel:
      required:
        - id
        - primaryPlatformId
        - type
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            billOfLadingNumber:
              type: string
            billOfLading:
              $ref: '#/components/schemas/Document'
    Message:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        chat:
          type: object
          description: circular reference
        user:
          $ref: '#/components/schemas/ChatUser'
        message:
          type: string
        state:
          type: string
          enum:
            - normal
            - important
            - pinned
            - deleted
        type:
          type: string
          enum:
            - normal
            - mail_message
        edited:
          type: boolean
        files:
          type: array
          items:
            $ref: '#/components/schemas/File'
        replyTo:
          type: object
          description: circular reference
        responses:
          type: array
          items:
            type: object
            description: circular reference
        received:
          type: array
          items:
            $ref: '#/components/schemas/MessageReceived'
        read:
          type: array
          items:
            $ref: '#/components/schemas/MessageRead'
        mailMessage:
          $ref: '#/components/schemas/MailMessage'
        sourceIntegration:
          type: object
          description: circular reference
        externalMessageId:
          type: string
        externalThreadId:
          type: string
        messageSource:
          type: string
          enum:
            - internal
            - email_inbound
            - email_outbound
            - whatsapp_inbound
            - whatsapp_outbound
            - telegram_inbound
            - telegram_outbound
        externalSenderName:
          type: string
        externalSenderAddress:
          type: string
        translatedMessage:
          type: string
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
    MessageAutomation:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        description:
          type: string
        automationConfig:
          $ref: '#/components/schemas/MessageAutomationConfig'
        messageAutomationIntegration:
          type: object
          description: circular reference
        enabled:
          type: boolean
        lastHandled:
          type: string
          format: date-time
        template:
          type: boolean
        templateCategory:
          type: string
        type:
          type: string
          enum:
            - messageAutomation
            - questionAnswerAutomation
            - fileRequestAutomation
        notes:
          type: array
          items:
            type: object
            description: circular reference
      discriminator:
        propertyName: type
        mapping:
          messageAutomation: '#/components/schemas/MessageMessageAutomation'
          questionAnswerAutomation: '#/components/schemas/QuestionAnswerMessageAutomation'
          fileRequestAutomation: '#/components/schemas/FileBasedMessageAutomation'
      oneOf:
        - $ref: '#/components/schemas/MessageMessageAutomation'
        - $ref: '#/components/schemas/QuestionAnswerMessageAutomation'
        - $ref: '#/components/schemas/FileBasedMessageAutomation'
    MessageAutomationConfig:
      type: object
      properties:
        triggerType:
          type: string
          enum:
            - trigger
            - scheduler
            - listener
        triggerEvent:
          type: string
          enum:
            - afterCreatingTrip
            - afterUpdatingTrip
            - afterConfirmingTrip
            - afterStartingTrip
            - afterFinishingTrip
            - afterCancelingTrip
            - afterLocationUpdateEvent
            - afterCreatingMessage
            - afterUpdatingMessage
            - afterCreatingEvent
            - afterStartEngineEvent
            - afterStartMovingEvent
            - afterStopMovingEvent
            - afterStopEngineEvent
            - afterCreatingWaitAction
            - afterUpdatingWaitAction
            - afterCreatingWeighingAction
            - afterUpdatingWeighingAction
            - afterCreatingUnloadAction
            - afterUpdatingUnloadAction
            - afterCreatingStopAction
            - afterUpdatingStopAction
            - afterCreatingMoveAction
            - afterUpdatingMoveAction
            - afterCreatingLoadAction
            - afterUpdatingLoadAction
            - afterCreatingDetachTransportEquipmentAction
            - afterUpdatingDetachTransportEquipmentAction
            - afterCreatingDetachChauffeurAction
            - afterUpdatingDetachChauffeurAction
            - afterCreatingBreakAction
            - afterUpdatingBreakAction
            - afterCreatingAttachTransportEquipmentAction
            - afterUpdatingAttachTransportEquipmentAction
            - afterCreatingAttachChauffeurAction
            - afterUpdatingAttachChauffeurAction
            - afterActionLifeCycleUpdate
            - afterCreatingCapacityContract
            - afterUpdatingCapacityContract
            - afterCreatingMessageAutomation
            - AfterUpdatingMessageAutomation
            - afterCreatingTransportOrder
            - afterUpdatingTransportOrder
            - afterCreatingConsignment
            - afterUpdatingConsignment
            - afterCreatingBusiness
            - afterUpdatingBusiness
            - afterCreatingInvoice
            - afterSendingInvoice
            - afterUpdatingInvoice
            - afterCreatingQuote
            - afterUpdatingQuote
            - afterSendingQuote
            - afterCreatingUser
            - afterUpdatingUser
            - afterCreatingLocation
            - afterUpdatingLocation
            - afterExceedingStopAverageDuration
            - afterHomeBaseReturnOverdue
            - afterCreatingBooking
            - afterUpdatingBooking
            - afterCancellingBooking
            - afterConfirmingBooking
            - afterCreatingIntegration
            - afterUpdatingIntegration
            - afterUpdatingCalendarEvent
            - afterDeletingCalendarEvent
            - afterCreatingTodo
            - afterUpdatingTodo
            - afterDeletingTodo
            - afterAssigningTodo
            - afterCalendarSyncRequested
            - afterCalendarAuthorizationGranted
        schedule:
          $ref: '#/components/schemas/IntegrationSchedulerSchedule'
        uniqueIdentifierSelector:
          type: string
        uniqueIdentifierSchedule:
          $ref: '#/components/schemas/IntegrationSchedulerSchedule'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationFilter'
        query:
          $ref: '#/components/schemas/Query'
        recipients:
          type: array
          items:
            type: string
        recipientSelector:
          type: string
        toggleForAll:
          type: boolean
        channel:
          type: string
          enum:
            - email
            - chat
            - notification
            - whatsapp
            - telegram
        manualIntegration:
          type: object
          description: circular reference
        includeAttachments:
          type: boolean
        documentAttachments:
          type: array
          items:
            $ref: '#/components/schemas/AutomationDocumentAttachment'
        subject:
          type: string
          description: The subject of a message for a particular messageAutomation
        currentTriggerPosition:
          type: integer
          format: int32
        localizedTexts:
          type: array
          items:
            $ref: '#/components/schemas/LocalizedMessageAutomationText'
        defaultLanguageId:
          type: string
        languageSelector:
          type: string
        userEnableable:
          type: boolean
        userPermissionFilters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationFilter'
    MessageAutomationIntegration:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            messageAutomation:
              $ref: '#/components/schemas/MessageAutomation'
            triggerType:
              type: string
              enum:
                - trigger
                - scheduler
                - listener
            triggerEvent:
              type: string
              enum:
                - afterCreatingTrip
                - afterUpdatingTrip
                - afterConfirmingTrip
                - afterStartingTrip
                - afterFinishingTrip
                - afterCancelingTrip
                - afterLocationUpdateEvent
                - afterCreatingMessage
                - afterUpdatingMessage
                - afterCreatingEvent
                - afterStartEngineEvent
                - afterStartMovingEvent
                - afterStopMovingEvent
                - afterStopEngineEvent
                - afterCreatingWaitAction
                - afterUpdatingWaitAction
                - afterCreatingWeighingAction
                - afterUpdatingWeighingAction
                - afterCreatingUnloadAction
                - afterUpdatingUnloadAction
                - afterCreatingStopAction
                - afterUpdatingStopAction
                - afterCreatingMoveAction
                - afterUpdatingMoveAction
                - afterCreatingLoadAction
                - afterUpdatingLoadAction
                - afterCreatingDetachTransportEquipmentAction
                - afterUpdatingDetachTransportEquipmentAction
                - afterCreatingDetachChauffeurAction
                - afterUpdatingDetachChauffeurAction
                - afterCreatingBreakAction
                - afterUpdatingBreakAction
                - afterCreatingAttachTransportEquipmentAction
                - afterUpdatingAttachTransportEquipmentAction
                - afterCreatingAttachChauffeurAction
                - afterUpdatingAttachChauffeurAction
                - afterActionLifeCycleUpdate
                - afterCreatingCapacityContract
                - afterUpdatingCapacityContract
                - afterCreatingMessageAutomation
                - AfterUpdatingMessageAutomation
                - afterCreatingTransportOrder
                - afterUpdatingTransportOrder
                - afterCreatingConsignment
                - afterUpdatingConsignment
                - afterCreatingBusiness
                - afterUpdatingBusiness
                - afterCreatingInvoice
                - afterSendingInvoice
                - afterUpdatingInvoice
                - afterCreatingQuote
                - afterUpdatingQuote
                - afterSendingQuote
                - afterCreatingUser
                - afterUpdatingUser
                - afterCreatingLocation
                - afterUpdatingLocation
                - afterExceedingStopAverageDuration
                - afterHomeBaseReturnOverdue
                - afterCreatingBooking
                - afterUpdatingBooking
                - afterCancellingBooking
                - afterConfirmingBooking
                - afterCreatingIntegration
                - afterUpdatingIntegration
                - afterUpdatingCalendarEvent
                - afterDeletingCalendarEvent
                - afterCreatingTodo
                - afterUpdatingTodo
                - afterDeletingTodo
                - afterAssigningTodo
                - afterCalendarSyncRequested
                - afterCalendarAuthorizationGranted
            filters:
              type: array
              items:
                $ref: '#/components/schemas/IntegrationFilter'
    MessageAutomationIntegrationModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            messageAutomation:
              $ref: '#/components/schemas/MessageAutomationModel'
            triggerType:
              type: string
              enum:
                - trigger
                - scheduler
                - listener
            triggerEvent:
              type: string
              enum:
                - afterCreatingTrip
                - afterUpdatingTrip
                - afterConfirmingTrip
                - afterStartingTrip
                - afterFinishingTrip
                - afterCancelingTrip
                - afterLocationUpdateEvent
                - afterCreatingMessage
                - afterUpdatingMessage
                - afterCreatingEvent
                - afterStartEngineEvent
                - afterStartMovingEvent
                - afterStopMovingEvent
                - afterStopEngineEvent
                - afterCreatingWaitAction
                - afterUpdatingWaitAction
                - afterCreatingWeighingAction
                - afterUpdatingWeighingAction
                - afterCreatingUnloadAction
                - afterUpdatingUnloadAction
                - afterCreatingStopAction
                - afterUpdatingStopAction
                - afterCreatingMoveAction
                - afterUpdatingMoveAction
                - afterCreatingLoadAction
                - afterUpdatingLoadAction
                - afterCreatingDetachTransportEquipmentAction
                - afterUpdatingDetachTransportEquipmentAction
                - afterCreatingDetachChauffeurAction
                - afterUpdatingDetachChauffeurAction
                - afterCreatingBreakAction
                - afterUpdatingBreakAction
                - afterCreatingAttachTransportEquipmentAction
                - afterUpdatingAttachTransportEquipmentAction
                - afterCreatingAttachChauffeurAction
                - afterUpdatingAttachChauffeurAction
                - afterActionLifeCycleUpdate
                - afterCreatingCapacityContract
                - afterUpdatingCapacityContract
                - afterCreatingMessageAutomation
                - AfterUpdatingMessageAutomation
                - afterCreatingTransportOrder
                - afterUpdatingTransportOrder
                - afterCreatingConsignment
                - afterUpdatingConsignment
                - afterCreatingBusiness
                - afterUpdatingBusiness
                - afterCreatingInvoice
                - afterSendingInvoice
                - afterUpdatingInvoice
                - afterCreatingQuote
                - afterUpdatingQuote
                - afterSendingQuote
                - afterCreatingUser
                - afterUpdatingUser
                - afterCreatingLocation
                - afterUpdatingLocation
                - afterExceedingStopAverageDuration
                - afterHomeBaseReturnOverdue
                - afterCreatingBooking
                - afterUpdatingBooking
                - afterCancellingBooking
                - afterConfirmingBooking
                - afterCreatingIntegration
                - afterUpdatingIntegration
                - afterUpdatingCalendarEvent
                - afterDeletingCalendarEvent
                - afterCreatingTodo
                - afterUpdatingTodo
                - afterDeletingTodo
                - afterAssigningTodo
                - afterCalendarSyncRequested
                - afterCalendarAuthorizationGranted
    MessageAutomationModel:
      required:
        - description
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - messageAutomation
            - questionAnswerAutomation
            - fileRequestAutomation
        name:
          type: string
          description: The name of a messageAutomation
        description:
          type: string
          description: The description of a messageAutomation
        automationConfig:
          $ref: '#/components/schemas/MessageAutomationConfig'
        messageAutomationIntegration:
          type: object
          description: circular reference
        enabled:
          type: boolean
        lastHandled:
          type: string
          format: date-time
        template:
          type: boolean
        templateCategory:
          type: string
      discriminator:
        propertyName: type
        mapping:
          messageAutomation: '#/components/schemas/MessageMessageAutomationModel'
          questionAnswerAutomation: '#/components/schemas/QuestionAnswerMessageAutomationModel'
          fileRequestAutomation: '#/components/schemas/FileBasedMessageAutomationModel'
      oneOf:
        - $ref: '#/components/schemas/MessageMessageAutomationModel'
        - $ref: '#/components/schemas/QuestionAnswerMessageAutomationModel'
        - $ref: '#/components/schemas/FileBasedMessageAutomationModel'
    MessageMessageAutomation:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
    MessageMessageAutomationModel:
      required:
        - description
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
    MessageModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        chat:
          type: object
          description: circular reference
        user:
          $ref: '#/components/schemas/ChatUserModel'
        message:
          type: string
        state:
          type: string
          enum:
            - normal
            - important
            - pinned
            - deleted
        type:
          type: string
          enum:
            - normal
            - mail_message
        edited:
          type: boolean
        files:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
        replyTo:
          type: object
          description: circular reference
        responses:
          type: array
          items:
            type: object
            description: circular reference
        received:
          type: array
          items:
            $ref: '#/components/schemas/MessageReceivedModel'
        read:
          type: array
          items:
            $ref: '#/components/schemas/MessageReadModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        mailMessage:
          $ref: '#/components/schemas/MailMessageModel'
        translatedMessage:
          type: string
    MessageRead:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        user:
          $ref: '#/components/schemas/ChatUser'
    MessageReadModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        user:
          $ref: '#/components/schemas/ChatUserModel'
    MessageReceived:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        user:
          $ref: '#/components/schemas/ChatUser'
    MessageReceivedModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        user:
          $ref: '#/components/schemas/ChatUserModel'
    Money:
      type: object
      properties:
        amount:
          type: number
          format: double
        currency:
          $ref: '#/components/schemas/Currency'
        taxRate:
          $ref: '#/components/schemas/TaxRate'
        inclusiveOfTax:
          type: boolean
    MoneyBuildBlock:
      type: object
      properties:
        amount:
          type: number
          format: double
        relationship:
          $ref: '#/components/schemas/EntityRelationship'
    MoneyModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        amount:
          type: number
          format: double
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        taxRate:
          $ref: '#/components/schemas/TaxRate'
        inclusiveOfTax:
          type: boolean
      readOnly: true
    MoveAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/Association'
            from:
              $ref: '#/components/schemas/Association'
            to:
              $ref: '#/components/schemas/Association'
            route:
              $ref: '#/components/schemas/Association'
            transportMode:
              type: string
              enum:
                - maritime
                - road
                - rail
                - air
                - inlandWaterway
            distance:
              type: integer
              format: int32
            cost:
              type: integer
              format: int32
            CO2eWTW:
              type: number
              format: double
            CO2eTTW:
              type: number
              format: double
            previousStopId:
              type: string
            nextStopId:
              type: string
            planStatus:
              type: string
              enum:
                - ok
                - too_late
                - too_early
                - off_route
    MoveActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
            from:
              $ref: '#/components/schemas/LocationAssociation'
            to:
              $ref: '#/components/schemas/LocationAssociation'
            route:
              $ref: '#/components/schemas/Association'
            transportMode:
              type: string
              enum:
                - maritime
                - road
                - rail
                - air
                - inlandWaterway
            distance:
              type: integer
              format: int32
            cost:
              type: integer
              format: int32
            CO2eWTW:
              type: number
              format: double
            CO2eTTW:
              type: number
              format: double
            previousStopId:
              type: string
            nextStopId:
              type: string
    MultiLinesString:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: array
                  items:
                    type: number
                    format: double
    MultiLinesStringModel:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: array
                  items:
                    type: number
                    format: double
    MultiPoint:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: number
                  format: double
    MultiPointModel:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: number
                  format: double
    MultiPolygon:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: array
                  items:
                    type: array
                    items:
                      type: number
                      format: double
    MultiPolygonModel:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: array
                  items:
                    type: array
                    items:
                      type: number
                      format: double
    Multibanco:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        entity:
          type: string
        reference:
          type: string
        refund_account_holder_address_city:
          type: string
        refund_account_holder_address_country:
          type: string
        refund_account_holder_address_line1:
          type: string
        refund_account_holder_address_line2:
          type: string
        refund_account_holder_address_postal_code:
          type: string
        refund_account_holder_address_state:
          type: string
        refund_account_holder_name:
          type: string
        refund_iban:
          type: string
    MultibancoModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        entity:
          type: string
        reference:
          type: string
        refundAccountHolderAddressCity:
          type: string
        refundAccountHolderAddressCountry:
          type: string
        refundAccountHolderAddressLine1:
          type: string
        refundAccountHolderAddressLine2:
          type: string
        refundAccountHolderAddressPostalCode:
          type: string
        refundAccountHolderAddressState:
          type: string
        refundAccountHolderName:
          type: string
        refundIban:
          type: string
    NotConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            not:
              type: array
              items:
                type: object
                description: circular reference
    NotConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
    Note:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        author:
          $ref: '#/components/schemas/User'
        name:
          type: string
        text:
          type: string
    NoteModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        author:
          type: object
          description: circular reference
        name:
          type: string
        text:
          type: string
    OneTimeContract:
      required:
        - id
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            consignments:
              type: array
              items:
                $ref: '#/components/schemas/Consignment'
            purchasedUnits:
              type: integer
              format: int32
            capacity:
              $ref: '#/components/schemas/Capacity'
    OneTimeContractModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            consignments:
              type: array
              items:
                $ref: '#/components/schemas/ConsignmentModel'
            purchasedUnits:
              type: integer
              format: int32
            capacity:
              $ref: '#/components/schemas/CapacityModel'
    OptimizerAlgorithmConfiguration:
      type: object
      properties:
        defaultVehicleOperatingIntervals:
          type: array
          items:
            $ref: '#/components/schemas/Interval'
        maxDrivingPeriod:
          type: integer
          format: int32
        maxPeriod:
          type: integer
          format: int32
        ignoreLocationConstraints:
          type: boolean
        ignoreConsignmentConstraints:
          type: boolean
        ignoreActionConstraints:
          type: boolean
    OrConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            or:
              type: array
              items:
                type: object
                description: circular reference
    OrConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            or:
              type: array
              items:
                type: object
                description: circular reference
    P24:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        reference:
          type: string
    P24Model:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        reference:
          type: string
    PairStringInteger:
      type: object
      properties:
        first:
          type: string
        second:
          type: integer
          format: int32
    PairStringString:
      type: object
      properties:
        first:
          type: string
        second:
          type: string
    PermanentContract:
      required:
        - id
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            capacity:
              $ref: '#/components/schemas/Capacity'
            purchasedUnits:
              type: integer
              format: int32
    PermanentContractModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            capacity:
              $ref: '#/components/schemas/CapacityModel'
            purchasedUnits:
              type: integer
              format: int32
    Permission:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        read:
          type: boolean
        write:
          type: boolean
        delete:
          type: boolean
        permissionScope:
          type: string
          enum:
            - PUBLIC
            - PRIVATE
            - OWNER
        isObjectPermission:
          type: boolean
    PermissionModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        read:
          type: boolean
        write:
          type: boolean
        delete:
          type: boolean
        permissionScope:
          type: string
          enum:
            - PUBLIC
            - PRIVATE
            - OWNER
        isObjectPermission:
          type: boolean
    Placement:
      type: object
      properties:
        stackPlannerID:
          type: string
        order:
          type: integer
          format: int32
        x:
          type: number
          format: double
        'y':
          type: number
          format: double
        z:
          type: number
          format: double
        occupant:
          $ref: '#/components/schemas/Spatial3D'
        nextPlacementBlocks:
          type: array
          items:
            $ref: '#/components/schemas/PlacementBlock'
    PlacementBlock:
      type: object
      properties:
        x:
          type: number
          format: double
        'y':
          type: number
          format: double
        z:
          type: number
          format: double
        dx:
          type: number
          format: double
        dy:
          type: number
          format: double
        dz:
          type: number
          format: double
        bottomSupports:
          uniqueItems: true
          type: array
          items:
            type: object
            description: circular reference
    Plan:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        amount:
          $ref: '#/components/schemas/Money'
        usageElementTypePrices:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/PlanValue'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        primary:
          type: boolean
        name:
          type: string
        description:
          type: string
        interval:
          type: string
          enum:
            - endOfWeek
            - endOfWeekOrMonth
            - endOfMonth
            - endOfQuarter
            - endOfTrip
            - endOfTransportOrder
        intervalCount:
          type: integer
          format: int32
        trialPeriodDays:
          type: integer
          format: int32
        startedAt:
          type: string
          format: date-time
        expiredAt:
          type: string
          format: date-time
    PlanModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        description:
          type: string
        interval:
          type: string
          enum:
            - endOfWeek
            - endOfWeekOrMonth
            - endOfMonth
            - endOfQuarter
            - endOfTrip
            - endOfTransportOrder
        intervalCount:
          type: integer
          format: int32
        trialPeriodDays:
          type: integer
          format: int32
        amount:
          $ref: '#/components/schemas/MoneyModel'
        usageElementTypePrices:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/PlanValue'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        startedAt:
          type: string
          format: date-time
        expiredAt:
          type: string
          format: date-time
        primary:
          type: boolean
    PlanValue:
      type: object
      properties:
        value:
          type: number
          format: double
        freemium:
          type: integer
          format: int32
        filters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationFilter'
    PlatformAlertSettings:
      type: object
      properties:
        enableCapacityAlerts:
          type: boolean
          description: >-
            Enable or disable capacity availability warnings for trips. Defaults
            to true.
        enableDocumentsNeededAlerts:
          type: boolean
          description: >-
            Enable or disable warnings for completed trip actions missing
            documents. Defaults to true.
        enableVehicleConflictAlerts:
          type: boolean
          description: >-
            Enable or disable warnings for vehicle conflicts (double booking).
            Defaults to true.
        enableTransportEquipmentConflictAlerts:
          type: boolean
          description: >-
            Enable or disable warnings for transport equipment conflicts (double
            booking). Defaults to true.
        enableChauffeurConflictAlerts:
          type: boolean
          description: >-
            Enable or disable warnings for chauffeur conflicts (double booking).
            Defaults to true.
    PlatformCredentialSettings:
      type: object
      properties:
        force2FA:
          type: boolean
        stripeKey:
          type: string
        stripePublicKey:
          type: string
        ptvKey:
          type: string
        ptvSecret:
          type: string
        awsKey:
          type: string
        awsSecret:
          type: string
        googleApiKey:
          type: string
        googleApiSecret:
          type: string
        hereApiKey:
          type: string
        osrmUrl:
          type: string
        cloverOptApiKey:
          type: string
        googleCaptchaKey:
          type: string
        googleCaptchaSecret:
          type: string
    PlatformFeature:
      type: object
      properties:
        name:
          type: string
        accountTypes:
          type: array
          items:
            type: string
            enum:
              - default
              - customer
              - supplier
              - planning
              - financial
    PlatformFinancialSettings:
      type: object
      properties:
        defaultTaxRate:
          $ref: '#/components/schemas/TaxRate'
        enableInvoiceApprovalFlow:
          type: boolean
    PlatformHostNameModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        hostName:
          type: string
    PlatformModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        nameSpace:
          type: string
        logo:
          $ref: '#/components/schemas/FileModel'
        favicon:
          $ref: '#/components/schemas/FileModel'
        hostNames:
          type: array
          items:
            $ref: '#/components/schemas/PlatformHostNameModel'
        features:
          type: array
          items:
            $ref: '#/components/schemas/PlatformFeature'
        allowedEmailDomains:
          type: array
          items:
            type: string
        emailIntegration:
          $ref: '#/components/schemas/ManualIntegration'
        notificationLogo:
          $ref: '#/components/schemas/FileModel'
        fullLogo:
          $ref: '#/components/schemas/FileModel'
        backgroundImage:
          $ref: '#/components/schemas/FileModel'
        darkLogo:
          $ref: '#/components/schemas/FileModel'
        darkFavicon:
          $ref: '#/components/schemas/FileModel'
        darkNotificationLogo:
          $ref: '#/components/schemas/FileModel'
        darkFullLogo:
          $ref: '#/components/schemas/FileModel'
        darkBackgroundImage:
          $ref: '#/components/schemas/FileModel'
        primaryColor:
          type: string
        secondaryColor:
          type: string
        darkPrimaryColor:
          type: string
        darkSecondaryColor:
          type: string
        planningSettings:
          $ref: '#/components/schemas/PlatformPlanningSettings'
        pricingSettings:
          $ref: '#/components/schemas/PlatformPricingSettings'
        credentialSettings:
          $ref: '#/components/schemas/PlatformCredentialSettings'
        routingSettings:
          $ref: '#/components/schemas/PlatformRoutingSettings'
        translationSettings:
          $ref: '#/components/schemas/PlatformTranslationSettings'
        uiSettings:
          $ref: '#/components/schemas/PlatformUISettings'
        alertsSettings:
          $ref: '#/components/schemas/PlatformAlertSettings'
        financialSettings:
          $ref: '#/components/schemas/PlatformFinancialSettings'
        canRegister:
          type: boolean
        canRequestAccess:
          type: boolean
        description:
          type: string
        contactEmail:
          type: string
        business:
          $ref: '#/components/schemas/Business'
        childOf:
          type: object
          description: circular reference
        billing:
          $ref: '#/components/schemas/BillingModel'
        apps:
          type: array
          items:
            $ref: '#/components/schemas/AppModel'
        disablingAt:
          type: string
          format: date-time
        disabled:
          type: boolean
        inWaitList:
          type: boolean
    PlatformPlanningSettings:
      type: object
      properties:
        defaultDeliveryTerms:
          type: string
          enum:
            - EXW
            - FCA
            - FAS
            - FOB
            - CPT
            - CIP
            - CFR
            - CIF
            - DAP
            - DPU
            - DDP
        optimizerEngine:
          type: string
          description: The optimizer engine to use for trip optimization. Defaults to PTV.
          enum:
            - transportial
            - ptv
            - osrm
            - cloveropt
        alwaysCombinedTransport:
          type: boolean
        finishTripOnActionsComplete:
          type: boolean
        requirePlannerCompletionForTrips:
          type: boolean
          description: >-
            When enabled, finishing a trip sets it to PENDING_COMPLETION instead
            of COMPLETED. Planners must explicitly complete the trip.
        showEventsOnActionCards:
          type: boolean
        goodsWeightsAndLoadMetersAreTotalFields:
          type: boolean
          description: >-
            Flag indicating Non-Dimensional Metrics Fields of Goods like
            'Weight', 'LoadMeters', etc. contains Cumulative/Total information
            of all instances (quantity) or not.
        optimizerAlgorithmConfiguration:
          $ref: '#/components/schemas/OptimizerAlgorithmConfiguration'
        loadActionDefaultDuration:
          type: integer
          description: >-
            Default action duration in seconds if not yet enough data is
            available
          format: int32
        unloadActionDefaultDuration:
          type: integer
          description: >-
            Default action duration in seconds if not yet enough data is
            available
          format: int32
        stopActionDefaultDuration:
          type: integer
          description: >-
            Default action duration in seconds if not yet enough data is
            available
          format: int32
        attachTransportEquipmentActionDefaultDuration:
          type: integer
          description: >-
            Default action duration in seconds if not yet enough data is
            available
          format: int32
        detachTransportEquipmentActionDefaultDuration:
          type: integer
          description: >-
            Default action duration in seconds if not yet enough data is
            available
          format: int32
        groupedStopActionDurationSeconds:
          type: integer
          description: Duration in seconds for subsequent StopActions within the same group
          format: int32
        defaultTransportOrderTemplate:
          type: string
        consignmentAttributeCheckmarks:
          type: array
          items:
            $ref: '#/components/schemas/Attribute'
        defaultTripStartDuration:
          type: integer
          format: int32
        defaultTripStartDateFromNextActionTimeWindow:
          type: boolean
        defaultTollCostPricingCategory:
          $ref: '#/components/schemas/PricingCategory'
        mapUris:
          type: array
          items:
            $ref: '#/components/schemas/MapReference'
        preferredTransportModes:
          type: array
          description: List of transport modes preferred by the platform for trip planning.
          items:
            type: string
            description: >-
              List of transport modes preferred by the platform for trip
              planning.
            enum:
              - maritime
              - road
              - rail
              - air
              - inlandWaterway
        onlyCalculateRouteOnTripConfirmed:
          type: boolean
          description: >-
            When enabled, only calculates detailed road routes when trip status
            is CONFIRMED. Before confirmation, uses direct line
            (as-the-crow-flies) routing for better performance.
        onlyCalculateCapacityOnTripConfirmed:
          type: boolean
          description: >-
            When enabled, only calculates capacity change events when trip
            status is CONFIRMED. Improves performance for draft and planning
            stages.
        onlyCalculateFinanceOnTripConfirmed:
          type: boolean
          description: >-
            When enabled, only processes trip financials (pricing, costs) when
            trip status is CONFIRMED. Improves performance for draft and
            planning stages.
        actionResultQuestionnaires:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ActionResultQuestionnaire'
          description: >-
            Configurable questionnaires for action results, keyed by action
            type. Enables dynamic question-answer flows that can set result
            status and modify action/consignment fields.
        sortActionsOnConsignmentDrop:
          type: boolean
          description: >-
            When enabled, actions are automatically sorted in a logical
            geographic order (nearest-neighbour, as the crow flies) when a
            consignment is drag-and-dropped onto an existing trip or vehicle.
        includeQuoteLinesOnTransportOrderPdf:
          type: boolean
          description: >-
            When enabled, the transport order PDF includes the associated quote
            lines (pricing) when a quote exists for the order.
    PlatformPricingSettings:
      type: object
      properties:
        defaultChauffeurCostPricing:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
        defaultVehicleCostPricing:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
    PlatformRoutingSettings:
      type: object
      properties:
        routingEngine:
          type: string
          enum:
            - transportial
            - ptv
            - here
            - google
            - osrm
        seaPassages:
          $ref: '#/components/schemas/SeaPassages'
    PlatformTranslationSettings:
      type: object
      properties:
        languagesLabels:
          type: array
          items:
            $ref: '#/components/schemas/LanguageLabels'
    PlatformUISettings:
      type: object
      properties:
        hiddenFields:
          type: array
          items:
            type: string
        requiredFields:
          type: array
          items:
            type: string
        validationRules:
          type: array
          items:
            type: string
        requireVerifiedBusinesses:
          type: boolean
        userSettableMessageAutomations:
          type: array
          items:
            $ref: '#/components/schemas/MessageAutomation'
    Point:
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
        lat:
          type: number
          format: double
        lon:
          type: number
          format: double
    PointModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        lat:
          type: number
          format: double
        lon:
          type: number
          format: double
    Polygon:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: array
                  items:
                    type: number
                    format: double
    PolygonModel:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: array
                  items:
                    type: number
                    format: double
    PostalCodeRange:
      type: object
      properties:
        from:
          type: string
        to:
          type: string
        country:
          type: string
    PricingABModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            granularity:
              type: string
              enum:
                - country
                - city
                - postal_code
                - street
                - exact
            movementLevel:
              type: string
              enum:
                - moveAction
                - consignment
            from:
              type: object
              description: circular reference
            to:
              type: object
              description: circular reference
            amount:
              type: number
              format: double
            reverse:
              type: boolean
    PricingCategory:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        creditCode:
          type: string
        debitCode:
          type: string
        defaultValue:
          type: number
          format: double
        enabled:
          type: boolean
        tripRevenue:
          type: boolean
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
    PricingCategoryElementModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            pricingCategory:
              $ref: '#/components/schemas/PricingCategoryModel'
            factor:
              type: number
              format: double
    PricingCategoryModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        creditCode:
          type: string
        debitCode:
          type: string
        defaultValue:
          type: number
          format: double
        enabled:
          type: boolean
        tripRevenue:
          type: boolean
    PricingElement:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        sequenceNr:
          type: integer
          format: int32
        quantity:
          type: integer
          format: int32
        name:
          type: string
        description:
          type: string
        category:
          $ref: '#/components/schemas/PricingCategory'
        business:
          type: object
          description: circular reference
        amount:
          $ref: '#/components/schemas/Money'
        subTotal:
          $ref: '#/components/schemas/Money'
        tax:
          $ref: '#/components/schemas/Money'
        total:
          $ref: '#/components/schemas/Money'
    PricingElementModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        sequenceNr:
          type: integer
          format: int32
        quantity:
          type: integer
          format: int32
        name:
          type: string
        description:
          type: string
        category:
          $ref: '#/components/schemas/PricingCategoryModel'
        business:
          type: object
          description: circular reference
        amount:
          $ref: '#/components/schemas/MoneyModel'
        subTotal:
          $ref: '#/components/schemas/MoneyModel'
        tax:
          $ref: '#/components/schemas/MoneyModel'
        total:
          $ref: '#/components/schemas/MoneyModel'
    PricingExcelModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
            document:
              $ref: '#/components/schemas/DocumentModel'
            cellsValue:
              type: array
              items:
                $ref: '#/components/schemas/PairStringString'
            resultCell:
              type: string
            factor:
              type: number
              format: double
    PricingFieldModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
            selector:
              type: string
            factor:
              type: number
              format: double
            amount:
              type: number
              format: double
    PricingFixedModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
            amount:
              type: number
              format: double
    PricingFormulaModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
            formula:
              type: string
    PricingHighestModuleValueModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
    PricingLowestModuleValueModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
    PricingModule:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - fixed
            - percentage
            - time
            - table
            - zone
            - ab
            - unit
            - element
            - variable_adjustment
            - formula
            - tql_formula
            - excel
            - field
            - modules
            - highest_module_value
            - lowest_module_value
            - subscription
        name:
          type: string
        sequenceNr:
          type: integer
          format: int32
        description:
          type: string
        category:
          $ref: '#/components/schemas/PricingCategory'
        taxRates:
          type: array
          items:
            $ref: '#/components/schemas/PricingTaxRate'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleFilter'
        oncePerInvoice:
          type: boolean
      discriminator:
        propertyName: type
    PricingModuleFilter:
      type: object
      properties:
        selector:
          type: string
        comparisonType:
          type: string
          enum:
            - equal
            - not_equal
            - greater_than
            - greater_or_equal_than
            - lesser_than
            - lesser_or_equal_than
            - between
            - in
            - not_in
            - contains
            - starts_with
            - ends_with
            - is_blank
            - is_not_blank
        value:
          type: string
        linkType:
          type: string
          enum:
            - and
            - or
        filters:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationFilter'
        sequenceNr:
          type: integer
          format: int32
        valueSelector:
          type: string
    PricingModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - fixed
            - percentage
            - time
            - table
            - zone
            - ab
            - unit
            - element
            - variable_adjustment
            - formula
            - tql_formula
            - excel
            - field
            - modules
            - highest_module_value
            - lowest_module_value
            - subscription
        name:
          type: string
        sequenceNr:
          type: integer
          format: int32
        description:
          type: string
        category:
          $ref: '#/components/schemas/PricingCategoryModel'
        taxRates:
          type: array
          items:
            $ref: '#/components/schemas/PricingTaxRateModel'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleFilter'
        oncePerInvoice:
          type: boolean
      discriminator:
        propertyName: type
        mapping:
          fixed: '#/components/schemas/PricingFixedModuleModel'
          time: '#/components/schemas/PricingTimeModuleModel'
          unit: '#/components/schemas/PricingUnitModuleModel'
          table: '#/components/schemas/PricingTableModuleModel'
          percentage: '#/components/schemas/PricingPercentageModuleModel'
          ab: '#/components/schemas/PricingABModuleModel'
          element: '#/components/schemas/PricingCategoryElementModuleModel'
          excel: '#/components/schemas/PricingExcelModuleModel'
          variable_adjustment: '#/components/schemas/PricingVariableAdjustmentModuleModel'
          tql: '#/components/schemas/PricingTQLModuleModel'
          formula: '#/components/schemas/PricingFormulaModuleModel'
          zone: '#/components/schemas/PricingZonesModuleModel'
          field: '#/components/schemas/PricingFieldModuleModel'
          modules: '#/components/schemas/PricingModulesModuleModel'
          highest_module_value: '#/components/schemas/PricingHighestModuleValueModuleModel'
          lowest_module_value: '#/components/schemas/PricingLowestModuleValueModuleModel'
          subscription: '#/components/schemas/PricingSubscriptionModuleModel'
      oneOf:
        - $ref: '#/components/schemas/PricingFixedModuleModel'
        - $ref: '#/components/schemas/PricingTimeModuleModel'
        - $ref: '#/components/schemas/PricingUnitModuleModel'
        - $ref: '#/components/schemas/PricingTableModuleModel'
        - $ref: '#/components/schemas/PricingPercentageModuleModel'
        - $ref: '#/components/schemas/PricingABModuleModel'
        - $ref: '#/components/schemas/PricingCategoryElementModuleModel'
        - $ref: '#/components/schemas/PricingExcelModuleModel'
        - $ref: '#/components/schemas/PricingVariableAdjustmentModuleModel'
        - $ref: '#/components/schemas/PricingTQLModuleModel'
        - $ref: '#/components/schemas/PricingFormulaModuleModel'
        - $ref: '#/components/schemas/PricingZonesModuleModel'
        - $ref: '#/components/schemas/PricingFieldModuleModel'
        - $ref: '#/components/schemas/PricingModulesModuleModel'
        - $ref: '#/components/schemas/PricingHighestModuleValueModuleModel'
        - $ref: '#/components/schemas/PricingLowestModuleValueModuleModel'
        - $ref: '#/components/schemas/PricingSubscriptionModuleModel'
    PricingModulesModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
    PricingPercentageModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            startValue:
              $ref: '#/components/schemas/PricingStartValue'
            percentage:
              type: number
              format: double
    PricingStartValue:
      type: object
      properties:
        type:
          type: string
          enum:
            - context_value
            - previous_amount
        factor:
          type: number
          format: double
        selector:
          type: string
    PricingSubscriptionModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
            billingPeriod:
              type: string
              enum:
                - weekly
                - monthly
                - quarterly
                - yearly
            allocationStrategy:
              type: string
              enum:
                - full_charge
                - split_by_trips
                - split_by_hours_worked
                - split_by_km_driven
            amount:
              type: number
              format: double
            proRataEnabled:
              type: boolean
            startDateSelector:
              type: string
            endDateSelector:
              type: string
    PricingTQLModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
            query:
              $ref: '#/components/schemas/QueryModel'
    PricingTableModuleCell:
      type: object
      properties:
        order:
          type: integer
          format: int32
        value:
          type: number
          format: double
        location:
          $ref: '#/components/schemas/Location'
    PricingTableModuleColumns:
      type: object
      properties:
        order:
          type: integer
          format: int32
        cells:
          type: array
          items:
            $ref: '#/components/schemas/PricingTableModuleCell'
    PricingTableModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            from:
              type: object
              description: circular reference
            columnUnit:
              type: string
              enum:
                - location
                - km
                - mi
                - per_second
                - per_minute
                - per_hour
                - per_day
                - per_week
                - per_month
                - per_year
                - load_meter
                - kg
                - transport_equipment
                - consignment
                - action
                - goods
                - item
            cellUnit:
              type: string
              enum:
                - location
                - km
                - mi
                - per_second
                - per_minute
                - per_hour
                - per_day
                - per_week
                - per_month
                - per_year
                - load_meter
                - kg
                - transport_equipment
                - consignment
                - action
                - goods
                - item
            columns:
              type: array
              items:
                $ref: '#/components/schemas/PricingTableModuleColumns'
    PricingTaxRate:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        sequenceNr:
          type: integer
          format: int32
        name:
          type: string
        description:
          type: string
        taxRate:
          $ref: '#/components/schemas/TaxRate'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleFilter'
    PricingTaxRateModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        sequenceNr:
          type: integer
          format: int32
        name:
          type: string
        description:
          type: string
        taxRate:
          $ref: '#/components/schemas/TaxRateModel'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleFilter'
    PricingTimeModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            timeEntityLevel:
              type: string
              enum:
                - trip
                - action
            timeUnit:
              type: string
              description: The time unit (minute, hour, day, week, month, year)
              enum:
                - minutes
                - hours
                - days
                - weeks
                - months
                - years
            timeUnitAmount:
              type: integer
              description: The amount of the time units (1 day, 3 hours, 100 seconds, etc.)
              format: int32
            amount:
              type: number
              format: double
    PricingUnitModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            unit:
              type: string
              enum:
                - location
                - km
                - mi
                - per_second
                - per_minute
                - per_hour
                - per_day
                - per_week
                - per_month
                - per_year
                - load_meter
                - kg
                - transport_equipment
                - consignment
                - action
                - goods
                - item
            amount:
              type: number
              format: double
    PricingVariableAdjustmentModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            startValue:
              $ref: '#/components/schemas/PricingStartValue'
            targetEntityType:
              type: string
              enum:
                - fleetVehicle
                - vehicle
                - trip
                - transportOrder
                - consignment
                - accumulatedData
                - chauffeur
                - transportEquipment
            pricingVariableIndex:
              $ref: '#/components/schemas/PricingVariableIndexModel'
            baseLevel:
              type: number
              format: double
            perDifferenceType:
              type: string
              enum:
                - fixed
                - percentage
            perDifference:
              type: number
              format: double
            changeType:
              type: string
              enum:
                - fixed
                - percentage
            change:
              type: number
              format: double
    PricingVariableIndexModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        platforms:
          type: array
          items:
            type: object
            description: circular reference
        name:
          type: string
        variableName:
          type: string
        category:
          $ref: '#/components/schemas/PricingCategoryModel'
        value:
          type: number
          format: double
        timeRelated:
          type: boolean
    PricingZonesModuleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            granularity:
              type: string
              enum:
                - country
                - city
                - postal_code
                - street
                - exact
            movementLevel:
              type: string
              enum:
                - moveAction
                - consignment
            from:
              type: object
              description: circular reference
            postalCodeRanges:
              type: array
              items:
                $ref: '#/components/schemas/PostalCodeRange'
            amount:
              type: number
              format: double
    PublisherModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        logo:
          $ref: '#/components/schemas/FileModel'
        name:
          type: string
        description:
          type: string
        users:
          type: array
          items:
            $ref: '#/components/schemas/UserModel'
    Query:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        fields:
          type: array
          items:
            $ref: '#/components/schemas/Field'
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        joins:
          type: array
          items:
            $ref: '#/components/schemas/Join'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/Filter'
        groupBy:
          type: array
          items:
            $ref: '#/components/schemas/Field'
        having:
          $ref: '#/components/schemas/Field'
        sortFields:
          type: array
          items:
            $ref: '#/components/schemas/Field'
        sortDirection:
          type: string
          enum:
            - asc
            - desc
        limit:
          type: integer
          format: int32
        offset:
          type: integer
          format: int32
    QueryModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        fields:
          type: array
          items:
            $ref: '#/components/schemas/Field'
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        joins:
          type: array
          items:
            $ref: '#/components/schemas/Join'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/FilterModel'
        groupBy:
          type: array
          items:
            $ref: '#/components/schemas/Field'
        having:
          $ref: '#/components/schemas/Field'
        sortFields:
          type: array
          items:
            $ref: '#/components/schemas/Field'
        sortDirection:
          type: string
          enum:
            - asc
            - desc
        limit:
          type: integer
          format: int32
        offset:
          type: integer
          format: int32
    QuestionAnswerMessageAutomation:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            question:
              type: string
    QuestionAnswerMessageAutomationModel:
      required:
        - description
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            question:
              type: string
    QuestionCondition:
      type: object
      properties:
        questionId:
          type: string
        operator:
          type: string
          enum:
            - equals
            - notEquals
            - contains
            - greaterThan
            - lessThan
            - isEmpty
            - isNotEmpty
        value:
          type: string
    QuestionOption:
      type: object
      properties:
        value:
          type: string
        label:
          type: string
        setsResultStatus:
          type: string
          enum:
            - succeeded
            - failed
            - partiallySucceeded
            - cancelled
        setsResultReason:
          type: string
        nextQuestionId:
          type: string
    Quote:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        hasAgreedToPrice:
          type: boolean
        administration:
          type: object
          description: circular reference
        year:
          type: integer
          format: int32
          readOnly: true
        number:
          type: integer
          format: int32
          readOnly: true
        status:
          type: string
          enum:
            - concept
            - open
            - accepted
            - declined
            - invoiced
            - cancelled
        direction:
          type: string
          enum:
            - in
            - out
        currency:
          $ref: '#/components/schemas/Currency'
        declinedReason:
          type: string
        lines:
          type: array
          items:
            $ref: '#/components/schemas/QuoteLine'
        subjectBusiness:
          type: object
          description: circular reference
        targetBusiness:
          type: object
          description: circular reference
        contactPerson:
          $ref: '#/components/schemas/ContactPerson'
        creator:
          type: object
          description: circular reference
        subTotal:
          $ref: '#/components/schemas/Money'
        tax:
          $ref: '#/components/schemas/Money'
        total:
          $ref: '#/components/schemas/Money'
        transportOrder:
          $ref: '#/components/schemas/TransportOrder'
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/Invoice'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        shareSettings:
          $ref: '#/components/schemas/ShareSettings'
        name:
          type: string
        description:
          type: string
        date:
          type: string
          format: date-time
          readOnly: true
        dueAt:
          type: string
          format: date-time
    QuoteLine:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        sequenceNr:
          type: integer
          format: int32
        optional:
          type: boolean
        quantity:
          type: number
          format: double
        description:
          type: string
        startDateTime:
          type: string
          format: date-time
        endDateTime:
          type: string
          format: date-time
        value:
          $ref: '#/components/schemas/Money'
        subTotal:
          $ref: '#/components/schemas/Money'
        tax:
          $ref: '#/components/schemas/Money'
        total:
          $ref: '#/components/schemas/Money'
        pricingCategory:
          $ref: '#/components/schemas/PricingCategory'
        entityId:
          type: string
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
    QuoteLineModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        sequenceNr:
          type: integer
          format: int32
        optional:
          type: boolean
        quantity:
          type: number
          format: double
        description:
          type: string
        startDateTime:
          type: string
          format: date-time
        endDateTime:
          type: string
          format: date-time
        value:
          $ref: '#/components/schemas/MoneyModel'
        subTotal:
          $ref: '#/components/schemas/MoneyModel'
        tax:
          $ref: '#/components/schemas/MoneyModel'
        total:
          $ref: '#/components/schemas/MoneyModel'
        plan:
          $ref: '#/components/schemas/PlanModel'
        subscription:
          $ref: '#/components/schemas/SubscriptionModel'
        pricingCategory:
          $ref: '#/components/schemas/PricingCategoryModel'
        entityId:
          type: string
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
    QuoteModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        year:
          type: integer
          format: int32
        number:
          type: integer
          format: int32
        name:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - concept
            - open
            - accepted
            - declined
            - invoiced
            - cancelled
        direction:
          type: string
          enum:
            - in
            - out
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        declinedReason:
          type: string
        lines:
          type: array
          items:
            $ref: '#/components/schemas/QuoteLineModel'
        subjectBusiness:
          type: object
          description: circular reference
        targetBusiness:
          type: object
          description: circular reference
        contactPerson:
          $ref: '#/components/schemas/ContactPersonModel'
        creator:
          type: object
          description: circular reference
        date:
          type: string
          format: date-time
          readOnly: true
        dueAt:
          type: string
          format: date-time
        subTotal:
          $ref: '#/components/schemas/MoneyModel'
        tax:
          $ref: '#/components/schemas/MoneyModel'
        total:
          $ref: '#/components/schemas/MoneyModel'
        transportOrder:
          type: object
          description: circular reference
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        shareSettings:
          $ref: '#/components/schemas/ShareSettings'
    RefuelAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
    RefuelActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
    RemainingDrivingTimes:
      type: object
      properties:
        daysOfReducedRest:
          $ref: '#/components/schemas/TimeBreakDown'
        dailyAmplitude:
          $ref: '#/components/schemas/TimeBreakDown'
        drivingTimeBelowMaximum:
          $ref: '#/components/schemas/TimeBreakDown'
        dailyDrivingTime:
          $ref: '#/components/schemas/TimeBreakDown'
        daysOfDrivingLongerThan9h:
          $ref: '#/components/schemas/TimeBreakDown'
        weeklyDrivingTime:
          $ref: '#/components/schemas/TimeBreakDown'
        BIWeeklyDrivingTime:
          $ref: '#/components/schemas/TimeBreakDown'
        daysOfConsecutiveDriving:
          $ref: '#/components/schemas/TimeBreakDown'
    RemainingRestingTimes:
      type: object
      properties:
        workWeek:
          $ref: '#/components/schemas/TimeBreakDown'
        workWeekEndWithoutCompensation:
          type: string
          format: date-time
        nextMinimumWeeklyRestWithoutCompensation:
          type: integer
          format: int32
        breakBelowMinimum:
          $ref: '#/components/schemas/TimeBreakDown'
        dailyRest:
          $ref: '#/components/schemas/TimeBreakDown'
        previousDailyRest:
          $ref: '#/components/schemas/TimeBreakDown'
    ResultAttachment:
      type: object
      properties:
        questionId:
          type: string
        type:
          type: string
          enum:
            - photo
            - signature
            - document
        documentId:
          type: string
        dataUrl:
          type: string
    ResultMapping:
      type: object
      properties:
        conditions:
          type: array
          items:
            $ref: '#/components/schemas/MappingCondition'
        resultStatus:
          type: string
          enum:
            - succeeded
            - failed
            - partiallySucceeded
            - cancelled
        resultReason:
          type: string
    ResultQuestion:
      type: object
      properties:
        id:
          type: string
        label:
          type: string
        type:
          type: string
          enum:
            - text
            - select
            - multiSelect
            - date
            - datetime
            - number
            - boolean
            - signature
            - photo
        required:
          type: boolean
        options:
          type: array
          items:
            $ref: '#/components/schemas/QuestionOption'
        condition:
          $ref: '#/components/schemas/QuestionCondition'
        fieldMapping:
          $ref: '#/components/schemas/FieldMapping'
        order:
          type: integer
          format: int32
    RoadBooking:
      required:
        - id
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            crm:
              $ref: '#/components/schemas/Document'
    RoadBookingModel:
      required:
        - id
        - primaryPlatformId
        - type
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            crm:
              $ref: '#/components/schemas/DocumentModel'
    Route:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        time:
          type: integer
          format: int32
        cost:
          type: integer
          format: int32
        distance:
          type: integer
          format: int32
        expenses:
          type: array
          items:
            $ref: '#/components/schemas/PricingElement'
        additionalInfo:
          type: object
          additionalProperties:
            type: object
        lineString:
          type: string
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Actor'
        actions:
          type: array
          items:
            type: object
            description: circular reference
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        name:
          type: string
        constraints:
          type: array
          items:
            type: object
            description: circular reference
    RouteConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            route:
              $ref: '#/components/schemas/Route'
    RouteConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            route:
              $ref: '#/components/schemas/RouteModel'
    RouteModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        time:
          type: integer
          format: int32
        cost:
          type: integer
          format: int32
        distance:
          type: integer
          format: int32
        expenses:
          type: array
          items:
            $ref: '#/components/schemas/PricingElement'
        additionalInfo:
          type: object
          additionalProperties:
            type: object
        lineString:
          type: string
        actors:
          type: array
          items:
            $ref: '#/components/schemas/ActorModel'
        actions:
          type: array
          items:
            type: object
            description: circular reference
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintAssociation'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    SMTPModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        host:
          type: string
        port:
          type: string
        username:
          type: string
        password:
          type: string
        useOAuth:
          type: boolean
        tenantId:
          type: string
        clientId:
          type: string
        clientSecret:
          type: string
        oauthScopes:
          type: string
    Schedule:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        description:
          type: string
        weekDays:
          type: array
          items:
            type: string
            enum:
              - sunday
              - monday
              - tuesday
              - wednesday
              - thursday
              - friday
              - saturday
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        timeSlotTemplates:
          type: array
          items:
            $ref: '#/components/schemas/TimeSlot'
        timeSlots:
          type: array
          items:
            $ref: '#/components/schemas/GeneratedTimeSlot'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
    ScheduleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        platforms:
          type: array
          items:
            type: object
            description: circular reference
        name:
          type: string
        description:
          type: string
        weekDays:
          type: array
          items:
            type: string
            enum:
              - sunday
              - monday
              - tuesday
              - wednesday
              - thursday
              - friday
              - saturday
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        timeSlotTemplates:
          type: array
          items:
            $ref: '#/components/schemas/TimeSlotModel'
        timeSlots:
          type: array
          items:
            $ref: '#/components/schemas/GeneratedTimeSlotModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    SeaPassages:
      type: object
      properties:
        allowSuez:
          type: boolean
        allowPanama:
          type: boolean
        allowMalacca:
          type: boolean
        allowGibraltar:
          type: boolean
        allowDover:
          type: boolean
        allowBering:
          type: boolean
        allowMagellan:
          type: boolean
        allowBabelmandeb:
          type: boolean
        allowKiel:
          type: boolean
        allowCorinth:
          type: boolean
        allowNorthwest:
          type: boolean
        allowNortheast:
          type: boolean
    Sensor:
      required:
        - id
        - name
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        lastValueEvent:
          $ref: '#/components/schemas/SensorUpdateEvent'
        name:
          type: string
          description: Name of the Sensor, for display and search purposes only.
        placement:
          type: string
          description: >-
            Sometimes more than one sensor can be associated with a single
            entity. This is the case e.g. in cooled trailers that are divided
            into compartments with different temperatures, where each
            compartment has its own sensor. The placement member can be used to
            identify where a sensor is placed. Parties using OpenTripModel to
            exchange sensor data may wish to agree on a standardized naming, but
            this is too specific to describe in the standard.
        type:
          type: string
          description: Type of the sensor, e.g. temperature, speed, etc.
          example: temperature
        constraints:
          type: array
          items:
            type: object
            description: circular reference
    SensorModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        platforms:
          type: array
          items:
            type: object
            description: circular reference
        name:
          type: string
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        placement:
          type: string
          description: >-
            Sometimes more than one sensor can be associated with a single
            entity. This is the case e.g. in cooled trailers that are divided
            into compartments with different temperatures, where each
            compartment has its own sensor. The placement member can be used to
            identify where a sensor is placed. Parties using OpenTripModel to
            exchange sensor data may wish to agree on a standardized naming, but
            this is too specific to describe in the standard.
        type:
          type: string
          description: Type of the sensor, e.g. temperature, speed, etc.
          example: temperature
        constraints:
          type: array
          items:
            type: object
            description: circular reference
        lastValueEvent:
          $ref: '#/components/schemas/SensorUpdateEventModel'
    SensorUpdateEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            sensor:
              type: object
              description: circular reference
            value:
              $ref: '#/components/schemas/ValueWithUnit'
    SensorUpdateEventModel:
      required:
        - id
        - primaryPlatformId
        - uuid
        - value
      type: object
      allOf:
        - $ref: '#/components/schemas/EventModel'
        - type: object
          properties:
            sensor:
              type: object
              description: circular reference
            value:
              $ref: '#/components/schemas/ValueWithUnit'
    SensorValueConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            sensor:
              $ref: '#/components/schemas/Sensor'
            sensorValueConstraintType:
              type: string
              enum:
                - minimum
                - maximum
                - range
            maximum:
              $ref: '#/components/schemas/ValueWithUnit'
            minimum:
              $ref: '#/components/schemas/ValueWithUnit'
    SensorValueConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            sensor:
              $ref: '#/components/schemas/SensorModel'
            sensorValueConstraintType:
              type: string
              enum:
                - minimum
                - maximum
                - range
            maximum:
              $ref: '#/components/schemas/ValueWithUnit'
            minimum:
              $ref: '#/components/schemas/ValueWithUnit'
    SepaCreditTransfer:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        bank_name:
          type: string
        bic:
          type: string
        iban:
          type: string
        refund_account_holder_address_city:
          type: string
        refund_account_holder_address_country:
          type: string
        refund_account_holder_address_line1:
          type: string
        refund_account_holder_address_line2:
          type: string
        refund_account_holder_address_postal_code:
          type: string
        refund_account_holder_address_state:
          type: string
        refund_account_holder_name:
          type: string
        refund_iban:
          type: string
    SepaCreditTransferModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        bankName:
          type: string
        bic:
          type: string
        iban:
          type: string
        refundAccountHolderAddressCity:
          type: string
        refundAccountHolderAddressCountry:
          type: string
        refundAccountHolderAddressLine1:
          type: string
        refundAccountHolderAddressLine2:
          type: string
        refundAccountHolderAddressPostalCode:
          type: string
        refundAccountHolderAddressState:
          type: string
        refundAccountHolderName:
          type: string
        refundIban:
          type: string
    SepaDebit:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        bank_code:
          type: string
        branch_code:
          type: string
        country:
          type: string
        fingerprint:
          type: string
        last4:
          type: string
        mandate_reference:
          type: string
        mandate_url:
          type: string
    SepaDebitModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        bankCode:
          type: string
        branchCode:
          type: string
        country:
          type: string
        fingerprint:
          type: string
        last4:
          type: string
        mandateReference:
          type: string
        mandateUrl:
          type: string
    ShareSettings:
      type: object
      properties:
        isOpen:
          type: boolean
        shareCode:
          type: string
        validUntil:
          type: string
          format: date-time
    ShipmentLine:
      type: object
      properties:
        scacCode:
          type: string
        smdgCode:
          type: string
    Signature:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        ip:
          type: string
        userAgent:
          type: string
        date:
          type: string
          format: date-time
        file:
          $ref: '#/components/schemas/File'
    SignatureModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        ip:
          type: string
        userAgent:
          type: string
        date:
          type: string
          format: date-time
        file:
          $ref: '#/components/schemas/FileModel'
    SizeConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            unit:
              type: string
            bounds:
              type: string
              enum:
                - minimum
                - maximum
                - range
            maximum:
              $ref: '#/components/schemas/ValueWithUnit'
            minimum:
              $ref: '#/components/schemas/ValueWithUnit'
    SizeConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            unit:
              type: string
            bounds:
              type: string
              enum:
                - minimum
                - maximum
                - range
            maximum:
              $ref: '#/components/schemas/ValueWithUnit'
            minimum:
              $ref: '#/components/schemas/ValueWithUnit'
    SmtpCredentials:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        host:
          type: string
        port:
          type: string
        username:
          type: string
        password:
          type: string
    Sofort:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        bank_code:
          type: string
        bank_name:
          type: string
        bic:
          type: string
        country:
          type: string
        iban_last4:
          type: string
        preferred_language:
          type: string
        statement_descriptor:
          type: string
    SofortModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        bankCode:
          type: string
        bankName:
          type: string
        bic:
          type: string
        country:
          type: string
        ibanLast4:
          type: string
        preferredLanguage:
          type: string
        statementDescriptor:
          type: string
    Source:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        amount:
          type: integer
          format: int64
        type:
          type: string
          enum:
            - ach_credit_transfer
            - ach_debit
            - alipay
            - bancontact
            - card
            - card_present
            - eps
            - giropay
            - ideal
            - multibanco
            - klarna
            - p24
            - sepa_debit
            - sofort
            - three_d_secure
            - wechat
        clientSecret:
          type: string
        codeVerification:
          type: string
        achCreditTransfer:
          $ref: '#/components/schemas/AchCreditTransfer'
        achDebit:
          $ref: '#/components/schemas/AchDebit'
        acssDebit:
          $ref: '#/components/schemas/AcssDebit'
        alipay:
          $ref: '#/components/schemas/Alipay'
        auBecsDebit:
          $ref: '#/components/schemas/AuBecsDebit'
        bancontact:
          $ref: '#/components/schemas/Bancontact'
        card:
          $ref: '#/components/schemas/Card'
        cardPresent:
          $ref: '#/components/schemas/CardPresent'
        eps:
          $ref: '#/components/schemas/Eps'
        ideal:
          $ref: '#/components/schemas/Ideal'
        klarna:
          $ref: '#/components/schemas/Klarna'
        multibanco:
          $ref: '#/components/schemas/Multibanco'
        p24:
          $ref: '#/components/schemas/P24'
        sepaCreditTransfer:
          $ref: '#/components/schemas/SepaCreditTransfer'
        sepaDebit:
          $ref: '#/components/schemas/SepaDebit'
        sofort:
          $ref: '#/components/schemas/Sofort'
        threeDSecure:
          $ref: '#/components/schemas/ThreeDSecure'
        wechat:
          $ref: '#/components/schemas/Wechat'
    SourceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        amount:
          type: integer
          format: int64
        type:
          type: string
          enum:
            - ach_credit_transfer
            - ach_debit
            - alipay
            - bancontact
            - card
            - card_present
            - eps
            - giropay
            - ideal
            - multibanco
            - klarna
            - p24
            - sepa_debit
            - sofort
            - three_d_secure
            - wechat
        clientSecret:
          type: string
        codeVerification:
          type: string
        achCreditTransfer:
          $ref: '#/components/schemas/AchCreditTransferModel'
        achDebit:
          $ref: '#/components/schemas/AchDebitModel'
        acssDebit:
          $ref: '#/components/schemas/AcssDebitModel'
        alipay:
          $ref: '#/components/schemas/AlipayModel'
        auBecsDebit:
          $ref: '#/components/schemas/AuBecsDebitModel'
        bancontact:
          $ref: '#/components/schemas/BancontactModel'
        card:
          $ref: '#/components/schemas/CardModel'
        cardPresent:
          $ref: '#/components/schemas/CardPresentModel'
        eps:
          $ref: '#/components/schemas/EpsModel'
        ideal:
          $ref: '#/components/schemas/IdealModel'
        klarna:
          $ref: '#/components/schemas/KlarnaModel'
        multibanco:
          $ref: '#/components/schemas/MultibancoModel'
        p24:
          $ref: '#/components/schemas/P24Model'
        sepaCreditTransfer:
          $ref: '#/components/schemas/SepaCreditTransferModel'
        sepaDebit:
          $ref: '#/components/schemas/SepaDebitModel'
        sofort:
          $ref: '#/components/schemas/SofortModel'
        threeDSecure:
          $ref: '#/components/schemas/ThreeDSecureModel'
        wechat:
          $ref: '#/components/schemas/WechatModel'
    Space3D:
      type: object
      properties:
        type:
          type: string
          enum:
            - OBJECT_3D
            - SPACE_3D
        idInstancePair:
          $ref: '#/components/schemas/PairStringInteger'
        description:
          type: string
        dx:
          type: number
          format: double
        dy:
          type: number
          format: double
        dz:
          type: number
          format: double
        stackable:
          type: boolean
        rotatable:
          type: boolean
        priority:
          type: integer
          format: int32
        rotated:
          type: boolean
        loadDx:
          type: number
          format: double
        loadDy:
          type: number
          format: double
        loadDz:
          type: number
          format: double
        excludedObject3DIDs:
          type: array
          items:
            type: string
        order:
          type: integer
          format: int32
        placements:
          type: array
          items:
            $ref: '#/components/schemas/Placement'
        spaceFillRatio:
          type: number
          format: double
    Spatial3D:
      type: object
      properties:
        type:
          type: string
          enum:
            - OBJECT_3D
            - SPACE_3D
        idInstancePair:
          $ref: '#/components/schemas/PairStringInteger'
        description:
          type: string
        dx:
          type: number
          format: double
        dy:
          type: number
          format: double
        dz:
          type: number
          format: double
        stackable:
          type: boolean
        rotatable:
          type: boolean
        priority:
          type: integer
          format: int32
        rotated:
          type: boolean
    SpeedConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            speedConstraintType:
              type: string
              enum:
                - minimum
                - maximum
                - range
            maximum:
              $ref: '#/components/schemas/ValueWithUnit'
            minimum:
              $ref: '#/components/schemas/ValueWithUnit'
    SpeedConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            speedConstraintType:
              type: string
              enum:
                - minimum
                - maximum
                - range
            maximum:
              $ref: '#/components/schemas/ValueWithUnit'
            minimum:
              $ref: '#/components/schemas/ValueWithUnit'
    StackCapacity:
      type: object
      properties:
        order:
          type: integer
          format: int32
        spatialUnitScale:
          $ref: '#/components/schemas/ValueWithUnit'
        usable:
          type: boolean
        lengthDX:
          type: number
          format: double
        widthDY:
          type: number
          format: double
        heightDZ:
          type: number
          format: double
        stackCapacityMetrics:
          $ref: '#/components/schemas/StackCapacityMetrics'
        stackSpace:
          $ref: '#/components/schemas/Space3D'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
    StackCapacityMetrics:
      type: object
      properties:
        availableGroundSpace:
          $ref: '#/components/schemas/ValueWithUnit'
        availableVolume:
          $ref: '#/components/schemas/ValueWithUnit'
        availableWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        availableLoadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
    StackMap:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        stackSnapshots:
          type: array
          items:
            $ref: '#/components/schemas/StackSnapshot'
    StackMapModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        stackSnapshots:
          type: array
          items:
            $ref: '#/components/schemas/StackSnapshotModel'
    StackObjectMetrics:
      type: object
      properties:
        totalMinimumGroundSpace:
          $ref: '#/components/schemas/ValueWithUnit'
        totalVolume:
          $ref: '#/components/schemas/ValueWithUnit'
        totalWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        totalMinimumLoadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
    StackPointer:
      type: object
      properties:
        x:
          type: integer
          format: int32
        'y':
          type: integer
          format: int32
        z:
          type: integer
          format: int32
    StackSnapshot:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        stopAction:
          $ref: '#/components/schemas/StopAction'
        availableCapacitors:
          type: array
          items:
            $ref: '#/components/schemas/StackableCapacity'
        stackedOccupants:
          type: array
          items:
            $ref: '#/components/schemas/StackableObject'
        unstackedOccupants:
          type: array
          items:
            $ref: '#/components/schemas/StackableObject'
        capacitorsStackPlan:
          type: array
          items:
            $ref: '#/components/schemas/CapacitorStackPlan'
    StackSnapshotModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        availableCapacitors:
          type: array
          items:
            $ref: '#/components/schemas/StackableCapacity'
        stackedOccupants:
          type: array
          items:
            $ref: '#/components/schemas/StackableObject'
        unstackedOccupants:
          type: array
          items:
            $ref: '#/components/schemas/StackableObject'
        capacitorsStackPlan:
          type: array
          items:
            $ref: '#/components/schemas/CapacitorStackPlan'
        stopAction:
          $ref: '#/components/schemas/StopActionModel'
    StackableCapacity:
      type: object
      properties:
        type:
          type: string
          enum:
            - vehicle
            - transportEquipment
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLength:
          $ref: '#/components/schemas/ValueWithUnit'
        loadWidth:
          $ref: '#/components/schemas/ValueWithUnit'
        loadHeight:
          $ref: '#/components/schemas/ValueWithUnit'
        referencedEntityID:
          type: string
        quantity:
          type: integer
          format: int32
        startingInstanceNo:
          type: integer
          format: int32
        excludedOccupantIDs:
          type: array
          items:
            type: string
        previousStackPlan:
          $ref: '#/components/schemas/CapacitorStackPlan'
      discriminator:
        propertyName: type
    StackableObject:
      type: object
      properties:
        type:
          type: string
          enum:
            - goods
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        maxStackableWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        referencedEntityID:
          type: string
        quantity:
          type: integer
          format: int32
        startingInstanceNo:
          type: integer
          format: int32
        specifiedCapacitorID:
          type: string
      discriminator:
        propertyName: type
    StartDateTimeConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            startDateTime:
              type: string
              format: date-time
    StartDateTimeConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            startDateTime:
              type: string
              format: date-time
    StartEngineEvent:
      required:
        - geoReference
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              $ref: '#/components/schemas/Vehicle'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    StartEngineEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              type: object
              description: circular reference
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    StartMovingEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              $ref: '#/components/schemas/Vehicle'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    StartMovingEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
        - vehicle
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              type: object
              description: circular reference
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    StartWaitingEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              $ref: '#/components/schemas/Vehicle'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    StartWaitingEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
        - vehicle
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              type: object
              description: circular reference
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    StopAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
            distanceToNextStop:
              type: integer
              format: int32
    StopActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
    StopEngineEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              $ref: '#/components/schemas/Vehicle'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    StopEngineEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
        - vehicle
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              type: object
              description: circular reference
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    StopMovingEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              $ref: '#/components/schemas/Vehicle'
            geoReference:
              $ref: '#/components/schemas/GeoReference'
    StopMovingEventModel:
      required:
        - geoReference
        - id
        - primaryPlatformId
        - uuid
        - vehicle
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicle:
              type: object
              description: circular reference
            geoReference:
              $ref: '#/components/schemas/GeoReferenceModel'
    SubscriptionModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        description:
          type: string
        plans:
          type: array
          items:
            $ref: '#/components/schemas/PlanModel'
    TaxRate:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        creditCode:
          type: string
        debitCode:
          type: string
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        name:
          type: string
        description:
          type: string
        jurisdiction:
          type: string
        percentage:
          type: number
          format: double
        inclusive:
          type: boolean
        active:
          type: boolean
    TaxRateModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        creditCode:
          type: string
        debitCode:
          type: string
        description:
          type: string
        jurisdiction:
          type: string
        percentage:
          type: number
          format: double
        inclusive:
          type: boolean
        active:
          type: boolean
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    Team:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        emailIntegration:
          type: object
          description: circular reference
        vehicleGroups:
          type: array
          items:
            $ref: '#/components/schemas/VehicleGroup'
        fleets:
          type: array
          items:
            $ref: '#/components/schemas/Fleet'
        features:
          type: array
          items:
            $ref: '#/components/schemas/PlatformFeature'
        managers:
          type: array
          items:
            type: object
            description: circular reference
        name:
          type: string
        transportOrderPrefix:
          type: string
        consignmentPrefix:
          type: string
        users:
          type: array
          items:
            type: object
            description: circular reference
    TeamModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        transportOrderPrefix:
          type: string
        consignmentPrefix:
          type: string
        users:
          type: array
          items:
            $ref: '#/components/schemas/UserModel'
        vehicleGroups:
          type: array
          items:
            $ref: '#/components/schemas/VehicleGroupModel'
        fleets:
          type: array
          items:
            $ref: '#/components/schemas/FleetModel'
    TelenormicCamera:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            url:
              type: string
            playbackUrl:
              type: string
            playbackUrlWs:
              type: string
            downTaskUrl:
              type: string
            downUrl:
              type: string
            clientIp:
              type: string
            clientIp2:
              type: string
            clientIp3:
              type: string
            clientPort:
              type: integer
              format: int32
            begin:
              type: integer
              format: int32
            end:
              type: integer
              format: int32
            length:
              type: integer
              format: int32
    TelenormicCameraModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            url:
              type: string
            playbackUrl:
              type: string
            playbackUrlWs:
              type: string
            downTaskUrl:
              type: string
            downUrl:
              type: string
            clientIp:
              type: string
            clientIp2:
              type: string
            clientIp3:
              type: string
            clientPort:
              type: integer
              format: int32
            begin:
              type: integer
              format: int32
            end:
              type: integer
              format: int32
            length:
              type: integer
              format: int32
    TenderBidModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        status:
          type: string
          enum:
            - concept
            - offered
            - declined
            - accepted
            - not_chosen
        business:
          $ref: '#/components/schemas/Business'
        user:
          $ref: '#/components/schemas/UserModel'
        broker:
          $ref: '#/components/schemas/TenderBrokerModel'
        bid:
          $ref: '#/components/schemas/MoneyModel'
        remark:
          type: string
        counterBid:
          type: object
          description: circular reference
    TenderBrokerModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        logo:
          $ref: '#/components/schemas/FileModel'
        name:
          type: string
        description:
          type: string
        business:
          $ref: '#/components/schemas/Business'
      readOnly: true
    TenderModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        description:
          type: string
        type:
          type: string
          enum:
            - one_time
            - reoccurring
        status:
          type: string
          enum:
            - concept
            - open
            - accepted
            - closed
        targetPrice:
          $ref: '#/components/schemas/MoneyModel'
        acceptAutomaticallyAtTargetPrice:
          type: boolean
        business:
          $ref: '#/components/schemas/Business'
        creator:
          $ref: '#/components/schemas/UserModel'
        brokers:
          type: array
          items:
            $ref: '#/components/schemas/TenderBrokerModel'
        contract:
          $ref: '#/components/schemas/ContractModel'
        consignment:
          $ref: '#/components/schemas/ConsignmentModel'
        mostRecentBid:
          $ref: '#/components/schemas/TenderBidModel'
        lowestAmountBid:
          $ref: '#/components/schemas/TenderBidModel'
        totalBidCount:
          type: integer
          format: int32
    TenderResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        tender:
          $ref: '#/components/schemas/TenderModel'
    Terminal:
      required:
        - id
        - name
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        integrationType:
          type: string
          enum:
            - portbase
            - psa
            - dpworld
        ean:
          type: string
        bicsCode:
          type: string
        quayName:
          type: string
        smdgCode:
          type: string
        locations:
          type: array
          items:
            type: object
            description: circular reference
        allowedModalities:
          type: array
          items:
            type: string
        terminalSettings:
          type: array
          items:
            $ref: '#/components/schemas/TerminalSetting'
        tarRequired:
          type: boolean
        roadLicenseIdRequired:
          type: boolean
    TerminalModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        integrationType:
          type: string
          enum:
            - portbase
            - psa
            - dpworld
        ean:
          type: string
        bicsCode:
          type: string
        quayName:
          type: string
        smdgCode:
          type: string
        locations:
          type: array
          items:
            type: object
            description: circular reference
        allowedModalities:
          type: array
          items:
            type: string
        terminalSettings:
          type: array
          items:
            $ref: '#/components/schemas/TerminalSettingModel'
        tarRequired:
          type: boolean
        roadLicenseIdRequired:
          type: boolean
    TerminalSetting:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        loading:
          type: boolean
        full:
          type: boolean
        modality:
          type: string
        sealNumberAllowed:
          type: boolean
        reeferAllowed:
          type: boolean
        grossWeightAllowed:
          type: boolean
        outOfGaugeAllowed:
          type: boolean
        dangerousGoodsAllowed:
          type: boolean
        cargoCutOffInMinutes:
          type: integer
          format: int32
    TerminalSettingModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        loading:
          type: boolean
        full:
          type: boolean
        modality:
          type: string
        sealNumberAllowed:
          type: boolean
        reeferAllowed:
          type: boolean
        grossWeightAllowed:
          type: boolean
        outOfGaugeAllowed:
          type: boolean
        dangerousGoodsAllowed:
          type: boolean
        cargoCutOffInMinutes:
          type: integer
          format: int32
    ThreeDSecure:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        address_line1_check:
          type: string
        address_zip_check:
          type: string
        authenticated:
          type: boolean
        brand:
          type: string
        card:
          type: string
        country:
          type: string
        customer:
          type: string
        cvc_check:
          type: string
        description:
          type: string
        dynamic_last4:
          type: string
        exp_month:
          type: integer
          format: int64
        exp_year:
          type: integer
          format: int64
        fingerprint:
          type: string
        funding:
          type: string
        iin:
          type: string
        issuer:
          type: string
        last4:
          type: string
        name:
          type: string
        three_d_secure:
          type: string
        tokenization_method:
          type: string
    ThreeDSecureModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        addressLine1Check:
          type: string
        addressZipCheck:
          type: string
        authenticated:
          type: boolean
        brand:
          type: string
        card:
          type: string
        country:
          type: string
        customer:
          type: string
        cvcCheck:
          type: string
        description:
          type: string
        dynamicLast4:
          type: string
        expMonth:
          type: integer
          format: int64
        expYear:
          type: integer
          format: int64
        fingerprint:
          type: string
        funding:
          type: string
        iin:
          type: string
        issuer:
          type: string
        last4:
          type: string
        name:
          type: string
        threeDSecure:
          type: string
        tokenizationMethod:
          type: string
    TimeBreakDown:
      type: object
      properties:
        total:
          type: integer
          format: int32
        maximum:
          type: integer
          format: int32
        minimum:
          type: integer
          format: int32
        remaining:
          type: integer
          format: int32
    TimeConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            startingTime:
              $ref: '#/components/schemas/LocalTime'
            endingTime:
              $ref: '#/components/schemas/LocalTime'
    TimeConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            startingTime:
              $ref: '#/components/schemas/LocalTime'
            endingTime:
              $ref: '#/components/schemas/LocalTime'
    TimeSlot:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        capacityUnits:
          type: integer
          format: int32
        weekDay:
          type: string
          enum:
            - sunday
            - monday
            - tuesday
            - wednesday
            - thursday
            - friday
            - saturday
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
    TimeSlotModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        platforms:
          type: array
          items:
            type: object
            description: circular reference
        capacityUnits:
          type: integer
          format: int32
        weekDay:
          type: string
          enum:
            - sunday
            - monday
            - tuesday
            - wednesday
            - thursday
            - friday
            - saturday
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
    TimeWindow:
      type: object
      properties:
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
      description: Time window for this slot (defines start and end times)
    TimeWindows:
      type: object
      properties:
        start:
          type: string
        end:
          type: string
        open:
          type: boolean
        day:
          type: string
          format: date
        name:
          type: string
        description:
          type: string
    TimeWindowsConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            startingDateTime:
              type: string
              format: date-time
            endingDateTime:
              type: string
              format: date-time
    TimeWindowsConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            startingDateTime:
              type: string
              format: date-time
            endingDateTime:
              type: string
              format: date-time
    TimeslotBooking:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        timeslot:
          $ref: '#/components/schemas/LocationTimeslot'
        action:
          type: object
          description: circular reference
        consignment:
          $ref: '#/components/schemas/Consignment'
        status:
          type: string
          enum:
            - REQUESTED
            - CONFIRMED
            - CANCELLED
            - COMPLETED
            - FAILED
        bookingDate:
          type: string
          format: date
        bookingStartTime:
          type: string
          format: date-time
        bookingEndTime:
          type: string
          format: date-time
        bookedBy:
          type: object
          description: circular reference
        bookedAt:
          type: string
          format: date-time
        confirmedAt:
          type: string
          format: date-time
        cancelledAt:
          type: string
          format: date-time
        cancellationReason:
          type: string
        referenceNumber:
          type: string
        notes:
          type: string
        actualArrivalTime:
          type: string
          format: date-time
        actualDepartureTime:
          type: string
          format: date-time
      description: Timeslot bookings associated with this action
    TmcArrayGeoReference:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            countryCode:
              type: string
            tableId:
              type: string
            tableVersionId:
              type: string
            points:
              type: array
              items:
                $ref: '#/components/schemas/TmcPoint'
            startOffset:
              type: integer
              format: int32
            endOffset:
              type: integer
              format: int32
    TmcArrayGeoReferenceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            countryCode:
              type: string
            tableId:
              type: string
            tableVersionId:
              type: string
            points:
              type: array
              items:
                $ref: '#/components/schemas/TmcPointModel'
            startOffset:
              type: integer
              format: int32
            endOffset:
              type: integer
              format: int32
    TmcLocationGeoReference:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            countryCode:
              type: string
            tableId:
              type: string
            tableVersionId:
              type: string
            locationCode:
              type: string
            direction:
              type: string
              enum:
                - positive
                - negative
            offset:
              type: integer
              format: int32
            speed:
              $ref: '#/components/schemas/ValueWithUnit'
            heading:
              $ref: '#/components/schemas/ValueWithUnit'
            bearing:
              $ref: '#/components/schemas/ValueWithUnit'
            bearingType:
              type: string
              enum:
                - absolute
                - relative
    TmcLocationGeoReferenceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            countryCode:
              type: string
            tableId:
              type: string
            tableVersionId:
              type: string
            locationCode:
              type: string
            direction:
              type: string
              enum:
                - positive
                - negative
            offset:
              type: integer
              format: int32
            speed:
              $ref: '#/components/schemas/ValueWithUnit'
            heading:
              $ref: '#/components/schemas/ValueWithUnit'
            bearing:
              $ref: '#/components/schemas/ValueWithUnit'
            bearingType:
              type: string
              enum:
                - absolute
                - relative
    TmcPoint:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - addressGeoReference
            - zoneGeoReference
            - tmcArrayGeoReference
            - tmcLocationGeoReference
            - openLRGeoReference
            - GeoReference
            - Feature
            - latLonArrayGeoReference
            - latLonPointGeoReference
        locationCode:
          type: string
        direction:
          type: string
          enum:
            - positive
            - negative
    TmcPointModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - addressGeoReference
            - zoneGeoReference
            - tmcArrayGeoReference
            - tmcLocationGeoReference
            - openLRGeoReference
            - GeoReference
            - Feature
            - latLonArrayGeoReference
            - latLonPointGeoReference
        locationCode:
          type: string
        direction:
          type: string
          enum:
            - positive
            - negative
    Transaction:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        administration:
          type: object
          description: circular reference
        name:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - SUCCESS
            - CANCELLED
        transferredFrom:
          type: string
        transferredTo:
          type: string
        creator:
          type: object
          description: circular reference
        fromUser:
          type: object
          description: circular reference
        fromBusiness:
          type: object
          description: circular reference
        toUser:
          type: object
          description: circular reference
        toBusiness:
          type: object
          description: circular reference
        amount:
          $ref: '#/components/schemas/Money'
        fee:
          $ref: '#/components/schemas/Money'
        net:
          $ref: '#/components/schemas/Money'
        parent:
          type: object
          description: circular reference
        source:
          $ref: '#/components/schemas/Source'
        type:
          type: string
          enum:
            - INTERNAL
            - EXTERNAL
            - WITHDRAW
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
    TransactionModel:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        name:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - SUCCESS
            - CANCELLED
        transferredFrom:
          type: string
        transferredTo:
          type: string
        creator:
          type: object
          description: circular reference
        fromUser:
          type: object
          description: circular reference
        fromBusiness:
          type: object
          description: circular reference
        toUser:
          type: object
          description: circular reference
        toBusiness:
          type: object
          description: circular reference
        amount:
          $ref: '#/components/schemas/MoneyModel'
        fee:
          $ref: '#/components/schemas/MoneyModel'
        net:
          $ref: '#/components/schemas/MoneyModel'
        parent:
          type: object
          description: circular reference
        source:
          $ref: '#/components/schemas/SourceModel'
        type:
          type: string
          enum:
            - INTERNAL
            - EXTERNAL
            - WITHDRAW
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    TransportEquipment:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - transportEquipment
            - items
        name:
          type: string
        description:
          type: string
        remark:
          type: string
        barCode:
          type: string
        quantity:
          type: integer
          format: int32
        weight:
          $ref: '#/components/schemas/ValueWithUnit'
        grossWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        maxStackableWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        loadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Document'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Actor'
        actions:
          type: array
          items:
            type: object
            description: circular reference
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        loadWidth:
          $ref: '#/components/schemas/ValueWithUnit'
        loadHeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLength:
          $ref: '#/components/schemas/ValueWithUnit'
        maxWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLoadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        equipmentType:
          type: string
          description: The type of equipment (Trailer/Chassis/Pallet/Box/etc.)
        equipmentSubType:
          type: string
          description: >-
            The subtype of equipment (EuroPallet/Dry van/Reefer
            Van/Lowbed/Backbone/Block pallet)
        licensePlate:
          type: string
        vin:
          type: string
        equipmentId:
          type: string
        seal:
          type: string
        requirementCodes:
          type: array
          items:
            type: string
        adr:
          $ref: '#/components/schemas/ADR'
        sensors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        boardComputers:
          type: array
          items:
            type: object
            description: circular reference
        business:
          type: object
          description: circular reference
        operational:
          type: boolean
        internal:
          type: boolean
        trip:
          $ref: '#/components/schemas/Trip'
        capacityContract:
          $ref: '#/components/schemas/CapacityContract'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/Attribute'
        axles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleAxle'
    TransportEquipmentModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - transportEquipment
            - items
        name:
          type: string
        description:
          type: string
        remark:
          type: string
        barCode:
          type: string
        quantity:
          type: integer
          format: int32
        weight:
          $ref: '#/components/schemas/ValueWithUnit'
        grossWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        maxStackableWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        loadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/ActorModel'
        actions:
          type: array
          items:
            type: object
            description: circular reference
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        stackObjectMetrics:
          $ref: '#/components/schemas/StackObjectMetrics'
        isStackObjectMetricsUpdated:
          type: boolean
        loadWidth:
          $ref: '#/components/schemas/ValueWithUnit'
        loadHeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLength:
          $ref: '#/components/schemas/ValueWithUnit'
        maxWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLoadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        axles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleAxle'
        containedGoods:
          type: array
          items:
            $ref: '#/components/schemas/GoodsModel'
        equipmentType:
          type: string
          description: The type of equipment (Trailer/Chassis/Pallet/Box/etc.)
        equipmentSubType:
          type: string
          description: >-
            The subtype of equipment (EuroPallet/Dry van/Reefer
            Van/Lowbed/Backbone/Block pallet)
        licensePlate:
          type: string
        vin:
          type: string
        equipmentId:
          type: string
          description: |2-

                        The container number of the transport order.Should be 11 characters.First 3 characters should be letters. 
                        4th character should be U, J or Z and last 7 characters should be numbers.The format is in ISO 6346.
                        
        seal:
          type: string
          description: Seal number of the equipment
        requirementCodes:
          type: array
          description: The specific requirements for the transport.
          items:
            type: string
            description: The specific requirements for the transport.
        adr:
          $ref: '#/components/schemas/ADR'
        sensors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        boardComputers:
          type: array
          items:
            type: object
            description: circular reference
        latestLocation:
          $ref: '#/components/schemas/LocationUpdateEventModel'
        business:
          type: object
          description: circular reference
        operational:
          type: boolean
        internal:
          type: boolean
        trip:
          $ref: '#/components/schemas/TripModel'
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
    TransportEquipmentTypeConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            equipmentTypes:
              type: array
              items:
                type: string
            subEquipmentTypes:
              type: array
              items:
                type: string
    TransportEquipmentTypeConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            equipmentTypes:
              type: array
              items:
                type: string
            subEquipmentTypes:
              type: array
              items:
                type: string
    TransportOrder:
      required:
        - customer
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        orderId:
          type: string
          description: >-
            Order ID is the Unique Identifier specifically for orders. If not
            set, the serve will generate one.
        name:
          type: string
          description: Name of the TransportOrder, for display and search purposes only.
        type:
          type: string
          description: >-
            The type of Transport Order. Normal Transport Orders are defined as
            `standard`.
          enum:
            - standard
            - urgent
            - expected
            - forwarded
          default: STANDARD
        status:
          type: string
          description: >-
            The status of the `TransportOrder`. It shows the lifecycle of the
            order.
          enum:
            - declined
            - cancelled
            - requested
            - accepted
            - calculated_trip
            - partially_planned
            - planned
            - actual
            - realized
            - concept
        description:
          type: string
          description: The description of the transport order
        referenceDescription:
          type: string
          description: >-
            The reference description of the transport order. This often is the
            invoice reference or reference of the customer side
        customer:
          $ref: '#/components/schemas/CustomerModel'
        mailMessage:
          $ref: '#/components/schemas/MailMessageModel'
        vat:
          $ref: '#/components/schemas/TaxRateModel'
        deliveryTerms:
          type: string
          enum:
            - EXW
            - FCA
            - FAS
            - FOB
            - CPT
            - CIP
            - CFR
            - CIF
            - DAP
            - DPU
            - DDP
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        team:
          $ref: '#/components/schemas/TeamModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/ConsignmentAssociation'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetailAssociation'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElement'
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceModel'
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        shareSettings:
          $ref: '#/components/schemas/TransportOrderShareSettings'
        template:
          type: boolean
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        expectedCost:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        versionNumber:
          type: integer
          format: int32
    TransportOrderContract:
      required:
        - id
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              type: object
              description: circular reference
    TransportOrderContractModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              type: object
              description: circular reference
    TransportOrderShareSettings:
      type: object
      properties:
        isOpen:
          type: boolean
        shareCode:
          type: string
        validUntil:
          type: string
          format: date-time
        showTripTracking:
          type: boolean
        showChauffeur:
          type: boolean
        showVehicle:
          type: boolean
        showDocuments:
          type: boolean
        showCustomerDetails:
          type: boolean
    Trip:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        versionNumber:
          type: integer
          format: int32
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        hasAgreedToPrice:
          type: boolean
        type:
          type: string
          enum:
            - internal
            - internal_empty
            - forwarded
        tripNr:
          type: string
        remark:
          type: string
          description: The remark for Trip
        status:
          type: string
          enum:
            - draft
            - requested
            - accepted
            - confirmed
            - in_transit
            - pending_completion
            - completed
            - cancelled
            - modified
        planStatus:
          type: string
          enum:
            - ok
            - too_late
            - too_early
            - off_route
        routeStatus:
          type: string
          enum:
            - on_route
            - off_route
        currentAction:
          type: object
          description: circular reference
        transportMode:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        capacityContract:
          $ref: '#/components/schemas/CapacityContract'
        vehicle:
          type: object
          description: circular reference
        linkedTrip:
          type: boolean
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/Chauffeur'
        transportEquipments:
          type: array
          items:
            type: object
            description: circular reference
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/Consignment'
        contextEvents:
          type: array
          items:
            type: object
            description: circular reference
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Document'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Actor'
        actions:
          type: array
          items:
            type: object
            description: circular reference
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        businesses:
          type: array
          items:
            type: object
            description: circular reference
        teams:
          type: array
          items:
            $ref: '#/components/schemas/Team'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElement'
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        estimatedEndDate:
          type: string
          format: date-time
        kmStart:
          type: integer
          format: int32
        kmEnd:
          type: integer
          format: int32
        booking:
          $ref: '#/components/schemas/Booking'
        shareSettings:
          $ref: '#/components/schemas/ShareSettings'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        expectedCost:
          $ref: '#/components/schemas/CumulativeMoney'
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoney'
        actualCost:
          $ref: '#/components/schemas/Money'
        quote:
          $ref: '#/components/schemas/Quote'
        invoice:
          $ref: '#/components/schemas/Invoice'
        CO2eWTW:
          type: number
          format: double
        CO2eTTW:
          type: number
          format: double
        firstAction:
          type: object
          description: circular reference
        nextAction:
          type: object
          description: circular reference
        lastAction:
          type: object
          description: circular reference
        estimatedDuration:
          type: integer
          format: int32
        settings:
          $ref: '#/components/schemas/TripSettings'
        name:
          type: string
        route:
          $ref: '#/components/schemas/Route'
        stackMap:
          $ref: '#/components/schemas/StackMap'
    TripAssociation:
      type: object
      properties:
        associationType:
          type: string
          enum:
            - inline
            - reference
      discriminator:
        propertyName: associationType
        mapping:
          inline: '#/components/schemas/TripInlineAssociation'
          reference: '#/components/schemas/TripReferenceAssociation'
      oneOf:
        - $ref: '#/components/schemas/TripInlineAssociation'
        - $ref: '#/components/schemas/TripReferenceAssociation'
    TripInlineAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            entity:
              type: object
              description: circular reference
            description:
              type: string
    TripModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        type:
          type: string
          enum:
            - internal
            - internal_empty
            - forwarded
        tripNr:
          type: string
        remark:
          type: string
        route:
          $ref: '#/components/schemas/RouteModel'
        stackMap:
          $ref: '#/components/schemas/StackMapModel'
        status:
          type: string
          enum:
            - draft
            - requested
            - accepted
            - confirmed
            - in_transit
            - pending_completion
            - completed
            - cancelled
            - modified
        planStatus:
          type: string
          enum:
            - ok
            - too_late
            - too_early
            - off_route
        routeStatus:
          type: string
          enum:
            - on_route
            - off_route
        currentAction:
          type: object
          description: circular reference
        transportMode:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        vehicle:
          type: object
          description: circular reference
        linkedTrip:
          type: boolean
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurModel'
        transportEquipments:
          type: array
          items:
            type: object
            description: circular reference
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/ConsignmentModel'
        contextEvents:
          type: array
          items:
            type: object
            description: circular reference
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/ActorAssociation'
        actions:
          type: array
          items:
            type: object
            description: circular reference
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintAssociation'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        businesses:
          type: array
          items:
            type: object
            description: circular reference
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        kmStart:
          type: integer
          format: int32
        kmEnd:
          type: integer
          format: int32
        booking:
          $ref: '#/components/schemas/BookingModel'
        shareSettings:
          $ref: '#/components/schemas/ShareSettings'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        expectedCost:
          $ref: '#/components/schemas/MoneyModel'
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        actualCost:
          $ref: '#/components/schemas/MoneyModel'
        quote:
          $ref: '#/components/schemas/QuoteModel'
        CO2eWTW:
          type: number
          format: double
        CO2eTTW:
          type: number
          format: double
        nextAction:
          type: object
          description: circular reference
        lastAction:
          type: object
          description: circular reference
        estimatedDuration:
          type: integer
          format: int32
        versionNumber:
          type: integer
          format: int32
        hasAgreedToPrice:
          type: boolean
          description: >-
            Set this value to 'true' if the user has agreed to the pricing of
            this element. Only needed once the NeedsBillingApproval Exception is
            thrown
          writeOnly: true
    TripReferenceAssociation:
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            uuid:
              type: string
            description:
              type: string
    TripSettings:
      type: object
      properties:
        minimumEstimatedDurationUntilNextStartDateTimeConstraint:
          type: boolean
    Type:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        targetEntityType:
          type: string
          enum:
            - transportEquipmentType
            - transportEquipmentSubType
            - consignmentType
            - fuelType
            - vehicleType
        label:
          type: string
        value:
          type: string
        depositValue:
          $ref: '#/components/schemas/Money'
        depositCategory:
          $ref: '#/components/schemas/PricingCategory'
        childOf:
          type: object
          description: circular reference
        defaultValues:
          type: object
          additionalProperties:
            type: object
        hiddenFields:
          type: array
          items:
            type: string
    TypeQuantity:
      type: object
      properties:
        quantity:
          type: integer
          format: int32
        type:
          $ref: '#/components/schemas/Type'
    TypeTakeAndReturnAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            business:
              type: object
              description: circular reference
            takeTypes:
              type: array
              items:
                $ref: '#/components/schemas/TypeQuantity'
            returnTypes:
              type: array
              items:
                $ref: '#/components/schemas/TypeQuantity'
    TypeTakeAndReturnActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
            business:
              type: object
              description: circular reference
            takeTypes:
              type: array
              items:
                $ref: '#/components/schemas/TypeQuantity'
            returnTypes:
              type: array
              items:
                $ref: '#/components/schemas/TypeQuantity'
    UnloadAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            stop:
              $ref: '#/components/schemas/Association'
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            isContainmentAction:
              type: boolean
            goods:
              $ref: '#/components/schemas/ConsignmentAssociation'
            pin:
              type: string
            tar:
              type: string
            shipmentLine:
              $ref: '#/components/schemas/ShipmentLine'
            stackPointer:
              $ref: '#/components/schemas/StackPointer'
            containmentUUID:
              type: string
            containmentGoodsTypes:
              type: array
              items:
                type: string
                enum:
                  - transportEquipment
                  - items
    UnloadActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            stop:
              $ref: '#/components/schemas/Association'
            consignment:
              $ref: '#/components/schemas/ConsignmentAssociation'
            isContainmentAction:
              type: boolean
            goods:
              $ref: '#/components/schemas/ConsignmentAssociation'
            pin:
              type: string
            tar:
              type: string
            shipmentLine:
              $ref: '#/components/schemas/ShipmentLine'
            stackPointer:
              $ref: '#/components/schemas/StackPointer'
            containmentUUID:
              type: string
            containmentGoodsTypes:
              type: array
              items:
                type: string
                enum:
                  - transportEquipment
                  - items
    UpcomingRestingTimes:
      type: object
      properties:
        week:
          type: integer
          format: int32
        year:
          type: integer
          format: int32
        upcomingRestingTime:
          type: integer
          description: The upcoming resting times in seconds
          format: int32
    UpdateEvent:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            entity:
              type: object
    UpdateEventModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            entity:
              type: object
    UsedCapacityChange:
      type: object
      properties:
        preStackObjectMetrics:
          $ref: '#/components/schemas/StackObjectMetrics'
        postStackObjectMetrics:
          $ref: '#/components/schemas/StackObjectMetrics'
    User:
      required:
        - email
        - id
        - username
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        hasAgreedToPrice:
          type: boolean
        type:
          type: string
          enum:
            - user
            - developer
            - chauffeur
        username:
          type: string
        avatar:
          $ref: '#/components/schemas/File'
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
        phone:
          type: string
        password:
          type: string
        passwordModified:
          type: string
          format: date-time
        twoFactorAuthentication:
          type: boolean
        totdSecret:
          type: string
        recoveryCodes:
          type: array
          items:
            type: string
        status:
          type: string
          enum:
            - DELETED
            - DEFAULT
            - CONFIRMED
            - REGISTERED
        loginMethod:
          type: string
          enum:
            - DEFAULT
            - SAML
        role:
          $ref: '#/components/schemas/UserRole'
        currency:
          $ref: '#/components/schemas/Currency'
        activeAdministration:
          $ref: '#/components/schemas/Administration'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        accountType:
          type: string
          enum:
            - default
            - customer
            - supplier
            - planning
            - financial
        standardLoadingSize:
          maximum: 100
          minimum: 10
          type: integer
          format: int32
        notes:
          type: array
          items:
            type: object
            description: circular reference
        businesses:
          type: array
          items:
            $ref: '#/components/schemas/Business'
        features:
          type: array
          items:
            $ref: '#/components/schemas/PlatformFeature'
        timezone:
          type: string
        vehicleGroups:
          type: array
          items:
            $ref: '#/components/schemas/VehicleGroup'
    UserModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        type:
          type: string
          enum:
            - user
            - developer
            - chauffeur
        username:
          type: string
        avatar:
          $ref: '#/components/schemas/FileModel'
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
        phone:
          type: string
        password:
          type: string
        passwordModified:
          type: string
          format: date-time
        twoFactorAuthentication:
          type: boolean
        status:
          type: string
          enum:
            - DELETED
            - DEFAULT
            - CONFIRMED
            - REGISTERED
        loginMethod:
          type: string
          enum:
            - DEFAULT
            - SAML
        role:
          $ref: '#/components/schemas/UserRole'
        timezone:
          type: string
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        vehicleGroups:
          type: array
          items:
            $ref: '#/components/schemas/VehicleGroupModel'
        activeAdministration:
          $ref: '#/components/schemas/AdministrationModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        accountType:
          type: string
          enum:
            - default
            - customer
            - supplier
            - planning
            - financial
        standardLoadingSize:
          type: integer
          format: int32
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        businesses:
          type: array
          items:
            type: object
            description: circular reference
        hasAgreedToPrice:
          type: boolean
          description: >-
            Set this value to 'true' if the user has agreed to the pricing of
            this element. Only needed once the NeedsBillingApproval Exception is
            thrown
          writeOnly: true
    UserRole:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        level:
          type: integer
          format: int32
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        specifiedPlatformId:
          type: string
    ValueTransform:
      type: object
      properties:
        type:
          type: string
          enum:
            - direct
            - dateParse
            - addDuration
            - replaceConstraint
        format:
          type: string
    ValueWithUnit:
      type: object
      properties:
        value:
          type: string
        unit:
          type: string
    Vehicle:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        versionNumber:
          type: integer
          format: int32
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        hasAgreedToPrice:
          type: boolean
        business:
          type: object
          description: circular reference
        pictures:
          type: array
          items:
            $ref: '#/components/schemas/File'
        transportMode:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        loadCapacities:
          type: array
          items:
            $ref: '#/components/schemas/ValueWithUnit'
        loadLoadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        brand:
          $ref: '#/components/schemas/Brand'
        boardComputers:
          type: array
          items:
            $ref: '#/components/schemas/BoardComputer'
        notes:
          type: array
          items:
            type: object
            description: circular reference
        sensors:
          type: array
          items:
            $ref: '#/components/schemas/Sensor'
        fleets:
          type: array
          items:
            $ref: '#/components/schemas/FleetVehicle'
        chat:
          $ref: '#/components/schemas/Chat'
        trip:
          $ref: '#/components/schemas/Trip'
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/Chauffeur'
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipment'
        latestLocation:
          $ref: '#/components/schemas/LocationUpdateEvent'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        cameras:
          type: array
          items:
            $ref: '#/components/schemas/Camera'
        legalStatistics:
          $ref: '#/components/schemas/VehicleLegalStatistics'
        capacityContract:
          $ref: '#/components/schemas/CapacityContract'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
        name:
          type: string
        description:
          type: string
        vin:
          type: string
        licensePlate:
          type: string
        vehicleType:
          type: string
        emissionStandard:
          type: string
          enum:
            - euro0
            - euro1
            - euro2
            - euro3
            - euro4
            - euro5
            - euro6
            - euro7
            - euro_eev
        fuelCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        fuelType:
          type: string
        maxLinks:
          type: integer
          format: int32
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLength:
          $ref: '#/components/schemas/ValueWithUnit'
        loadHeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadWidth:
          $ref: '#/components/schemas/ValueWithUnit'
        maxWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        emptyWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        axles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleAxle'
        operational:
          type: boolean
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/Attribute'
    VehicleAxle:
      type: object
      properties:
        driveAxle:
          type: boolean
        liftAxle:
          type: boolean
        sequenceNr:
          type: integer
          format: int32
        legalAllowedLoad:
          $ref: '#/components/schemas/ValueWithUnit'
        technicalAllowedLoad:
          $ref: '#/components/schemas/ValueWithUnit'
    VehicleGroup:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        vehicles:
          type: array
          items:
            type: object
            description: circular reference
    VehicleGroupModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleModel'
    VehicleLegalStatistics:
      type: object
      properties:
        lastInstantOfAVehicleOwnerLocation:
          type: string
          format: date-time
        countryCabotageStatistics:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/CountryCabotageStatistics'
        lastInstantOfInternationalTrip:
          type: string
          format: date-time
        lastInternationalTripDestinationCountry:
          type: string
    VehicleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        name:
          type: string
        description:
          type: string
        vin:
          type: string
        licensePlate:
          type: string
        business:
          type: object
          description: circular reference
        pictures:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
        vehicleType:
          type: string
        transportMode:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        emissionStandard:
          type: string
          enum:
            - euro0
            - euro1
            - euro2
            - euro3
            - euro4
            - euro5
            - euro6
            - euro7
            - euro_eev
        fuelCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        fuelType:
          type: string
        maxLinks:
          type: integer
          format: int32
        loadCapacities:
          type: array
          items:
            $ref: '#/components/schemas/ValueWithUnit'
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLength:
          $ref: '#/components/schemas/ValueWithUnit'
        loadHeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadWidth:
          $ref: '#/components/schemas/ValueWithUnit'
        maxWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        emptyWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLoadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        axles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleAxle'
        brand:
          $ref: '#/components/schemas/BrandModel'
        boardComputers:
          type: array
          items:
            $ref: '#/components/schemas/BoardComputerModel'
        operational:
          type: boolean
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        sensors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        fleets:
          type: array
          items:
            $ref: '#/components/schemas/FleetVehicleModel'
        chat:
          $ref: '#/components/schemas/ChatModel'
        trip:
          $ref: '#/components/schemas/TripModel'
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurModel'
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipmentModel'
        latestLocation:
          $ref: '#/components/schemas/LocationUpdateEventModel'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        cameras:
          type: array
          items:
            $ref: '#/components/schemas/CameraModel'
        legalStatistics:
          $ref: '#/components/schemas/VehicleLegalStatistics'
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        versionNumber:
          type: integer
          format: int32
        hasAgreedToPrice:
          type: boolean
          description: >-
            Set this value to 'true' if the user has agreed to the pricing of
            this element. Only needed once the NeedsBillingApproval Exception is
            thrown
          writeOnly: true
    VehicleTypeConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicleTypes:
              type: array
              items:
                type: string
    VehicleTypeConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            vehicleTypes:
              type: array
              items:
                type: string
    WaitAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            reason:
              type: string
    WaitActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
            reason:
              type: string
    Wechat:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        prepay_id:
          type: string
        qr_code_url:
          type: string
        statement_descriptor:
          type: string
    WechatModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          type: object
          description: circular reference
        prepayId:
          type: string
        qrCodeUrl:
          type: string
        statementDescriptor:
          type: string
    WeekTimes:
      type: object
      properties:
        monday:
          $ref: '#/components/schemas/TimeWindows'
        tuesday:
          $ref: '#/components/schemas/TimeWindows'
        wednesday:
          $ref: '#/components/schemas/TimeWindows'
        thursday:
          $ref: '#/components/schemas/TimeWindows'
        friday:
          $ref: '#/components/schemas/TimeWindows'
        saturday:
          $ref: '#/components/schemas/TimeWindows'
        sunday:
          $ref: '#/components/schemas/TimeWindows'
    WeighingAction:
      required:
        - id
        - lifeCycle
        - name
        - type
      type: object
      allOf:
        - type: object
          description: circular reference
    WeighingActionModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            trip:
              $ref: '#/components/schemas/TripAssociation'
    WeightConstraintValue:
      required:
        - id
        - name
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            weightConstraintType:
              type: string
              enum:
                - minimum
                - maximum
                - range
            maximum:
              $ref: '#/components/schemas/ValueWithUnit'
            minimum:
              $ref: '#/components/schemas/ValueWithUnit'
    WeightConstraintValueModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            weightConstraintType:
              type: string
              enum:
                - minimum
                - maximum
                - range
            maximum:
              $ref: '#/components/schemas/ValueWithUnit'
            minimum:
              $ref: '#/components/schemas/ValueWithUnit'
    ZoneGeoReference:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            granularity:
              type: string
              enum:
                - country
                - city
                - postal_code
                - street
                - exact
            postalCodeRanges:
              type: array
              items:
                $ref: '#/components/schemas/PostalCodeRange'
    ZoneGeoReferenceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            granularity:
              type: string
              enum:
                - country
                - city
                - postal_code
                - street
                - exact
            postalCodeRanges:
              type: array
              items:
                $ref: '#/components/schemas/PostalCodeRange'
    WidgetHostnameModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        hostName:
          type: string
    WidgetModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        type:
          type: string
          enum:
            - map
            - customer-portal
            - transport-order-request-input
            - chauffeur-planner
            - track-and-trace
            - quote-request
            - fleet-status
            - notification-feed
            - driver-schedule
        apiAccessIntegration:
          $ref: '#/components/schemas/ApiAccessIntegrationModel'
        hostNames:
          type: array
          items:
            $ref: '#/components/schemas/WidgetHostnameModel'
        ips:
          type: array
          items:
            $ref: '#/components/schemas/WidgetHostnameModel'
        styling:
          type: string
        active:
          type: boolean
        code:
          type: string
        data:
          type: string
    WidgetResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        widget:
          $ref: '#/components/schemas/WidgetModel'
    EndpointItemResponse:
      type: object
      properties:
        message:
          type: string
        statusCode:
          type: integer
          format: int32
    EventItemResponse:
      type: object
      properties:
        message:
          type: string
        statusCode:
          type: integer
          format: int32
    EventsResponse:
      type: object
      properties:
        results:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ItemResponse'
    ItemResponse:
      type: object
      properties:
        endpointItemResponse:
          $ref: '#/components/schemas/EndpointItemResponse'
        eventsItemResponse:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/EventItemResponse'
    TripResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        trip:
          $ref: '#/components/schemas/TripModel'
    CapacityContractResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
    MessageTemplate:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        type:
          type: string
          enum:
            - general
        contextEntity:
          type: string
          enum:
            - vehicle
            - trip
            - upcoming_trips
        message:
          type: string
    MessageTemplateModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        type:
          type: string
          enum:
            - general
        contextEntity:
          type: string
          enum:
            - vehicle
            - trip
            - upcoming_trips
        message:
          type: string
    MessageTemplateResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        messageTemplate:
          $ref: '#/components/schemas/MessageTemplateModel'
    WidgetsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        widgets:
          type: array
          items:
            $ref: '#/components/schemas/WidgetModel'
    BusinessResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        business:
          $ref: '#/components/schemas/Business'
    CertificateInfo:
      type: object
      properties:
        certificateId:
          type: string
        base64EncodedString:
          type: string
        issuer:
          type: string
        subject:
          type: string
        isValid:
          type: boolean
        validFrom:
          type: string
          format: date-time
        validTo:
          type: string
          format: date-time
        validationError:
          type: string
    IDPSAMLMetadata:
      type: object
      properties:
        type:
          type: string
          enum:
            - SPSAMLMetadata
            - IDPSAMLMetadata
        entityID:
          type: string
        signingCertificates:
          type: array
          items:
            $ref: '#/components/schemas/CertificateInfo'
        ssoServices:
          type: array
          items:
            $ref: '#/components/schemas/SSOService'
        protocol:
          type: string
        nameIDPolicyFormat:
          type: string
        wantSignedAuthnRequests:
          type: boolean
    SAML:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        description:
          type: string
        allowedDomains:
          uniqueItems: true
          type: array
          items:
            type: string
        idpSAMLMetadata:
          $ref: '#/components/schemas/IDPSAMLMetadata'
        spSAMLMetadata:
          $ref: '#/components/schemas/SPSAMLMetadata'
        enabled:
          type: boolean
    SAMLsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        samls:
          type: array
          items:
            $ref: '#/components/schemas/SAML'
    SPSAMLMetadata:
      type: object
      properties:
        type:
          type: string
          enum:
            - SPSAMLMetadata
            - IDPSAMLMetadata
        entityID:
          type: string
        signingCertificates:
          type: array
          items:
            $ref: '#/components/schemas/CertificateInfo'
        ssoServices:
          type: array
          items:
            $ref: '#/components/schemas/SSOService'
        protocol:
          type: string
        nameIDPolicyFormat:
          type: string
        isAuthenRequestSigned:
          type: boolean
        wantAssertionsSigned:
          type: boolean
    SSOService:
      type: object
      properties:
        binding:
          type: string
        location:
          type: string
    CalculateRouteFromGeoReferencesRequest:
      type: object
      properties:
        name:
          type: string
        vehicle:
          $ref: '#/components/schemas/Vehicle'
        geoReferences:
          type: array
          items:
            $ref: '#/components/schemas/GeoReference'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
    RouteResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        route:
          $ref: '#/components/schemas/RouteModel'
    MessagesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        messages:
          type: array
          items:
            $ref: '#/components/schemas/MessageModel'
        unreadResults:
          type: integer
          format: int32
    TransportEquipmentResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipmentModel'
    ServiceCardCreateRequest:
      required:
        - issuedAt
        - validUntil
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        type:
          type: string
        description:
          type: string
        chauffeur:
          $ref: '#/components/schemas/Chauffeur'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
        issuedAt:
          type: string
          format: date-time
        validUntil:
          type: string
          format: date-time
    ServiceCardModel:
      required:
        - id
        - issuedAt
        - primaryPlatformId
        - uuid
        - validUntil
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        type:
          type: string
        description:
          type: string
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        issuedAt:
          type: string
          format: date-time
        validUntil:
          type: string
          format: date-time
    ServiceCardResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        serviceCard:
          $ref: '#/components/schemas/ServiceCardModel'
    InsightTableResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        table:
          $ref: '#/components/schemas/Table'
        type:
          type: string
          enum:
            - table
            - multiTable
    Table:
      type: object
      properties:
        name:
          type: string
        values:
          type: array
          items:
            $ref: '#/components/schemas/ValueRow'
        resultRow:
          $ref: '#/components/schemas/ValueRow'
    Value:
      type: object
      properties:
        name:
          type: string
        type:
          type: string
          enum:
            - constant
            - string
            - integer
            - float
            - datetime
            - duration
            - date
            - time
            - boolean
            - object
            - array
            - filters
            - table
        value:
          type: object
        defaultValue:
          type: object
        size:
          type: string
    ValueRow:
      type: object
      properties:
        values:
          type: array
          items:
            $ref: '#/components/schemas/Value'
        order:
          type: integer
          format: int32
    UserResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        user:
          $ref: '#/components/schemas/UserModel'
    DocumentTemplateModel:
      required:
        - documentType
        - entityType
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
          description: The name of the template
        documentType:
          type: string
          description: The document type
          enum:
            - cmr
            - waybill
            - invoice
            - quote
            - transportOrder
            - trip
            - custom
        entityType:
          type: string
          description: The primary entity type this template is designed for
          enum:
            - transportOrder
            - invoice
            - quote
            - trip
            - consignment
            - business
        page:
          type: string
          description: Page settings as JSON string
        elements:
          type: string
          description: Template elements as JSON string
        createdBy:
          type: string
          description: User who created this template
    DocumentTemplateResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        documentTemplate:
          $ref: '#/components/schemas/DocumentTemplateModel'
    MessageAutomationsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        messageAutomations:
          type: array
          items:
            $ref: '#/components/schemas/MessageAutomationModel'
    ComplaintModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        user:
          $ref: '#/components/schemas/UserModel'
        complaint:
          type: string
        location:
          $ref: '#/components/schemas/LocationModel'
        business:
          $ref: '#/components/schemas/Business'
        identifier:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    ComplaintsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        complaints:
          type: array
          items:
            $ref: '#/components/schemas/ComplaintModel'
    ChauffeurActivityResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        chauffeurActivity:
          $ref: '#/components/schemas/ChauffeurActivityModel'
    CreateExceptionRequest:
      type: object
      properties:
        exceptionDate:
          type: string
          format: date
        isCanceled:
          type: boolean
        newStartTime:
          $ref: '#/components/schemas/LocalTime'
        newEndTime:
          $ref: '#/components/schemas/LocalTime'
        newTitle:
          type: string
        newDescription:
          type: string
        newLocation:
          type: string
    EventExceptionDetail:
      type: object
      properties:
        id:
          type: string
        recurringEventId:
          type: string
        exceptionDate:
          type: string
        isCanceled:
          type: boolean
        newStartTime:
          type: string
        newEndTime:
          type: string
        newTitle:
          type: string
        newDescription:
          type: string
        newLocation:
          type: string
    EventExceptionResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        eventException:
          $ref: '#/components/schemas/EventExceptionDetail'
    UserRoleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        level:
          type: integer
          format: int32
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/PermissionModel'
        specifiedPlatformId:
          type: string
    UserRolesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        roles:
          type: array
          items:
            $ref: '#/components/schemas/UserRoleModel'
    StackMapResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        stackMap:
          $ref: '#/components/schemas/StackMapModel'
    TransportOrderResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        transportOrder:
          $ref: '#/components/schemas/TransportOrder'
    ScheduleRouteModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        transportModes:
          type: array
          items:
            type: string
            enum:
              - maritime
              - road
              - rail
              - air
              - inlandWaterway
        stops:
          type: object
          properties:
            associationType:
              type: string
              enum:
                - inline
                - reference
          discriminator:
            propertyName: associationType
        route:
          $ref: '#/components/schemas/RouteModel'
        timeSlots:
          type: array
          items:
            $ref: '#/components/schemas/TimeSlotModel'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
    ScheduleRoutesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        scheduleRoutes:
          type: array
          items:
            $ref: '#/components/schemas/ScheduleRouteModel'
    VehicleGroupsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        vehicleGroups:
          type: array
          items:
            $ref: '#/components/schemas/VehicleGroupModel'
    FindByDateRangeRequest:
      type: object
      properties:
        from:
          type: string
          format: date-time
        to:
          type: string
          format: date-time
        type:
          type: string
          enum:
            - debit
            - credit
        state:
          type: string
          enum:
            - actual
            - expected
        administrationId:
          type: string
        businessId:
          type: string
        offset:
          type: integer
          format: int32
        amount:
          type: integer
          format: int32
    ActionsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        actions:
          type: array
          items:
            $ref: '#/components/schemas/Action'
    GoodsListResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        goodsList:
          type: array
          items:
            $ref: '#/components/schemas/GoodsModel'
    Alert:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - INTEGRATION
            - TRIP
            - VEHICLE
            - CHAUFFEUR
            - CONSIGNMENT
        level:
          type: string
          enum:
            - error
            - warning
            - information
        name:
          type: string
        message:
          type: string
        primaryRelatedEntityId:
          type: string
        primaryRelatedEntityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        primaryRelatedEntityName:
          type: string
        relatedEntities:
          type: array
          items:
            $ref: '#/components/schemas/EntityRelationship'
        action:
          type: string
        solved:
          type: boolean
        solvedAt:
          type: string
          format: date-time
        solvedBy:
          $ref: '#/components/schemas/User'
        ignored:
          type: boolean
        ignoredAt:
          type: string
          format: date-time
        ignoredBy:
          $ref: '#/components/schemas/User'
    AlertResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        alert:
          $ref: '#/components/schemas/Alert'
    TransactionsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        transactions:
          type: array
          items:
            $ref: '#/components/schemas/TransactionModel'
    EventResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        event:
          $ref: '#/components/schemas/EventModel'
    ChauffeurVehiclesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleModel'
    DataResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        data:
          type: object
    VehicleActivitiesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        activities:
          type: array
          items:
            $ref: '#/components/schemas/VehicleActivityModel'
    VehicleActivityModel:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        name:
          type: string
        geoReference:
          $ref: '#/components/schemas/LatLonPointGeoReferenceModel'
        createdAt:
          type: string
          format: date-time
    RefreshSessionRequest:
      type: object
      properties:
        refreshToken:
          type: string
    SessionModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        user:
          $ref: '#/components/schemas/UserModel'
        refresh_token:
          type: string
        ip:
          type: string
        device:
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/PermissionModel'
        startedAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
        endedAt:
          type: string
          format: date-time
        passedTwoFactorAuthentication:
          type: boolean
        access_token:
          type: string
    SessionResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        session:
          $ref: '#/components/schemas/SessionModel'
    TransportOrderCreateRequest:
      required:
        - name
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
          description: Name of the TransportOrder, for display and search purposes only.
        type:
          type: string
          description: >-
            The type of Transport Order. Normal Transport Orders are defined as
            `standard`.
          enum:
            - standard
            - urgent
            - expected
            - forwarded
          default: STANDARD
        status:
          type: string
          enum:
            - declined
            - cancelled
            - requested
            - accepted
            - calculated_trip
            - partially_planned
            - planned
            - actual
            - realized
            - concept
        description:
          type: string
        customer:
          $ref: '#/components/schemas/CustomerModel'
        vat:
          $ref: '#/components/schemas/TaxRateModel'
        deliveryTerms:
          type: string
          enum:
            - EXW
            - FCA
            - FAS
            - FOB
            - CPT
            - CIP
            - CFR
            - CIF
            - DAP
            - DPU
            - DDP
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        team:
          $ref: '#/components/schemas/TeamModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/ConsignmentAssociation'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetailAssociation'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        referenceDescription:
          type: string
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        template:
          type: boolean
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        expectedCost:
          $ref: '#/components/schemas/MoneyModel'
        versionNumber:
          type: integer
          format: int32
    QuoteLinesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        quoteLines:
          type: array
          items:
            $ref: '#/components/schemas/QuoteLineModel'
    TerminalResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        terminal:
          $ref: '#/components/schemas/TerminalModel'
    CertificateModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        name:
          type: string
        school:
          type: string
        title:
          type: string
        fieldOfStudy:
          type: string
        grade:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        identifier:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
    CertificatesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        certificates:
          type: array
          items:
            $ref: '#/components/schemas/CertificateModel'
    MessageResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          $ref: '#/components/schemas/MessageModel'
    NotificationIdList:
      type: object
      properties:
        notifications:
          type: array
          items:
            type: string
    NotificationModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        user:
          $ref: '#/components/schemas/UserModel'
        image:
          $ref: '#/components/schemas/FileModel'
        title:
          type: string
        link:
          type: string
        message:
          type: string
        notificationLevel:
          type: string
          enum:
            - INFO
            - UPDATE
            - ACTION
            - INTERMEDIATE
            - IMPORTANT
            - HIGH
            - URGENT
        notificationState:
          type: string
          enum:
            - NORMAL
            - IMPORTANT
            - PINNED
            - DELETED
        push:
          type: boolean
        hasSentPush:
          type: boolean
        email:
          type: boolean
        hasSentEmail:
          type: boolean
        action:
          type: string
        actionType:
          type: string
          enum:
            - NONE
            - BUTTON
            - ARTICLE
        actionName:
          type: string
        actionValue:
          type: string
        date:
          type: string
          format: date-time
        received:
          type: array
          items:
            $ref: '#/components/schemas/NotificationReceivedModel'
        read:
          type: array
          items:
            $ref: '#/components/schemas/NotificationReadModel'
    NotificationReadModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        isRead:
          type: boolean
        by:
          $ref: '#/components/schemas/UserModel'
        readAt:
          type: string
          format: date-time
    NotificationReceivedModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        isReceived:
          type: boolean
        by:
          $ref: '#/components/schemas/UserModel'
        receivedAt:
          type: string
          format: date-time
    NotificationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        notification:
          $ref: '#/components/schemas/NotificationModel'
    CapacitiesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        capacities:
          type: array
          items:
            $ref: '#/components/schemas/CapacityModel'
        totalResults:
          type: integer
          format: int64
    AttributesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
    SensorResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        sensor:
          $ref: '#/components/schemas/SensorModel'
    User2FASetupResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        qr:
          type: string
        recoveryCodes:
          type: array
          items:
            type: string
    FileResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        file:
          $ref: '#/components/schemas/FileModel'
    CameraResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        camera:
          $ref: '#/components/schemas/CameraModel'
    LocationsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        locations:
          type: array
          items:
            $ref: '#/components/schemas/LocationModel'
    DocumentTemplatesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        documentTemplates:
          type: array
          items:
            $ref: '#/components/schemas/DocumentTemplateModel'
        totalResults:
          type: integer
          format: int32
    NotificationSetting:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        enabled:
          type: boolean
        emails:
          type: boolean
        pushNotification:
          type: boolean
        sms:
          type: boolean
    Settings:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        user:
          $ref: '#/components/schemas/User'
        privacy:
          $ref: '#/components/schemas/SettingsPrivacy'
        userInterface:
          $ref: '#/components/schemas/SettingsUserInterface'
        security:
          $ref: '#/components/schemas/SettingsSecurity'
        notifications:
          $ref: '#/components/schemas/SettingsNotifications'
        planning:
          $ref: '#/components/schemas/SettingsPlanning'
    SettingsGroupModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        primary:
          type: boolean
        localStorageSettings:
          type: object
          additionalProperties:
            type: string
        hiddenFields:
          type: array
          items:
            type: string
        defaultSettings:
          $ref: '#/components/schemas/Settings'
        lastSettingsApplied:
          type: string
          format: date-time
        applyVersionNumber:
          type: integer
          format: int32
        name:
          type: string
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
    SettingsGroupsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        settingsGroups:
          type: array
          items:
            $ref: '#/components/schemas/SettingsGroupModel'
    SettingsNotifications:
      type: object
      properties:
        transportOrder:
          $ref: '#/components/schemas/NotificationSetting'
        mail:
          $ref: '#/components/schemas/NotificationSetting'
        chat:
          $ref: '#/components/schemas/NotificationSetting'
        vehicle:
          $ref: '#/components/schemas/NotificationSetting'
        todo:
          $ref: '#/components/schemas/NotificationSetting'
        tender:
          $ref: '#/components/schemas/NotificationSetting'
        administration:
          $ref: '#/components/schemas/NotificationSetting'
        birthdays:
          $ref: '#/components/schemas/NotificationSetting'
        supportCenter:
          $ref: '#/components/schemas/NotificationSetting'
    SettingsPlanning:
      type: object
      properties:
        defaultLinkTrips:
          type: boolean
        splitConsignmentOnAutomaticTripCreation:
          type: boolean
        defaultShowSidebarSearch:
          type: boolean
        minimumEstimatedDurationUntilNextStartDateTimeConstraint:
          type: boolean
    SettingsPrivacy:
      type: object
      properties:
        openToTheWeb:
          type: boolean
        publicProfile:
          type: boolean
        locationHistory:
          type: boolean
        openConnectionRequests:
          type: boolean
    SettingsSecurity:
      type: object
      properties:
        unknownLoginNotification:
          type: boolean
    SettingsUserInterface:
      type: object
      properties:
        theme:
          type: string
          enum:
            - system
            - light
            - dark
            - lightDayDarkNight
        tableType:
          type: string
          enum:
            - dynamic
            - table
        sidebarType:
          type: string
          enum:
            - card
            - list
        formType:
          type: string
          enum:
            - dynamic
            - flat
        simpleForms:
          type: boolean
        stickyChat:
          type: boolean
        largeType:
          type: boolean
        tutorials:
          type: boolean
        hiddenFields:
          type: array
          items:
            type: string
        defaultTransportOrderTemplate:
          type: string
        disabledElements:
          type: array
          items:
            type: string
    BoardModel:
      required:
        - id
        - primaryPlatformId
        - title
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        title:
          type: string
          description: The title of the board
        description:
          type: string
        lanes:
          type: array
          items:
            $ref: '#/components/schemas/LaneModel'
        users:
          type: array
          items:
            $ref: '#/components/schemas/UserModel'
        creator:
          $ref: '#/components/schemas/UserModel'
        statistics:
          $ref: '#/components/schemas/BoardStatistics'
    BoardStatistics:
      type: object
      properties:
        laneStats:
          type: array
          items:
            $ref: '#/components/schemas/LaneStats'
        totalComments:
          type: integer
          format: int32
        totalDocuments:
          type: integer
          format: int32
    LaneModel:
      required:
        - id
        - position
        - primaryPlatformId
        - title
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        position:
          type: integer
          description: The position of the lane within a board
          format: int32
        title:
          type: string
          description: The title of the lane
        color:
          type: string
        default:
          type: boolean
        todoStatus:
          type: string
          enum:
            - default
            - todo
            - overDue
            - in_progress
            - completed
        toDos:
          type: array
          items:
            $ref: '#/components/schemas/ToDoModel'
        board:
          type: object
          description: circular reference
    LaneStats:
      type: object
      properties:
        title:
          type: string
        color:
          type: string
        totalToDos:
          type: integer
          format: int32
        position:
          type: integer
          format: int32
    ToDoModel:
      required:
        - id
        - name
        - position
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        position:
          type: integer
          description: The position of a todo within a lane
          format: int32
        name:
          type: string
          description: The name of a todo task
        description:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        type:
          type: string
          enum:
            - general
            - type_a
            - type_b
            - type_c
        statuses:
          type: array
          items:
            type: string
            enum:
              - default
              - todo
              - overDue
              - in_progress
              - completed
        relatedEntityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        relatedEntityName:
          type: string
        relatedEntityId:
          type: string
        reporter:
          $ref: '#/components/schemas/UserModel'
        assignee:
          $ref: '#/components/schemas/UserModel'
        deadline:
          type: string
          description: The date and time for the deadline of the task todo
          format: date-time
        lane:
          type: object
          description: circular reference
        statistics:
          $ref: '#/components/schemas/ToDoStatsCount'
    ToDoStatsCount:
      type: object
      properties:
        commentsCount:
          type: integer
          format: int64
        attachmentCount:
          type: integer
          format: int64
    ToDosResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        toDos:
          type: array
          items:
            $ref: '#/components/schemas/ToDoModel'
    ConstraintsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintModel'
    TaxRatesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        taxRates:
          type: array
          items:
            $ref: '#/components/schemas/TaxRateModel'
    PricingCreateModel:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        description:
          type: string
        targetEntityType:
          type: string
          enum:
            - fleetVehicle
            - vehicle
            - trip
            - transportOrder
            - consignment
            - accumulatedData
            - chauffeur
            - transportEquipment
        triggerType:
          type: string
          enum:
            - endOfWeek
            - endOfWeekOrMonth
            - endOfMonth
            - endOfQuarter
            - endOfTrip
            - endOfTransportOrder
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        modules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
        businesses:
          type: array
          items:
            $ref: '#/components/schemas/Business'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        lastHandled:
          type: string
          format: date-time
        direct:
          type: boolean
        combinePerCustomer:
          type: boolean
        selfBill:
          type: boolean
        taxRates:
          type: array
          items:
            $ref: '#/components/schemas/PricingTaxRateModel'
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        enabled:
          type: boolean
    PricingModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        description:
          type: string
        targetEntityType:
          type: string
          enum:
            - fleetVehicle
            - vehicle
            - trip
            - transportOrder
            - consignment
            - accumulatedData
            - chauffeur
            - transportEquipment
        triggerType:
          type: string
          enum:
            - endOfWeek
            - endOfWeekOrMonth
            - endOfMonth
            - endOfQuarter
            - endOfTrip
            - endOfTransportOrder
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        modules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
        businesses:
          type: array
          items:
            $ref: '#/components/schemas/Business'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        lastHandled:
          type: string
          format: date-time
        direct:
          type: boolean
        combinePerCustomer:
          type: boolean
        selfBill:
          type: boolean
        taxRates:
          type: array
          items:
            $ref: '#/components/schemas/PricingTaxRateModel'
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        enabled:
          type: boolean
    PricingResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        pricing:
          $ref: '#/components/schemas/PricingModel'
    TeamsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        teams:
          type: array
          items:
            $ref: '#/components/schemas/TeamModel'
    BusinessesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        businesses:
          type: array
          items:
            $ref: '#/components/schemas/Business'
    InvoiceResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        invoice:
          $ref: '#/components/schemas/InvoiceModel'
    CreateIntegrationTestRequest:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        input:
          type: string
        expectedOutput:
          type: string
        dataSourceId:
          type: string
    IntegrationTestModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        description:
          type: string
        input:
          type: string
        expectedOutput:
          type: string
        lastStatus:
          type: string
          enum:
            - notRun
            - pass
            - fail
        lastResultMessage:
          type: string
        lastRunAt:
          type: string
          format: date-time
        integration:
          $ref: '#/components/schemas/IntegrationModel'
        dataSource:
          $ref: '#/components/schemas/IntegrationDataSourceModel'
    IntegrationTestResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        integrationTest:
          $ref: '#/components/schemas/IntegrationTestModel'
    ToDoResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        toDo:
          $ref: '#/components/schemas/ToDoModel'
    LoginUserRequest:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
    CombinedTripFinancialsResponse:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        expectedCost:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        revenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        cost:
          $ref: '#/components/schemas/MoneyModel'
        combinedExpectedRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        combinedExpectedCost:
          $ref: '#/components/schemas/MoneyModel'
        combinedActualRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        combinedActualCost:
          $ref: '#/components/schemas/MoneyModel'
    ChauffeurCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        type:
          type: string
          enum:
            - driver
            - conductor
            - captain
            - pilot
        picture:
          $ref: '#/components/schemas/FileModel'
        firstName:
          type: string
        lastName:
          type: string
        user:
          $ref: '#/components/schemas/UserModel'
        dateOfBirth:
          type: string
          format: date
        birthPlace:
          type: string
        nationality:
          type: string
        hourlyRate:
          $ref: '#/components/schemas/MoneyModel'
        hoursPerMonth:
          type: number
          format: double
        preferredVehicle:
          $ref: '#/components/schemas/VehicleModel'
        adr:
          $ref: '#/components/schemas/ChauffeurADR'
        driverLicense:
          $ref: '#/components/schemas/ChauffeurDriverLicense'
        tachoCard:
          $ref: '#/components/schemas/ChauffeurTachoCard'
        remainingRestingTimes:
          $ref: '#/components/schemas/RemainingRestingTimes'
        remainingDrivingTimes:
          $ref: '#/components/schemas/RemainingDrivingTimes'
        upcomingRestingTimes:
          $ref: '#/components/schemas/UpcomingRestingTimes'
        languages:
          type: array
          items:
            type: string
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        boardComputers:
          type: array
          items:
            $ref: '#/components/schemas/BoardComputerModel'
        lastActivity:
          $ref: '#/components/schemas/ChauffeurActivityModel'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
    ChauffeurResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
    LaneResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        lane:
          $ref: '#/components/schemas/LaneModel'
    ExtendedVehicleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        description:
          type: string
        vin:
          type: string
        licensePlate:
          type: string
        business:
          $ref: '#/components/schemas/Business'
        pictures:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
        vehicleType:
          type: string
        transportMode:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        emissionStandard:
          type: string
          enum:
            - euro0
            - euro1
            - euro2
            - euro3
            - euro4
            - euro5
            - euro6
            - euro7
            - euro_eev
        fuelCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        fuelType:
          type: string
        maxLinks:
          type: integer
          format: int32
        loadCapacities:
          type: array
          items:
            $ref: '#/components/schemas/ValueWithUnit'
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLength:
          $ref: '#/components/schemas/ValueWithUnit'
        loadHeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadWidth:
          $ref: '#/components/schemas/ValueWithUnit'
        maxWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        emptyWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLoadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        axles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleAxle'
        brand:
          $ref: '#/components/schemas/BrandModel'
        boardComputers:
          type: array
          items:
            $ref: '#/components/schemas/BoardComputerModel'
        operational:
          type: boolean
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        sensors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        fleets:
          type: array
          items:
            $ref: '#/components/schemas/FleetVehicleModel'
        chat:
          $ref: '#/components/schemas/ChatModel'
        trip:
          $ref: '#/components/schemas/TripModel'
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurModel'
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipmentModel'
        latestLocation:
          $ref: '#/components/schemas/LocationUpdateEventModel'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        cameras:
          type: array
          items:
            $ref: '#/components/schemas/CameraModel'
        legalStatistics:
          $ref: '#/components/schemas/VehicleLegalStatistics'
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        versionNumber:
          type: integer
          format: int32
        hasAgreedToPrice:
          type: boolean
          description: >-
            Set this value to 'true' if the user has agreed to the pricing of
            this element. Only needed once the NeedsBillingApproval Exception is
            thrown
          writeOnly: true
    ExtendedVehiclesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        extendedVehicles:
          type: array
          items:
            $ref: '#/components/schemas/ExtendedVehicleModel'
    TenderBidResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        tenderBid:
          $ref: '#/components/schemas/TenderBidModel'
    ChauffeursBorderCrossingByDateRangeRequest:
      type: object
      properties:
        chauffeurs:
          type: array
          items:
            type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
    InsightMultiTableResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        tables:
          type: array
          items:
            $ref: '#/components/schemas/Table'
        type:
          type: string
          enum:
            - table
            - multiTable
    AdministrationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        administration:
          $ref: '#/components/schemas/AdministrationModel'
    AttributeResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        attribute:
          $ref: '#/components/schemas/AttributeModel'
    ServiceCardsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        serviceCards:
          type: array
          items:
            $ref: '#/components/schemas/ServiceCardModel'
    IntegrationsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        integrations:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationModel'
    ConsignmentResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        consignment:
          $ref: '#/components/schemas/ConsignmentModel'
    TripsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        trips:
          type: array
          items:
            $ref: '#/components/schemas/TripModel'
    AlertsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        alerts:
          type: array
          items:
            $ref: '#/components/schemas/Alert'
    BoardComputerResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        boardComputer:
          $ref: '#/components/schemas/BoardComputerModel'
    BookingCreateRequest:
      required:
        - id
        - primaryPlatformId
        - type
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        type:
          type: string
          description: The type of booking
          enum:
            - maritime
            - road
            - air
            - rail
        name:
          type: string
        bookingNumber:
          type: string
        externalReference:
          type: string
        transportOrder:
          $ref: '#/components/schemas/TransportOrder'
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        quote:
          $ref: '#/components/schemas/QuoteModel'
        invoice:
          $ref: '#/components/schemas/InvoiceModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
      discriminator:
        propertyName: type
        mapping:
          air: '#/components/schemas/AirBookingModel'
          maritime: '#/components/schemas/MaritimeBookingModel'
          road: '#/components/schemas/RoadBookingModel'
      oneOf:
        - $ref: '#/components/schemas/MaritimeBookingModel'
        - $ref: '#/components/schemas/RoadBookingModel'
        - $ref: '#/components/schemas/AirBookingModel'
    BookingResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        booking:
          $ref: '#/components/schemas/BookingModel'
    CapacityContractRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        type:
          type: string
          enum:
            - permanentContract
            - oneTimeContract
            - transportOrderContract
        communicationMethod:
          type: string
          enum:
            - messageAutomation
            - integration
            - pdf
        contract:
          $ref: '#/components/schemas/ContractModel'
        business:
          $ref: '#/components/schemas/Business'
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        selfBilling:
          type: boolean
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        triggerType:
          type: string
          enum:
            - endOfWeek
            - endOfWeekOrMonth
            - endOfMonth
            - endOfQuarter
            - endOfTrip
            - endOfTransportOrder
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
        lastHandledSelfBilling:
          type: string
          format: date-time
        signature:
          $ref: '#/components/schemas/SignatureModel'
        integration:
          $ref: '#/components/schemas/IntegrationModel'
        messageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
      discriminator:
        propertyName: type
        mapping:
          oneTimeContract: '#/components/schemas/OneTimeContractModel'
          permanentContract: '#/components/schemas/PermanentContractModel'
          orderContract: '#/components/schemas/TransportOrderContractModel'
      oneOf:
        - $ref: '#/components/schemas/OneTimeContractModel'
        - $ref: '#/components/schemas/PermanentContractModel'
        - $ref: '#/components/schemas/TransportOrderContractModel'
    VehicleCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        description:
          type: string
        vin:
          type: string
        licensePlate:
          type: string
        business:
          $ref: '#/components/schemas/Business'
        pictures:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
        vehicleType:
          type: string
        transportMode:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        emissionStandard:
          type: string
          enum:
            - euro0
            - euro1
            - euro2
            - euro3
            - euro4
            - euro5
            - euro6
            - euro7
            - euro_eev
        fuelCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        fuelType:
          type: string
        maxLinks:
          type: integer
          format: int32
        loadCapacities:
          type: array
          items:
            $ref: '#/components/schemas/ValueWithUnit'
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLength:
          $ref: '#/components/schemas/ValueWithUnit'
        loadHeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadWidth:
          $ref: '#/components/schemas/ValueWithUnit'
        maxWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        emptyWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLoadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        axles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleAxle'
        brand:
          $ref: '#/components/schemas/Brand'
        boardComputers:
          type: array
          items:
            $ref: '#/components/schemas/BoardComputer'
        operational:
          type: boolean
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        sensors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        fleets:
          type: array
          items:
            $ref: '#/components/schemas/FleetVehicleModel'
        chat:
          $ref: '#/components/schemas/ChatModel'
        trip:
          $ref: '#/components/schemas/TripModel'
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurModel'
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipmentModel'
        latestLocation:
          $ref: '#/components/schemas/LocationUpdateEventModel'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        cameras:
          type: array
          items:
            $ref: '#/components/schemas/CameraModel'
        legalStatistics:
          $ref: '#/components/schemas/VehicleLegalStatistics'
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        versionNumber:
          type: integer
          format: int32
    VehicleResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
    DocumentResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        document:
          $ref: '#/components/schemas/DocumentModel'
    NotificationCreateRequest:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        user:
          $ref: '#/components/schemas/UserModel'
        image:
          $ref: '#/components/schemas/FileModel'
        title:
          type: string
        link:
          type: string
        message:
          type: string
        notificationLevel:
          type: string
          enum:
            - INFO
            - UPDATE
            - ACTION
            - INTERMEDIATE
            - IMPORTANT
            - HIGH
            - URGENT
        notificationState:
          type: string
          enum:
            - NORMAL
            - IMPORTANT
            - PINNED
            - DELETED
        push:
          type: boolean
        hasSentPush:
          type: boolean
        email:
          type: boolean
        hasSentEmail:
          type: boolean
        action:
          type: string
        actionType:
          type: string
          enum:
            - NONE
            - BUTTON
            - ARTICLE
        actionName:
          type: string
        actionValue:
          type: string
        date:
          type: string
          format: date-time
        received:
          type: array
          items:
            $ref: '#/components/schemas/NotificationReceivedModel'
        read:
          type: array
          items:
            $ref: '#/components/schemas/NotificationReadModel'
    ChauffeurLightTrips:
      type: object
      properties:
        chauffeur:
          type: string
        trips:
          type: array
          items:
            $ref: '#/components/schemas/LightTrip'
    ChauffeurLightTripsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        chauffeursTrips:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurLightTrips'
    LightTrip:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        versionNumber:
          type: integer
          format: int32
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        hasAgreedToPrice:
          type: boolean
        type:
          type: string
          enum:
            - internal
            - internal_empty
            - forwarded
        tripNr:
          type: string
        remark:
          type: string
          description: The remark for Trip
        status:
          type: string
          enum:
            - draft
            - requested
            - accepted
            - confirmed
            - in_transit
            - pending_completion
            - completed
            - cancelled
            - modified
        planStatus:
          type: string
          enum:
            - ok
            - too_late
            - too_early
            - off_route
        routeStatus:
          type: string
          enum:
            - on_route
            - off_route
        currentAction:
          $ref: '#/components/schemas/Action'
        transportMode:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        capacityContract:
          $ref: '#/components/schemas/CapacityContract'
        vehicle:
          $ref: '#/components/schemas/Vehicle'
        linkedTrip:
          type: boolean
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/Chauffeur'
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipment'
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/Consignment'
        contextEvents:
          type: array
          items:
            $ref: '#/components/schemas/Event'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Document'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Actor'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/Action'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
        businesses:
          type: array
          items:
            $ref: '#/components/schemas/Business'
        teams:
          type: array
          items:
            $ref: '#/components/schemas/Team'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElement'
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        estimatedEndDate:
          type: string
          format: date-time
        kmStart:
          type: integer
          format: int32
        kmEnd:
          type: integer
          format: int32
        booking:
          $ref: '#/components/schemas/Booking'
        shareSettings:
          $ref: '#/components/schemas/ShareSettings'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        expectedCost:
          $ref: '#/components/schemas/CumulativeMoney'
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoney'
        actualCost:
          $ref: '#/components/schemas/Money'
        quote:
          $ref: '#/components/schemas/Quote'
        invoice:
          $ref: '#/components/schemas/Invoice'
        CO2eWTW:
          type: number
          format: double
        CO2eTTW:
          type: number
          format: double
        firstAction:
          $ref: '#/components/schemas/Action'
        nextAction:
          $ref: '#/components/schemas/Action'
        lastAction:
          $ref: '#/components/schemas/Action'
        estimatedDuration:
          type: integer
          format: int32
        settings:
          $ref: '#/components/schemas/TripSettings'
        name:
          type: string
        route:
          $ref: '#/components/schemas/Route'
        stackMap:
          $ref: '#/components/schemas/StackMap'
    LaneCreateRequest:
      required:
        - position
        - title
      type: object
      properties:
        nonce:
          type: string
        position:
          type: integer
          description: The position of the lane within a board
          format: int32
        title:
          type: string
          description: The title of the lane
        color:
          type: string
        default:
          type: boolean
        todoStatus:
          type: string
          enum:
            - default
            - todo
            - overDue
            - in_progress
            - completed
        toDos:
          type: array
          items:
            $ref: '#/components/schemas/ToDoModel'
        board:
          $ref: '#/components/schemas/BoardModel'
    SearchTransportOrdersRequest:
      type: object
      properties:
        query:
          type: string
        type:
          type: string
          enum:
            - standard
            - urgent
            - expected
            - forwarded
        types:
          type: array
          items:
            type: string
            enum:
              - standard
              - urgent
              - expected
              - forwarded
        status:
          type: string
          enum:
            - declined
            - cancelled
            - requested
            - accepted
            - calculated_trip
            - partially_planned
            - planned
            - actual
            - realized
            - concept
        statuses:
          type: array
          items:
            type: string
            enum:
              - declined
              - cancelled
              - requested
              - accepted
              - calculated_trip
              - partially_planned
              - planned
              - actual
              - realized
              - concept
        teams:
          type: array
          items:
            type: string
        customer:
          type: string
        customers:
          type: array
          items:
            type: string
        deliveryTerms:
          type: array
          items:
            type: string
            enum:
              - EXW
              - FCA
              - FAS
              - FOB
              - CPT
              - CIP
              - CFR
              - CIF
              - DAP
              - DPU
              - DDP
        consignmentType:
          type: string
        consignmentAttributes:
          type: array
          items:
            type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        sortBy:
          type: array
          items:
            type: object
    TransportOrdersResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        transportOrders:
          type: array
          items:
            $ref: '#/components/schemas/TransportOrder'
    EventOccurrenceDetail:
      type: object
      properties:
        recurringEventId:
          type: string
        eventId:
          type: string
        title:
          type: string
        description:
          type: string
        location:
          $ref: '#/components/schemas/Location'
        date:
          type: string
        startDateTime:
          type: string
        endDateTime:
          type: string
        isException:
          type: boolean
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipmentModel'
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
    OccurrencesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        events:
          type: array
          items:
            $ref: '#/components/schemas/EventOccurrenceDetail'
    TireModel:
      required:
        - id
        - name
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipment'
        tireClass:
          type: string
          enum:
            - P
            - LT
            - ST
            - T
        fabricType:
          type: string
          enum:
            - B
            - D
            - R
            - C
        threadWidth:
          type: integer
          format: int32
        aspectRatio:
          type: string
        speedingRate:
          type: string
        diameter:
          type: integer
          format: int32
        loadIndex:
          type: integer
          format: int32
        madeIn:
          type: string
        invoice:
          $ref: '#/components/schemas/InvoiceModel'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        name:
          type: string
          description: Name of the TransportOrder, for display and search purposes only.
        vehicle:
          $ref: '#/components/schemas/Vehicle'
    TireResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        tire:
          $ref: '#/components/schemas/TireModel'
    Publisher:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        logo:
          $ref: '#/components/schemas/File'
        name:
          type: string
        description:
          type: string
        approved:
          type: boolean
        verified:
          type: boolean
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
    ExtendedTransportEquipmentModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        type:
          type: string
          enum:
            - transportEquipment
            - items
        name:
          type: string
        description:
          type: string
        remark:
          type: string
        barCode:
          type: string
        quantity:
          type: integer
          format: int32
        weight:
          $ref: '#/components/schemas/ValueWithUnit'
        grossWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        maxStackableWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        loadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/ActorModel'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionModel'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        stackObjectMetrics:
          $ref: '#/components/schemas/StackObjectMetrics'
        isStackObjectMetricsUpdated:
          type: boolean
        loadWidth:
          $ref: '#/components/schemas/ValueWithUnit'
        loadHeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLength:
          $ref: '#/components/schemas/ValueWithUnit'
        maxWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        loadLoadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        axles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleAxle'
        containedGoods:
          type: array
          items:
            $ref: '#/components/schemas/GoodsModel'
        equipmentType:
          type: string
          description: The type of equipment (Trailer/Chassis/Pallet/Box/etc.)
        equipmentSubType:
          type: string
          description: >-
            The subtype of equipment (EuroPallet/Dry van/Reefer
            Van/Lowbed/Backbone/Block pallet)
        licensePlate:
          type: string
        vin:
          type: string
        equipmentId:
          type: string
          description: |2-

                        The container number of the transport order.Should be 11 characters.First 3 characters should be letters. 
                        4th character should be U, J or Z and last 7 characters should be numbers.The format is in ISO 6346.
                        
        seal:
          type: string
          description: Seal number of the equipment
        requirementCodes:
          type: array
          description: The specific requirements for the transport.
          items:
            type: string
            description: The specific requirements for the transport.
        adr:
          $ref: '#/components/schemas/ADR'
        sensors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        boardComputers:
          type: array
          items:
            $ref: '#/components/schemas/BoardComputerModel'
        latestLocation:
          $ref: '#/components/schemas/LocationUpdateEventModel'
        business:
          $ref: '#/components/schemas/Business'
        operational:
          type: boolean
        internal:
          type: boolean
        trip:
          $ref: '#/components/schemas/TripModel'
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModule'
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleModel'
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurModel'
    ExtendedTransportEquipmentsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/ExtendedTransportEquipmentModel'
    ScheduleRouteResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        scheduleRoute:
          $ref: '#/components/schemas/ScheduleRouteModel'
    PricingVariableIndexResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        pricingVariableIndex:
          $ref: '#/components/schemas/PricingVariableIndexModel'
    ConstraintResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        constraint:
          $ref: '#/components/schemas/ConstraintModel'
    ToDoStatistics:
      type: object
      properties:
        total:
          type: integer
          format: int32
        todo:
          type: integer
          format: int32
        overDue:
          type: integer
          format: int32
        inProgress:
          type: integer
          format: int32
        completed:
          type: integer
          format: int32
    ToDoStatisticsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        toDoStatistics:
          $ref: '#/components/schemas/ToDoStatistics'
    ExtendedVehicleResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        extendedVehicle:
          $ref: '#/components/schemas/ExtendedVehicleModel'
    QuotesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        quotes:
          type: array
          items:
            $ref: '#/components/schemas/QuoteModel'
    ChatResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        chat:
          $ref: '#/components/schemas/ChatModel'
        unreadMessages:
          type: integer
          format: int64
    CalculateRouteRequest:
      type: object
      properties:
        name:
          type: string
        locations:
          type: array
          items:
            $ref: '#/components/schemas/Location'
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/Vehicle'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
        startDateTime:
          type: string
          format: date-time
    CalculateRouteResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        route:
          $ref: '#/components/schemas/RouteModel'
    BoardCreateRequest:
      required:
        - title
      type: object
      properties:
        nonce:
          type: string
        title:
          type: string
          description: The title of the board
        description:
          type: string
        lanes:
          type: array
          items:
            $ref: '#/components/schemas/LaneModel'
        users:
          type: array
          items:
            $ref: '#/components/schemas/UserModel'
        creator:
          $ref: '#/components/schemas/UserModel'
        statistics:
          $ref: '#/components/schemas/BoardStatistics'
    BoardResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        board:
          $ref: '#/components/schemas/BoardModel'
    EventCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        type:
          type: string
          enum:
            - generalEvent
            - sensorUpdateEvent
            - gateInEvent
            - gateOutEvent
            - arrivalEvent
            - departureEvent
            - stopEngineEvent
            - startEngineEvent
            - startWaitingEvent
            - stopWaitingEvent
            - stopMovingEvent
            - startMovingEvent
            - locationUpdateEvent
            - updateEvent
            - associationRemovedEvent
            - associationCreatedEvent
            - capacityChangeEvent
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        dateTime:
          type: string
          format: date-time
      discriminator:
        propertyName: type
        mapping:
          arrivalEvent: '#/components/schemas/ArrivalEventModel'
          departureEvent: '#/components/schemas/DepartureEventModel'
          gateInEvent: '#/components/schemas/GateInEventModel'
          gateOutEvent: '#/components/schemas/GateOutEventModel'
          generalEvent: '#/components/schemas/GeneralEventModel'
          sensorUpdateEvent: '#/components/schemas/SensorUpdateEventModel'
          startEngineEvent: '#/components/schemas/StartEngineEventModel'
          startMovingEvent: '#/components/schemas/StartMovingEventModel'
          startWaitingEvent: '#/components/schemas/StartWaitingEventModel'
          stopEngineEvent: '#/components/schemas/StopEngineEventModel'
          stopMovingEvent: '#/components/schemas/StopMovingEventModel'
          locationUpdateEvent: '#/components/schemas/LocationUpdateEventModel'
          updateEvent: '#/components/schemas/UpdateEventModel'
      oneOf:
        - $ref: '#/components/schemas/ArrivalEventModel'
        - $ref: '#/components/schemas/DepartureEventModel'
        - $ref: '#/components/schemas/GateInEventModel'
        - $ref: '#/components/schemas/GateOutEventModel'
        - $ref: '#/components/schemas/GeneralEventModel'
        - $ref: '#/components/schemas/SensorUpdateEventModel'
        - $ref: '#/components/schemas/StartEngineEventModel'
        - $ref: '#/components/schemas/StartMovingEventModel'
        - $ref: '#/components/schemas/StartWaitingEventModel'
        - $ref: '#/components/schemas/StopEngineEventModel'
        - $ref: '#/components/schemas/StopMovingEventModel'
        - $ref: '#/components/schemas/LocationUpdateEventModel'
        - $ref: '#/components/schemas/UpdateEventModel'
    PricingVariableIndexesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        pricingVariableIndexes:
          type: array
          items:
            $ref: '#/components/schemas/PricingVariableIndexModel'
    LocationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        location:
          $ref: '#/components/schemas/LocationModel'
    ExistsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        exists:
          type: boolean
    DeclineTenderBidRequest:
      type: object
      properties:
        tenderBidId:
          type: string
        reasoning:
          type: string
    BanModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        description:
          type: string
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        business:
          $ref: '#/components/schemas/Business'
        actor:
          $ref: '#/components/schemas/ActorModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
    BansResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        bans:
          type: array
          items:
            $ref: '#/components/schemas/BanModel'
    BanResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        ban:
          $ref: '#/components/schemas/BanModel'
    LocationActionAverageDurationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        duration:
          type: integer
          format: int64
        count:
          type: integer
          format: int64
    QuoteResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        quote:
          $ref: '#/components/schemas/QuoteModel'
    SAMLModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        description:
          type: string
        allowedDomains:
          uniqueItems: true
          type: array
          items:
            type: string
        idpSAMLMetadata:
          $ref: '#/components/schemas/IDPSAMLMetadata'
        spSAMLMetadata:
          $ref: '#/components/schemas/SPSAMLMetadata'
        enabled:
          type: boolean
    SAMLResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        saml:
          $ref: '#/components/schemas/SAML'
    IntegrationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        integration:
          $ref: '#/components/schemas/IntegrationModel'
    TimeslotBookingResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        timeslotBooking:
          $ref: '#/components/schemas/TimeslotBooking'
    CalendarEventModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        title:
          type: string
        description:
          type: string
        location:
          type: string
        createdBy:
          $ref: '#/components/schemas/User'
        recurringEvent:
          $ref: '#/components/schemas/RecurringEvent'
        startDate:
          type: string
          format: date
        startTime:
          $ref: '#/components/schemas/LocalTime'
        endDate:
          type: string
          format: date
        endTime:
          $ref: '#/components/schemas/LocalTime'
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipmentModel'
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
      description: Data Transfer Object for Calendar Event details
    RecurringEvent:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        event:
          type: object
          description: circular reference
        pattern:
          type: string
          enum:
            - daily
            - weekly
            - monthly
            - yearly
        interval:
          type: integer
          format: int32
        startDate:
          type: string
          format: date
        startTime:
          $ref: '#/components/schemas/LocalTime'
        endTime:
          $ref: '#/components/schemas/LocalTime'
        endDate:
          type: string
          format: date
        count:
          type: integer
          format: int32
        daysOfWeek:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
              - MONDAY
              - TUESDAY
              - WEDNESDAY
              - THURSDAY
              - FRIDAY
              - SATURDAY
              - SUNDAY
        dayOfMonth:
          type: integer
          format: int32
        weekOfMonth:
          type: integer
          format: int32
        dayOfWeekInMonth:
          type: string
          enum:
            - MONDAY
            - TUESDAY
            - WEDNESDAY
            - THURSDAY
            - FRIDAY
            - SATURDAY
            - SUNDAY
        monthOfYear:
          type: integer
          format: int32
        exceptions:
          type: array
          items:
            $ref: '#/components/schemas/RecurringEventException'
    RecurringEventException:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        recurringEvent:
          type: object
          description: circular reference
        chauffeurTimeslot:
          $ref: '#/components/schemas/ChauffeurActivity'
        locationTimeslot:
          $ref: '#/components/schemas/LocationTimeslot'
        exceptionDate:
          type: string
          format: date
        isCanceled:
          type: boolean
        newStartTime:
          $ref: '#/components/schemas/LocalTime'
        newEndTime:
          $ref: '#/components/schemas/LocalTime'
        newTitle:
          type: string
        newDescription:
          type: string
        newLocation:
          type: string
    CalendarEventResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        calendarEvent:
          $ref: '#/components/schemas/CalendarEventModel'
    SubmitActionResultRequest:
      type: object
      properties:
        answers:
          type: object
          additionalProperties:
            type: object
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/ResultAttachment'
    ActionResultProcessingResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        result:
          $ref: '#/components/schemas/ActionResult'
        errors:
          type: array
          items:
            type: string
        modifiedConsignment:
          type: boolean
        modifiedAction:
          type: boolean
    MailAndTransportOrderResponse:
      type: object
      properties:
        success:
          type: boolean
        mail:
          $ref: '#/components/schemas/MailMessageModel'
        transportOrder:
          $ref: '#/components/schemas/TransportOrder'
    ChatUserResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        chatUser:
          $ref: '#/components/schemas/ChatUserModel'
    FleetsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        fleets:
          type: array
          items:
            $ref: '#/components/schemas/FleetModel'
    TiresResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        tires:
          type: array
          items:
            $ref: '#/components/schemas/TireModel'
    GoodsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        goods:
          $ref: '#/components/schemas/GoodsModel'
    ChatsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        chats:
          type: array
          items:
            $ref: '#/components/schemas/ChatModel'
        messagesUnread:
          type: integer
          format: int32
    TenderCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        description:
          type: string
        type:
          type: string
          enum:
            - one_time
            - reoccurring
        status:
          type: string
          enum:
            - concept
            - open
            - accepted
            - closed
        targetPrice:
          $ref: '#/components/schemas/MoneyModel'
        acceptAutomaticallyAtTargetPrice:
          type: boolean
        business:
          $ref: '#/components/schemas/Business'
        creator:
          $ref: '#/components/schemas/UserModel'
        brokers:
          type: array
          items:
            $ref: '#/components/schemas/TenderBrokerModel'
        contract:
          $ref: '#/components/schemas/ContractModel'
        transportOrder:
          $ref: '#/components/schemas/TransportOrder'
        mostRecentBid:
          $ref: '#/components/schemas/TenderBidModel'
        lowestAmountBid:
          $ref: '#/components/schemas/TenderBidModel'
        totalBidCount:
          type: integer
          format: int32
    SensorTypesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        sensorTypes:
          type: array
          items:
            type: string
    WidgetCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        type:
          type: string
          enum:
            - map
            - customer-portal
            - transport-order-request-input
            - chauffeur-planner
            - track-and-trace
            - quote-request
            - fleet-status
            - notification-feed
            - driver-schedule
        credentials:
          $ref: '#/components/schemas/WidgetCredentials'
        apiAccessIntegration:
          $ref: '#/components/schemas/ApiAccessIntegrationModel'
        hostNames:
          type: array
          items:
            $ref: '#/components/schemas/WidgetHostnameModel'
        ips:
          type: array
          items:
            $ref: '#/components/schemas/WidgetHostnameModel'
        styling:
          type: string
        active:
          type: boolean
        code:
          type: string
        data:
          type: string
    WidgetCredentials:
      type: object
      properties:
        publicKey:
          type: string
        privateKey:
          type: string
    MessageAutomationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        messageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
    GoodsCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        type:
          type: string
          enum:
            - transportEquipment
            - items
        name:
          type: string
        description:
          type: string
        remark:
          type: string
        barCode:
          type: string
        quantity:
          type: integer
          format: int32
        weight:
          $ref: '#/components/schemas/ValueWithUnit'
        grossWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        maxStackableWeight:
          $ref: '#/components/schemas/ValueWithUnit'
        width:
          $ref: '#/components/schemas/ValueWithUnit'
        height:
          $ref: '#/components/schemas/ValueWithUnit'
        length:
          $ref: '#/components/schemas/ValueWithUnit'
        loadMeters:
          $ref: '#/components/schemas/ValueWithUnit'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/ActorModel'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionModel'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        stackObjectMetrics:
          $ref: '#/components/schemas/StackObjectMetrics'
        isStackObjectMetricsUpdated:
          type: boolean
      discriminator:
        propertyName: type
        mapping:
          items: '#/components/schemas/ItemsModel'
          transportEquipment: '#/components/schemas/TransportEquipmentModel'
      oneOf:
        - $ref: '#/components/schemas/ItemsModel'
        - $ref: '#/components/schemas/TransportEquipmentModel'
    CapacityContractsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        capacityContracts:
          type: array
          items:
            $ref: '#/components/schemas/CapacityContractModel'
    UsersResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        users:
          type: array
          items:
            $ref: '#/components/schemas/UserModel'
    IndustriesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        industries:
          type: array
          items:
            $ref: '#/components/schemas/IndustryModel'
    ExtendedTransportOrderModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        orderId:
          type: string
        name:
          type: string
        type:
          type: string
          enum:
            - standard
            - urgent
            - expected
            - forwarded
        status:
          type: string
          enum:
            - declined
            - cancelled
            - requested
            - accepted
            - calculated_trip
            - partially_planned
            - planned
            - actual
            - realized
            - concept
        description:
          type: string
        referenceDescription:
          type: string
        customer:
          $ref: '#/components/schemas/CustomerModel'
        mailMessage:
          $ref: '#/components/schemas/MailMessageModel'
        vat:
          $ref: '#/components/schemas/TaxRateModel'
        deliveryTerms:
          type: string
          enum:
            - EXW
            - FCA
            - FAS
            - FOB
            - CPT
            - CIP
            - CFR
            - CIF
            - DAP
            - DPU
            - DDP
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        team:
          $ref: '#/components/schemas/TeamModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/ConsignmentAssociation'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetailAssociation'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElement'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        tender:
          $ref: '#/components/schemas/TenderModel'
        quote:
          $ref: '#/components/schemas/QuoteModel'
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceModel'
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        shareSettings:
          $ref: '#/components/schemas/TransportOrderShareSettings'
        template:
          type: boolean
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        expectedCost:
          $ref: '#/components/schemas/CumulativeMoneyModel'
    ExtendedTransportOrderResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        transportOrder:
          $ref: '#/components/schemas/ExtendedTransportOrderModel'
    ActionResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        action:
          $ref: '#/components/schemas/Action'
    TerminalsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        terminals:
          type: array
          items:
            $ref: '#/components/schemas/TerminalModel'
    ForwardMailRequest:
      type: object
      properties:
        nonce:
          type: string
        to:
          type: array
          items:
            type: string
        cc:
          type: array
          items:
            type: string
        bcc:
          type: array
          items:
            type: string
        body:
          type: string
        includeAttachments:
          type: boolean
        integrationId:
          type: string
    MailResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        mail:
          $ref: '#/components/schemas/MailMessageModel'
    SettingsGroup:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        primary:
          type: boolean
        localStorageSettings:
          type: object
          additionalProperties:
            type: string
        hiddenFields:
          type: array
          items:
            type: string
        defaultSettings:
          $ref: '#/components/schemas/Settings'
        lastSettingsApplied:
          type: string
          format: date-time
        applyVersionNumber:
          type: integer
          format: int32
        name:
          type: string
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
        teams:
          type: array
          items:
            $ref: '#/components/schemas/Team'
    SettingsModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        user:
          $ref: '#/components/schemas/UserModel'
        privacy:
          $ref: '#/components/schemas/SettingsPrivacy'
        userInterface:
          $ref: '#/components/schemas/SettingsUserInterface'
        security:
          $ref: '#/components/schemas/SettingsSecurity'
        notifications:
          $ref: '#/components/schemas/SettingsNotifications'
        planning:
          $ref: '#/components/schemas/SettingsPlanning'
    SettingsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        settings:
          $ref: '#/components/schemas/SettingsModel'
        settingsGroups:
          type: array
          items:
            $ref: '#/components/schemas/SettingsGroup'
    RoutesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        routes:
          type: array
          items:
            $ref: '#/components/schemas/RouteModel'
    MessageTemplatesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        messageTemplates:
          type: array
          items:
            $ref: '#/components/schemas/MessageTemplateModel'
    ToDo:
      required:
        - description
        - id
        - name
        - position
        - statuses
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        position:
          type: integer
          description: The position of a todo within a lane
          format: int32
        name:
          type: string
          description: The name of a todo task
        description:
          type: string
          description: The description of a todo task
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Document'
        type:
          type: string
          enum:
            - general
            - type_a
            - type_b
            - type_c
        statuses:
          type: array
          items:
            type: string
            enum:
              - default
              - todo
              - overDue
              - in_progress
              - completed
        relatedEntityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        relatedEntityName:
          type: string
        relatedEntityId:
          type: string
        reporter:
          $ref: '#/components/schemas/User'
        assignee:
          $ref: '#/components/schemas/User'
        deadline:
          type: string
          format: date-time
        lane:
          type: object
          description: circular reference
        statistics:
          $ref: '#/components/schemas/ToDoStatsCount'
    ToDoComment:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        toDo:
          $ref: '#/components/schemas/ToDo'
        comment:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        creator:
          $ref: '#/components/schemas/User'
    ToDoCommentResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        toDoComment:
          $ref: '#/components/schemas/ToDoComment'
    BoardComputerCreateRequest:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        type:
          type: string
          enum:
            - vehicle
            - meansOfTransport
            - mobile
        active:
          type: boolean
        boardComputerId:
          type: string
        inviteCode:
          type: string
        inviteUrl:
          type: string
        integration:
          $ref: '#/components/schemas/IntegrationModel'
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipmentModel'
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    SessionsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        sessions:
          type: array
          items:
            $ref: '#/components/schemas/SessionModel'
    ActorResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        actor:
          $ref: '#/components/schemas/ActorModel'
    ComplaintResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        complaint:
          $ref: '#/components/schemas/ComplaintModel'
    UserRegisterRequest:
      type: object
      properties:
        type:
          type: string
          enum:
            - user
            - developer
            - chauffeur
        accountType:
          type: string
          enum:
            - default
            - customer
            - supplier
            - planning
            - financial
        firstName:
          type: string
        lastName:
          type: string
        username:
          type: string
        email:
          type: string
        password:
          type: string
        repeatPassword:
          type: string
        recaptcha:
          type: string
        newsletter:
          type: boolean
        termsAndConditions:
          type: boolean
        billingId:
          type: string
        business:
          $ref: '#/components/schemas/Business'
    UserFCM:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        user:
          $ref: '#/components/schemas/User'
        token:
          type: string
        endsAt:
          type: string
          format: date-time
        endedAt:
          type: string
          format: date-time
    UserFCMResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        userFCM:
          $ref: '#/components/schemas/UserFCM'
    ChauffeurTripStats:
      type: object
      properties:
        totalTrips:
          type: integer
          format: int64
        currentTrips:
          type: integer
          format: int64
    ComplaintCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        chauffeur:
          $ref: '#/components/schemas/Chauffeur'
        vehicle:
          $ref: '#/components/schemas/Vehicle'
        user:
          $ref: '#/components/schemas/User'
        complaint:
          type: string
        location:
          $ref: '#/components/schemas/Location'
        business:
          $ref: '#/components/schemas/Business'
        identifier:
          type: array
          items:
            $ref: '#/components/schemas/Identifier'
    TypeModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        targetEntityType:
          type: string
          enum:
            - transportEquipmentType
            - transportEquipmentSubType
            - consignmentType
            - fuelType
            - vehicleType
        label:
          type: string
        value:
          type: string
        childOf:
          type: object
          description: circular reference
        defaultValues:
          type: object
          additionalProperties:
            type: object
        hiddenFields:
          type: array
          items:
            type: string
    TypeResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        type:
          $ref: '#/components/schemas/TypeModel'
    AdministrationsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        administrations:
          type: array
          items:
            $ref: '#/components/schemas/AdministrationModel'
    TripsRequest:
      type: object
      properties:
        trips:
          type: array
          items:
            $ref: '#/components/schemas/TripModel'
    VehicleChauffeursResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurModel'
    ActionScheduleModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        status:
          type: string
          enum:
            - PLANNED
            - IN_PROGRESS
            - COMPLETED
            - CANCELLED
            - FAILED
        scheduledTime:
          type: string
          format: date-time
        location:
          $ref: '#/components/schemas/LocationModel'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionModel'
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurModel'
    ActionScheduleResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        actionSchedule:
          $ref: '#/components/schemas/ActionScheduleModel'
    InvoicesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceModel'
    PermissionsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/PermissionModel'
    DamageModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        description:
          type: string
        dateTime:
          type: string
          format: date-time
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        transportEquipment:
          $ref: '#/components/schemas/VehicleModel'
        consignment:
          $ref: '#/components/schemas/ConsignmentModel'
        items:
          $ref: '#/components/schemas/ItemsModel'
    DamagesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        damages:
          type: array
          items:
            $ref: '#/components/schemas/DamageModel'
    IdObject:
      type: object
      properties:
        id:
          type: string
    UpdateChatRequest:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        users:
          type: array
          items:
            $ref: '#/components/schemas/IdObject'
    ActionResultQuestionnaireResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        questionnaire:
          $ref: '#/components/schemas/ActionResultQuestionnaire'
        actionId:
          type: string
    SplitConsignmentsRequest:
      type: object
      properties:
        consignment:
          $ref: '#/components/schemas/Consignment'
        relatedConsignments:
          type: array
          items:
            $ref: '#/components/schemas/Consignment'
    ConsignmentsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/ConsignmentModel'
    SensorUpdateResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        update:
          $ref: '#/components/schemas/SensorUpdateEventModel'
    AddDocumentsToTripRequest:
      type: object
      properties:
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
    SensorUpdatesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        updates:
          type: array
          items:
            $ref: '#/components/schemas/SensorUpdateEventModel'
    IntegrationTestRunResult:
      type: object
      properties:
        testId:
          type: string
        testName:
          type: string
        passed:
          type: boolean
        actualOutput:
          type: string
        expectedOutput:
          type: string
        message:
          type: string
    RunIntegrationTestsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        results:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationTestRunResult'
        totalTests:
          type: integer
          format: int32
        passed:
          type: integer
          format: int32
        failed:
          type: integer
          format: int32
    PricingCategoryResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        pricingCategory:
          $ref: '#/components/schemas/PricingCategoryModel'
    DocumentsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
    ReoptimizeTripsRequest:
      type: object
      properties:
        tripIds:
          type: array
          items:
            type: string
    ReoptimizeTripsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        originalTripCount:
          type: integer
          format: int32
        newTripCount:
          type: integer
          format: int32
        newTrips:
          type: array
          items:
            $ref: '#/components/schemas/Trip'
        improvementPercent:
          type: number
          format: double
    PlatformSAMLMetadataResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        spSAMLMetadata:
          $ref: '#/components/schemas/SPSAMLMetadata'
    SettingsGroupResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        settingsGroup:
          $ref: '#/components/schemas/SettingsGroupModel'
    UserRecoverRequest:
      type: object
      properties:
        id:
          type: string
        token:
          type: string
        password:
          type: string
        repeatPassword:
          type: string
    VehicleLightTrips:
      type: object
      properties:
        vehicle:
          type: string
        trips:
          type: array
          items:
            $ref: '#/components/schemas/LightTrip'
    VehicleLightTripsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        vehiclesTrips:
          type: array
          items:
            $ref: '#/components/schemas/VehicleLightTrips'
    UserFCMRequest:
      type: object
      properties:
        token:
          type: string
    SensorsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        sensors:
          type: array
          items:
            $ref: '#/components/schemas/SensorModel'
    FleetResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        fleet:
          $ref: '#/components/schemas/FleetModel'
    TaxRateResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        taxRate:
          $ref: '#/components/schemas/TaxRateModel'
    TachographResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        widget:
          $ref: '#/components/schemas/Widget'
    Widget:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        type:
          type: string
          enum:
            - map
            - customer-portal
            - transport-order-request-input
            - chauffeur-planner
            - track-and-trace
            - quote-request
            - fleet-status
            - notification-feed
            - driver-schedule
        credentials:
          $ref: '#/components/schemas/WidgetCredentials'
        apiAccessIntegration:
          $ref: '#/components/schemas/ApiAccessIntegration'
        hostNames:
          type: array
          items:
            $ref: '#/components/schemas/WidgetHostname'
        ips:
          type: array
          items:
            $ref: '#/components/schemas/WidgetHostname'
        styling:
          type: string
        active:
          type: boolean
        code:
          type: string
        data:
          type: string
    WidgetHostname:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        hostName:
          type: string
    LocationCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        type:
          type: string
          enum:
            - warehouse
            - store
            - environmentalZone
            - restrictedArea
            - customer
            - parkingSpot
            - loadingUnloadingArea
            - operationalBase
            - fuelStation
        name:
          type: string
        unCode:
          type: string
        geoReference:
          $ref: '#/components/schemas/GeoReferenceModel'
        administrativeReference:
          $ref: '#/components/schemas/AdministrativeReference'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetailModel'
        openingTimes:
          $ref: '#/components/schemas/WeekTimes'
        terminal:
          $ref: '#/components/schemas/TerminalModel'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionModel'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintModel'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElementModel'
        remark:
          type: string
        hash:
          type: string
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
    AcceptTenderAndPlanRequest:
      type: object
      properties:
        bidId:
          type: string
        startDate:
          type: string
    AcceptTenderAndPlanResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        tender:
          $ref: '#/components/schemas/TenderModel'
        tenderBid:
          $ref: '#/components/schemas/TenderBidModel'
        trip:
          $ref: '#/components/schemas/TripModel'
    BoardsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        boards:
          type: array
          items:
            $ref: '#/components/schemas/BoardModel'
    TripCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        type:
          type: string
          enum:
            - internal
            - internal_empty
            - forwarded
        tripNr:
          type: string
        route:
          $ref: '#/components/schemas/RouteModel'
        status:
          type: string
          enum:
            - draft
            - requested
            - accepted
            - confirmed
            - in_transit
            - pending_completion
            - completed
            - cancelled
            - modified
        planStatus:
          type: string
          enum:
            - ok
            - too_late
            - too_early
            - off_route
        routeStatus:
          type: string
          enum:
            - on_route
            - off_route
        currentAction:
          $ref: '#/components/schemas/ActionModel'
        transportMode:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        linkedTrip:
          type: boolean
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurModel'
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipmentModel'
        consignments:
          type: array
          items:
            $ref: '#/components/schemas/ConsignmentModel'
        contextEvents:
          type: array
          items:
            $ref: '#/components/schemas/EventModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/ActorModel'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionModel'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        businesses:
          type: array
          items:
            $ref: '#/components/schemas/Business'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElementModel'
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        kmStart:
          type: integer
          format: int32
        kmEnd:
          type: integer
          format: int32
        booking:
          $ref: '#/components/schemas/Booking'
        shareSettings:
          $ref: '#/components/schemas/ShareSettings'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        expectedCost:
          $ref: '#/components/schemas/MoneyModel'
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        actualCost:
          $ref: '#/components/schemas/MoneyModel'
        CO2eWTW:
          type: number
          format: double
        CO2eTTW:
          type: number
          format: double
        nextAction:
          $ref: '#/components/schemas/ActionModel'
        lastAction:
          $ref: '#/components/schemas/ActionModel'
        eta:
          type: integer
          format: int32
        etd:
          type: integer
          format: int32
        versionNumber:
          type: integer
          format: int32
        hasAgreedToPrice:
          type: boolean
          description: >-
            Set this value to 'true' if the user has agreed to the pricing of
            this element. Only needed once the NeedsBillingApproval Exception is
            thrown
          writeOnly: true
    Response:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
    FileBasedAutomationRecipientData:
      required:
        - id
      type: object
      allOf:
        - $ref: '#/components/schemas/MessageAutomationRecipientData'
        - type: object
          properties:
            files:
              type: array
              items:
                $ref: '#/components/schemas/File'
    MessageAutomationData:
      required:
        - id
        - type
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        requestMessage:
          type: string
        recipientsData:
          type: array
          items:
            $ref: '#/components/schemas/MessageAutomationRecipientData'
        requestAt:
          type: string
          format: date-time
        type:
          type: string
      discriminator:
        propertyName: type
    MessageAutomationRecipientData:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        recipient:
          type: string
        responseAt:
          type: string
          format: date-time
        type:
          type: string
          enum:
            - messageAutomationRecipientData
            - questionAnswerAutomationRecipientData
            - fileBasedAutomationRecipientData
      discriminator:
        propertyName: type
        mapping:
          questionAnswerAutomationRecipientData: '#/components/schemas/QuestionAnswerAutomationRecipientData'
          fileBasedAutomationRecipientData: '#/components/schemas/FileBasedAutomationRecipientData'
      oneOf:
        - $ref: '#/components/schemas/QuestionAnswerAutomationRecipientData'
        - type: object
          description: circular reference
    MessageAutomationTask:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
        name:
          type: string
        description:
          type: string
        instanceId:
          type: string
        uniqueIdentifierValue:
          type: string
        status:
          type: string
          enum:
            - queue
            - processing
            - success
            - error
        messageAutomation:
          $ref: '#/components/schemas/MessageAutomation'
        messageAutomationData:
          type: array
          items:
            $ref: '#/components/schemas/MessageAutomationData'
    MessageAutomationTasksResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        messageAutomationTasks:
          type: array
          items:
            $ref: '#/components/schemas/MessageAutomationTask'
    QuestionAnswerAutomationRecipientData:
      required:
        - id
      type: object
      allOf:
        - type: object
          description: circular reference
        - type: object
          properties:
            responseAnswerMessage:
              type: string
    VehiclesTripsByDateRangeRequest:
      type: object
      properties:
        vehicles:
          type: array
          items:
            type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
    ConstraintCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        type:
          type: string
          enum:
            - accessConstraint
            - timeConstraint
            - timeWindowsConstraint
            - startDateTimeConstraint
            - endDateTimeConstraint
            - sizeConstraint
            - weightConstraint
            - speedConstraint
            - sensorValueConstraint
            - fuelTypeConstraint
            - vehicleTypeConstraint
            - emissionStandardConstraint
            - attributeConstraint
            - transportEquipmentTypeConstraint
            - routeConstraint
            - andConstraint
            - orConstraint
            - notConstraint
            - genericConstraint
        enforceability:
          type: string
          enum:
            - enforced
            - preference
      discriminator:
        propertyName: type
        mapping:
          genericConstraint: '#/components/schemas/GenericConstraintValue'
          andConstraint: '#/components/schemas/AndConstraintValue'
          orConstraint: '#/components/schemas/OrConstraintValue'
          notConstraint: '#/components/schemas/NotConstraintValue'
          startDateTimeConstraint: '#/components/schemas/StartDateTimeConstraintValue'
          endDateTimeConstraint: '#/components/schemas/EndDateTimeConstraintValue'
          timeWindowsConstraint: '#/components/schemas/TimeWindowsConstraintValue'
          timeConstraint: '#/components/schemas/TimeConstraintValue'
          sizeConstraint: '#/components/schemas/SizeConstraintValue'
          weightConstraint: '#/components/schemas/WeightConstraintValue'
          speedConstraint: '#/components/schemas/SpeedConstraintValue'
          sensorValueConstraint: '#/components/schemas/SensorValueConstraintValue'
          fuelTypeConstraint: '#/components/schemas/FuelTypeConstraintValue'
          vehicleTypeConstraint: '#/components/schemas/VehicleTypeConstraintValue'
          transportEquipmentTypeConstraint: '#/components/schemas/TransportEquipmentTypeConstraintValue'
          attributeConstraint: '#/components/schemas/AttributeConstraintValue'
      oneOf:
        - $ref: '#/components/schemas/GenericConstraintValue'
        - $ref: '#/components/schemas/AndConstraintValue'
        - $ref: '#/components/schemas/OrConstraintValue'
        - $ref: '#/components/schemas/NotConstraintValue'
        - $ref: '#/components/schemas/StartDateTimeConstraintValue'
        - $ref: '#/components/schemas/EndDateTimeConstraintValue'
        - $ref: '#/components/schemas/TimeWindowsConstraintValue'
        - $ref: '#/components/schemas/TimeConstraintValue'
        - $ref: '#/components/schemas/SizeConstraintValue'
        - $ref: '#/components/schemas/WeightConstraintValue'
        - $ref: '#/components/schemas/SpeedConstraintValue'
        - $ref: '#/components/schemas/SensorValueConstraintValue'
        - $ref: '#/components/schemas/FuelTypeConstraintValue'
        - $ref: '#/components/schemas/VehicleTypeConstraintValue'
        - $ref: '#/components/schemas/TransportEquipmentTypeConstraintValue'
        - $ref: '#/components/schemas/AttributeConstraintValue'
    ContractCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        title:
          type: string
        description:
          type: string
        deliveryTerms:
          type: string
          enum:
            - EXW
            - FCA
            - FAS
            - FOB
            - CPT
            - CIP
            - CFR
            - CIF
            - DAP
            - DPU
            - DDP
        contractor:
          $ref: '#/components/schemas/Business'
        contractorSignee:
          $ref: '#/components/schemas/ContactPersonModel'
        client:
          $ref: '#/components/schemas/Business'
        clientSignee:
          $ref: '#/components/schemas/ContactPersonModel'
    ContractResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        contract:
          $ref: '#/components/schemas/ContractModel'
    ConsignmentCreateRequest:
      required:
        - name
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
          description: Name of the Consignment. For display purposes and search only.
        consignmentNr:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - draft
            - requested
            - confirmed
            - in_transit
            - completed
            - cancelled
            - partially_planned
            - planned
            - partially_completed
            - partially_in_transit
            - concept
        goods:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        combined:
          type: boolean
        consignment:
          $ref: '#/components/schemas/ConsignmentModel'
        originalPhysicalSender:
          $ref: '#/components/schemas/LocationModel'
        originalLegalSender:
          $ref: '#/components/schemas/LocationModel'
        originalPhysicalAddressee:
          $ref: '#/components/schemas/LocationModel'
        originalLegalAddressee:
          $ref: '#/components/schemas/LocationModel'
        currentLocation:
          $ref: '#/components/schemas/LatLonPointGeoReferenceModel'
        nextAction:
          $ref: '#/components/schemas/ActionModel'
        lastAction:
          $ref: '#/components/schemas/ActionModel'
        lastPlannedAction:
          $ref: '#/components/schemas/ActionModel'
        isPlannedToLastLocation:
          type: boolean
        type:
          type: string
          description: >-
            This field can be used to categorize and/or group shipments by type,
            depending on the needs of a specific logistic process.
        remark:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        actors:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        constraints:
          type: array
          description: >-
            In the context of a Consignment, constraints can be used to e.g.
            define minimum or maximum temperatures for consignments, or date
            time constraints for delivery.
          items:
            $ref: '#/components/schemas/ConstraintModel'
        chat:
          $ref: '#/components/schemas/ChatModel'
        pricingElements:
          type: array
          items:
            $ref: '#/components/schemas/PricingElementModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/AttributeModel'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        expectedRevenue:
          $ref: '#/components/schemas/CumulativeMoneyModel'
        expectedCost:
          $ref: '#/components/schemas/MoneyModel'
        hasAgreedToPrice:
          type: boolean
          description: >-
            Set this value to 'true' if the user has agreed to the pricing of
            this element. Only needed once the NeedsBillingApproval Exception is
            thrown
          writeOnly: true
        versionNumber:
          type: integer
          format: int32
    ScheduleRouteCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        transportModes:
          type: array
          items:
            type: string
            enum:
              - maritime
              - road
              - rail
              - air
              - inlandWaterway
        stops:
          type: object
          properties:
            associationType:
              type: string
              enum:
                - inline
                - reference
          discriminator:
            propertyName: associationType
        route:
          $ref: '#/components/schemas/RouteModel'
        timeSlots:
          type: array
          items:
            $ref: '#/components/schemas/TimeSlotModel'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
    ChauffeurTransportEquipmentsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipmentModel'
    VehicleGroupResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        vehicleGroup:
          $ref: '#/components/schemas/VehicleGroupModel'
    CertificateResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        certificate:
          $ref: '#/components/schemas/CertificateModel'
    PricingCategoriesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        pricingCategories:
          type: array
          items:
            $ref: '#/components/schemas/PricingCategoryModel'
    TenderBidCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        status:
          type: string
          enum:
            - concept
            - offered
            - declined
            - accepted
            - not_chosen
        business:
          $ref: '#/components/schemas/Business'
        user:
          $ref: '#/components/schemas/UserModel'
        broker:
          $ref: '#/components/schemas/TenderBrokerModel'
        bid:
          $ref: '#/components/schemas/MoneyModel'
        remark:
          type: string
        counterBid:
          type: object
          description: circular reference
    FinancialOverview:
      type: object
      properties:
        actualTotalRevenue:
          $ref: '#/components/schemas/Money'
        actualOpenRevenue:
          $ref: '#/components/schemas/Money'
        actualTotalCost:
          $ref: '#/components/schemas/Money'
        actualResult:
          $ref: '#/components/schemas/Money'
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/Invoice'
        quotes:
          type: array
          items:
            $ref: '#/components/schemas/Quote'
        quotedTotalRevenue:
          $ref: '#/components/schemas/Money'
        quotedDeclinedRevenue:
          $ref: '#/components/schemas/Money'
        quotedAcceptedRevenue:
          $ref: '#/components/schemas/Money'
        pipelineTripsExpectedCost:
          $ref: '#/components/schemas/Money'
        pipelineTrips:
          type: integer
          format: int32
        scheduledTripsExpectedCost:
          $ref: '#/components/schemas/Money'
        scheduledTrips:
          type: integer
          format: int32
        inTransitTripsExpectedCost:
          $ref: '#/components/schemas/Money'
        inTransitTrips:
          type: integer
          format: int32
        expectedTotalCost:
          $ref: '#/components/schemas/Money'
        expectedResult:
          $ref: '#/components/schemas/Money'
    FinancialOverviewResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        financialOverview:
          $ref: '#/components/schemas/FinancialOverview'
    User2FARecoverRequest:
      type: object
      properties:
        recoveryCode:
          type: string
    User2FARecoveryResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        recovered:
          type: boolean
    UserLoginMethodRequest:
      type: object
      properties:
        username:
          type: string
    App:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        logo:
          $ref: '#/components/schemas/File'
        name:
          type: string
        description:
          type: string
        publisher:
          $ref: '#/components/schemas/Publisher'
        termsAndConditions:
          type: string
        lastVersion:
          $ref: '#/components/schemas/AppVersion'
        versions:
          type: array
          items:
            $ref: '#/components/schemas/AppVersion'
        category:
          $ref: '#/components/schemas/AppCategory'
        screenshots:
          type: array
          items:
            $ref: '#/components/schemas/File'
        approved:
          type: boolean
        public:
          type: boolean
        pricingModel:
          type: string
          enum:
            - FREE
            - PAID
            - FREEMIUM
            - SUBSCRIPTION
            - USAGE_BASED
        price:
          type: number
          format: double
        currency:
          type: string
        billingCycle:
          type: string
          enum:
            - MONTHLY
            - YEARLY
            - ONE_TIME
        freeTrialDays:
          type: integer
          format: int32
        usageTiers:
          type: string
    AppCategory:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        description:
          type: string
        enabled:
          type: boolean
    AppHook:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        type:
          type: string
          enum:
            - ui
            - api
        subtype:
          type: string
          enum:
            - ui_dashboard_tab
            - ui_menu_tab
        name:
          type: string
        description:
          type: string
        iframeURI:
          type: string
    AppVersion:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        description:
          type: string
        buildNumber:
          type: integer
          format: int32
        version:
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        hooks:
          type: array
          items:
            $ref: '#/components/schemas/AppHook'
        approved:
          type: boolean
    Platform:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        name:
          type: string
        nameSpace:
          type: string
        logo:
          $ref: '#/components/schemas/File'
        favicon:
          $ref: '#/components/schemas/File'
        notificationLogo:
          $ref: '#/components/schemas/File'
        fullLogo:
          $ref: '#/components/schemas/File'
        backgroundImage:
          $ref: '#/components/schemas/File'
        darkLogo:
          $ref: '#/components/schemas/File'
        darkFavicon:
          $ref: '#/components/schemas/File'
        darkNotificationLogo:
          $ref: '#/components/schemas/File'
        darkFullLogo:
          $ref: '#/components/schemas/File'
        darkBackgroundImage:
          $ref: '#/components/schemas/File'
        primaryColor:
          type: string
        secondaryColor:
          type: string
        darkPrimaryColor:
          type: string
        darkSecondaryColor:
          type: string
        hostNames:
          type: array
          items:
            $ref: '#/components/schemas/PlatformHostName'
        features:
          type: array
          items:
            $ref: '#/components/schemas/PlatformFeature'
        allowedEmailDomains:
          type: array
          items:
            type: string
        emailIntegration:
          $ref: '#/components/schemas/ManualIntegration'
        planningSettings:
          $ref: '#/components/schemas/PlatformPlanningSettings'
        pricingSettings:
          $ref: '#/components/schemas/PlatformPricingSettings'
        credentialSettings:
          $ref: '#/components/schemas/PlatformCredentialSettings'
        routingSettings:
          $ref: '#/components/schemas/PlatformRoutingSettings'
        translationSettings:
          $ref: '#/components/schemas/PlatformTranslationSettings'
        uiSettings:
          $ref: '#/components/schemas/PlatformUISettings'
        alertsSettings:
          $ref: '#/components/schemas/PlatformAlertSettings'
        financialSettings:
          $ref: '#/components/schemas/PlatformFinancialSettings'
        aiSettings:
          $ref: '#/components/schemas/PlatformAISettings'
        customerPortalSettings:
          $ref: '#/components/schemas/PlatformCustomerPortalSettings'
        onboardingState:
          type: object
          additionalProperties:
            type: object
        canRegister:
          type: boolean
        canRequestAccess:
          type: boolean
        description:
          type: string
        contactEmail:
          type: string
        business:
          $ref: '#/components/schemas/Business'
        childOf:
          type: object
          description: circular reference
        billing:
          $ref: '#/components/schemas/Billing'
        apps:
          type: array
          items:
            $ref: '#/components/schemas/App'
        disablingAt:
          type: string
          format: date-time
        disabled:
          type: boolean
        inWaitList:
          type: boolean
    PlatformAISettings:
      type: object
      properties:
        aiProvider:
          type: string
          enum:
            - OPENAI
            - GEMINI
            - CLAUDE
    PlatformCustomerPortalSettings:
      type: object
      properties:
        portalEnabled:
          type: boolean
        portalShowOrders:
          type: boolean
        portalShowQuotes:
          type: boolean
        portalShowInvoices:
          type: boolean
        portalShowDocuments:
          type: boolean
        portalShowLiveTracking:
          type: boolean
        portalShowNotifications:
          type: boolean
        portalShowOrderRequest:
          type: boolean
        portalShowSettings:
          type: boolean
    PlatformHostName:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        hostName:
          type: string
    UserLoginMethodResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        loginMethod:
          type: string
          enum:
            - DEFAULT
            - SAML
        redirectURL:
          type: string
        platform:
          $ref: '#/components/schemas/Platform'
    ActorCreateModel:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        user:
          $ref: '#/components/schemas/User'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetailModel'
    CreatePricingModulesFromDocumentsRequest:
      type: object
      properties:
        documents:
          type: array
          items:
            type: string
        content:
          type: string
    PricingModulesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        modules:
          type: array
          items:
            type: object
            additionalProperties:
              type: object
    TireCreateRequest:
      required:
        - name
      type: object
      properties:
        nonce:
          type: string
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipment'
        tireClass:
          type: string
          enum:
            - P
            - LT
            - ST
            - T
        fabricType:
          type: string
          enum:
            - B
            - D
            - R
            - C
        threadWidth:
          type: integer
          format: int32
        aspectRatio:
          type: string
        speedingRate:
          type: string
        diameter:
          type: integer
          format: int32
        loadIndex:
          type: integer
          format: int32
        madeIn:
          type: string
        invoice:
          $ref: '#/components/schemas/InvoiceModel'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        name:
          type: string
          description: Name of the TransportOrder, for display and search purposes only.
        vehicle:
          $ref: '#/components/schemas/Vehicle'
    MessageFromMessageTemplateResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        generatedMessage:
          type: string
    VehicleTransportEquipmentsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipmentModel'
    PlanTripsRequest:
      type: object
      properties:
        platformId:
          type: string
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        depotId:
          type: string
        consignmentIds:
          type: array
          items:
            type: string
        vehicleIds:
          type: array
          items:
            type: string
        chauffeurIds:
          type: array
          items:
            type: string
        routeCalculatorType:
          type: string
        optimizationObjective:
          type: string
    OptimizationMetrics:
      type: object
      properties:
        totalDistance:
          type: number
          format: double
        totalCost:
          type: number
          format: double
        utilizationRate:
          type: number
          format: double
        totalTime:
          type: number
          format: double
        totalRoutes:
          type: integer
          format: int32
        assignedConsignments:
          type: integer
          format: int32
        unassignedConsignments:
          type: integer
          format: int32
        computationTimeMs:
          type: integer
          format: int64
    SimulationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        simulation:
          type: boolean
        trips:
          type: array
          items:
            $ref: '#/components/schemas/Trip'
        metrics:
          $ref: '#/components/schemas/OptimizationMetrics'
    TypeCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        targetEntityType:
          type: string
          enum:
            - transportEquipmentType
            - transportEquipmentSubType
            - consignmentType
            - fuelType
            - vehicleType
        label:
          type: string
        value:
          type: string
        childOf:
          type: object
          description: circular reference
        defaultValues:
          type: object
          additionalProperties:
            type: object
    TerminalCreateRequest:
      required:
        - name
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        integrationType:
          type: string
          enum:
            - portbase
            - psa
            - dpworld
        ean:
          type: string
        bicsCode:
          type: string
        quayName:
          type: string
        smdgCode:
          type: string
        locations:
          type: array
          items:
            $ref: '#/components/schemas/LocationModel'
        allowedModalities:
          type: array
          items:
            type: string
        terminalSettings:
          type: array
          items:
            $ref: '#/components/schemas/TerminalSettingModel'
        tarRequired:
          type: boolean
        roadLicenseIdRequired:
          type: boolean
    OptimizationRun:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        platformId:
          type: string
        optimizationCreatedAt:
          type: string
          format: date-time
        requestDataJson:
          type: string
        solutionDataJson:
          type: string
        metricsJson:
          type: string
        computationTimeMs:
          type: integer
          format: int64
        algorithmVersion:
          type: string
        status:
          type: string
          enum:
            - RUNNING
            - COMPLETED
            - FAILED
            - CANCELLED
        errorMessage:
          type: string
    OptimizationRunsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        runs:
          type: array
          items:
            $ref: '#/components/schemas/OptimizationRun'
        total:
          type: integer
          format: int64
        limit:
          type: integer
          format: int32
        offset:
          type: integer
          format: int32
    ChauffeursResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurModel'
    UpdateTripActionTimesRequest:
      type: object
      properties:
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
    SearchChauffeurRequest:
      type: object
      properties:
        availableFrom:
          type: string
          description: The start date and time of the range of availability to search for.
        availableTo:
          type: string
          description: The end date and time of the range of availability to search for.
        query:
          type: string
          description: The query to search for.
      description: Request body for searching chauffeurs
    MessageAutomationCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        type:
          type: string
          enum:
            - messageAutomation
            - questionAnswerAutomation
            - fileRequestAutomation
        name:
          type: string
        description:
          type: string
        messageAutomationConfig:
          $ref: '#/components/schemas/MessageAutomationConfig'
        messageAutomationIntegration:
          $ref: '#/components/schemas/MessageAutomationIntegrationModel'
        enabled:
          type: boolean
        lastHandled:
          type: string
          format: date-time
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        template:
          type: boolean
        templateCategory:
          type: string
      discriminator:
        propertyName: type
        mapping:
          messageAutomation: '#/components/schemas/MessageMessageAutomationModel'
          questionAnswerAutomation: '#/components/schemas/QuestionAnswerMessageAutomationModel'
          fileRequestAutomation: '#/components/schemas/FileBasedMessageAutomationModel'
      oneOf:
        - $ref: '#/components/schemas/MessageMessageAutomationModel'
        - $ref: '#/components/schemas/QuestionAnswerMessageAutomationModel'
        - $ref: '#/components/schemas/FileBasedMessageAutomationModel'
    EmptyEntityResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        value:
          type: object
    FindByCategoryAndDateRangeRequest:
      type: object
      properties:
        pricingCategoryId:
          type: string
        from:
          type: string
          format: date-time
        to:
          type: string
          format: date-time
        type:
          type: string
          enum:
            - debit
            - credit
        state:
          type: string
          enum:
            - actual
            - expected
        administrationId:
          type: string
        businessId:
          type: string
        offset:
          type: integer
          format: int32
        amount:
          type: integer
          format: int32
    TeamCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        users:
          type: array
          items:
            $ref: '#/components/schemas/UserModel'
        vehicleGroups:
          type: array
          items:
            $ref: '#/components/schemas/VehicleGroupModel'
        fleets:
          type: array
          items:
            $ref: '#/components/schemas/FleetModel'
    TeamResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        team:
          $ref: '#/components/schemas/TeamModel'
    VehiclesCO2ByDateRangeRequest:
      type: object
      properties:
        type:
          type: string
        vehicles:
          type: array
          items:
            type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
    UpdateVehicleTripsOrderRequest:
      type: object
      properties:
        trip1:
          $ref: '#/components/schemas/Trip'
        trip2:
          $ref: '#/components/schemas/Trip'
    BookingsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        bookings:
          type: array
          items:
            $ref: '#/components/schemas/BookingModel'
    LinkMailRequest:
      type: object
      properties:
        nonce:
          type: string
        entityId:
          type: string
        entityType:
          type: string
    UpdateTripActionRequest:
      type: object
      properties:
        action:
          $ref: '#/components/schemas/ActionModel'
    FileCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        url:
          type: string
        path:
          type: string
        name:
          type: string
        originalName:
          type: string
        size:
          type: integer
          format: int64
        purpose:
          type: string
        type:
          type: string
          enum:
            - IMAGE
            - VIDEO
            - MUSIC
            - WORD
            - EXCEL
            - CSV
            - PDF
            - EMAIL
            - JSON
        mimeType:
          type: string
        extension:
          type: string
    BindableField:
      type: object
      properties:
        path:
          type: string
        label:
          type: string
        type:
          type: string
    BindableFieldsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        fields:
          type: array
          items:
            $ref: '#/components/schemas/BindableField'
    LanesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        lanes:
          type: array
          items:
            $ref: '#/components/schemas/LaneModel'
    VehiclesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleModel'
    SearchTransportEquipmentsRequest:
      type: object
      properties:
        query:
          type: string
        availableFrom:
          type: string
        availableTo:
          type: string
        sortBy:
          type: array
          items:
            $ref: '#/components/schemas/SortBy'
      description: Request body for searching transport equipments
    SortBy:
      type: object
      properties:
        fields:
          type: array
          items:
            type: string
        direction:
          type: string
      description: Sort by object
    TransportEquipmentsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipmentModel'
    TestIntegrationDataSourceMappingResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        data:
          type: string
    TestIntegrationDataSourceMappingRequest:
      type: object
      properties:
        data:
          type: string
        dataSource:
          $ref: '#/components/schemas/IntegrationDataSource'
    FieldsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        fields:
          type: array
          items:
            $ref: '#/components/schemas/TQLField'
    TQLField:
      type: object
      properties:
        name:
          type: string
        type:
          type: string
    QueryRequest:
      type: object
      properties:
        query:
          $ref: '#/components/schemas/Query'
    QueryResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        results:
          type: array
          items:
            type: object
    SearchTenderBidsRequest:
      type: object
      properties:
        query:
          type: string
        status:
          type: string
          description: Filter on the status of the Tender
          enum:
            - concept
            - open
            - accepted
            - closed
        user:
          type: string
          description: The user ID who created the Tender
        business:
          type: string
          description: The business ID who created the Tender
    UserMessageAutomationPreferenceModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        messageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        enabled:
          type: boolean
    UserMessageAutomationPreferencesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        preferences:
          type: array
          items:
            $ref: '#/components/schemas/UserMessageAutomationPreferenceModel'
    IntegrationCredentialsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        credentials:
          $ref: '#/components/schemas/IntegrationCredentialsModel'
    MailsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        mails:
          type: array
          items:
            $ref: '#/components/schemas/MailMessageModel'
    CreateChatRequest:
      type: object
      properties:
        title:
          type: string
        users:
          type: array
          items:
            $ref: '#/components/schemas/IdObject'
    MailMessageCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        imap:
          $ref: '#/components/schemas/IMAP'
        contentId:
          type: string
        messageNumber:
          type: integer
          format: int32
        receivedDate:
          type: string
          format: date-time
        sentDate:
          type: string
          format: date-time
        read:
          type: boolean
        subject:
          type: string
        plainText:
          type: string
        text:
          type: string
        sender:
          $ref: '#/components/schemas/MailAddress'
        recipients:
          type: array
          items:
            $ref: '#/components/schemas/MailAddress'
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
    CalculateStackMapFromActionsRequest:
      type: object
      properties:
        name:
          type: string
        vehicle:
          $ref: '#/components/schemas/Vehicle'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/Action'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
        stackMap:
          $ref: '#/components/schemas/StackMap'
        tripID:
          type: string
          description: Causal Trip id reference for StackMap Calculation
    CreateUserRequest:
      type: object
      properties:
        username:
          type: string
        email:
          type: string
        role:
          $ref: '#/components/schemas/UserRole'
    ReplyMailRequest:
      type: object
      properties:
        nonce:
          type: string
        to:
          type: array
          items:
            type: string
        cc:
          type: array
          items:
            type: string
        bcc:
          type: array
          items:
            type: string
        body:
          type: string
        attachmentIds:
          type: array
          items:
            type: string
        replyAll:
          type: boolean
        integrationId:
          type: string
    UpdateUserRequest:
      type: object
      properties:
        username:
          type: string
        email:
          type: string
        role:
          $ref: '#/components/schemas/UserRole'
    ActionSchedulesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        actionSchedules:
          type: array
          items:
            $ref: '#/components/schemas/ActionScheduleModel'
    ActorsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        actors:
          type: array
          items:
            $ref: '#/components/schemas/ActorModel'
    ToDoCommentModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        toDo:
          $ref: '#/components/schemas/ToDoModel'
        comment:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        creator:
          $ref: '#/components/schemas/UserModel'
    EventOccurrence:
      type: object
      properties:
        recurringEventId:
          type: string
        eventId:
          type: string
        title:
          type: string
        description:
          type: string
        location:
          $ref: '#/components/schemas/Location'
        date:
          type: string
          format: date
        startDateTime:
          type: string
          format: date-time
        endDateTime:
          type: string
          format: date-time
        isException:
          type: boolean
        vehicle:
          $ref: '#/components/schemas/Vehicle'
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipment'
        chauffeur:
          $ref: '#/components/schemas/Chauffeur'
    EventOccurrencesList:
      type: object
      properties:
        occurrences:
          type: array
          items:
            $ref: '#/components/schemas/EventOccurrence'
        total:
          type: integer
          format: int32
    ContractsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        contracts:
          type: array
          items:
            $ref: '#/components/schemas/ContractModel'
    TripIdsRequest:
      type: object
      properties:
        tripIds:
          type: array
          items:
            type: string
    GetChauffeursTimeslotsRequest:
      type: object
      properties:
        chauffeurIds:
          type: array
          items:
            type: string
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
    ChauffeurActivitiesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        chauffeurActivities:
          type: array
          items:
            $ref: '#/components/schemas/ChauffeurActivityModel'
    PerCustomerTransportOrdersByDateRangeRequest:
      type: object
      properties:
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - declined
            - cancelled
            - requested
            - accepted
            - calculated_trip
            - partially_planned
            - planned
            - actual
            - realized
            - concept
    OptimizationRunResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        run:
          $ref: '#/components/schemas/OptimizationRun'
    DamageResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        damage:
          $ref: '#/components/schemas/DamageModel'
    AdministrationCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        primary:
          type: boolean
        business:
          $ref: '#/components/schemas/Business'
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        balance:
          $ref: '#/components/schemas/MoneyModel'
        bankAccounts:
          type: array
          items:
            $ref: '#/components/schemas/BankAccountModel'
        numberFormat:
          type: string
        numberLength:
          type: integer
          format: int32
        dueDays:
          type: integer
          format: int32
        invoiceNumberIndex:
          type: object
          additionalProperties:
            type: integer
            format: int32
        quoteNumberIndex:
          type: object
          additionalProperties:
            type: integer
            format: int32
        invoiceSendMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        automaticallySendReminders:
          type: boolean
        invoiceFirstReminderMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        invoiceSecondReminderMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        invoiceThirdReminderMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        invoicePaidMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        quoteSendMessageAutomation:
          $ref: '#/components/schemas/MessageAutomationModel'
        invoiceTermsAndConditions:
          type: string
        quoteTermsAndConditions:
          type: string
        transportOrderTermsAndConditions:
          type: string
        invoiceNumbering:
          type: integer
          format: int32
        quoteNumbering:
          type: integer
          format: int32
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    ReceivedMessagesRequest:
      type: object
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/IdObject'
    ExtendedChauffeurModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        type:
          type: string
          enum:
            - driver
            - conductor
            - captain
            - pilot
        picture:
          $ref: '#/components/schemas/FileModel'
        user:
          $ref: '#/components/schemas/UserModel'
        firstName:
          type: string
        lastName:
          type: string
        dateOfBirth:
          type: string
          format: date
        birthPlace:
          type: string
        nationality:
          type: string
        hourlyRate:
          $ref: '#/components/schemas/MoneyModel'
        hoursPerMonth:
          type: number
          format: double
        preferredVehicle:
          $ref: '#/components/schemas/VehicleModel'
        capacityContract:
          $ref: '#/components/schemas/CapacityContractModel'
        adr:
          $ref: '#/components/schemas/ChauffeurADR'
        driverLicense:
          $ref: '#/components/schemas/ChauffeurDriverLicense'
        tachoCard:
          $ref: '#/components/schemas/ChauffeurTachoCard'
        operational:
          type: boolean
        remainingRestingTimes:
          $ref: '#/components/schemas/RemainingRestingTimes'
        remainingDrivingTimes:
          $ref: '#/components/schemas/RemainingDrivingTimes'
        upcomingRestingTimes:
          $ref: '#/components/schemas/UpcomingRestingTimes'
        languages:
          type: array
          items:
            type: string
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        boardComputers:
          type: array
          items:
            $ref: '#/components/schemas/BoardComputerModel'
        lastActivity:
          $ref: '#/components/schemas/ChauffeurActivityModel'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/Vehicle'
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipment'
    ExtendedChauffeursResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        chauffeurs:
          type: array
          items:
            $ref: '#/components/schemas/ExtendedChauffeurModel'
    UpdateActionTimesRequest:
      type: object
      properties:
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
    IntegrationFileTemplateResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        file:
          $ref: '#/components/schemas/FileModel'
        matrix:
          type: array
          items:
            type: array
            items:
              type: string
        matrixFingerPrint:
          type: string
        html:
          type: string
        htmlFingerPrint:
          type: string
    User2FAVerifyRequest:
      type: object
      properties:
        token:
          type: string
    User2FAVerifyResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        verified:
          type: boolean
    UserForgotRequest:
      type: object
      properties:
        email:
          type: string
    InviteUserRequest:
      type: object
      properties:
        firstName:
          type: string
        lastName:
          type: string
        username:
          type: string
        email:
          type: string
        role:
          $ref: '#/components/schemas/UserRole'
    AdministrationActivitiesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        activities:
          type: array
          items:
            $ref: '#/components/schemas/AdministrationActivityModel'
    AdministrationActivityModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        type:
          type: string
        description:
          type: string
        activityType:
          type: string
          enum:
            - CREATED
            - UPDATED
            - DELETED
            - SENT
            - REMINDER_SENT
            - CONFIRMATION_SENT
            - MESSAGE_AUTOMATION_SENT
            - EMAIL_SENT
            - SMS_SENT
            - STATUS_UPDATED
            - ACCEPTED
            - DECLINED
            - CANCELLED
            - APPROVED
            - REJECTED
            - APPROVAL_REQUESTED
            - PAYMENT_RECEIVED
            - INVOICE_GENERATED
            - QUOTE_GENERATED
            - TRIP_PLANNED
            - TRIP_ASSIGNED
            - TRIP_STARTED
            - TRIP_COMPLETED
            - DRIVER_ASSIGNED
            - VEHICLE_ASSIGNED
            - ORDER_CONFIRMED
            - ORDER_DISPATCHED
            - CONSIGNMENT_ADDED
            - CONSIGNMENT_REMOVED
            - INTEGRATION_SYNCED
            - INTEGRATION_FAILED
            - COMMENT_ADDED
            - DOCUMENT_UPLOADED
            - DOCUMENT_REMOVED
        userName:
          type: string
        userId:
          type: string
    SAMLAssertResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
    ActionCompletionDetails:
      required:
        - actionId
      type: object
      properties:
        actionId:
          type: string
          description: The ID of the action to complete
        startTime:
          type: string
          description: >-
            The start time of the action. If not provided, uses the request's
            defaultStartTime or current time.
          format: date-time
        endTime:
          type: string
          description: >-
            The end time of the action. If not provided, uses the request's
            defaultEndTime or current time.
          format: date-time
        result:
          $ref: '#/components/schemas/ActionResult'
      description: >-
        Optional list of action completion details. If not provided, all actions
        will be completed with current timestamp.
    CompleteAllActionsRequest:
      type: object
      properties:
        actions:
          type: array
          description: >-
            Optional list of action completion details. If not provided, all
            actions will be completed with current timestamp.
          items:
            $ref: '#/components/schemas/ActionCompletionDetails'
        defaultStartTime:
          type: string
          description: >-
            Default start time to use for actions not specified in the actions
            list. Defaults to current time.
          format: date-time
        defaultEndTime:
          type: string
          description: >-
            Default end time to use for actions not specified in the actions
            list. Defaults to current time.
          format: date-time
        defaultResult:
          $ref: '#/components/schemas/ActionResult'
    TypesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        types:
          type: array
          items:
            $ref: '#/components/schemas/TypeModel'
    UserStatusResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        status:
          type: string
          enum:
            - DELETED
            - DEFAULT
            - CONFIRMED
            - REGISTERED
    TestIntegrationFileTemplateMappingResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        data:
          type: string
    FleetLight:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        vehicles:
          type: array
          items:
            type: string
    FleetsLightResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        fleets:
          type: array
          items:
            $ref: '#/components/schemas/FleetLight'
    ImportDataIntegrationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
    ImportDataIntegrationRequest:
      type: object
      properties:
        data:
          type: string
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        fields:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationField'
    UpdateChauffeurActivityRequest:
      type: object
      properties:
        activityType:
          type: string
        remarks:
          type: string
        kmsReading:
          type: integer
          format: int32
        description:
          type: string
        vehicleId:
          type: string
        transportEquipmentIds:
          type: array
          items:
            type: string
      description: Request body to update the chauffeur's current activity.
    CapacityCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        description:
          type: string
        business:
          $ref: '#/components/schemas/Business'
        schedule:
          $ref: '#/components/schemas/ScheduleModel'
        modality:
          type: string
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        subType:
          type: string
          enum:
            - load
            - vehicle
            - transport_equipment
            - chauffeur
        capacityPerUnit:
          $ref: '#/components/schemas/ValueWithUnit'
        totalUnits:
          type: integer
          format: int32
        availableCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        totalCapacity:
          $ref: '#/components/schemas/ValueWithUnit'
        pricingModules:
          type: array
          items:
            $ref: '#/components/schemas/PricingModuleModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    JSONObject:
      type: object
      properties:
        map:
          type: object
          additionalProperties:
            type: object
    CalendarEventsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        calendarEvents:
          type: array
          items:
            $ref: '#/components/schemas/CalendarEventModel'
    DateRange:
      type: object
      properties:
        start:
          type: string
        end:
          type: string
      description: Date range for filtering
    LocationRadius:
      type: object
      properties:
        location:
          type: string
        radius:
          type: number
          format: double
      description: Location radius for geo-searching
    SearchVehiclesRequest:
      type: object
      properties:
        nextAction.constraints.startDateTime:
          $ref: '#/components/schemas/DateRange'
        nextAction.constraints.endDateTime:
          $ref: '#/components/schemas/DateRange'
        lastAction.constraints.startDateTime:
          $ref: '#/components/schemas/DateRange'
        lastAction.constraints.endDateTime:
          $ref: '#/components/schemas/DateRange'
        query:
          type: string
        vehicles:
          type: array
          items:
            type: string
        availableFrom:
          type: string
        availableTo:
          type: string
        currentLocationRadius:
          $ref: '#/components/schemas/LocationRadius'
        nextActionLocationRadius:
          $ref: '#/components/schemas/LocationRadius'
        lastActionLocationRadius:
          $ref: '#/components/schemas/LocationRadius'
        nextActionConstraintsStartDateTime:
          $ref: '#/components/schemas/DateRange'
        nextActionConstraintsEndDateTime:
          $ref: '#/components/schemas/DateRange'
        lastActionConstraintsStartDateTime:
          $ref: '#/components/schemas/DateRange'
        lastActionConstraintsEndDateTime:
          $ref: '#/components/schemas/DateRange'
        capacityContract:
          type: string
        planStatus:
          type: string
          enum:
            - ok
            - too_late
            - too_early
            - off_route
        planStatuses:
          type: array
          items:
            type: string
            enum:
              - ok
              - too_late
              - too_early
              - off_route
        routeStatus:
          type: string
          enum:
            - on_route
            - off_route
        routeStatuses:
          type: array
          items:
            type: string
            enum:
              - on_route
              - off_route
        sortBy:
          type: array
          items:
            $ref: '#/components/schemas/SortBy'
      description: Request body for searching vehicles
    ToDoCommentsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        toDoComments:
          type: array
          items:
            $ref: '#/components/schemas/ToDoComment'
    SensorCreateModel:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        placement:
          type: string
          description: >-
            Sometimes more than one sensor can be associated with a single
            entity. This is the case e.g. in cooled trailers that are divided
            into compartments with different temperatures, where each
            compartment has its own sensor. The placement member can be used to
            identify where a sensor is placed. Parties using OpenTripModel to
            exchange sensor data may wish to agree on a standardized naming, but
            this is too specific to describe in the standard.
        type:
          type: string
          description: Type of the sensor, e.g. temperature, speed, etc.
          example: temperature
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintModel'
        lastValueEvent:
          $ref: '#/components/schemas/SensorUpdateEventModel'
    UserRoleResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        role:
          $ref: '#/components/schemas/UserRoleModel'
    SPSAMLMetadataXMLResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        spSAMLMetadataXMLString:
          type: string
    IntegrationTestsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        integrationTests:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationTestModel'
    PlanTripsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        trips:
          type: array
          items:
            $ref: '#/components/schemas/Trip'
        unassignedConsignments:
          type: array
          items:
            $ref: '#/components/schemas/Consignment'
        metrics:
          $ref: '#/components/schemas/OptimizationMetrics'
        warnings:
          type: array
          items:
            type: string
    IntegrationFunctionsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        functions:
          type: array
          items:
            type: string
    VehicleLocationUpdateEventsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        events:
          type: array
          items:
            $ref: '#/components/schemas/LocationUpdateEventModel'
    VehicleLightGroup:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        vehicles:
          type: array
          items:
            type: string
    VehicleLightGroupsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        vehicleGroups:
          type: array
          items:
            $ref: '#/components/schemas/VehicleLightGroup'
    GenerateIntegrationRequest:
      type: object
      properties:
        documents:
          type: array
          items:
            type: string
        content:
          type: string
    GeneratedIntegrationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        integration:
          type: object
          additionalProperties:
            type: object
    CurrenciesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        currencies:
          type: array
          items:
            $ref: '#/components/schemas/CurrencyModel'
    NotificationsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        notifications:
          type: array
          items:
            $ref: '#/components/schemas/NotificationModel'
        notificationsUnread:
          type: integer
          format: int32
    LoginUserOtpRequest:
      type: object
      properties:
        token:
          type: string
    LocationTimeslotsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        locationTimeslots:
          type: array
          items:
            $ref: '#/components/schemas/LocationTimeslot'
    VehicleGeoReference:
      type: object
      properties:
        vehicleId:
          type: string
        vehicleName:
          type: string
        vehicleLicensePlate:
          type: string
        vehicleType:
          type: string
        lat:
          type: number
          format: double
        lon:
          type: number
          format: double
        locationUpdateDateTime:
          type: string
          format: date-time
        speed:
          $ref: '#/components/schemas/ValueWithUnit'
        heading:
          $ref: '#/components/schemas/ValueWithUnit'
        bearing:
          $ref: '#/components/schemas/ValueWithUnit'
        trip:
          $ref: '#/components/schemas/Trip'
    VehicleLocationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleGeoReference'
    UpdateUserRoleRoute:
      type: object
    FindByRelatedEntityRequest:
      type: object
      properties:
        entityId:
          type: string
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        type:
          type: string
          enum:
            - debit
            - credit
        state:
          type: string
          enum:
            - actual
            - expected
        administrationId:
          type: string
        businessId:
          type: string
        offset:
          type: integer
          format: int32
        amount:
          type: integer
          format: int32
    StackMapsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        stackMaps:
          type: array
          items:
            $ref: '#/components/schemas/StackMapModel'
    ChauffeursOnTruckByDateRangeRequest:
      type: object
      properties:
        chauffeurs:
          type: array
          items:
            type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
    AssignUserToChauffeurRequest:
      required:
        - email
      type: object
      properties:
        email:
          type: string
          description: The email address for the user to be created and invited
        username:
          type: string
          description: >-
            Optional username. If not provided, it will be generated from the
            chauffeur's name.
      description: Request body for assigning a user to a chauffeur
    DocumentCreateRequest:
      required:
        - content
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        description:
          type: string
        fileName:
          type: string
        mimeType:
          type: string
        encoding:
          type: string
        owner:
          $ref: '#/components/schemas/ActorAssociation'
        content:
          $ref: '#/components/schemas/DocumentContent'
        file:
          $ref: '#/components/schemas/FileModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        externalAttributes:
          type: object
          additionalProperties:
            type: object
    VehiclesSensorValueAtDateRequest:
      type: object
      properties:
        type:
          type: string
        vehicles:
          type: array
          items:
            type: string
        date:
          type: string
          format: date-time
    CorridorFilter:
      type: object
      properties:
        fromLocation:
          $ref: '#/components/schemas/LocationModel'
        toLocation:
          $ref: '#/components/schemas/LocationModel'
        corridorWidth:
          type: number
          description: Corridor width in kilometers (distance from route)
          format: double
        transportMode:
          type: string
          description: >-
            Transport mode for route calculation (ROAD, MARITIME, RAIL, AIR).
            Defaults to ROAD.
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        vehicleId:
          type: string
          description: >-
            Vehicle ID to use for route calculation (uses vehicle's transport
            mode and profile)
      description: Find tenders along a route corridor between two locations
    LocationRadiusFilter:
      type: object
      properties:
        location:
          $ref: '#/components/schemas/LocationModel'
        radius:
          type: number
          format: double
    SearchTendersRequest:
      type: object
      properties:
        query:
          type: string
        status:
          type: string
          description: Filter on a single status (deprecated, use statuses)
          enum:
            - concept
            - open
            - accepted
            - closed
        statuses:
          type: array
          description: Filter on multiple statuses
          items:
            type: string
            description: Filter on multiple statuses
        sources:
          type: array
          description: Filter on multiple sources
          items:
            type: string
            description: Filter on multiple sources
        source:
          type: string
          description: Filter on a single source (deprecated, use sources)
          enum:
            - INTERNAL
            - TIMOCOM
            - TRANS_EU
            - TELEROUTE
            - FREIGHTOS
            - DAT
            - SENNDER
            - API_INBOUND
            - UTURN
        types:
          type: array
          description: Filter on tender type (ONE_TIME, REOCCURRING)
          items:
            type: string
            description: Filter on tender type (ONE_TIME, REOCCURRING)
        user:
          type: string
          description: The user ID who created the Tender
        business:
          type: string
          description: The business ID who created the Tender
        customers:
          type: array
          description: Filter by business IDs (customers)
          items:
            type: string
            description: Filter by business IDs (customers)
        teams:
          type: array
          description: Filter by team IDs
          items:
            type: string
            description: Filter by team IDs
        minTargetPrice:
          type: number
          description: Minimum target price amount
          format: double
        maxTargetPrice:
          type: number
          description: Maximum target price amount
          format: double
        minBidCount:
          type: integer
          description: Minimum total bid count
          format: int32
        maxBidCount:
          type: integer
          description: Maximum total bid count
          format: int32
        autoAccept:
          type: boolean
          description: Filter tenders with acceptAutomaticallyAtTargetPrice enabled
        externalPlatform:
          type: string
          description: Filter by external platform name
        createdAt:
          $ref: '#/components/schemas/TimeWindowModel'
        currentLocationRadius:
          $ref: '#/components/schemas/LocationRadiusFilter'
        nextActionLocationRadius:
          $ref: '#/components/schemas/LocationRadiusFilter'
        lastActionLocationRadius:
          $ref: '#/components/schemas/LocationRadiusFilter'
        corridor:
          $ref: '#/components/schemas/CorridorFilter'
        sortBy:
          type: array
          items:
            $ref: '#/components/schemas/SortField'
        nextAction.constraints.startDateTime:
          $ref: '#/components/schemas/TimeWindowModel'
        nextAction.constraints.endDateTime:
          $ref: '#/components/schemas/TimeWindowModel'
        lastAction.constraints.startDateTime:
          $ref: '#/components/schemas/TimeWindowModel'
        lastAction.constraints.endDateTime:
          $ref: '#/components/schemas/TimeWindowModel'
    SortField:
      type: object
      properties:
        fields:
          type: array
          items:
            type: string
        sortDirection:
          type: string
          enum:
            - asc
            - desc
    TimeWindowModel:
      type: object
      properties:
        id:
          type: string
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
    OperationalOverview:
      type: object
      properties:
        netProfit:
          $ref: '#/components/schemas/Money'
        netProfitPerTrip:
          $ref: '#/components/schemas/Money'
        totalMeters:
          type: number
          format: double
        totalEmptyMeters:
          type: number
          format: double
        averageMetersPerVehicle:
          type: number
          format: double
        previousPeriodAverageMetersPerVehicle:
          type: number
          format: double
        revenuePerMeter:
          $ref: '#/components/schemas/Money'
        totalConsignmentsCount:
          type: integer
          format: int32
        tripsCount:
          type: integer
          format: int32
        completedTrips:
          type: integer
          format: int32
        onTimeTrips:
          type: integer
          format: int32
        lateTrips:
          type: integer
          format: int32
        atRiskTrips:
          type: integer
          format: int32
    OperationalOverviewResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        operationalOverview:
          $ref: '#/components/schemas/OperationalOverview'
    PricingsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        pricings:
          type: array
          items:
            $ref: '#/components/schemas/PricingModel'
    SendMailRequest:
      type: object
      properties:
        nonce:
          type: string
        to:
          type: array
          items:
            type: string
        cc:
          type: array
          items:
            type: string
        bcc:
          type: array
          items:
            type: string
        subject:
          type: string
        body:
          type: string
        attachmentIds:
          type: array
          items:
            type: string
        integrationId:
          type: string
    CreateOptimizedTripsRequest:
      type: object
      properties:
        optimizationType:
          type: string
          enum:
            - time
            - co2
            - cost
        locations:
          type: array
          items:
            type: string
        consignments:
          type: array
          items:
            type: string
        vehicles:
          type: array
          items:
            type: string
        transportEquipments:
          type: array
          items:
            type: string
        chauffeurs:
          type: array
          items:
            type: string
        startDate:
          type: string
          format: date-time
        optimizerAlgorithmConfiguration:
          $ref: '#/components/schemas/OptimizerAlgorithmConfiguration'
    OptimizedTripsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        trips:
          type: array
          items:
            $ref: '#/components/schemas/TripModel'
        leftOverConsignments:
          type: array
          items:
            $ref: '#/components/schemas/ConsignmentModel'
        totalDuration:
          type: integer
          format: int32
        totalMovingDuration:
          type: integer
          format: int32
        totalDistance:
          type: integer
          format: int32
    GenerateMessageAutomationRequest:
      type: object
      properties:
        documents:
          type: array
          items:
            type: string
        content:
          type: string
    GeneratedMessageAutomationResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        messageAutomation:
          type: object
          additionalProperties:
            type: object
    ReadMessagesRequest:
      type: object
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/IdObject'
    UserReportRequest:
      type: object
      properties:
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
    LanguagesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        languages:
          type: array
          items:
            $ref: '#/components/schemas/LanguageModel'
    CreateUserRoleRequest:
      type: object
      properties:
        name:
          type: string
        level:
          type: integer
          format: int32
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/PermissionModel'
        isPlatformSpecific:
          type: boolean
    TransactionResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        transaction:
          $ref: '#/components/schemas/TransactionModel'
    IntegrationObjectModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        status:
          type: string
          enum:
            - queue
            - processing
            - success
            - error
            - retry
        trigger:
          type: string
          enum:
            - afterCreatingTrip
            - afterUpdatingTrip
            - afterConfirmingTrip
            - afterStartingTrip
            - afterFinishingTrip
            - afterCancelingTrip
            - afterLocationUpdateEvent
            - afterCreatingMessage
            - afterUpdatingMessage
            - afterCreatingEvent
            - afterStartEngineEvent
            - afterStartMovingEvent
            - afterStopMovingEvent
            - afterStopEngineEvent
            - afterCreatingWaitAction
            - afterUpdatingWaitAction
            - afterCreatingWeighingAction
            - afterUpdatingWeighingAction
            - afterCreatingUnloadAction
            - afterUpdatingUnloadAction
            - afterCreatingStopAction
            - afterUpdatingStopAction
            - afterCreatingMoveAction
            - afterUpdatingMoveAction
            - afterCreatingLoadAction
            - afterUpdatingLoadAction
            - afterCreatingDetachTransportEquipmentAction
            - afterUpdatingDetachTransportEquipmentAction
            - afterCreatingDetachChauffeurAction
            - afterUpdatingDetachChauffeurAction
            - afterCreatingBreakAction
            - afterUpdatingBreakAction
            - afterCreatingAttachTransportEquipmentAction
            - afterUpdatingAttachTransportEquipmentAction
            - afterCreatingAttachChauffeurAction
            - afterUpdatingAttachChauffeurAction
            - afterActionLifeCycleUpdate
            - afterCreatingCapacityContract
            - afterUpdatingCapacityContract
            - afterCreatingMessageAutomation
            - AfterUpdatingMessageAutomation
            - afterCreatingTransportOrder
            - afterUpdatingTransportOrder
            - afterCreatingConsignment
            - afterUpdatingConsignment
            - afterCreatingBusiness
            - afterUpdatingBusiness
            - afterCreatingInvoice
            - afterSendingInvoice
            - afterUpdatingInvoice
            - afterCreatingQuote
            - afterUpdatingQuote
            - afterSendingQuote
            - afterCreatingUser
            - afterUpdatingUser
            - afterCreatingLocation
            - afterUpdatingLocation
            - afterExceedingStopAverageDuration
            - afterHomeBaseReturnOverdue
            - afterCreatingBooking
            - afterUpdatingBooking
            - afterCancellingBooking
            - afterConfirmingBooking
            - afterCreatingIntegration
            - afterUpdatingIntegration
            - afterUpdatingCalendarEvent
            - afterDeletingCalendarEvent
            - afterCreatingTodo
            - afterUpdatingTodo
            - afterDeletingTodo
            - afterAssigningTodo
            - afterCalendarSyncRequested
            - afterCalendarAuthorizationGranted
        objectId:
          type: string
        value:
          type: string
        changedFields:
          type: string
        errorMessage:
          type: string
        instanceId:
          type: string
        retriedCount:
          type: integer
          format: int32
        integration:
          $ref: '#/components/schemas/Integration'
    IntegrationRequestLogModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        requestUrl:
          type: string
        requestPort:
          type: string
        requestBody:
          type: string
        connectionType:
          type: string
          enum:
            - api
            - ftp
            - sftp
            - sql
            - web_hook
            - email
            - virtual_ftp
        responseCode:
          type: integer
          format: int32
        responseBody:
          type: string
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        integration:
          $ref: '#/components/schemas/IntegrationModel'
        integrationTask:
          $ref: '#/components/schemas/IntegrationTaskModel'
    IntegrationRequestLogsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        requestLogs:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationRequestLogModel'
    IntegrationTaskModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        type:
          type: string
        name:
          type: string
        description:
          type: string
        instanceId:
          type: string
        status:
          type: string
          enum:
            - queue
            - processing
            - success
            - error
        tasks:
          type: array
          items:
            type: object
            description: circular reference
        integration:
          $ref: '#/components/schemas/IntegrationModel'
        integrationObject:
          $ref: '#/components/schemas/IntegrationObjectModel'
        nextTaskExecution:
          type: string
          format: date-time
        sequenceNr:
          type: integer
          format: int32
    PricingVariableIndexCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        variableName:
          type: string
        category:
          $ref: '#/components/schemas/PricingCategoryModel'
        value:
          type: number
          format: double
        timeRelated:
          type: boolean
    ChauffeurActivityCreateModel:
      type: object
      properties:
        nonce:
          type: string
        type:
          type: string
          enum:
            - work
            - driving
            - available
            - rest
            - vacation
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        transportEquipments:
          type: array
          items:
            $ref: '#/components/schemas/TransportEquipmentModel'
        name:
          type: string
        description:
          type: string
        remarks:
          type: string
        kmsStart:
          type: integer
          format: int32
        kmsEnd:
          type: integer
          format: int32
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
    FleetCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        number:
          type: string
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/FleetVehicleModel'
        teams:
          type: array
          items:
            $ref: '#/components/schemas/TeamModel'
        businesses:
          type: array
          items:
            $ref: '#/components/schemas/Business'
    VehicleGroupCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        vehicles:
          type: array
          items:
            $ref: '#/components/schemas/VehicleModel'
    CertificateCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        name:
          type: string
        school:
          type: string
        title:
          type: string
        fieldOfStudy:
          type: string
        grade:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        identifier:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
    RouteCostElementModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        name:
          type: string
        description:
          type: string
        money:
          $ref: '#/components/schemas/MoneyModel'
    RouteCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        time:
          type: integer
          format: int32
        cost:
          type: integer
          format: int32
        distance:
          type: integer
          format: int32
        expenses:
          type: array
          items:
            $ref: '#/components/schemas/RouteCostElementModel'
        additionalInfo:
          type: object
          additionalProperties:
            type: object
        lineString:
          type: string
        actors:
          type: array
          items:
            $ref: '#/components/schemas/ActorModel'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionModel'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintAssociation'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
    CreateRecurringEventRequest:
      type: object
      properties:
        title:
          type: string
        description:
          type: string
        location:
          type: string
        pattern:
          type: string
          enum:
            - daily
            - weekly
            - monthly
            - yearly
        interval:
          type: integer
          format: int32
        startDate:
          type: string
          format: date
        startTime:
          $ref: '#/components/schemas/LocalTime'
        endTime:
          $ref: '#/components/schemas/LocalTime'
        endDate:
          type: string
          format: date
        count:
          type: integer
          format: int32
        daysOfWeek:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
              - MONDAY
              - TUESDAY
              - WEDNESDAY
              - THURSDAY
              - FRIDAY
              - SATURDAY
              - SUNDAY
        dayOfMonth:
          type: integer
          format: int32
        weekOfMonth:
          type: integer
          format: int32
        dayOfWeekInMonth:
          type: string
          enum:
            - MONDAY
            - TUESDAY
            - WEDNESDAY
            - THURSDAY
            - FRIDAY
            - SATURDAY
            - SUNDAY
        monthOfYear:
          type: integer
          format: int32
        vehicleId:
          type: string
        transportEquipmentId:
          type: string
        chauffeurId:
          type: string
    RecurringEventDetail:
      type: object
      properties:
        id:
          type: string
        event:
          $ref: '#/components/schemas/CalendarEventModel'
        title:
          type: string
        pattern:
          type: string
        startDate:
          type: string
        startTime:
          type: string
        endTime:
          type: string
        endDate:
          type: string
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        transportEquipment:
          $ref: '#/components/schemas/TransportEquipmentModel'
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        count:
          type: integer
          format: int32
        interval:
          type: integer
          format: int32
        daysOfWeek:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
              - MONDAY
              - TUESDAY
              - WEDNESDAY
              - THURSDAY
              - FRIDAY
              - SATURDAY
              - SUNDAY
        dayOfMonth:
          type: integer
          format: int32
        weekOfMonth:
          type: integer
          format: int32
        dayOfWeekInMonth:
          type: string
          enum:
            - MONDAY
            - TUESDAY
            - WEDNESDAY
            - THURSDAY
            - FRIDAY
            - SATURDAY
            - SUNDAY
        monthOfYear:
          type: integer
          format: int32
    RecurringEventResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        recurringEvent:
          $ref: '#/components/schemas/RecurringEventDetail'
    TripsDailyReportRequest:
      type: object
      properties:
        vehicles:
          type: array
          items:
            type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
    AttributeCreateModel:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        color:
          type: string
    AssignChauffeurToUserRequest:
      required:
        - chauffeurId
      type: object
      properties:
        chauffeurId:
          type: string
          description: The ID of the Chauffeur to link to the User
      description: Request body for assigning a chauffeur to a user
    EntitiesAlertsRequest:
      type: object
      properties:
        entities:
          type: array
          items:
            $ref: '#/components/schemas/EntityRelationship'
    ActionCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        type:
          type: string
          enum:
            - load
            - unload
            - handOver
            - stop
            - move
            - attachTransportEquipment
            - detachTransportEquipment
            - attachChauffeur
            - detachChauffeur
            - genericAction
            - wait
            - break
            - refuel
            - customs
            - weighing
            - typeTakeAndReturn
            - booking
        groupId:
          type: string
        name:
          type: string
        externalAttributes:
          type: object
          additionalProperties:
            type: object
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        lifeCycle:
          type: string
          enum:
            - requested
            - planned
            - projected
            - actual
            - realized
        result:
          $ref: '#/components/schemas/ActionResult'
        remark:
          type: string
        sequenceNr:
          type: integer
          description: The number in which order the Action occurs
          format: int32
        location:
          $ref: '#/components/schemas/LocationAssociation'
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        eta:
          type: string
          format: date-time
        etd:
          type: string
          format: date-time
        timeFormat:
          type: string
        recurrence:
          type: string
        duration:
          type: integer
          format: int32
        estimatedDuration:
          type: integer
          format: int32
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionAssociation'
        communicationRequests:
          type: array
          items:
            $ref: '#/components/schemas/CommunicationRequestModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Association'
        contextEvents:
          type: array
          items:
            $ref: '#/components/schemas/EventModel'
        versionNumber:
          type: integer
          format: int32
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/ConstraintAssociation'
      discriminator:
        propertyName: type
        mapping:
          attachTransportEquipment: '#/components/schemas/AttachTransportEquipmentActionModel'
          detachTransportEquipment: '#/components/schemas/DetachTransportEquipmentActionModel'
          attachChauffeur: '#/components/schemas/AttachChauffeurActionModel'
          detachChauffeur: '#/components/schemas/DetachChauffeurActionModel'
          genericAction: '#/components/schemas/GenericActionModel'
          handOver: '#/components/schemas/HandOverActionModel'
          load: '#/components/schemas/LoadActionModel'
          move: '#/components/schemas/MoveActionModel'
          stop: '#/components/schemas/StopActionModel'
          unload: '#/components/schemas/UnloadActionModel'
          break: '#/components/schemas/BreakActionModel'
          wait: '#/components/schemas/WaitActionModel'
      oneOf:
        - $ref: '#/components/schemas/AttachTransportEquipmentActionModel'
        - $ref: '#/components/schemas/DetachTransportEquipmentActionModel'
        - $ref: '#/components/schemas/AttachChauffeurActionModel'
        - $ref: '#/components/schemas/DetachChauffeurActionModel'
        - $ref: '#/components/schemas/GenericActionModel'
        - $ref: '#/components/schemas/HandOverActionModel'
        - $ref: '#/components/schemas/LoadActionModel'
        - $ref: '#/components/schemas/MoveActionModel'
        - $ref: '#/components/schemas/StopActionModel'
        - $ref: '#/components/schemas/UnloadActionModel'
        - $ref: '#/components/schemas/BreakActionModel'
        - $ref: '#/components/schemas/WaitActionModel'
    CreateTransportOrderFromDocumentsRequest:
      type: object
      properties:
        documents:
          type: array
          items:
            type: string
    BanCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        description:
          type: string
        chauffeur:
          $ref: '#/components/schemas/ChauffeurModel'
        business:
          $ref: '#/components/schemas/Business'
        actor:
          $ref: '#/components/schemas/ActorModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
    OperationalTripsPerDayResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        tripsPerDay:
          type: array
          items:
            $ref: '#/components/schemas/TripMetersPerDay'
    TripMetersPerDay:
      type: object
      properties:
        day:
          type: string
        tripsCount:
          type: integer
          format: int64
        totalMeters:
          type: integer
          format: int64
        emptyMeters:
          type: integer
          format: int64
    BoardComputersResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        boardComputers:
          type: array
          items:
            $ref: '#/components/schemas/BoardComputerModel'
    TransportOrderIdsRequest:
      type: object
      properties:
        ids:
          type: array
          items:
            type: string
    InsertConsignmentRequest:
      type: object
      properties:
        consignmentId:
          type: string
    InsertConsignmentResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        tripId:
          type: string
        additionalCost:
          type: number
          format: double
        insertionPosition:
          type: integer
          format: int32
        requiresNewTrip:
          type: boolean
        constraints:
          type: array
          items:
            type: string
    ExtendedChauffeurResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        chauffeur:
          $ref: '#/components/schemas/ExtendedChauffeurModel'
    StackMapCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
    DamageCreateModel:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        description:
          type: string
        dateTime:
          type: string
          format: date-time
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentModel'
        vehicle:
          $ref: '#/components/schemas/VehicleModel'
        transportEquipment:
          $ref: '#/components/schemas/VehicleModel'
        consignment:
          $ref: '#/components/schemas/ConsignmentModel'
        items:
          $ref: '#/components/schemas/ItemsModel'
    LegDefinition:
      type: object
      properties:
        name:
          type: string
          description: Optional name for the leg
          example: Amsterdam to Paris
        consignmentIds:
          type: array
          description: IDs of consignments to include in this leg
          items:
            type: string
            description: IDs of consignments to include in this leg
        capacityContractId:
          type: string
          description: ID of the capacity contract for external carrier assignment
        originLocationId:
          type: string
          description: ID of the origin location for this leg
        destinationLocationId:
          type: string
          description: ID of the destination location for this leg
        transportMode:
          type: string
          description: Transport mode for this leg
          enum:
            - maritime
            - road
            - rail
            - air
            - inlandWaterway
        sequence:
          type: integer
          description: Sequence number for leg ordering
          format: int32
          example: 1
        vehicleId:
          type: string
          description: Optional vehicle ID to assign to this leg
        chauffeurIds:
          type: array
          description: Optional chauffeur IDs to assign to this leg
          items:
            type: string
            description: Optional chauffeur IDs to assign to this leg
        remark:
          type: string
          description: Remark or notes for this leg
        stopLocationIds:
          type: array
          description: Ordered stop location IDs for multi-stop legs
          items:
            type: string
            description: Ordered stop location IDs for multi-stop legs
        pricingElementIds:
          type: array
          description: IDs of pricing elements to assign to this leg
          items:
            type: string
            description: IDs of pricing elements to assign to this leg
        pricingElements:
          type: array
          description: Custom pricing elements for this leg
          items:
            $ref: '#/components/schemas/PricingElementDefinition'
        quoteLines:
          type: array
          description: Carrier quote lines for this leg
          items:
            $ref: '#/components/schemas/QuoteLineDefinition'
      description: Definition of a single leg/trip in the split operation
    PricingElementDefinition:
      type: object
      properties:
        name:
          type: string
          description: Name of the cost item
        description:
          type: string
          description: Description of the cost
        amount:
          type: number
          description: Amount value
          format: double
        currency:
          type: string
          description: Currency code
          example: EUR
        quantity:
          type: integer
          description: Quantity
          format: int32
          example: 1
        categoryId:
          type: string
          description: Pricing category ID (optional)
        businessId:
          type: string
          description: Business ID for this cost (optional)
      description: Pricing element definition for a leg
    QuoteLineDefinition:
      type: object
      properties:
        description:
          type: string
          description: Description of the quoted cost item
        amount:
          type: number
          description: Quoted amount
          format: double
        currency:
          type: string
          description: Currency code
          example: EUR
        quantity:
          type: number
          description: Quantity
          format: double
          example: 1
      description: Carrier quote line definition for a leg
    SplitTransportOrderRequest:
      type: object
      properties:
        legs:
          type: array
          description: List of leg definitions for splitting the order
          items:
            $ref: '#/components/schemas/LegDefinition'
      description: Request to split a transport order into multiple trips for forwarding
    IntegrationTasksResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        integrationTasks:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationTaskModel'
    IntegrationLogModel:
      required:
        - id
        - primaryPlatformId
        - uuid
      type: object
      properties:
        id:
          type: string
          description: >-
            Uniquely identifies this entity. A ID can be assigned  or will be
            generated by the server if the request doesn't provide it. Once
            assigned, the ID can't be changed
          readOnly: true
        nonce:
          type: string
          description: >-
            Nonce, a field that is not saved and returns exactly the same value
            you sent. This ensures you can identify your object that has been
            updated or created.
        uuid:
          type: string
        primaryPlatformId:
          type: string
        createdAt:
          type: string
          description: The date and time this Entity has been created
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: The date and time this Entity has been updated
          format: date-time
          readOnly: true
        language:
          $ref: '#/components/schemas/LanguageModel'
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/PlatformModel'
        integration:
          $ref: '#/components/schemas/IntegrationModel'
        integrationTask:
          $ref: '#/components/schemas/IntegrationTaskModel'
        type:
          type: string
          enum:
            - info
            - warning
            - error
            - success
        message:
          type: string
        code:
          type: string
    IntegrationLogsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        integrationLogs:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationLogModel'
    CamerasResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        cameras:
          type: array
          items:
            $ref: '#/components/schemas/CameraModel'
    UpdatePasswordRequest:
      type: object
      properties:
        oldPassword:
          type: string
        newPassword:
          type: string
        repeatPassword:
          type: string
    CalculateRouteFromActionsRequest:
      type: object
      properties:
        name:
          type: string
        vehicle:
          $ref: '#/components/schemas/Vehicle'
        actions:
          type: array
          items:
            $ref: '#/components/schemas/Action'
        constraints:
          type: array
          items:
            $ref: '#/components/schemas/Constraint'
        route:
          $ref: '#/components/schemas/Route'
    LatLonPointGeoReferenceResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        latLonPointGeoReference:
          $ref: '#/components/schemas/LatLonPointGeoReferenceModel'
    BusinessCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        name:
          type: string
        relationType:
          type: string
        alias:
          type: string
        description:
          type: string
        transportLicenseNumber:
          type: string
        eori:
          type: string
        scacCode:
          type: string
        industry:
          $ref: '#/components/schemas/IndustryModel'
        website:
          type: string
        coc:
          type: string
        vat:
          type: string
        logo:
          $ref: '#/components/schemas/File'
        banners:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
        locations:
          type: array
          items:
            $ref: '#/components/schemas/LocationModel'
        identification:
          type: array
          items:
            $ref: '#/components/schemas/FileModel'
        identifiers:
          type: array
          items:
            $ref: '#/components/schemas/IdentifierModel'
        contactDetails:
          type: array
          items:
            $ref: '#/components/schemas/ContactDetailModel'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
        partOf:
          type: array
          items:
            $ref: '#/components/schemas/Business'
        administration:
          $ref: '#/components/schemas/AdministrationModel'
    IntegrationObjectsResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        integrationObjects:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationObjectModel'
    EntitiesResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        totalResults:
          type: integer
          format: int32
        entities:
          type: array
          items:
            $ref: '#/components/schemas/Entity'
    Entity:
      type: object
      properties:
        entityType:
          type: string
          enum:
            - action
            - attachTransportEquipmentAction
            - detachTransportEquipmentAction
            - stopAction
            - loadAction
            - unloadAction
            - waitAction
            - consignment
            - extendedConsignment
            - transportEquipment
            - extendedTransportEquipment
            - items
            - goods
            - constraint
            - actor
            - location
            - route
            - sensor
            - vehicle
            - extendedVehicle
            - trip
            - fleet
            - transportOrder
            - extendedTransportOrder
            - business
            - event
            - locationUpdateEvent
            - startMovingEvent
            - startWaitingEvent
            - stopEngineEvent
            - stopMovingEvent
            - message
            - document
            - chauffeur
            - extendedChauffeur
            - chauffeurTimeslot
            - chat
            - user
            - administration
            - fleetVehicle
            - messageAutomation
            - capacity_contract
            - booking
            - invoice
            - invoice_line
            - quote
            - quote_line
            - integration
            - calendarEvent
            - to_do
        entity:
          type: object
    IntegrationCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        type:
          type: string
          enum:
            - manual
            - configured
            - messageAutomation
            - fileTemplate
            - apiAccess
        name:
          type: string
        description:
          type: string
        schedule:
          $ref: '#/components/schemas/IntegrationSchedulerSchedule'
        dataSources:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationDataSourceModel'
        enabled:
          type: boolean
        lastHandled:
          type: string
          format: date-time
        notes:
          type: array
          items:
            $ref: '#/components/schemas/NoteModel'
      discriminator:
        propertyName: type
        mapping:
          configured: '#/components/schemas/ConfiguredIntegrationModel'
          fileTemplate: '#/components/schemas/FileTemplateIntegrationModel'
          manual: '#/components/schemas/ManualIntegrationModel'
          messageAutomation: '#/components/schemas/MessageAutomationIntegrationModel'
          apiAccess: '#/components/schemas/ApiAccessIntegrationModel'
      oneOf:
        - $ref: '#/components/schemas/ConfiguredIntegrationModel'
        - $ref: '#/components/schemas/FileTemplateIntegrationModel'
        - $ref: '#/components/schemas/ManualIntegrationModel'
        - $ref: '#/components/schemas/MessageAutomationIntegrationModel'
        - $ref: '#/components/schemas/ApiAccessIntegrationModel'
    MappingToJsonRequest:
      type: object
      properties:
        mapping:
          type: object
          additionalProperties:
            type: object
    MappingToJsonResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        code:
          type: integer
          format: int32
        value:
          type: string
    InvoiceCreateRequest:
      type: object
      properties:
        nonce:
          type: string
        administration:
          $ref: '#/components/schemas/AdministrationModel'
        year:
          type: integer
          format: int32
          readOnly: true
        number:
          type: integer
          format: int32
          readOnly: true
        name:
          type: string
        description:
          type: string
        reference:
          type: string
        paymentReference:
          type: string
        status:
          type: string
          enum:
            - concept
            - pending_approval
            - approved
            - rejected
            - open
            - paid
            - reminded
            - too_late
            - cancelled
        reminderCount:
          type: integer
          format: int32
        direction:
          type: string
          enum:
            - in
            - out
        currency:
          $ref: '#/components/schemas/CurrencyModel'
        cancelledReason:
          type: string
        lines:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceLine'
        subjectBusiness:
          $ref: '#/components/schemas/Business'
        targetBusiness:
          $ref: '#/components/schemas/Business'
        contactPerson:
          $ref: '#/components/schemas/ContactPersonModel'
        creator:
          $ref: '#/components/schemas/UserModel'
        date:
          type: string
          format: date-time
          readOnly: true
        dueAt:
          type: string
          format: date-time
        nextReminderDate:
          type: string
          format: date-time
        subTotal:
          $ref: '#/components/schemas/MoneyModel'
        tax:
          $ref: '#/components/schemas/MoneyModel'
        total:
          $ref: '#/components/schemas/MoneyModel'
        totalOpen:
          $ref: '#/components/schemas/MoneyModel'
        transactions:
          type: array
          items:
            $ref: '#/components/schemas/TransactionModel'
        identifiers:
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/IdentifierModel'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAssociation'
        billing:
          $ref: '#/components/schemas/BillingModel'
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiSecret:
      type: apiKey
      name: x-api-secret
      $ref: '#/components/securitySchemes/apiKey'
      in: header
