openapi: 3.0.3
info:
  title: 'BookingSystem API Documentation'
  description: 'if need change locale pass to header "locale" with value "en" or "ar"'
  version: 1.0.0
servers:
  -
    url: 'https://testapi.ticketbus365.com'
paths:
  /api/login:
    post:
      summary: Login
      operationId: login
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'Email address of the user'
                  example: example@example.com
                  nullable: false
                password:
                  type: string
                  description: 'Password of the user'
                  example: password
                  nullable: false
              required:
                - email
                - password
      security: []
  /api/reset-password:
    post:
      summary: 'Reset password'
      operationId: resetPassword
      description: 'Send reset password email to user'
      parameters: []
      responses: {  }
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'User email'
                  example: gislason.monique@example.org
                  nullable: false
              required:
                - email
      security: []
  /api/registration:
    post:
      summary: Register
      operationId: register
      description: 'Register a new user'
      parameters: []
      responses: {  }
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  description: 'First name'
                  example: John
                  nullable: false
                last_name:
                  type: string
                  description: 'Last name'
                  example: Doe
                  nullable: false
                birth_date:
                  type: string
                  description: 'Birth date'
                  example: '1990-01-01'
                  nullable: false
                email:
                  type: string
                  description: Email
                  example: john.doe@example
                  nullable: false
                subscribe_to_newsletter:
                  type: string
                  description: 'Subscribe to newsletter'
                  example: 1
                  nullable: false
                accept_terms:
                  type: string
                  description: 'Accept terms'
                  example: 1
                  nullable: false
              required:
                - first_name
                - last_name
                - birth_date
                - email
                - accept_terms
      security: []
  /api/auth/login:
    post:
      summary: 'Universal Login by Phone or Email'
      operationId: universalLoginByPhoneOrEmail
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                identifier:
                  type: string
                  description: 'Phone number or email of the user'
                  example: '+380991234567'
                  nullable: false
                code:
                  type: string
                  description: 'Code received via SMS or Email'
                  example: '1234'
                  nullable: false
              required:
                - identifier
                - code
      security: []
  /api/auth/send-code:
    post:
      summary: 'Send Auth Code to Phone or Email'
      operationId: sendAuthCodeToPhoneOrEmail
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                identifier:
                  type: string
                  description: 'Phone number or email of the user'
                  example: '+380991234567'
                  nullable: false
              required:
                - identifier
      security: []
  '/api/social-login/{provider}':
    post:
      summary: 'Login with social'
      operationId: loginWithSocial
      description: 'Login with social'
      parameters: []
      responses: {  }
      tags:
        - Auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: 'Social token'
                  example: token
                  nullable: false
              required:
                - token
      security: []
    parameters:
      -
        in: path
        name: provider
        description: 'Social provider (google, apple)'
        example: google
        required: true
        schema:
          type: string
  /api/logout:
    post:
      summary: Logout
      operationId: logout
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Auth
  /api/baggage-shipment-prices:
    get:
      summary: 'Get baggage shipment prices'
      operationId: getBaggageShipmentPrices
      description: 'Get bus prices'
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      entity_id: 8616
                      entity_type: App\Models\BusFlight
                      price:
                        -
                          price: 50
                          currency_id: 88
                        -
                          price: 50
                          currency_id: 89
                        -
                          price: 50
                          currency_id: 90
                        -
                          price: 50
                          currency_id: 91
                      created_at: '2025-05-23T07:41:05.000000Z'
                      updated_at: '2025-05-23T07:41:05.000000Z'
                      baggage_shipment_type_id: 1
                      baggageShipmentType:
                        id: 1
                        name: 100x100
                        translations:
                          name:
                            en: 100x100
                            pl: 100x100
                            ru: 100x100
                            ua: 100x100
                        created_at: '2025-05-23T07:40:50.000000Z'
                        updated_at: '2025-05-23T07:40:50.000000Z'
                    -
                      id: 1
                      entity_id: 8616
                      entity_type: App\Models\BusFlight
                      price:
                        -
                          price: 50
                          currency_id: 88
                        -
                          price: 50
                          currency_id: 89
                        -
                          price: 50
                          currency_id: 90
                        -
                          price: 50
                          currency_id: 91
                      created_at: '2025-05-23T07:41:05.000000Z'
                      updated_at: '2025-05-23T07:41:05.000000Z'
                      baggage_shipment_type_id: 1
                      baggageShipmentType:
                        id: 1
                        name: 100x100
                        translations:
                          name:
                            en: 100x100
                            pl: 100x100
                            ru: 100x100
                            ua: 100x100
                        created_at: '2025-05-23T07:40:50.000000Z'
                        updated_at: '2025-05-23T07:40:50.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        entity_id: 8616
                        entity_type: App\Models\BusFlight
                        price:
                          -
                            price: 50
                            currency_id: 88
                          -
                            price: 50
                            currency_id: 89
                          -
                            price: 50
                            currency_id: 90
                          -
                            price: 50
                            currency_id: 91
                        created_at: '2025-05-23T07:41:05.000000Z'
                        updated_at: '2025-05-23T07:41:05.000000Z'
                        baggage_shipment_type_id: 1
                        baggageShipmentType:
                          id: 1
                          name: 100x100
                          translations:
                            name:
                              en: 100x100
                              pl: 100x100
                              ru: 100x100
                              ua: 100x100
                          created_at: '2025-05-23T07:40:50.000000Z'
                          updated_at: '2025-05-23T07:40:50.000000Z'
                      -
                        id: 1
                        entity_id: 8616
                        entity_type: App\Models\BusFlight
                        price:
                          -
                            price: 50
                            currency_id: 88
                          -
                            price: 50
                            currency_id: 89
                          -
                            price: 50
                            currency_id: 90
                          -
                            price: 50
                            currency_id: 91
                        created_at: '2025-05-23T07:41:05.000000Z'
                        updated_at: '2025-05-23T07:41:05.000000Z'
                        baggage_shipment_type_id: 1
                        baggageShipmentType:
                          id: 1
                          name: 100x100
                          translations:
                            name:
                              en: 100x100
                              pl: 100x100
                              ru: 100x100
                              ua: 100x100
                          created_at: '2025-05-23T07:40:50.000000Z'
                          updated_at: '2025-05-23T07:40:50.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        entity_id:
                          type: integer
                          example: 8616
                        entity_type:
                          type: string
                          example: App\Models\BusFlight
                        price:
                          type: array
                          example:
                            -
                              price: 50
                              currency_id: 88
                            -
                              price: 50
                              currency_id: 89
                            -
                              price: 50
                              currency_id: 90
                            -
                              price: 50
                              currency_id: 91
                          items:
                            type: object
                            properties:
                              price:
                                type: integer
                                example: 50
                              currency_id:
                                type: integer
                                example: 88
                        created_at:
                          type: string
                          example: '2025-05-23T07:41:05.000000Z'
                        updated_at:
                          type: string
                          example: '2025-05-23T07:41:05.000000Z'
                        baggage_shipment_type_id:
                          type: integer
                          example: 1
                        baggageShipmentType:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: 100x100
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    en:
                                      type: string
                                      example: 100x100
                                    pl:
                                      type: string
                                      example: 100x100
                                    ru:
                                      type: string
                                      example: 100x100
                                    ua:
                                      type: string
                                      example: 100x100
                            created_at:
                              type: string
                              example: '2025-05-23T07:40:50.000000Z'
                            updated_at:
                              type: string
                              example: '2025-05-23T07:40:50.000000Z'
      tags:
        - 'Baggage Shipment'
    post:
      summary: 'Create baggage shipment prices'
      operationId: createBaggageShipmentPrices
      description: 'Create or update bus prices'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    entity_id: 8616
                    entity_type: App\Models\BusFlight
                    price:
                      -
                        price: 50
                        currency_id: 88
                      -
                        price: 50
                        currency_id: 89
                      -
                        price: 50
                        currency_id: 90
                      -
                        price: 50
                        currency_id: 91
                    created_at: '2025-05-23T07:41:05.000000Z'
                    updated_at: '2025-05-23T07:41:05.000000Z'
                    baggage_shipment_type_id: 1
                    baggageShipmentType:
                      id: 1
                      name: 100x100
                      translations:
                        name:
                          en: 100x100
                          pl: 100x100
                          ru: 100x100
                          ua: 100x100
                      created_at: '2025-05-23T07:40:50.000000Z'
                      updated_at: '2025-05-23T07:40:50.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      entity_id:
                        type: integer
                        example: 8616
                      entity_type:
                        type: string
                        example: App\Models\BusFlight
                      price:
                        type: array
                        example:
                          -
                            price: 50
                            currency_id: 88
                          -
                            price: 50
                            currency_id: 89
                          -
                            price: 50
                            currency_id: 90
                          -
                            price: 50
                            currency_id: 91
                        items:
                          type: object
                          properties:
                            price:
                              type: integer
                              example: 50
                            currency_id:
                              type: integer
                              example: 88
                      created_at:
                        type: string
                        example: '2025-05-23T07:41:05.000000Z'
                      updated_at:
                        type: string
                        example: '2025-05-23T07:41:05.000000Z'
                      baggage_shipment_type_id:
                        type: integer
                        example: 1
                      baggageShipmentType:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: 100x100
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  en:
                                    type: string
                                    example: 100x100
                                  pl:
                                    type: string
                                    example: 100x100
                                  ru:
                                    type: string
                                    example: 100x100
                                  ua:
                                    type: string
                                    example: 100x100
                          created_at:
                            type: string
                            example: '2025-05-23T07:40:50.000000Z'
                          updated_at:
                            type: string
                            example: '2025-05-23T07:40:50.000000Z'
      tags:
        - 'Baggage Shipment'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                price:
                  type: array
                  description: 'Price data'
                  example:
                    -
                      -
                        currency_id: 1
                        price: 1000
                  items:
                    type: string
                baggage_shipment_type_id:
                  type: integer
                  description: 'Baggage shipment type ID'
                  example: 1
                  nullable: false
                entity_type:
                  type: string
                  description: '(bus_flight, bus_route)'
                  example: bus_flight
                  nullable: false
                entity_id:
                  type: integer
                  description: 'Entity ID'
                  example: 1
                  nullable: false
              required:
                - price
                - baggage_shipment_type_id
                - entity_type
                - entity_id
  '/api/baggage-shipment-prices/{baggageShipmentPrice_id}':
    put:
      summary: 'Update baggage shipment prices'
      operationId: updateBaggageShipmentPrices
      description: 'Update bus prices'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    entity_id: 8616
                    entity_type: App\Models\BusFlight
                    price:
                      -
                        price: 50
                        currency_id: 88
                      -
                        price: 50
                        currency_id: 89
                      -
                        price: 50
                        currency_id: 90
                      -
                        price: 50
                        currency_id: 91
                    created_at: '2025-05-23T07:41:05.000000Z'
                    updated_at: '2025-05-23T07:41:05.000000Z'
                    baggage_shipment_type_id: 1
                    baggageShipmentType:
                      id: 1
                      name: 100x100
                      translations:
                        name:
                          en: 100x100
                          pl: 100x100
                          ru: 100x100
                          ua: 100x100
                      created_at: '2025-05-23T07:40:50.000000Z'
                      updated_at: '2025-05-23T07:40:50.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      entity_id:
                        type: integer
                        example: 8616
                      entity_type:
                        type: string
                        example: App\Models\BusFlight
                      price:
                        type: array
                        example:
                          -
                            price: 50
                            currency_id: 88
                          -
                            price: 50
                            currency_id: 89
                          -
                            price: 50
                            currency_id: 90
                          -
                            price: 50
                            currency_id: 91
                        items:
                          type: object
                          properties:
                            price:
                              type: integer
                              example: 50
                            currency_id:
                              type: integer
                              example: 88
                      created_at:
                        type: string
                        example: '2025-05-23T07:41:05.000000Z'
                      updated_at:
                        type: string
                        example: '2025-05-23T07:41:05.000000Z'
                      baggage_shipment_type_id:
                        type: integer
                        example: 1
                      baggageShipmentType:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: 100x100
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  en:
                                    type: string
                                    example: 100x100
                                  pl:
                                    type: string
                                    example: 100x100
                                  ru:
                                    type: string
                                    example: 100x100
                                  ua:
                                    type: string
                                    example: 100x100
                          created_at:
                            type: string
                            example: '2025-05-23T07:40:50.000000Z'
                          updated_at:
                            type: string
                            example: '2025-05-23T07:40:50.000000Z'
      tags:
        - 'Baggage Shipment'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                price:
                  type: array
                  description: 'Price data'
                  example:
                    -
                      -
                        currency_id: 1
                        price: 1000
                  items:
                    type: string
                baggage_shipment_type_id:
                  type: integer
                  description: 'Baggage shipment type ID'
                  example: 1
                  nullable: false
                entity_type:
                  type: string
                  description: '(bus_flight, bus_route)'
                  example: bus_flight
                  nullable: false
                entity_id:
                  type: integer
                  description: 'Entity ID'
                  example: 1
                  nullable: false
              required:
                - price
                - baggage_shipment_type_id
                - entity_type
                - entity_id
    delete:
      summary: 'Delete baggage shipment prices'
      operationId: deleteBaggageShipmentPrices
      description: 'Delete bus prices'
      parameters: []
      responses: {  }
      tags:
        - 'Baggage Shipment'
    parameters:
      -
        in: path
        name: baggageShipmentPrice_id
        description: 'The ID of the baggageShipmentPrice.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight_id}/baggage-shipments':
    get:
      summary: 'Get baggage shipment prices'
      operationId: getBaggageShipmentPrices
      description: 'Get baggage shipment'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - 'Baggage Shipment'
    post:
      summary: 'Create baggage shipment'
      operationId: createBaggageShipment
      description: 'Create a new baggage shipment'
      parameters: []
      responses: {  }
      tags:
        - 'Baggage Shipment'
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight_id}/baggage-shipments/{baggage_shipment_id}':
    delete:
      summary: 'Delete baggage shipment'
      operationId: deleteBaggageShipment
      description: 'Delete a baggage shipment'
      parameters: []
      responses: {  }
      tags:
        - 'Baggage Shipment'
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: baggage_shipment_id
        description: 'The ID of the baggage shipment.'
        example: harum
        required: true
        schema:
          type: string
  '/api/bus-routes/{bus_route_id}/additional-price-settings':
    get:
      summary: 'Get all additional price settings for a bus route'
      operationId: getAllAdditionalPriceSettingsForABusRoute
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 12
                      name: Sergii
                      percent: '-10.00'
                      period: departure_date
                      date_from: '2024-02-10'
                      date_to: '2024-02-24'
                      is_active: false
                      bus_route_id: 83
                      created_at: '2024-02-10T13:06:42.000000Z'
                      updated_at: '2024-02-10T13:06:42.000000Z'
                    -
                      id: 12
                      name: Sergii
                      percent: '-10.00'
                      period: departure_date
                      date_from: '2024-02-10'
                      date_to: '2024-02-24'
                      is_active: false
                      bus_route_id: 83
                      created_at: '2024-02-10T13:06:42.000000Z'
                      updated_at: '2024-02-10T13:06:42.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 12
                        name: Sergii
                        percent: '-10.00'
                        period: departure_date
                        date_from: '2024-02-10'
                        date_to: '2024-02-24'
                        is_active: false
                        bus_route_id: 83
                        created_at: '2024-02-10T13:06:42.000000Z'
                        updated_at: '2024-02-10T13:06:42.000000Z'
                      -
                        id: 12
                        name: Sergii
                        percent: '-10.00'
                        period: departure_date
                        date_from: '2024-02-10'
                        date_to: '2024-02-24'
                        is_active: false
                        bus_route_id: 83
                        created_at: '2024-02-10T13:06:42.000000Z'
                        updated_at: '2024-02-10T13:06:42.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 12
                        name:
                          type: string
                          example: Sergii
                        percent:
                          type: string
                          example: '-10.00'
                        period:
                          type: string
                          example: departure_date
                        date_from:
                          type: string
                          example: '2024-02-10'
                        date_to:
                          type: string
                          example: '2024-02-24'
                        is_active:
                          type: boolean
                          example: false
                        bus_route_id:
                          type: integer
                          example: 83
                        created_at:
                          type: string
                          example: '2024-02-10T13:06:42.000000Z'
                        updated_at:
                          type: string
                          example: '2024-02-10T13:06:42.000000Z'
      tags:
        - Bus
      security: []
    post:
      summary: 'Create a new additional price setting for a bus route'
      operationId: createANewAdditionalPriceSettingForABusRoute
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 12
                    name: Sergii
                    percent: '-10.00'
                    period: departure_date
                    date_from: '2024-02-10'
                    date_to: '2024-02-24'
                    is_active: false
                    bus_route_id: 83
                    created_at: '2024-02-10T13:06:42.000000Z'
                    updated_at: '2024-02-10T13:06:42.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 12
                      name:
                        type: string
                        example: Sergii
                      percent:
                        type: string
                        example: '-10.00'
                      period:
                        type: string
                        example: departure_date
                      date_from:
                        type: string
                        example: '2024-02-10'
                      date_to:
                        type: string
                        example: '2024-02-24'
                      is_active:
                        type: boolean
                        example: false
                      bus_route_id:
                        type: integer
                        example: 83
                      created_at:
                        type: string
                        example: '2024-02-10T13:06:42.000000Z'
                      updated_at:
                        type: string
                        example: '2024-02-10T13:06:42.000000Z'
      tags:
        - Bus
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Name of the additional price setting'
                  example: 'Weekend price'
                  nullable: false
                percent:
                  type: string
                  description: 'Percentage of the additional price'
                  example: 10
                  nullable: false
                period:
                  type: string
                  description: 'Period of the additional price'
                  example: departure_date
                  nullable: false
                date_from:
                  type: string
                  description: 'Date from which the additional price is applied'
                  example: '2021-01-01'
                  nullable: false
                date_to:
                  type: string
                  description: 'Date to which the additional price is applied'
                  example: '2021-12-31'
                  nullable: false
              required:
                - name
                - percent
                - period
                - date_from
                - date_to
      security: []
    parameters:
      -
        in: path
        name: bus_route_id
        description: 'The ID of the bus route.'
        example: 82
        required: true
        schema:
          type: integer
  '/api/bus-routes/{bus_route_id}/additional-price-settings/{setting_id}':
    patch:
      summary: 'Update an additional price setting for a bus route'
      operationId: updateAnAdditionalPriceSettingForABusRoute
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 12
                    name: Sergii
                    percent: '-10.00'
                    period: departure_date
                    date_from: '2024-02-10'
                    date_to: '2024-02-24'
                    is_active: false
                    bus_route_id: 83
                    created_at: '2024-02-10T13:06:42.000000Z'
                    updated_at: '2024-02-10T13:06:42.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 12
                      name:
                        type: string
                        example: Sergii
                      percent:
                        type: string
                        example: '-10.00'
                      period:
                        type: string
                        example: departure_date
                      date_from:
                        type: string
                        example: '2024-02-10'
                      date_to:
                        type: string
                        example: '2024-02-24'
                      is_active:
                        type: boolean
                        example: false
                      bus_route_id:
                        type: integer
                        example: 83
                      created_at:
                        type: string
                        example: '2024-02-10T13:06:42.000000Z'
                      updated_at:
                        type: string
                        example: '2024-02-10T13:06:42.000000Z'
      tags:
        - Bus
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Name of the additional price setting'
                  example: 'Weekend price'
                  nullable: false
                percent:
                  type: string
                  description: 'Percentage of the additional price'
                  example: 10
                  nullable: false
                period:
                  type: string
                  description: 'Period of the additional price'
                  example: departure_date
                  nullable: false
                date_from:
                  type: string
                  description: 'Date from which the additional price is applied'
                  example: '2021-01-01'
                  nullable: false
                date_to:
                  type: string
                  description: 'Date to which the additional price is applied'
                  example: '2021-12-31'
                  nullable: false
      security: []
    delete:
      summary: 'Delete an additional price setting for a bus route'
      operationId: deleteAnAdditionalPriceSettingForABusRoute
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 12
                    name: Sergii
                    percent: '-10.00'
                    period: departure_date
                    date_from: '2024-02-10'
                    date_to: '2024-02-24'
                    is_active: false
                    bus_route_id: 83
                    created_at: '2024-02-10T13:06:42.000000Z'
                    updated_at: '2024-02-10T13:06:42.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 12
                      name:
                        type: string
                        example: Sergii
                      percent:
                        type: string
                        example: '-10.00'
                      period:
                        type: string
                        example: departure_date
                      date_from:
                        type: string
                        example: '2024-02-10'
                      date_to:
                        type: string
                        example: '2024-02-24'
                      is_active:
                        type: boolean
                        example: false
                      bus_route_id:
                        type: integer
                        example: 83
                      created_at:
                        type: string
                        example: '2024-02-10T13:06:42.000000Z'
                      updated_at:
                        type: string
                        example: '2024-02-10T13:06:42.000000Z'
      tags:
        - Bus
      security: []
    parameters:
      -
        in: path
        name: bus_route_id
        description: 'The ID of the bus route.'
        example: 82
        required: true
        schema:
          type: integer
      -
        in: path
        name: setting_id
        description: 'The ID of the setting.'
        example: iusto
        required: true
        schema:
          type: string
  /api/buses:
    get:
      summary: 'Get all buses'
      operationId: getAllBuses
      description: ''
      parameters:
        -
          in: query
          name: page
          description: 'Page number'
          example: 1
          required: true
          schema:
            type: string
            description: 'Page number'
            example: 1
            nullable: false
        -
          in: query
          name: search
          description: 'Search string'
          example: '000 111'
          required: true
          schema:
            type: string
            description: 'Search string'
            example: '000 111'
            nullable: false
        -
          in: query
          name: status
          description: Status
          example: active
          required: true
          schema:
            type: string
            description: Status
            example: active
            nullable: false
        -
          in: query
          name: type_id
          description: 'Bus type ID'
          example: 1
          required: true
          schema:
            type: string
            description: 'Bus type ID'
            example: 1
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1163
                      name: 'Nia Zboncak'
                      number: '(443) 356-6898'
                      status: active
                      schema:
                        id: 1434
                        name: 'Jacky Schroeder V'
                        mark: 'Elna Morar'
                        model: 'Noemi Jakubowski'
                        number_of_seats: 1
                        number_of_floors: 1
                        rows: 1
                        columns: 1
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    -
                      id: 1164
                      name: 'Marcelle Ankunding'
                      number: '+1 (254) 668-5427'
                      status: active
                      schema:
                        id: 1436
                        name: 'Penelope Jast'
                        mark: 'Prof. Alana Huel DVM'
                        model: "Dr. Gerard O'Keefe"
                        number_of_seats: 1
                        number_of_floors: 1
                        rows: 1
                        columns: 2
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1163
                        name: 'Nia Zboncak'
                        number: '(443) 356-6898'
                        status: active
                        schema:
                          id: 1434
                          name: 'Jacky Schroeder V'
                          mark: 'Elna Morar'
                          model: 'Noemi Jakubowski'
                          number_of_seats: 1
                          number_of_floors: 1
                          rows: 1
                          columns: 1
                          created_at: '2025-12-09T14:41:09.000000Z'
                          updated_at: '2025-12-09T14:41:09.000000Z'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                      -
                        id: 1164
                        name: 'Marcelle Ankunding'
                        number: '+1 (254) 668-5427'
                        status: active
                        schema:
                          id: 1436
                          name: 'Penelope Jast'
                          mark: 'Prof. Alana Huel DVM'
                          model: "Dr. Gerard O'Keefe"
                          number_of_seats: 1
                          number_of_floors: 1
                          rows: 1
                          columns: 2
                          created_at: '2025-12-09T14:41:09.000000Z'
                          updated_at: '2025-12-09T14:41:09.000000Z'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1163
                        name:
                          type: string
                          example: 'Nia Zboncak'
                        number:
                          type: string
                          example: '(443) 356-6898'
                        status:
                          type: string
                          example: active
                        schema:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1434
                            name:
                              type: string
                              example: 'Jacky Schroeder V'
                            mark:
                              type: string
                              example: 'Elna Morar'
                            model:
                              type: string
                              example: 'Noemi Jakubowski'
                            number_of_seats:
                              type: integer
                              example: 1
                            number_of_floors:
                              type: integer
                              example: 1
                            rows:
                              type: integer
                              example: 1
                            columns:
                              type: integer
                              example: 1
                            created_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Bus
    post:
      summary: 'Create bus'
      operationId: createBus
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1166
                    name: 'Emmett Wiegand'
                    number: +1.845.686.5048
                    status: active
                    schema:
                      id: 1440
                      name: 'Clifton Olson Sr.'
                      mark: 'Ocie Johns IV'
                      model: 'Darron Ankunding'
                      number_of_seats: 1
                      number_of_floors: 1
                      rows: 1
                      columns: 1
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    services:
                      -
                        id: 183
                        name: 'Dasia Collier'
                        translations:
                          name:
                            ua: 'Prof. Juvenal Predovic Sr.'
                            en: 'Dasia Collier'
                        icon_name: 'Vincenza Cremin'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1166
                      name:
                        type: string
                        example: 'Emmett Wiegand'
                      number:
                        type: string
                        example: +1.845.686.5048
                      status:
                        type: string
                        example: active
                      schema:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1440
                          name:
                            type: string
                            example: 'Clifton Olson Sr.'
                          mark:
                            type: string
                            example: 'Ocie Johns IV'
                          model:
                            type: string
                            example: 'Darron Ankunding'
                          number_of_seats:
                            type: integer
                            example: 1
                          number_of_floors:
                            type: integer
                            example: 1
                          rows:
                            type: integer
                            example: 1
                          columns:
                            type: integer
                            example: 1
                          created_at:
                            type: string
                            example: '2025-12-09T14:41:09.000000Z'
                          updated_at:
                            type: string
                            example: '2025-12-09T14:41:09.000000Z'
                      services:
                        type: array
                        example:
                          -
                            id: 183
                            name: 'Dasia Collier'
                            translations:
                              name:
                                ua: 'Prof. Juvenal Predovic Sr.'
                                en: 'Dasia Collier'
                            icon_name: 'Vincenza Cremin'
                            created_at: '2025-12-09T14:41:09.000000Z'
                            updated_at: '2025-12-09T14:41:09.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 183
                            name:
                              type: string
                              example: 'Dasia Collier'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Prof. Juvenal Predovic Sr.'
                                    en:
                                      type: string
                                      example: 'Dasia Collier'
                            icon_name:
                              type: string
                              example: 'Vincenza Cremin'
                            created_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - Bus
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Bus name'
                  example: 'Bus 1'
                  nullable: false
                number:
                  type: string
                  description: 'Bus number'
                  example: '000 111'
                  nullable: false
                status:
                  type: string
                  description: 'Bus status'
                  example: active
                  nullable: false
                bus_schema_id:
                  type: integer
                  description: 'Bus schema id'
                  example: 1
                  nullable: false
                services:
                  type: array
                  description: 'Bus services'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
              required:
                - name
                - number
                - status
                - bus_schema_id
                - services
  '/api/buses/{bus_id}':
    get:
      summary: 'Show bus'
      operationId: showBus
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1165
                    name: 'Theodora McLaughlin'
                    number: '+1 (820) 386-8251'
                    status: active
                    schema:
                      id: 1438
                      name: 'Garnet Spinka'
                      mark: 'Hermann Kassulke'
                      model: 'Ramiro Buckridge'
                      number_of_seats: 2
                      number_of_floors: 1
                      services:
                        -
                          id: 181
                          name: 'Kevon Beahan V'
                          translations:
                            name:
                              ua: 'Barry Thompson'
                              en: 'Kevon Beahan V'
                          icon_name: 'Miss Vincenza Kemmer PhD'
                          created_at: '2025-12-09T14:41:09.000000Z'
                          updated_at: '2025-12-09T14:41:09.000000Z'
                      rows: 2
                      columns: 1
                      items:
                        -
                          id: 41239
                          type: seat
                          name: 'Seat 1'
                          translations:
                            name:
                              en: 'Seat 1'
                          seat_number: 1
                          row_number: 1
                          column_number: 1
                          floor_number: 1
                        -
                          id: 41240
                          type: seat
                          name: 'Seat 2'
                          translations:
                            name:
                              en: 'Seat 2'
                          seat_number: 2
                          row_number: 2
                          column_number: 1
                          floor_number: 1
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    services:
                      -
                        id: 182
                        name: 'Jean Farrell'
                        translations:
                          name:
                            ua: 'Isabella Wintheiser'
                            en: 'Jean Farrell'
                        icon_name: 'Sophia Corkery'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    user:
                      id: 5774
                      first_name: Jamey
                      last_name: Schiller
                      middle_name: Elise
                      full_name: 'Jamey Schiller Elise'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Berniece Hessel'
                      phone: 1-816-517-4183
                      email: melissa10@example.net
                      subscribe_to_newsletter: false
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1165
                      name:
                        type: string
                        example: 'Theodora McLaughlin'
                      number:
                        type: string
                        example: '+1 (820) 386-8251'
                      status:
                        type: string
                        example: active
                      schema:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1438
                          name:
                            type: string
                            example: 'Garnet Spinka'
                          mark:
                            type: string
                            example: 'Hermann Kassulke'
                          model:
                            type: string
                            example: 'Ramiro Buckridge'
                          number_of_seats:
                            type: integer
                            example: 2
                          number_of_floors:
                            type: integer
                            example: 1
                          services:
                            type: array
                            example:
                              -
                                id: 181
                                name: 'Kevon Beahan V'
                                translations:
                                  name:
                                    ua: 'Barry Thompson'
                                    en: 'Kevon Beahan V'
                                icon_name: 'Miss Vincenza Kemmer PhD'
                                created_at: '2025-12-09T14:41:09.000000Z'
                                updated_at: '2025-12-09T14:41:09.000000Z'
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 181
                                name:
                                  type: string
                                  example: 'Kevon Beahan V'
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { ua: { type: string, example: 'Barry Thompson' }, en: { type: string, example: 'Kevon Beahan V' } }
                                icon_name:
                                  type: string
                                  example: 'Miss Vincenza Kemmer PhD'
                                created_at:
                                  type: string
                                  example: '2025-12-09T14:41:09.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-12-09T14:41:09.000000Z'
                          rows:
                            type: integer
                            example: 2
                          columns:
                            type: integer
                            example: 1
                          items:
                            type: array
                            example:
                              -
                                id: 41239
                                type: seat
                                name: 'Seat 1'
                                translations:
                                  name:
                                    en: 'Seat 1'
                                seat_number: 1
                                row_number: 1
                                column_number: 1
                                floor_number: 1
                              -
                                id: 41240
                                type: seat
                                name: 'Seat 2'
                                translations:
                                  name:
                                    en: 'Seat 2'
                                seat_number: 2
                                row_number: 2
                                column_number: 1
                                floor_number: 1
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 41239
                                type:
                                  type: string
                                  example: seat
                                name:
                                  type: string
                                  example: 'Seat 1'
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { en: { type: string, example: 'Seat 1' } }
                                seat_number:
                                  type: integer
                                  example: 1
                                row_number:
                                  type: integer
                                  example: 1
                                column_number:
                                  type: integer
                                  example: 1
                                floor_number:
                                  type: integer
                                  example: 1
                          created_at:
                            type: string
                            example: '2025-12-09T14:41:09.000000Z'
                          updated_at:
                            type: string
                            example: '2025-12-09T14:41:09.000000Z'
                      services:
                        type: array
                        example:
                          -
                            id: 182
                            name: 'Jean Farrell'
                            translations:
                              name:
                                ua: 'Isabella Wintheiser'
                                en: 'Jean Farrell'
                            icon_name: 'Sophia Corkery'
                            created_at: '2025-12-09T14:41:09.000000Z'
                            updated_at: '2025-12-09T14:41:09.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 182
                            name:
                              type: string
                              example: 'Jean Farrell'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Isabella Wintheiser'
                                    en:
                                      type: string
                                      example: 'Jean Farrell'
                            icon_name:
                              type: string
                              example: 'Sophia Corkery'
                            created_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                      user:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 5774
                          first_name:
                            type: string
                            example: Jamey
                          last_name:
                            type: string
                            example: Schiller
                          middle_name:
                            type: string
                            example: Elise
                          full_name:
                            type: string
                            example: 'Jamey Schiller Elise'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Berniece Hessel'
                          phone:
                            type: string
                            example: 1-816-517-4183
                          email:
                            type: string
                            example: melissa10@example.net
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2025-12-09T14:41:09.000000Z'
                          updated_at:
                            type: string
                            example: '2025-12-09T14:41:09.000000Z'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - Bus
    patch:
      summary: 'Update bus'
      operationId: updateBus
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1167
                    name: 'Alexys Oberbrunner'
                    number: 650-946-3169
                    status: active
                    schema:
                      id: 1442
                      name: 'Bradford Smith'
                      mark: 'Maxine Ratke DDS'
                      model: 'Earnestine Jerde'
                      number_of_seats: 2
                      number_of_floors: 1
                      rows: 2
                      columns: 1
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    services:
                      -
                        id: 184
                        name: 'Lola Vandervort'
                        translations:
                          name:
                            ua: 'Prof. Berneice Ferry'
                            en: 'Lola Vandervort'
                        icon_name: 'Dr. Torrey Crooks DVM'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1167
                      name:
                        type: string
                        example: 'Alexys Oberbrunner'
                      number:
                        type: string
                        example: 650-946-3169
                      status:
                        type: string
                        example: active
                      schema:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1442
                          name:
                            type: string
                            example: 'Bradford Smith'
                          mark:
                            type: string
                            example: 'Maxine Ratke DDS'
                          model:
                            type: string
                            example: 'Earnestine Jerde'
                          number_of_seats:
                            type: integer
                            example: 2
                          number_of_floors:
                            type: integer
                            example: 1
                          rows:
                            type: integer
                            example: 2
                          columns:
                            type: integer
                            example: 1
                          created_at:
                            type: string
                            example: '2025-12-09T14:41:09.000000Z'
                          updated_at:
                            type: string
                            example: '2025-12-09T14:41:09.000000Z'
                      services:
                        type: array
                        example:
                          -
                            id: 184
                            name: 'Lola Vandervort'
                            translations:
                              name:
                                ua: 'Prof. Berneice Ferry'
                                en: 'Lola Vandervort'
                            icon_name: 'Dr. Torrey Crooks DVM'
                            created_at: '2025-12-09T14:41:09.000000Z'
                            updated_at: '2025-12-09T14:41:09.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 184
                            name:
                              type: string
                              example: 'Lola Vandervort'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Prof. Berneice Ferry'
                                    en:
                                      type: string
                                      example: 'Lola Vandervort'
                            icon_name:
                              type: string
                              example: 'Dr. Torrey Crooks DVM'
                            created_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - Bus
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Bus name'
                  example: 'Bus 1'
                  nullable: false
                number:
                  type: string
                  description: 'Bus number'
                  example: '000 111'
                  nullable: false
                status:
                  type: string
                  description: 'Bus status'
                  example: active
                  nullable: false
                bus_schema_id:
                  type: integer
                  description: 'Bus schema id'
                  example: 1
                  nullable: false
                services:
                  type: array
                  description: 'Bus services'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
              required:
                - name
                - number
                - status
                - bus_schema_id
                - services
    delete:
      summary: 'Delete bus'
      operationId: deleteBus
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - Bus
    parameters:
      -
        in: path
        name: bus_id
        description: 'The ID of the bus.'
        example: 147
        required: true
        schema:
          type: integer
  '/api/buses/{bus_id}/images':
    post:
      summary: 'Store bus image'
      operationId: storeBusImage
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 147
                    name: Автобус
                    number: 'WK 67656'
                    status: active
                    schema:
                      id: 176
                      name: Автобус
                      mark: Neoplan
                      model: N1116
                      number_of_seats: 46
                      number_of_floors: 1
                      rows: 5
                      columns: 14
                      created_at: '2024-02-16T18:47:13.000000Z'
                      updated_at: '2024-05-18T11:26:36.000000Z'
                    services:
                      -
                        id: 15
                        name: wi-fi
                        translations:
                          name:
                            ua: wi-fi
                            pl: wi-fi
                            en: wi-fi
                        icon_name: wifi
                        created_at: '2023-11-02T12:08:09.000000Z'
                        updated_at: '2025-11-25T10:40:48.000000Z'
                      -
                        id: 16
                        name: USB-зарядки
                        translations:
                          name:
                            ua: 'Індивідуальні  USB-зарядки'
                            pl: USB-зарядки
                            en: USB-зарядки
                        icon_name: 'индивидуальные  USB-зарядки'
                        created_at: '2024-01-20T10:58:51.000000Z'
                        updated_at: '2024-04-11T11:51:19.000000Z'
                    user:
                      id: 1
                      first_name: Eladio
                      last_name: Weber
                      middle_name: Lazaro
                      full_name: 'Eladio Weber Lazaro'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Herta Jast'
                      phone: +1-667-744-6598
                      email: admin@admin.com
                      subscribe_to_newsletter: false
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2023-10-27T07:45:00.000000Z'
                      updated_at: '2024-03-12T18:49:24.000000Z'
                    images: []
                    created_at: '2024-01-19T11:55:45.000000Z'
                    updated_at: '2024-03-20T17:53:20.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 147
                      name:
                        type: string
                        example: Автобус
                      number:
                        type: string
                        example: 'WK 67656'
                      status:
                        type: string
                        example: active
                      schema:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 176
                          name:
                            type: string
                            example: Автобус
                          mark:
                            type: string
                            example: Neoplan
                          model:
                            type: string
                            example: N1116
                          number_of_seats:
                            type: integer
                            example: 46
                          number_of_floors:
                            type: integer
                            example: 1
                          rows:
                            type: integer
                            example: 5
                          columns:
                            type: integer
                            example: 14
                          created_at:
                            type: string
                            example: '2024-02-16T18:47:13.000000Z'
                          updated_at:
                            type: string
                            example: '2024-05-18T11:26:36.000000Z'
                      services:
                        type: array
                        example:
                          -
                            id: 15
                            name: wi-fi
                            translations:
                              name:
                                ua: wi-fi
                                pl: wi-fi
                                en: wi-fi
                            icon_name: wifi
                            created_at: '2023-11-02T12:08:09.000000Z'
                            updated_at: '2025-11-25T10:40:48.000000Z'
                          -
                            id: 16
                            name: USB-зарядки
                            translations:
                              name:
                                ua: 'Індивідуальні  USB-зарядки'
                                pl: USB-зарядки
                                en: USB-зарядки
                            icon_name: 'индивидуальные  USB-зарядки'
                            created_at: '2024-01-20T10:58:51.000000Z'
                            updated_at: '2024-04-11T11:51:19.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 15
                            name:
                              type: string
                              example: wi-fi
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: wi-fi
                                    pl:
                                      type: string
                                      example: wi-fi
                                    en:
                                      type: string
                                      example: wi-fi
                            icon_name:
                              type: string
                              example: wifi
                            created_at:
                              type: string
                              example: '2023-11-02T12:08:09.000000Z'
                            updated_at:
                              type: string
                              example: '2025-11-25T10:40:48.000000Z'
                      user:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          first_name:
                            type: string
                            example: Eladio
                          last_name:
                            type: string
                            example: Weber
                          middle_name:
                            type: string
                            example: Lazaro
                          full_name:
                            type: string
                            example: 'Eladio Weber Lazaro'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Herta Jast'
                          phone:
                            type: string
                            example: +1-667-744-6598
                          email:
                            type: string
                            example: admin@admin.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-10-27T07:45:00.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-12T18:49:24.000000Z'
                      images:
                        type: array
                        example: []
                      created_at:
                        type: string
                        example: '2024-01-19T11:55:45.000000Z'
                      updated_at:
                        type: string
                        example: '2024-03-20T17:53:20.000000Z'
      tags:
        - Bus
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                image:
                  type: string
                  format: binary
                  description: 'Bus image'
                  nullable: false
              required:
                - image
    parameters:
      -
        in: path
        name: bus_id
        description: 'The ID of the bus.'
        example: 147
        required: true
        schema:
          type: integer
  '/api/buses/{bus_id}/images/{image_id}':
    delete:
      summary: 'Delete bus image'
      operationId: deleteBusImage
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 147
                    name: Автобус
                    number: 'WK 67656'
                    status: active
                    schema:
                      id: 176
                      name: Автобус
                      mark: Neoplan
                      model: N1116
                      number_of_seats: 46
                      number_of_floors: 1
                      rows: 5
                      columns: 14
                      created_at: '2024-02-16T18:47:13.000000Z'
                      updated_at: '2024-05-18T11:26:36.000000Z'
                    services:
                      -
                        id: 15
                        name: wi-fi
                        translations:
                          name:
                            ua: wi-fi
                            pl: wi-fi
                            en: wi-fi
                        icon_name: wifi
                        created_at: '2023-11-02T12:08:09.000000Z'
                        updated_at: '2025-11-25T10:40:48.000000Z'
                      -
                        id: 16
                        name: USB-зарядки
                        translations:
                          name:
                            ua: 'Індивідуальні  USB-зарядки'
                            pl: USB-зарядки
                            en: USB-зарядки
                        icon_name: 'индивидуальные  USB-зарядки'
                        created_at: '2024-01-20T10:58:51.000000Z'
                        updated_at: '2024-04-11T11:51:19.000000Z'
                    user:
                      id: 1
                      first_name: Eladio
                      last_name: Weber
                      middle_name: Lazaro
                      full_name: 'Eladio Weber Lazaro'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Herta Jast'
                      phone: +1-667-744-6598
                      email: admin@admin.com
                      subscribe_to_newsletter: false
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2023-10-27T07:45:00.000000Z'
                      updated_at: '2024-03-12T18:49:24.000000Z'
                    images: []
                    created_at: '2024-01-19T11:55:45.000000Z'
                    updated_at: '2024-03-20T17:53:20.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 147
                      name:
                        type: string
                        example: Автобус
                      number:
                        type: string
                        example: 'WK 67656'
                      status:
                        type: string
                        example: active
                      schema:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 176
                          name:
                            type: string
                            example: Автобус
                          mark:
                            type: string
                            example: Neoplan
                          model:
                            type: string
                            example: N1116
                          number_of_seats:
                            type: integer
                            example: 46
                          number_of_floors:
                            type: integer
                            example: 1
                          rows:
                            type: integer
                            example: 5
                          columns:
                            type: integer
                            example: 14
                          created_at:
                            type: string
                            example: '2024-02-16T18:47:13.000000Z'
                          updated_at:
                            type: string
                            example: '2024-05-18T11:26:36.000000Z'
                      services:
                        type: array
                        example:
                          -
                            id: 15
                            name: wi-fi
                            translations:
                              name:
                                ua: wi-fi
                                pl: wi-fi
                                en: wi-fi
                            icon_name: wifi
                            created_at: '2023-11-02T12:08:09.000000Z'
                            updated_at: '2025-11-25T10:40:48.000000Z'
                          -
                            id: 16
                            name: USB-зарядки
                            translations:
                              name:
                                ua: 'Індивідуальні  USB-зарядки'
                                pl: USB-зарядки
                                en: USB-зарядки
                            icon_name: 'индивидуальные  USB-зарядки'
                            created_at: '2024-01-20T10:58:51.000000Z'
                            updated_at: '2024-04-11T11:51:19.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 15
                            name:
                              type: string
                              example: wi-fi
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: wi-fi
                                    pl:
                                      type: string
                                      example: wi-fi
                                    en:
                                      type: string
                                      example: wi-fi
                            icon_name:
                              type: string
                              example: wifi
                            created_at:
                              type: string
                              example: '2023-11-02T12:08:09.000000Z'
                            updated_at:
                              type: string
                              example: '2025-11-25T10:40:48.000000Z'
                      user:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          first_name:
                            type: string
                            example: Eladio
                          last_name:
                            type: string
                            example: Weber
                          middle_name:
                            type: string
                            example: Lazaro
                          full_name:
                            type: string
                            example: 'Eladio Weber Lazaro'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Herta Jast'
                          phone:
                            type: string
                            example: +1-667-744-6598
                          email:
                            type: string
                            example: admin@admin.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-10-27T07:45:00.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-12T18:49:24.000000Z'
                      images:
                        type: array
                        example: []
                      created_at:
                        type: string
                        example: '2024-01-19T11:55:45.000000Z'
                      updated_at:
                        type: string
                        example: '2024-03-20T17:53:20.000000Z'
      tags:
        - Bus
    parameters:
      -
        in: path
        name: bus_id
        description: 'The ID of the bus.'
        example: 147
        required: true
        schema:
          type: integer
      -
        in: path
        name: image_id
        description: 'The ID of the image.'
        example: odit
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight_id}/driver-money':
    get:
      summary: 'Get driver money'
      operationId: getDriverMoney
      description: 'Get driver money'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 25
                      bus_flight_id: 8841
                      amount: '1000.00'
                      currency:
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                      created_at: '2025-06-04T12:21:11.000000Z'
                      updated_at: '2025-06-04T12:21:11.000000Z'
                    -
                      id: 25
                      bus_flight_id: 8841
                      amount: '1000.00'
                      currency:
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                      created_at: '2025-06-04T12:21:11.000000Z'
                      updated_at: '2025-06-04T12:21:11.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 25
                        bus_flight_id: 8841
                        amount: '1000.00'
                        currency:
                          id: 88
                          display_name: Гривня
                          code: UAH
                          symbol: ₴
                          is_active: true
                          created_at: '2023-11-02T11:57:10.000000Z'
                          updated_at: '2023-11-02T11:57:10.000000Z'
                        created_at: '2025-06-04T12:21:11.000000Z'
                        updated_at: '2025-06-04T12:21:11.000000Z'
                      -
                        id: 25
                        bus_flight_id: 8841
                        amount: '1000.00'
                        currency:
                          id: 88
                          display_name: Гривня
                          code: UAH
                          symbol: ₴
                          is_active: true
                          created_at: '2023-11-02T11:57:10.000000Z'
                          updated_at: '2023-11-02T11:57:10.000000Z'
                        created_at: '2025-06-04T12:21:11.000000Z'
                        updated_at: '2025-06-04T12:21:11.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 25
                        bus_flight_id:
                          type: integer
                          example: 8841
                        amount:
                          type: string
                          example: '1000.00'
                        currency:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 88
                            display_name:
                              type: string
                              example: Гривня
                            code:
                              type: string
                              example: UAH
                            symbol:
                              type: string
                              example: ₴
                            is_active:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                        created_at:
                          type: string
                          example: '2025-06-04T12:21:11.000000Z'
                        updated_at:
                          type: string
                          example: '2025-06-04T12:21:11.000000Z'
      tags:
        - Bus
    post:
      summary: 'Store driver money'
      operationId: storeDriverMoney
      description: 'Store driver money'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 25
                    bus_flight_id: 8841
                    amount: '1000.00'
                    currency:
                      id: 88
                      display_name: Гривня
                      code: UAH
                      symbol: ₴
                      is_active: true
                      created_at: '2023-11-02T11:57:10.000000Z'
                      updated_at: '2023-11-02T11:57:10.000000Z'
                    created_at: '2025-06-04T12:21:11.000000Z'
                    updated_at: '2025-06-04T12:21:11.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 25
                      bus_flight_id:
                        type: integer
                        example: 8841
                      amount:
                        type: string
                        example: '1000.00'
                      currency:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 88
                          display_name:
                            type: string
                            example: Гривня
                          code:
                            type: string
                            example: UAH
                          symbol:
                            type: string
                            example: ₴
                          is_active:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                          updated_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                      created_at:
                        type: string
                        example: '2025-06-04T12:21:11.000000Z'
                      updated_at:
                        type: string
                        example: '2025-06-04T12:21:11.000000Z'
      tags:
        - Bus
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: integer
                  description: Amount
                  example: 100
                  nullable: false
                currency_id:
                  type: integer
                  description: 'Currency id'
                  example: 1
                  nullable: false
              required:
                - amount
                - currency_id
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight_id}/driver-money/{driver_money_id}':
    patch:
      summary: 'Update driver money'
      operationId: updateDriverMoney
      description: 'Update driver money'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 25
                    bus_flight_id: 8841
                    amount: '1000.00'
                    currency:
                      id: 88
                      display_name: Гривня
                      code: UAH
                      symbol: ₴
                      is_active: true
                      created_at: '2023-11-02T11:57:10.000000Z'
                      updated_at: '2023-11-02T11:57:10.000000Z'
                    created_at: '2025-06-04T12:21:11.000000Z'
                    updated_at: '2025-06-04T12:21:11.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 25
                      bus_flight_id:
                        type: integer
                        example: 8841
                      amount:
                        type: string
                        example: '1000.00'
                      currency:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 88
                          display_name:
                            type: string
                            example: Гривня
                          code:
                            type: string
                            example: UAH
                          symbol:
                            type: string
                            example: ₴
                          is_active:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                          updated_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                      created_at:
                        type: string
                        example: '2025-06-04T12:21:11.000000Z'
                      updated_at:
                        type: string
                        example: '2025-06-04T12:21:11.000000Z'
      tags:
        - Bus
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: integer
                  description: Amount
                  example: 100
                  nullable: false
                currency_id:
                  type: integer
                  description: 'Currency id'
                  example: 1
                  nullable: false
              required:
                - amount
                - currency_id
    delete:
      summary: 'Delete driver money'
      operationId: deleteDriverMoney
      description: 'Delete driver money'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - Bus
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: driver_money_id
        description: 'The ID of the driver money.'
        example: 25
        required: true
        schema:
          type: integer
  '/api/number_of_free_seats/{fid}/{fdid}/{tdid}':
    get:
      summary: 'Get number of free seats for a bus flight'
      operationId: getNumberOfFreeSeatsForABusFlight
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - 'Bus flight'
      security: []
    parameters:
      -
        in: path
        name: fid
        description: ''
        example: praesentium
        required: true
        schema:
          type: string
      -
        in: path
        name: fdid
        description: ''
        example: quo
        required: true
        schema:
          type: string
      -
        in: path
        name: tdid
        description: ''
        example: iste
        required: true
        schema:
          type: string
  /api/bus-discounts:
    get:
      summary: 'Get bus discounts'
      operationId: getBusDiscounts
      description: 'Get bus discounts'
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      discount_type_id: 1
                      discount_type:
                        id: 1
                        name: 'дети от 6 до 18 лет'
                        translations:
                          name:
                            ua: 'діти від 6 до 18 років'
                            pl: test
                            en: test
                            ru: 'дети от 6 до 18 лет'
                        created_at: '2023-12-08T12:03:28.000000Z'
                        updated_at: '2024-04-18T07:03:12.000000Z'
                      discount_value: 12
                      created_at: '2023-12-08T12:03:40.000000Z'
                      updated_at: '2023-12-08T12:03:40.000000Z'
                    -
                      id: 1
                      discount_type_id: 1
                      discount_type:
                        id: 1
                        name: 'дети от 6 до 18 лет'
                        translations:
                          name:
                            ua: 'діти від 6 до 18 років'
                            pl: test
                            en: test
                            ru: 'дети от 6 до 18 лет'
                        created_at: '2023-12-08T12:03:28.000000Z'
                        updated_at: '2024-04-18T07:03:12.000000Z'
                      discount_value: 12
                      created_at: '2023-12-08T12:03:40.000000Z'
                      updated_at: '2023-12-08T12:03:40.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        discount_type_id: 1
                        discount_type:
                          id: 1
                          name: 'дети от 6 до 18 лет'
                          translations:
                            name:
                              ua: 'діти від 6 до 18 років'
                              pl: test
                              en: test
                              ru: 'дети от 6 до 18 лет'
                          created_at: '2023-12-08T12:03:28.000000Z'
                          updated_at: '2024-04-18T07:03:12.000000Z'
                        discount_value: 12
                        created_at: '2023-12-08T12:03:40.000000Z'
                        updated_at: '2023-12-08T12:03:40.000000Z'
                      -
                        id: 1
                        discount_type_id: 1
                        discount_type:
                          id: 1
                          name: 'дети от 6 до 18 лет'
                          translations:
                            name:
                              ua: 'діти від 6 до 18 років'
                              pl: test
                              en: test
                              ru: 'дети от 6 до 18 лет'
                          created_at: '2023-12-08T12:03:28.000000Z'
                          updated_at: '2024-04-18T07:03:12.000000Z'
                        discount_value: 12
                        created_at: '2023-12-08T12:03:40.000000Z'
                        updated_at: '2023-12-08T12:03:40.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        discount_type_id:
                          type: integer
                          example: 1
                        discount_type:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: 'дети от 6 до 18 лет'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'діти від 6 до 18 років'
                                    pl:
                                      type: string
                                      example: test
                                    en:
                                      type: string
                                      example: test
                                    ru:
                                      type: string
                                      example: 'дети от 6 до 18 лет'
                            created_at:
                              type: string
                              example: '2023-12-08T12:03:28.000000Z'
                            updated_at:
                              type: string
                              example: '2024-04-18T07:03:12.000000Z'
                        discount_value:
                          type: integer
                          example: 12
                        created_at:
                          type: string
                          example: '2023-12-08T12:03:40.000000Z'
                        updated_at:
                          type: string
                          example: '2023-12-08T12:03:40.000000Z'
      tags:
        - 'Bus flight'
    post:
      summary: 'Create bus discount'
      operationId: createBusDiscount
      description: 'Create bus discount'
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
        -
          in: query
          name: discount_type_id
          description: 'Discount type ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Discount type ID'
            example: 1
            nullable: false
        -
          in: query
          name: discount_value
          description: 'Discount value'
          example: 10
          required: true
          schema:
            type: numeric
            description: 'Discount value'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    discount_type_id: 1
                    discount_type:
                      id: 1
                      name: 'дети от 6 до 18 лет'
                      translations:
                        name:
                          ua: 'діти від 6 до 18 років'
                          pl: test
                          en: test
                          ru: 'дети от 6 до 18 лет'
                      created_at: '2023-12-08T12:03:28.000000Z'
                      updated_at: '2024-04-18T07:03:12.000000Z'
                    discount_value: 12
                    created_at: '2023-12-08T12:03:40.000000Z'
                    updated_at: '2023-12-08T12:03:40.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      discount_type_id:
                        type: integer
                        example: 1
                      discount_type:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: 'дети от 6 до 18 лет'
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: 'діти від 6 до 18 років'
                                  pl:
                                    type: string
                                    example: test
                                  en:
                                    type: string
                                    example: test
                                  ru:
                                    type: string
                                    example: 'дети от 6 до 18 лет'
                          created_at:
                            type: string
                            example: '2023-12-08T12:03:28.000000Z'
                          updated_at:
                            type: string
                            example: '2024-04-18T07:03:12.000000Z'
                      discount_value:
                        type: integer
                        example: 12
                      created_at:
                        type: string
                        example: '2023-12-08T12:03:40.000000Z'
                      updated_at:
                        type: string
                        example: '2023-12-08T12:03:40.000000Z'
      tags:
        - 'Bus flight'
  '/api/bus-discounts/{discount_id}':
    patch:
      summary: 'Update bus discount'
      operationId: updateBusDiscount
      description: 'Update bus discount'
      parameters:
        -
          in: query
          name: discount_type_id
          description: 'Discount type ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Discount type ID'
            example: 1
            nullable: false
        -
          in: query
          name: discount_value
          description: 'Discount value'
          example: 10
          required: true
          schema:
            type: numeric
            description: 'Discount value'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    discount_type_id: 1
                    discount_type:
                      id: 1
                      name: 'дети от 6 до 18 лет'
                      translations:
                        name:
                          ua: 'діти від 6 до 18 років'
                          pl: test
                          en: test
                          ru: 'дети от 6 до 18 лет'
                      created_at: '2023-12-08T12:03:28.000000Z'
                      updated_at: '2024-04-18T07:03:12.000000Z'
                    discount_value: 12
                    created_at: '2023-12-08T12:03:40.000000Z'
                    updated_at: '2023-12-08T12:03:40.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      discount_type_id:
                        type: integer
                        example: 1
                      discount_type:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: 'дети от 6 до 18 лет'
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: 'діти від 6 до 18 років'
                                  pl:
                                    type: string
                                    example: test
                                  en:
                                    type: string
                                    example: test
                                  ru:
                                    type: string
                                    example: 'дети от 6 до 18 лет'
                          created_at:
                            type: string
                            example: '2023-12-08T12:03:28.000000Z'
                          updated_at:
                            type: string
                            example: '2024-04-18T07:03:12.000000Z'
                      discount_value:
                        type: integer
                        example: 12
                      created_at:
                        type: string
                        example: '2023-12-08T12:03:40.000000Z'
                      updated_at:
                        type: string
                        example: '2023-12-08T12:03:40.000000Z'
      tags:
        - 'Bus flight'
    delete:
      summary: 'Delete bus discount'
      operationId: deleteBusDiscount
      description: 'Delete bus discount'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Bus flight'
    parameters:
      -
        in: path
        name: discount_id
        description: 'The ID of the discount.'
        example: 1
        required: true
        schema:
          type: integer
  /api/schedules:
    get:
      summary: 'Get bus flight schedules'
      operationId: getBusFlightSchedules
      description: 'Get bus flight schedules'
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1631
                      departure_point_id: 87
                      departure_point:
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      arrival_time: '12:00'
                      departure_time: '12:00'
                      days_in_road: 0
                      platform: null
                      has_landing: true
                      has_disembarkation: false
                      is_connecting: false
                      is_connecting_start_endpoint: false
                      connecting_bus_flight: null
                      connecting_bus_route: null
                      position: 0
                      departure_days:
                        -
                          id: 4587
                          day_of_week: 1
                          day_name: понедельник
                        -
                          id: 4588
                          day_of_week: 2
                          day_name: вторник
                        -
                          id: 4589
                          day_of_week: 3
                          day_name: среда
                        -
                          id: 4590
                          day_of_week: 4
                          day_name: четверг
                        -
                          id: 4591
                          day_of_week: 5
                          day_name: пятница
                        -
                          id: 4592
                          day_of_week: 6
                          day_name: суббота
                        -
                          id: 4593
                          day_of_week: 7
                          day_name: воскресенье
                      entity:
                        id: 207
                        departure_date: '2024-01-25T10:00:00.000000Z'
                        sale_end_time_before_departure: 0
                        arrival_date: '2024-01-25T13:00:00.000000Z'
                        hours_in_travel: 3
                        status: open
                        payment_time: 15
                        sale_depth: 15
                        number_of_seats: 15
                        carrier_name: тест
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        min_price:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        forbidden_sale_date_from: null
                        forbidden_sale_date_to: null
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:40:52.000000Z'
                      sale_status: open
                      is_active: true
                      has_transfer: false
                      hint: ''
                      translations:
                        hint: []
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:39:22.000000Z'
                    -
                      id: 1631
                      departure_point_id: 87
                      departure_point:
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      arrival_time: '12:00'
                      departure_time: '12:00'
                      days_in_road: 0
                      platform: null
                      has_landing: true
                      has_disembarkation: false
                      is_connecting: false
                      is_connecting_start_endpoint: false
                      connecting_bus_flight: null
                      connecting_bus_route: null
                      position: 0
                      departure_days:
                        -
                          id: 4587
                          day_of_week: 1
                          day_name: понедельник
                        -
                          id: 4588
                          day_of_week: 2
                          day_name: вторник
                        -
                          id: 4589
                          day_of_week: 3
                          day_name: среда
                        -
                          id: 4590
                          day_of_week: 4
                          day_name: четверг
                        -
                          id: 4591
                          day_of_week: 5
                          day_name: пятница
                        -
                          id: 4592
                          day_of_week: 6
                          day_name: суббота
                        -
                          id: 4593
                          day_of_week: 7
                          day_name: воскресенье
                      entity:
                        id: 207
                        departure_date: '2024-01-25T10:00:00.000000Z'
                        sale_end_time_before_departure: 0
                        arrival_date: '2024-01-25T13:00:00.000000Z'
                        hours_in_travel: 3
                        status: open
                        payment_time: 15
                        sale_depth: 15
                        number_of_seats: 15
                        carrier_name: тест
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        min_price:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        forbidden_sale_date_from: null
                        forbidden_sale_date_to: null
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:40:52.000000Z'
                      sale_status: open
                      is_active: true
                      has_transfer: false
                      hint: ''
                      translations:
                        hint: []
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:39:22.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1631
                        departure_point_id: 87
                        departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            id: 267
                            name: Киев
                            translations:
                              name:
                                ua: Київ
                                pl: Kijów
                                en: Kyiv
                                ru: Киев
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:05.000000Z'
                            updated_at: '2024-02-18T14:28:39.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        arrival_time: '12:00'
                        departure_time: '12:00'
                        days_in_road: 0
                        platform: null
                        has_landing: true
                        has_disembarkation: false
                        is_connecting: false
                        is_connecting_start_endpoint: false
                        connecting_bus_flight: null
                        connecting_bus_route: null
                        position: 0
                        departure_days:
                          -
                            id: 4587
                            day_of_week: 1
                            day_name: понедельник
                          -
                            id: 4588
                            day_of_week: 2
                            day_name: вторник
                          -
                            id: 4589
                            day_of_week: 3
                            day_name: среда
                          -
                            id: 4590
                            day_of_week: 4
                            day_name: четверг
                          -
                            id: 4591
                            day_of_week: 5
                            day_name: пятница
                          -
                            id: 4592
                            day_of_week: 6
                            day_name: суббота
                          -
                            id: 4593
                            day_of_week: 7
                            day_name: воскресенье
                        entity:
                          id: 207
                          departure_date: '2024-01-25T10:00:00.000000Z'
                          sale_end_time_before_departure: 0
                          arrival_date: '2024-01-25T13:00:00.000000Z'
                          hours_in_travel: 3
                          status: open
                          payment_time: 15
                          sale_depth: 15
                          number_of_seats: 15
                          carrier_name: тест
                          seat_selection_allowed: true
                          seat_selection_not_allowed_date_from: null
                          seat_selection_not_allowed_date_to: null
                          without_companion: true
                          min_price:
                            -
                              currency_id: 89
                              price: '10'
                            -
                              currency_id: 88
                              price: '10'
                          forbidden_sale_date_from: null
                          forbidden_sale_date_to: null
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:40:52.000000Z'
                        sale_status: open
                        is_active: true
                        has_transfer: false
                        hint: ''
                        translations:
                          hint: []
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:39:22.000000Z'
                      -
                        id: 1631
                        departure_point_id: 87
                        departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            id: 267
                            name: Киев
                            translations:
                              name:
                                ua: Київ
                                pl: Kijów
                                en: Kyiv
                                ru: Киев
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:05.000000Z'
                            updated_at: '2024-02-18T14:28:39.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        arrival_time: '12:00'
                        departure_time: '12:00'
                        days_in_road: 0
                        platform: null
                        has_landing: true
                        has_disembarkation: false
                        is_connecting: false
                        is_connecting_start_endpoint: false
                        connecting_bus_flight: null
                        connecting_bus_route: null
                        position: 0
                        departure_days:
                          -
                            id: 4587
                            day_of_week: 1
                            day_name: понедельник
                          -
                            id: 4588
                            day_of_week: 2
                            day_name: вторник
                          -
                            id: 4589
                            day_of_week: 3
                            day_name: среда
                          -
                            id: 4590
                            day_of_week: 4
                            day_name: четверг
                          -
                            id: 4591
                            day_of_week: 5
                            day_name: пятница
                          -
                            id: 4592
                            day_of_week: 6
                            day_name: суббота
                          -
                            id: 4593
                            day_of_week: 7
                            day_name: воскресенье
                        entity:
                          id: 207
                          departure_date: '2024-01-25T10:00:00.000000Z'
                          sale_end_time_before_departure: 0
                          arrival_date: '2024-01-25T13:00:00.000000Z'
                          hours_in_travel: 3
                          status: open
                          payment_time: 15
                          sale_depth: 15
                          number_of_seats: 15
                          carrier_name: тест
                          seat_selection_allowed: true
                          seat_selection_not_allowed_date_from: null
                          seat_selection_not_allowed_date_to: null
                          without_companion: true
                          min_price:
                            -
                              currency_id: 89
                              price: '10'
                            -
                              currency_id: 88
                              price: '10'
                          forbidden_sale_date_from: null
                          forbidden_sale_date_to: null
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:40:52.000000Z'
                        sale_status: open
                        is_active: true
                        has_transfer: false
                        hint: ''
                        translations:
                          hint: []
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:39:22.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1631
                        departure_point_id:
                          type: integer
                          example: 87
                        departure_point:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 87
                            name:
                              type: string
                              example: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                    pl:
                                      type: string
                                      example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                    en:
                                      type: string
                                      example: 'Bus station "Kyiv",S.Petlury 32 street'
                                    ru:
                                      type: string
                                      example: 'Автостанция "Киев",улица С.Петлюры 32'
                            city:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 267
                                name:
                                  type: string
                                  example: Киев
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { ua: { type: string, example: Київ }, pl: { type: string, example: Kijów }, en: { type: string, example: Kyiv }, ru: { type: string, example: Киев } }
                                population:
                                  type: string
                                  example: null
                                number_of_bus_routes:
                                  type: integer
                                  example: 0
                                visibility:
                                  type: boolean
                                  example: true
                                country_id:
                                  type: integer
                                  example: 6
                                created_at:
                                  type: string
                                  example: '2023-11-02T11:51:05.000000Z'
                                updated_at:
                                  type: string
                                  example: '2024-02-18T14:28:39.000000Z'
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:52:18.000000Z'
                            updated_at:
                              type: string
                              example: '2024-03-23T12:23:48.000000Z'
                        arrival_time:
                          type: string
                          example: '12:00'
                        departure_time:
                          type: string
                          example: '12:00'
                        days_in_road:
                          type: integer
                          example: 0
                        platform:
                          type: string
                          example: null
                        has_landing:
                          type: boolean
                          example: true
                        has_disembarkation:
                          type: boolean
                          example: false
                        is_connecting:
                          type: boolean
                          example: false
                        is_connecting_start_endpoint:
                          type: boolean
                          example: false
                        connecting_bus_flight:
                          type: string
                          example: null
                        connecting_bus_route:
                          type: string
                          example: null
                        position:
                          type: integer
                          example: 0
                        departure_days:
                          type: array
                          example:
                            -
                              id: 4587
                              day_of_week: 1
                              day_name: понедельник
                            -
                              id: 4588
                              day_of_week: 2
                              day_name: вторник
                            -
                              id: 4589
                              day_of_week: 3
                              day_name: среда
                            -
                              id: 4590
                              day_of_week: 4
                              day_name: четверг
                            -
                              id: 4591
                              day_of_week: 5
                              day_name: пятница
                            -
                              id: 4592
                              day_of_week: 6
                              day_name: суббота
                            -
                              id: 4593
                              day_of_week: 7
                              day_name: воскресенье
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 4587
                              day_of_week:
                                type: integer
                                example: 1
                              day_name:
                                type: string
                                example: понедельник
                        entity:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 207
                            departure_date:
                              type: string
                              example: '2024-01-25T10:00:00.000000Z'
                            sale_end_time_before_departure:
                              type: integer
                              example: 0
                            arrival_date:
                              type: string
                              example: '2024-01-25T13:00:00.000000Z'
                            hours_in_travel:
                              type: integer
                              example: 3
                            status:
                              type: string
                              example: open
                            payment_time:
                              type: integer
                              example: 15
                            sale_depth:
                              type: integer
                              example: 15
                            number_of_seats:
                              type: integer
                              example: 15
                            carrier_name:
                              type: string
                              example: тест
                            seat_selection_allowed:
                              type: boolean
                              example: true
                            seat_selection_not_allowed_date_from:
                              type: string
                              example: null
                            seat_selection_not_allowed_date_to:
                              type: string
                              example: null
                            without_companion:
                              type: boolean
                              example: true
                            min_price:
                              type: array
                              example:
                                -
                                  currency_id: 89
                                  price: '10'
                                -
                                  currency_id: 88
                                  price: '10'
                              items:
                                type: object
                                properties:
                                  currency_id:
                                    type: integer
                                    example: 89
                                  price:
                                    type: string
                                    example: '10'
                            forbidden_sale_date_from:
                              type: string
                              example: null
                            forbidden_sale_date_to:
                              type: string
                              example: null
                            created_at:
                              type: string
                              example: '2024-01-19T11:59:02.000000Z'
                            updated_at:
                              type: string
                              example: '2024-04-22T06:40:52.000000Z'
                        sale_status:
                          type: string
                          example: open
                        is_active:
                          type: boolean
                          example: true
                        has_transfer:
                          type: boolean
                          example: false
                        hint:
                          type: string
                          example: ''
                        translations:
                          type: object
                          properties:
                            hint:
                              type: array
                              example: []
                        created_at:
                          type: string
                          example: '2024-01-19T11:59:02.000000Z'
                        updated_at:
                          type: string
                          example: '2024-04-22T06:39:22.000000Z'
      tags:
        - 'Bus flight'
    post:
      summary: 'Create bus flight schedule'
      operationId: createBusFlightSchedule
      description: 'Create bus flight schedule'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1631
                    departure_point_id: 87
                    departure_point:
                      id: 87
                      name: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        name:
                          ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                          pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                          en: 'Bus station "Kyiv",S.Petlury 32 street'
                          ru: 'Автостанция "Киев",улица С.Петлюры 32'
                      city:
                        id: 267
                        name: Киев
                        translations:
                          name:
                            ua: Київ
                            pl: Kijów
                            en: Kyiv
                            ru: Киев
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 6
                        created_at: '2023-11-02T11:51:05.000000Z'
                        updated_at: '2024-02-18T14:28:39.000000Z'
                      visibility: true
                      created_at: '2023-11-02T11:52:18.000000Z'
                      updated_at: '2024-03-23T12:23:48.000000Z'
                    arrival_time: '12:00'
                    departure_time: '12:00'
                    days_in_road: 0
                    platform: null
                    has_landing: true
                    has_disembarkation: false
                    is_connecting: false
                    is_connecting_start_endpoint: false
                    connecting_bus_flight: null
                    position: 0
                    departure_days:
                      -
                        id: 4587
                        day_of_week: 1
                        day_name: понедельник
                      -
                        id: 4588
                        day_of_week: 2
                        day_name: вторник
                      -
                        id: 4589
                        day_of_week: 3
                        day_name: среда
                      -
                        id: 4590
                        day_of_week: 4
                        day_name: четверг
                      -
                        id: 4591
                        day_of_week: 5
                        day_name: пятница
                      -
                        id: 4592
                        day_of_week: 6
                        day_name: суббота
                      -
                        id: 4593
                        day_of_week: 7
                        day_name: воскресенье
                    entity:
                      id: 207
                      departure_date: '2024-01-25T10:00:00.000000Z'
                      sale_end_time_before_departure: 0
                      arrival_date: '2024-01-25T13:00:00.000000Z'
                      hours_in_travel: 3
                      status: open
                      payment_time: 15
                      sale_depth: 15
                      number_of_seats: 15
                      carrier_name: тест
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      min_price:
                        -
                          currency_id: 89
                          price: '10'
                        -
                          currency_id: 88
                          price: '10'
                      forbidden_sale_date_from: null
                      forbidden_sale_date_to: null
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:40:52.000000Z'
                    sale_status: open
                    is_active: true
                    has_transfer: false
                    hint: ''
                    translations:
                      hint: []
                    created_at: '2024-01-19T11:59:02.000000Z'
                    updated_at: '2024-04-22T06:39:22.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1631
                      departure_point_id:
                        type: integer
                        example: 87
                      departure_point:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 87
                          name:
                            type: string
                            example: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                  pl:
                                    type: string
                                    example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                  en:
                                    type: string
                                    example: 'Bus station "Kyiv",S.Petlury 32 street'
                                  ru:
                                    type: string
                                    example: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 267
                              name:
                                type: string
                                example: Киев
                              translations:
                                type: object
                                properties:
                                  name:
                                    type: object
                                    properties:
                                      ua: { type: string, example: Київ }
                                      pl: { type: string, example: Kijów }
                                      en: { type: string, example: Kyiv }
                                      ru: { type: string, example: Киев }
                              population:
                                type: string
                                example: null
                              number_of_bus_routes:
                                type: integer
                                example: 0
                              visibility:
                                type: boolean
                                example: true
                              country_id:
                                type: integer
                                example: 6
                              created_at:
                                type: string
                                example: '2023-11-02T11:51:05.000000Z'
                              updated_at:
                                type: string
                                example: '2024-02-18T14:28:39.000000Z'
                          visibility:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:52:18.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-23T12:23:48.000000Z'
                      arrival_time:
                        type: string
                        example: '12:00'
                      departure_time:
                        type: string
                        example: '12:00'
                      days_in_road:
                        type: integer
                        example: 0
                      platform:
                        type: string
                        example: null
                      has_landing:
                        type: boolean
                        example: true
                      has_disembarkation:
                        type: boolean
                        example: false
                      is_connecting:
                        type: boolean
                        example: false
                      is_connecting_start_endpoint:
                        type: boolean
                        example: false
                      connecting_bus_flight:
                        type: string
                        example: null
                      position:
                        type: integer
                        example: 0
                      departure_days:
                        type: array
                        example:
                          -
                            id: 4587
                            day_of_week: 1
                            day_name: понедельник
                          -
                            id: 4588
                            day_of_week: 2
                            day_name: вторник
                          -
                            id: 4589
                            day_of_week: 3
                            day_name: среда
                          -
                            id: 4590
                            day_of_week: 4
                            day_name: четверг
                          -
                            id: 4591
                            day_of_week: 5
                            day_name: пятница
                          -
                            id: 4592
                            day_of_week: 6
                            day_name: суббота
                          -
                            id: 4593
                            day_of_week: 7
                            day_name: воскресенье
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 4587
                            day_of_week:
                              type: integer
                              example: 1
                            day_name:
                              type: string
                              example: понедельник
                      entity:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 207
                          departure_date:
                            type: string
                            example: '2024-01-25T10:00:00.000000Z'
                          sale_end_time_before_departure:
                            type: integer
                            example: 0
                          arrival_date:
                            type: string
                            example: '2024-01-25T13:00:00.000000Z'
                          hours_in_travel:
                            type: integer
                            example: 3
                          status:
                            type: string
                            example: open
                          payment_time:
                            type: integer
                            example: 15
                          sale_depth:
                            type: integer
                            example: 15
                          number_of_seats:
                            type: integer
                            example: 15
                          carrier_name:
                            type: string
                            example: тест
                          seat_selection_allowed:
                            type: boolean
                            example: true
                          seat_selection_not_allowed_date_from:
                            type: string
                            example: null
                          seat_selection_not_allowed_date_to:
                            type: string
                            example: null
                          without_companion:
                            type: boolean
                            example: true
                          min_price:
                            type: array
                            example:
                              -
                                currency_id: 89
                                price: '10'
                              -
                                currency_id: 88
                                price: '10'
                            items:
                              type: object
                              properties:
                                currency_id:
                                  type: integer
                                  example: 89
                                price:
                                  type: string
                                  example: '10'
                          forbidden_sale_date_from:
                            type: string
                            example: null
                          forbidden_sale_date_to:
                            type: string
                            example: null
                          created_at:
                            type: string
                            example: '2024-01-19T11:59:02.000000Z'
                          updated_at:
                            type: string
                            example: '2024-04-22T06:40:52.000000Z'
                      sale_status:
                        type: string
                        example: open
                      is_active:
                        type: boolean
                        example: true
                      has_transfer:
                        type: boolean
                        example: false
                      hint:
                        type: string
                        example: ''
                      translations:
                        type: object
                        properties:
                          hint:
                            type: array
                            example: []
                      created_at:
                        type: string
                        example: '2024-01-19T11:59:02.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-22T06:39:22.000000Z'
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                entity_type:
                  type: string
                  description: '(bus_flight, bus_route)'
                  example: bus_flight
                  nullable: false
                entity_id:
                  type: integer
                  description: 'Entity ID'
                  example: 1
                  nullable: false
                departure_point_id:
                  type: string
                  description: 'Departure point id'
                  example: 1
                  nullable: false
                arrival_time:
                  type: string
                  description: 'Arrival time'
                  example: '12:00'
                  nullable: false
                departure_time:
                  type: string
                  description: 'Departure time'
                  example: '12:00'
                  nullable: false
                platform:
                  type: string
                  description: Platform
                  example: '1'
                  nullable: false
                has_landing:
                  type: string
                  description: 'Has landing'
                  example: 1
                  nullable: false
                has_disembarkation:
                  type: string
                  description: 'Has disembarkation'
                  example: 1
                  nullable: false
                is_connecting:
                  type: string
                  description: 'Is connecting'
                  example: 1
                  nullable: false
                from_connecting_schedule_id:
                  type: string
                  description: 'Connecting bus flight schedule id'
                  example: 1
                  nullable: false
                to_connecting_schedule_id:
                  type: string
                  description: 'Connecting bus flight schedule id'
                  example: 1
                  nullable: false
                days_in_road:
                  type: string
                  description: 'Days in road'
                  example: 1
                  nullable: false
                departure_days:
                  type: array
                  description: 'Departure days (number of week iso)'
                  example:
                    - 1
                    - 2
                    - 3
                  items:
                    type: string
              required:
                - entity_type
                - entity_id
                - departure_point_id
                - arrival_time
                - departure_time
                - has_landing
                - has_disembarkation
                - is_connecting
                - departure_days
  /api/schedules/sort:
    post:
      summary: 'Sort bus flight schedules'
      operationId: sortBusFlightSchedules
      description: 'Sort bus flight schedules'
      parameters: []
      responses: {  }
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                entity_type:
                  type: string
                  description: '(bus_flight, bus_route)'
                  example: bus_flight
                  nullable: false
                entity_id:
                  type: integer
                  description: 'Entity ID'
                  example: 1
                  nullable: false
                positions:
                  type: array
                  description: 'Sorted ids'
                  example:
                    - 1
                  items:
                    type: string
              required:
                - entity_type
                - entity_id
                - positions
  '/api/schedules/{schedule_id}':
    patch:
      summary: 'Update bus flight schedule'
      operationId: updateBusFlightSchedule
      description: 'Update bus flight schedule'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1631
                    departure_point_id: 87
                    departure_point:
                      id: 87
                      name: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        name:
                          ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                          pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                          en: 'Bus station "Kyiv",S.Petlury 32 street'
                          ru: 'Автостанция "Киев",улица С.Петлюры 32'
                      city:
                        id: 267
                        name: Киев
                        translations:
                          name:
                            ua: Київ
                            pl: Kijów
                            en: Kyiv
                            ru: Киев
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 6
                        created_at: '2023-11-02T11:51:05.000000Z'
                        updated_at: '2024-02-18T14:28:39.000000Z'
                      visibility: true
                      created_at: '2023-11-02T11:52:18.000000Z'
                      updated_at: '2024-03-23T12:23:48.000000Z'
                    arrival_time: '12:00'
                    departure_time: '12:00'
                    days_in_road: 0
                    platform: null
                    has_landing: true
                    has_disembarkation: false
                    is_connecting: false
                    is_connecting_start_endpoint: false
                    connecting_bus_flight: null
                    position: 0
                    departure_days:
                      -
                        id: 4587
                        day_of_week: 1
                        day_name: понедельник
                      -
                        id: 4588
                        day_of_week: 2
                        day_name: вторник
                      -
                        id: 4589
                        day_of_week: 3
                        day_name: среда
                      -
                        id: 4590
                        day_of_week: 4
                        day_name: четверг
                      -
                        id: 4591
                        day_of_week: 5
                        day_name: пятница
                      -
                        id: 4592
                        day_of_week: 6
                        day_name: суббота
                      -
                        id: 4593
                        day_of_week: 7
                        day_name: воскресенье
                    entity:
                      id: 207
                      departure_date: '2024-01-25T10:00:00.000000Z'
                      sale_end_time_before_departure: 0
                      arrival_date: '2024-01-25T13:00:00.000000Z'
                      hours_in_travel: 3
                      status: open
                      payment_time: 15
                      sale_depth: 15
                      number_of_seats: 15
                      carrier_name: тест
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      min_price:
                        -
                          currency_id: 89
                          price: '10'
                        -
                          currency_id: 88
                          price: '10'
                      forbidden_sale_date_from: null
                      forbidden_sale_date_to: null
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:40:52.000000Z'
                    sale_status: open
                    is_active: true
                    has_transfer: false
                    hint: ''
                    translations:
                      hint: []
                    created_at: '2024-01-19T11:59:02.000000Z'
                    updated_at: '2024-04-22T06:39:22.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1631
                      departure_point_id:
                        type: integer
                        example: 87
                      departure_point:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 87
                          name:
                            type: string
                            example: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                  pl:
                                    type: string
                                    example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                  en:
                                    type: string
                                    example: 'Bus station "Kyiv",S.Petlury 32 street'
                                  ru:
                                    type: string
                                    example: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 267
                              name:
                                type: string
                                example: Киев
                              translations:
                                type: object
                                properties:
                                  name:
                                    type: object
                                    properties:
                                      ua: { type: string, example: Київ }
                                      pl: { type: string, example: Kijów }
                                      en: { type: string, example: Kyiv }
                                      ru: { type: string, example: Киев }
                              population:
                                type: string
                                example: null
                              number_of_bus_routes:
                                type: integer
                                example: 0
                              visibility:
                                type: boolean
                                example: true
                              country_id:
                                type: integer
                                example: 6
                              created_at:
                                type: string
                                example: '2023-11-02T11:51:05.000000Z'
                              updated_at:
                                type: string
                                example: '2024-02-18T14:28:39.000000Z'
                          visibility:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:52:18.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-23T12:23:48.000000Z'
                      arrival_time:
                        type: string
                        example: '12:00'
                      departure_time:
                        type: string
                        example: '12:00'
                      days_in_road:
                        type: integer
                        example: 0
                      platform:
                        type: string
                        example: null
                      has_landing:
                        type: boolean
                        example: true
                      has_disembarkation:
                        type: boolean
                        example: false
                      is_connecting:
                        type: boolean
                        example: false
                      is_connecting_start_endpoint:
                        type: boolean
                        example: false
                      connecting_bus_flight:
                        type: string
                        example: null
                      position:
                        type: integer
                        example: 0
                      departure_days:
                        type: array
                        example:
                          -
                            id: 4587
                            day_of_week: 1
                            day_name: понедельник
                          -
                            id: 4588
                            day_of_week: 2
                            day_name: вторник
                          -
                            id: 4589
                            day_of_week: 3
                            day_name: среда
                          -
                            id: 4590
                            day_of_week: 4
                            day_name: четверг
                          -
                            id: 4591
                            day_of_week: 5
                            day_name: пятница
                          -
                            id: 4592
                            day_of_week: 6
                            day_name: суббота
                          -
                            id: 4593
                            day_of_week: 7
                            day_name: воскресенье
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 4587
                            day_of_week:
                              type: integer
                              example: 1
                            day_name:
                              type: string
                              example: понедельник
                      entity:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 207
                          departure_date:
                            type: string
                            example: '2024-01-25T10:00:00.000000Z'
                          sale_end_time_before_departure:
                            type: integer
                            example: 0
                          arrival_date:
                            type: string
                            example: '2024-01-25T13:00:00.000000Z'
                          hours_in_travel:
                            type: integer
                            example: 3
                          status:
                            type: string
                            example: open
                          payment_time:
                            type: integer
                            example: 15
                          sale_depth:
                            type: integer
                            example: 15
                          number_of_seats:
                            type: integer
                            example: 15
                          carrier_name:
                            type: string
                            example: тест
                          seat_selection_allowed:
                            type: boolean
                            example: true
                          seat_selection_not_allowed_date_from:
                            type: string
                            example: null
                          seat_selection_not_allowed_date_to:
                            type: string
                            example: null
                          without_companion:
                            type: boolean
                            example: true
                          min_price:
                            type: array
                            example:
                              -
                                currency_id: 89
                                price: '10'
                              -
                                currency_id: 88
                                price: '10'
                            items:
                              type: object
                              properties:
                                currency_id:
                                  type: integer
                                  example: 89
                                price:
                                  type: string
                                  example: '10'
                          forbidden_sale_date_from:
                            type: string
                            example: null
                          forbidden_sale_date_to:
                            type: string
                            example: null
                          created_at:
                            type: string
                            example: '2024-01-19T11:59:02.000000Z'
                          updated_at:
                            type: string
                            example: '2024-04-22T06:40:52.000000Z'
                      sale_status:
                        type: string
                        example: open
                      is_active:
                        type: boolean
                        example: true
                      has_transfer:
                        type: boolean
                        example: false
                      hint:
                        type: string
                        example: ''
                      translations:
                        type: object
                        properties:
                          hint:
                            type: array
                            example: []
                      created_at:
                        type: string
                        example: '2024-01-19T11:59:02.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-22T06:39:22.000000Z'
      tags:
        - 'Bus flight'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                departurePoint_id:
                  type: string
                  description: 'Departure point id'
                  example: 1
                  nullable: false
                arrival_time:
                  type: string
                  description: 'Arrival time'
                  example: '12:00'
                  nullable: false
                departure_time:
                  type: string
                  description: 'Departure time'
                  example: '12:00'
                  nullable: false
                platform:
                  type: string
                  description: Platform
                  example: '1'
                  nullable: false
                has_landing:
                  type: string
                  description: 'Has landing'
                  example: 1
                  nullable: false
                has_disembarkation:
                  type: string
                  description: 'Has disembarkation'
                  example: 1
                  nullable: false
                is_connecting:
                  type: string
                  description: 'Is connecting'
                  example: 1
                  nullable: false
                from_connecting_schedule_id:
                  type: string
                  description: 'Connecting bus flight schedule id'
                  example: 1
                  nullable: false
                to_connecting_schedule_id:
                  type: string
                  description: 'Connecting bus flight schedule id'
                  example: 1
                  nullable: false
                sale_status:
                  type: string
                  description: 'close or open sale (close, open)'
                  example: open
                  nullable: false
                days_in_road:
                  type: string
                  description: 'Days in road'
                  example: 1
                  nullable: false
                departure_days:
                  type: array
                  description: 'Departure days (number of week iso)'
                  example:
                    - 1
                    - 2
                    - 3
                  items:
                    type: string
    delete:
      summary: 'Delete bus flight schedule'
      operationId: deleteBusFlightSchedule
      description: 'Delete bus flight schedule'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Bus flight'
    parameters:
      -
        in: path
        name: schedule_id
        description: 'The ID of the schedule.'
        example: 1631
        required: true
        schema:
          type: integer
  '/api/schedules/index-for-update-sale-status/{id}':
    get:
      summary: 'Get list for update sale status'
      operationId: getListForUpdateSaleStatus
      description: 'Get list for update sale status'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - 'Bus flight'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the index for update sale status.'
        example: sit
        required: true
        schema:
          type: string
  /api/bus_prices:
    get:
      summary: 'Get bus prices'
      operationId: getBusPrices
      description: 'Get bus prices'
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 9
                      from_departure_point_id: 87
                      to_departure_point_id: 91
                      from_departure_point:
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        id: 91
                        name: 'Магазин АТБ'
                        translations:
                          name:
                            ua: 'Магазин АТБ'
                            pl: 'Магазин АТБ'
                            en: 'Магазин АТБ'
                        city:
                          id: 269
                          name: Козелец
                          translations:
                            name:
                              ua: Козелець
                              pl: Kozelec
                              en: Козелець
                              ru: Козелец
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T12:18:53.000000Z'
                          updated_at: '2025-07-17T06:32:14.000000Z'
                        visibility: true
                        created_at: '2023-11-02T12:19:09.000000Z'
                        updated_at: '2023-11-02T12:19:09.000000Z'
                      price:
                        -
                          amount: 60
                          currency_id: 88
                        -
                          amount: 0
                          currency_id: 89
                      is_active: true
                      is_forbidden: false
                    -
                      id: 9
                      from_departure_point_id: 87
                      to_departure_point_id: 91
                      from_departure_point:
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        id: 91
                        name: 'Магазин АТБ'
                        translations:
                          name:
                            ua: 'Магазин АТБ'
                            pl: 'Магазин АТБ'
                            en: 'Магазин АТБ'
                        city:
                          id: 269
                          name: Козелец
                          translations:
                            name:
                              ua: Козелець
                              pl: Kozelec
                              en: Козелець
                              ru: Козелец
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T12:18:53.000000Z'
                          updated_at: '2025-07-17T06:32:14.000000Z'
                        visibility: true
                        created_at: '2023-11-02T12:19:09.000000Z'
                        updated_at: '2023-11-02T12:19:09.000000Z'
                      price:
                        -
                          amount: 60
                          currency_id: 88
                        -
                          amount: 0
                          currency_id: 89
                      is_active: true
                      is_forbidden: false
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 9
                        from_departure_point_id: 87
                        to_departure_point_id: 91
                        from_departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            id: 267
                            name: Киев
                            translations:
                              name:
                                ua: Київ
                                pl: Kijów
                                en: Kyiv
                                ru: Киев
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:05.000000Z'
                            updated_at: '2024-02-18T14:28:39.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          id: 91
                          name: 'Магазин АТБ'
                          translations:
                            name:
                              ua: 'Магазин АТБ'
                              pl: 'Магазин АТБ'
                              en: 'Магазин АТБ'
                          city:
                            id: 269
                            name: Козелец
                            translations:
                              name:
                                ua: Козелець
                                pl: Kozelec
                                en: Козелець
                                ru: Козелец
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T12:18:53.000000Z'
                            updated_at: '2025-07-17T06:32:14.000000Z'
                          visibility: true
                          created_at: '2023-11-02T12:19:09.000000Z'
                          updated_at: '2023-11-02T12:19:09.000000Z'
                        price:
                          -
                            amount: 60
                            currency_id: 88
                          -
                            amount: 0
                            currency_id: 89
                        is_active: true
                        is_forbidden: false
                      -
                        id: 9
                        from_departure_point_id: 87
                        to_departure_point_id: 91
                        from_departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            id: 267
                            name: Киев
                            translations:
                              name:
                                ua: Київ
                                pl: Kijów
                                en: Kyiv
                                ru: Киев
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:05.000000Z'
                            updated_at: '2024-02-18T14:28:39.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          id: 91
                          name: 'Магазин АТБ'
                          translations:
                            name:
                              ua: 'Магазин АТБ'
                              pl: 'Магазин АТБ'
                              en: 'Магазин АТБ'
                          city:
                            id: 269
                            name: Козелец
                            translations:
                              name:
                                ua: Козелець
                                pl: Kozelec
                                en: Козелець
                                ru: Козелец
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T12:18:53.000000Z'
                            updated_at: '2025-07-17T06:32:14.000000Z'
                          visibility: true
                          created_at: '2023-11-02T12:19:09.000000Z'
                          updated_at: '2023-11-02T12:19:09.000000Z'
                        price:
                          -
                            amount: 60
                            currency_id: 88
                          -
                            amount: 0
                            currency_id: 89
                        is_active: true
                        is_forbidden: false
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 9
                        from_departure_point_id:
                          type: integer
                          example: 87
                        to_departure_point_id:
                          type: integer
                          example: 91
                        from_departure_point:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 87
                            name:
                              type: string
                              example: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                    pl:
                                      type: string
                                      example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                    en:
                                      type: string
                                      example: 'Bus station "Kyiv",S.Petlury 32 street'
                                    ru:
                                      type: string
                                      example: 'Автостанция "Киев",улица С.Петлюры 32'
                            city:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 267
                                name:
                                  type: string
                                  example: Киев
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { ua: { type: string, example: Київ }, pl: { type: string, example: Kijów }, en: { type: string, example: Kyiv }, ru: { type: string, example: Киев } }
                                population:
                                  type: string
                                  example: null
                                number_of_bus_routes:
                                  type: integer
                                  example: 0
                                visibility:
                                  type: boolean
                                  example: true
                                country_id:
                                  type: integer
                                  example: 6
                                created_at:
                                  type: string
                                  example: '2023-11-02T11:51:05.000000Z'
                                updated_at:
                                  type: string
                                  example: '2024-02-18T14:28:39.000000Z'
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:52:18.000000Z'
                            updated_at:
                              type: string
                              example: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 91
                            name:
                              type: string
                              example: 'Магазин АТБ'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Магазин АТБ'
                                    pl:
                                      type: string
                                      example: 'Магазин АТБ'
                                    en:
                                      type: string
                                      example: 'Магазин АТБ'
                            city:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 269
                                name:
                                  type: string
                                  example: Козелец
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { ua: { type: string, example: Козелець }, pl: { type: string, example: Kozelec }, en: { type: string, example: Козелець }, ru: { type: string, example: Козелец } }
                                population:
                                  type: string
                                  example: null
                                number_of_bus_routes:
                                  type: integer
                                  example: 0
                                visibility:
                                  type: boolean
                                  example: true
                                country_id:
                                  type: integer
                                  example: 6
                                created_at:
                                  type: string
                                  example: '2023-11-02T12:18:53.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-07-17T06:32:14.000000Z'
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T12:19:09.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T12:19:09.000000Z'
                        price:
                          type: array
                          example:
                            -
                              amount: 60
                              currency_id: 88
                            -
                              amount: 0
                              currency_id: 89
                          items:
                            type: object
                            properties:
                              amount:
                                type: integer
                                example: 60
                              currency_id:
                                type: integer
                                example: 88
                        is_active:
                          type: boolean
                          example: true
                        is_forbidden:
                          type: boolean
                          example: false
      tags:
        - 'Bus flight'
    post:
      summary: 'Create or update bus prices'
      operationId: createOrUpdateBusPrices
      description: 'Create or update bus prices'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 9
                      from_departure_point_id: 87
                      to_departure_point_id: 91
                      from_departure_point:
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        id: 91
                        name: 'Магазин АТБ'
                        translations:
                          name:
                            ua: 'Магазин АТБ'
                            pl: 'Магазин АТБ'
                            en: 'Магазин АТБ'
                        city:
                          id: 269
                          name: Козелец
                          translations:
                            name:
                              ua: Козелець
                              pl: Kozelec
                              en: Козелець
                              ru: Козелец
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T12:18:53.000000Z'
                          updated_at: '2025-07-17T06:32:14.000000Z'
                        visibility: true
                        created_at: '2023-11-02T12:19:09.000000Z'
                        updated_at: '2023-11-02T12:19:09.000000Z'
                      price:
                        -
                          amount: 60
                          currency_id: 88
                        -
                          amount: 0
                          currency_id: 89
                      is_active: true
                      is_forbidden: false
                    -
                      id: 9
                      from_departure_point_id: 87
                      to_departure_point_id: 91
                      from_departure_point:
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        id: 91
                        name: 'Магазин АТБ'
                        translations:
                          name:
                            ua: 'Магазин АТБ'
                            pl: 'Магазин АТБ'
                            en: 'Магазин АТБ'
                        city:
                          id: 269
                          name: Козелец
                          translations:
                            name:
                              ua: Козелець
                              pl: Kozelec
                              en: Козелець
                              ru: Козелец
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T12:18:53.000000Z'
                          updated_at: '2025-07-17T06:32:14.000000Z'
                        visibility: true
                        created_at: '2023-11-02T12:19:09.000000Z'
                        updated_at: '2023-11-02T12:19:09.000000Z'
                      price:
                        -
                          amount: 60
                          currency_id: 88
                        -
                          amount: 0
                          currency_id: 89
                      is_active: true
                      is_forbidden: false
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 9
                        from_departure_point_id: 87
                        to_departure_point_id: 91
                        from_departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            id: 267
                            name: Киев
                            translations:
                              name:
                                ua: Київ
                                pl: Kijów
                                en: Kyiv
                                ru: Киев
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:05.000000Z'
                            updated_at: '2024-02-18T14:28:39.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          id: 91
                          name: 'Магазин АТБ'
                          translations:
                            name:
                              ua: 'Магазин АТБ'
                              pl: 'Магазин АТБ'
                              en: 'Магазин АТБ'
                          city:
                            id: 269
                            name: Козелец
                            translations:
                              name:
                                ua: Козелець
                                pl: Kozelec
                                en: Козелець
                                ru: Козелец
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T12:18:53.000000Z'
                            updated_at: '2025-07-17T06:32:14.000000Z'
                          visibility: true
                          created_at: '2023-11-02T12:19:09.000000Z'
                          updated_at: '2023-11-02T12:19:09.000000Z'
                        price:
                          -
                            amount: 60
                            currency_id: 88
                          -
                            amount: 0
                            currency_id: 89
                        is_active: true
                        is_forbidden: false
                      -
                        id: 9
                        from_departure_point_id: 87
                        to_departure_point_id: 91
                        from_departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            id: 267
                            name: Киев
                            translations:
                              name:
                                ua: Київ
                                pl: Kijów
                                en: Kyiv
                                ru: Киев
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:05.000000Z'
                            updated_at: '2024-02-18T14:28:39.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          id: 91
                          name: 'Магазин АТБ'
                          translations:
                            name:
                              ua: 'Магазин АТБ'
                              pl: 'Магазин АТБ'
                              en: 'Магазин АТБ'
                          city:
                            id: 269
                            name: Козелец
                            translations:
                              name:
                                ua: Козелець
                                pl: Kozelec
                                en: Козелець
                                ru: Козелец
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T12:18:53.000000Z'
                            updated_at: '2025-07-17T06:32:14.000000Z'
                          visibility: true
                          created_at: '2023-11-02T12:19:09.000000Z'
                          updated_at: '2023-11-02T12:19:09.000000Z'
                        price:
                          -
                            amount: 60
                            currency_id: 88
                          -
                            amount: 0
                            currency_id: 89
                        is_active: true
                        is_forbidden: false
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 9
                        from_departure_point_id:
                          type: integer
                          example: 87
                        to_departure_point_id:
                          type: integer
                          example: 91
                        from_departure_point:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 87
                            name:
                              type: string
                              example: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                    pl:
                                      type: string
                                      example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                    en:
                                      type: string
                                      example: 'Bus station "Kyiv",S.Petlury 32 street'
                                    ru:
                                      type: string
                                      example: 'Автостанция "Киев",улица С.Петлюры 32'
                            city:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 267
                                name:
                                  type: string
                                  example: Киев
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { ua: { type: string, example: Київ }, pl: { type: string, example: Kijów }, en: { type: string, example: Kyiv }, ru: { type: string, example: Киев } }
                                population:
                                  type: string
                                  example: null
                                number_of_bus_routes:
                                  type: integer
                                  example: 0
                                visibility:
                                  type: boolean
                                  example: true
                                country_id:
                                  type: integer
                                  example: 6
                                created_at:
                                  type: string
                                  example: '2023-11-02T11:51:05.000000Z'
                                updated_at:
                                  type: string
                                  example: '2024-02-18T14:28:39.000000Z'
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:52:18.000000Z'
                            updated_at:
                              type: string
                              example: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 91
                            name:
                              type: string
                              example: 'Магазин АТБ'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Магазин АТБ'
                                    pl:
                                      type: string
                                      example: 'Магазин АТБ'
                                    en:
                                      type: string
                                      example: 'Магазин АТБ'
                            city:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 269
                                name:
                                  type: string
                                  example: Козелец
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { ua: { type: string, example: Козелець }, pl: { type: string, example: Kozelec }, en: { type: string, example: Козелець }, ru: { type: string, example: Козелец } }
                                population:
                                  type: string
                                  example: null
                                number_of_bus_routes:
                                  type: integer
                                  example: 0
                                visibility:
                                  type: boolean
                                  example: true
                                country_id:
                                  type: integer
                                  example: 6
                                created_at:
                                  type: string
                                  example: '2023-11-02T12:18:53.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-07-17T06:32:14.000000Z'
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T12:19:09.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T12:19:09.000000Z'
                        price:
                          type: array
                          example:
                            -
                              amount: 60
                              currency_id: 88
                            -
                              amount: 0
                              currency_id: 89
                          items:
                            type: object
                            properties:
                              amount:
                                type: integer
                                example: 60
                              currency_id:
                                type: integer
                                example: 88
                        is_active:
                          type: boolean
                          example: true
                        is_forbidden:
                          type: boolean
                          example: false
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                price_data:
                  type: array
                  description: 'Price data'
                  example:
                    -
                      from_departure_point_id: 1
                      to_departure_point_id: 2
                      price:
                        -
                          currency_id: 1
                          amount: 1000
                      is_active: true
                  items:
                    type: string
                entity_type:
                  type: string
                  description: '(bus_flight, bus_route)'
                  example: bus_flight
                  nullable: false
                entity_id:
                  type: integer
                  description: 'Entity ID'
                  example: 1
                  nullable: false
              required:
                - price_data
                - entity_type
                - entity_id
  /api/booking-date-limits:
    get:
      summary: 'Get booking date limits'
      operationId: getBookingDateLimits
      description: ''
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 5
                      date_from: '2023-12-31T21:00:00.000000Z'
                      date_to: '2024-02-01T21:00:00.000000Z'
                      limit_value: 5
                      created_at: '2023-11-02T12:25:27.000000Z'
                      updated_at: '2023-11-02T12:25:27.000000Z'
                    -
                      id: 5
                      date_from: '2023-12-31T21:00:00.000000Z'
                      date_to: '2024-02-01T21:00:00.000000Z'
                      limit_value: 5
                      created_at: '2023-11-02T12:25:27.000000Z'
                      updated_at: '2023-11-02T12:25:27.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 5
                        date_from: '2023-12-31T21:00:00.000000Z'
                        date_to: '2024-02-01T21:00:00.000000Z'
                        limit_value: 5
                        created_at: '2023-11-02T12:25:27.000000Z'
                        updated_at: '2023-11-02T12:25:27.000000Z'
                      -
                        id: 5
                        date_from: '2023-12-31T21:00:00.000000Z'
                        date_to: '2024-02-01T21:00:00.000000Z'
                        limit_value: 5
                        created_at: '2023-11-02T12:25:27.000000Z'
                        updated_at: '2023-11-02T12:25:27.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 5
                        date_from:
                          type: string
                          example: '2023-12-31T21:00:00.000000Z'
                        date_to:
                          type: string
                          example: '2024-02-01T21:00:00.000000Z'
                        limit_value:
                          type: integer
                          example: 5
                        created_at:
                          type: string
                          example: '2023-11-02T12:25:27.000000Z'
                        updated_at:
                          type: string
                          example: '2023-11-02T12:25:27.000000Z'
      tags:
        - 'Bus flight'
    post:
      summary: 'Create booking date limit'
      operationId: createBookingDateLimit
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 5
                    date_from: '2023-12-31T21:00:00.000000Z'
                    date_to: '2024-02-01T21:00:00.000000Z'
                    limit_value: 5
                    created_at: '2023-11-02T12:25:27.000000Z'
                    updated_at: '2023-11-02T12:25:27.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 5
                      date_from:
                        type: string
                        example: '2023-12-31T21:00:00.000000Z'
                      date_to:
                        type: string
                        example: '2024-02-01T21:00:00.000000Z'
                      limit_value:
                        type: integer
                        example: 5
                      created_at:
                        type: string
                        example: '2023-11-02T12:25:27.000000Z'
                      updated_at:
                        type: string
                        example: '2023-11-02T12:25:27.000000Z'
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                entity_type:
                  type: string
                  description: '(bus_flight, bus_route)'
                  example: bus_flight
                  nullable: false
                entity_id:
                  type: integer
                  description: 'Entity ID'
                  example: 1
                  nullable: false
                date_from:
                  type: date
                  description: 'Date from'
                  example: '2021-01-01'
                  nullable: false
                date_to:
                  type: date
                  description: 'Date to'
                  example: '2021-01-01'
                  nullable: false
                limit_value:
                  type: integer
                  description: 'Limit value'
                  example: 10
                  nullable: false
              required:
                - entity_type
                - entity_id
                - date_from
                - date_to
                - limit_value
  '/api/booking-date-limits/{bookingDateLimit_id}':
    patch:
      summary: 'Update booking date limit'
      operationId: updateBookingDateLimit
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 5
                    date_from: '2023-12-31T21:00:00.000000Z'
                    date_to: '2024-02-01T21:00:00.000000Z'
                    limit_value: 5
                    created_at: '2023-11-02T12:25:27.000000Z'
                    updated_at: '2023-11-02T12:25:27.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 5
                      date_from:
                        type: string
                        example: '2023-12-31T21:00:00.000000Z'
                      date_to:
                        type: string
                        example: '2024-02-01T21:00:00.000000Z'
                      limit_value:
                        type: integer
                        example: 5
                      created_at:
                        type: string
                        example: '2023-11-02T12:25:27.000000Z'
                      updated_at:
                        type: string
                        example: '2023-11-02T12:25:27.000000Z'
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                date_from:
                  type: date
                  description: 'Date from'
                  example: '2021-01-01'
                  nullable: false
                date_to:
                  type: date
                  description: 'Date to'
                  example: '2021-01-01'
                  nullable: false
                limit_value:
                  type: integer
                  description: 'Limit value'
                  example: 10
                  nullable: false
              required:
                - date_from
                - date_to
                - limit_value
    delete:
      summary: 'Delete booking date limit'
      operationId: deleteBookingDateLimit
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Bus flight'
    parameters:
      -
        in: path
        name: bookingDateLimit_id
        description: 'The ID of the bookingDateLimit.'
        example: 5
        required: true
        schema:
          type: integer
  /api/bus-flights:
    get:
      summary: 'Get list of bus flights'
      operationId: getListOfBusFlights
      description: 'Get list of bus flights'
      parameters:
        -
          in: query
          name: page
          description: 'Page number'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Page number'
            example: 1
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
        -
          in: query
          name: status
          description: Status
          example: open
          required: true
          schema:
            type: string
            description: Status
            example: open
            nullable: false
        -
          in: query
          name: bus_route_number
          description: 'Bus route number'
          example: 'UA 1234556'
          required: true
          schema:
            type: string
            description: 'Bus route number'
            example: 'UA 1234556'
            nullable: false
        -
          in: query
          name: departure_date
          description: 'Departure date'
          example: '2021-01-01'
          required: true
          schema:
            type: string
            description: 'Departure date'
            example: '2021-01-01'
            nullable: false
        -
          in: query
          name: from_departure_point_id
          description: 'From departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'From departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: to_departure_point_id
          description: 'To departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'To departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: without_connecting
          description: 'Without connection'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Without connection'
            example: 1
            nullable: false
        -
          in: query
          name: date_range
          description: 'Date range'
          example:
            from: '2021-01-01'
            to: '2021-01-01'
          required: true
          schema:
            type: array
            description: 'Date range'
            example:
              from: '2021-01-01'
              to: '2021-01-01'
            items:
              type: string
        -
          in: query
          name: bus_route_id
          description: 'Bus route id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Bus route id'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 207
                      departure_date: '2024-01-25T10:00:00.000000Z'
                      sale_end_time_before_departure: 0
                      arrival_date: '2024-01-25T13:00:00.000000Z'
                      hours_in_travel: 3
                      route:
                        id: 77
                        number: '1111'
                        name: Киев-Чернигов
                        ticket_hint: null
                        translations:
                          name:
                            ua: Киев-Чернигов
                            pl: Киев-Чернигов
                            en: Киев-Чернигов
                          ticket_hint: []
                        sale_end_time_before_departure: 0
                        status: active
                        carrier_name: тест
                        payment_time: 15
                        sale_depth: 15
                        flight_generation_depth: 15
                        number_of_seats: 15
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        without_companion_price: 0
                        min_price:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        forbidden_sale_date_from: null
                        forbidden_sale_date_to: null
                        created_at: '2024-01-19T11:56:53.000000Z'
                        updated_at: '2024-02-17T11:53:35.000000Z'
                      status: open
                      payment_time: 15
                      sale_depth: 15
                      number_of_seats: 15
                      carrier_name: тест
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      min_price:
                        -
                          currency_id: 89
                          price: '10'
                        -
                          currency_id: 88
                          price: '10'
                      forbidden_sale_date_from: null
                      forbidden_sale_date_to: null
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:40:52.000000Z'
                    -
                      id: 207
                      departure_date: '2024-01-25T10:00:00.000000Z'
                      sale_end_time_before_departure: 0
                      arrival_date: '2024-01-25T13:00:00.000000Z'
                      hours_in_travel: 3
                      route:
                        id: 77
                        number: '1111'
                        name: Киев-Чернигов
                        ticket_hint: null
                        translations:
                          name:
                            ua: Киев-Чернигов
                            pl: Киев-Чернигов
                            en: Киев-Чернигов
                          ticket_hint: []
                        sale_end_time_before_departure: 0
                        status: active
                        carrier_name: тест
                        payment_time: 15
                        sale_depth: 15
                        flight_generation_depth: 15
                        number_of_seats: 15
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        without_companion_price: 0
                        min_price:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        forbidden_sale_date_from: null
                        forbidden_sale_date_to: null
                        created_at: '2024-01-19T11:56:53.000000Z'
                        updated_at: '2024-02-17T11:53:35.000000Z'
                      status: open
                      payment_time: 15
                      sale_depth: 15
                      number_of_seats: 15
                      carrier_name: тест
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      min_price:
                        -
                          currency_id: 89
                          price: '10'
                        -
                          currency_id: 88
                          price: '10'
                      forbidden_sale_date_from: null
                      forbidden_sale_date_to: null
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:40:52.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 207
                        departure_date: '2024-01-25T10:00:00.000000Z'
                        sale_end_time_before_departure: 0
                        arrival_date: '2024-01-25T13:00:00.000000Z'
                        hours_in_travel: 3
                        route:
                          id: 77
                          number: '1111'
                          name: Киев-Чернигов
                          ticket_hint: null
                          translations:
                            name:
                              ua: Киев-Чернигов
                              pl: Киев-Чернигов
                              en: Киев-Чернигов
                            ticket_hint: []
                          sale_end_time_before_departure: 0
                          status: active
                          carrier_name: тест
                          payment_time: 15
                          sale_depth: 15
                          flight_generation_depth: 15
                          number_of_seats: 15
                          seat_selection_allowed: true
                          seat_selection_not_allowed_date_from: null
                          seat_selection_not_allowed_date_to: null
                          without_companion: true
                          without_companion_price: 0
                          min_price:
                            -
                              currency_id: 89
                              price: '10'
                            -
                              currency_id: 88
                              price: '10'
                          forbidden_sale_date_from: null
                          forbidden_sale_date_to: null
                          created_at: '2024-01-19T11:56:53.000000Z'
                          updated_at: '2024-02-17T11:53:35.000000Z'
                        status: open
                        payment_time: 15
                        sale_depth: 15
                        number_of_seats: 15
                        carrier_name: тест
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        min_price:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        forbidden_sale_date_from: null
                        forbidden_sale_date_to: null
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:40:52.000000Z'
                      -
                        id: 207
                        departure_date: '2024-01-25T10:00:00.000000Z'
                        sale_end_time_before_departure: 0
                        arrival_date: '2024-01-25T13:00:00.000000Z'
                        hours_in_travel: 3
                        route:
                          id: 77
                          number: '1111'
                          name: Киев-Чернигов
                          ticket_hint: null
                          translations:
                            name:
                              ua: Киев-Чернигов
                              pl: Киев-Чернигов
                              en: Киев-Чернигов
                            ticket_hint: []
                          sale_end_time_before_departure: 0
                          status: active
                          carrier_name: тест
                          payment_time: 15
                          sale_depth: 15
                          flight_generation_depth: 15
                          number_of_seats: 15
                          seat_selection_allowed: true
                          seat_selection_not_allowed_date_from: null
                          seat_selection_not_allowed_date_to: null
                          without_companion: true
                          without_companion_price: 0
                          min_price:
                            -
                              currency_id: 89
                              price: '10'
                            -
                              currency_id: 88
                              price: '10'
                          forbidden_sale_date_from: null
                          forbidden_sale_date_to: null
                          created_at: '2024-01-19T11:56:53.000000Z'
                          updated_at: '2024-02-17T11:53:35.000000Z'
                        status: open
                        payment_time: 15
                        sale_depth: 15
                        number_of_seats: 15
                        carrier_name: тест
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        min_price:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        forbidden_sale_date_from: null
                        forbidden_sale_date_to: null
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:40:52.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 207
                        departure_date:
                          type: string
                          example: '2024-01-25T10:00:00.000000Z'
                        sale_end_time_before_departure:
                          type: integer
                          example: 0
                        arrival_date:
                          type: string
                          example: '2024-01-25T13:00:00.000000Z'
                        hours_in_travel:
                          type: integer
                          example: 3
                        route:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 77
                            number:
                              type: string
                              example: '1111'
                            name:
                              type: string
                              example: Киев-Чернигов
                            ticket_hint:
                              type: string
                              example: null
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: Киев-Чернигов
                                    pl:
                                      type: string
                                      example: Киев-Чернигов
                                    en:
                                      type: string
                                      example: Киев-Чернигов
                                ticket_hint:
                                  type: array
                                  example: []
                            sale_end_time_before_departure:
                              type: integer
                              example: 0
                            status:
                              type: string
                              example: active
                            carrier_name:
                              type: string
                              example: тест
                            payment_time:
                              type: integer
                              example: 15
                            sale_depth:
                              type: integer
                              example: 15
                            flight_generation_depth:
                              type: integer
                              example: 15
                            number_of_seats:
                              type: integer
                              example: 15
                            seat_selection_allowed:
                              type: boolean
                              example: true
                            seat_selection_not_allowed_date_from:
                              type: string
                              example: null
                            seat_selection_not_allowed_date_to:
                              type: string
                              example: null
                            without_companion:
                              type: boolean
                              example: true
                            without_companion_price:
                              type: integer
                              example: 0
                            min_price:
                              type: array
                              example:
                                -
                                  currency_id: 89
                                  price: '10'
                                -
                                  currency_id: 88
                                  price: '10'
                              items:
                                type: object
                                properties:
                                  currency_id:
                                    type: integer
                                    example: 89
                                  price:
                                    type: string
                                    example: '10'
                            forbidden_sale_date_from:
                              type: string
                              example: null
                            forbidden_sale_date_to:
                              type: string
                              example: null
                            created_at:
                              type: string
                              example: '2024-01-19T11:56:53.000000Z'
                            updated_at:
                              type: string
                              example: '2024-02-17T11:53:35.000000Z'
                        status:
                          type: string
                          example: open
                        payment_time:
                          type: integer
                          example: 15
                        sale_depth:
                          type: integer
                          example: 15
                        number_of_seats:
                          type: integer
                          example: 15
                        carrier_name:
                          type: string
                          example: тест
                        seat_selection_allowed:
                          type: boolean
                          example: true
                        seat_selection_not_allowed_date_from:
                          type: string
                          example: null
                        seat_selection_not_allowed_date_to:
                          type: string
                          example: null
                        without_companion:
                          type: boolean
                          example: true
                        min_price:
                          type: array
                          example:
                            -
                              currency_id: 89
                              price: '10'
                            -
                              currency_id: 88
                              price: '10'
                          items:
                            type: object
                            properties:
                              currency_id:
                                type: integer
                                example: 89
                              price:
                                type: string
                                example: '10'
                        forbidden_sale_date_from:
                          type: string
                          example: null
                        forbidden_sale_date_to:
                          type: string
                          example: null
                        created_at:
                          type: string
                          example: '2024-01-19T11:59:02.000000Z'
                        updated_at:
                          type: string
                          example: '2024-04-22T06:40:52.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'Bus flight'
    post:
      summary: 'Create bus flight'
      operationId: createBusFlight
      description: 'Create bus flight'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 207
                    departure_date: '2024-01-25T10:00:00.000000Z'
                    sale_end_time_before_departure: 0
                    arrival_date: '2024-01-25T13:00:00.000000Z'
                    hours_in_travel: 3
                    status: open
                    payment_time: 15
                    sale_depth: 15
                    number_of_seats: 15
                    carrier_name: тест
                    seat_selection_allowed: true
                    seat_selection_not_allowed_date_from: null
                    seat_selection_not_allowed_date_to: null
                    without_companion: true
                    currencies:
                      -
                        id: 89
                        display_name: Злотий
                        code: PLN
                        symbol: zł
                        is_active: true
                        created_at: '2023-11-02T11:58:50.000000Z'
                        updated_at: '2023-11-02T11:58:50.000000Z'
                      -
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                    min_price:
                      -
                        currency_id: 89
                        price: '10'
                      -
                        currency_id: 88
                        price: '10'
                    forbidden_sale_date_from: null
                    forbidden_sale_date_to: null
                    payment_methods:
                      -
                        id: 1
                        name: stripe
                        display_name: 'Оплата через Stripe'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 2
                        name: liqpay
                        display_name: 'Оплата через LiqPay'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 3
                        name: spot
                        display_name: 'Оплата на месте'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                    created_at: '2024-01-19T11:59:02.000000Z'
                    updated_at: '2024-04-22T06:40:52.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 207
                      departure_date:
                        type: string
                        example: '2024-01-25T10:00:00.000000Z'
                      sale_end_time_before_departure:
                        type: integer
                        example: 0
                      arrival_date:
                        type: string
                        example: '2024-01-25T13:00:00.000000Z'
                      hours_in_travel:
                        type: integer
                        example: 3
                      status:
                        type: string
                        example: open
                      payment_time:
                        type: integer
                        example: 15
                      sale_depth:
                        type: integer
                        example: 15
                      number_of_seats:
                        type: integer
                        example: 15
                      carrier_name:
                        type: string
                        example: тест
                      seat_selection_allowed:
                        type: boolean
                        example: true
                      seat_selection_not_allowed_date_from:
                        type: string
                        example: null
                      seat_selection_not_allowed_date_to:
                        type: string
                        example: null
                      without_companion:
                        type: boolean
                        example: true
                      currencies:
                        type: array
                        example:
                          -
                            id: 89
                            display_name: Злотий
                            code: PLN
                            symbol: zł
                            is_active: true
                            created_at: '2023-11-02T11:58:50.000000Z'
                            updated_at: '2023-11-02T11:58:50.000000Z'
                          -
                            id: 88
                            display_name: Гривня
                            code: UAH
                            symbol: ₴
                            is_active: true
                            created_at: '2023-11-02T11:57:10.000000Z'
                            updated_at: '2023-11-02T11:57:10.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 89
                            display_name:
                              type: string
                              example: Злотий
                            code:
                              type: string
                              example: PLN
                            symbol:
                              type: string
                              example: zł
                            is_active:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:58:50.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:58:50.000000Z'
                      min_price:
                        type: array
                        example:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        items:
                          type: object
                          properties:
                            currency_id:
                              type: integer
                              example: 89
                            price:
                              type: string
                              example: '10'
                      forbidden_sale_date_from:
                        type: string
                        example: null
                      forbidden_sale_date_to:
                        type: string
                        example: null
                      payment_methods:
                        type: array
                        example:
                          -
                            id: 1
                            name: stripe
                            display_name: 'Оплата через Stripe'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 2
                            name: liqpay
                            display_name: 'Оплата через LiqPay'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 3
                            name: spot
                            display_name: 'Оплата на месте'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: stripe
                            display_name:
                              type: string
                              example: 'Оплата через Stripe'
                            logo_path:
                              type: string
                              example: null
                            created_at:
                              type: string
                              example: '2023-10-27T07:44:26.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-03T07:53:11.000000Z'
                      created_at:
                        type: string
                        example: '2024-01-19T11:59:02.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-22T06:40:52.000000Z'
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bus_route_id:
                  type: integer
                  description: 'Bus route id'
                  example: 1
                  nullable: false
                bus_id:
                  type: integer
                  description: 'Bus id'
                  example: 1
                  nullable: false
                driver_id:
                  type: integer
                  description: 'Driver id'
                  example: 1
                  nullable: false
                dispatcher_id:
                  type: integer
                  description: 'Dispatcher id'
                  example: 1
                  nullable: false
                status:
                  type: string
                  description: Status
                  example: active
                  nullable: false
                payment_time:
                  type: integer
                  description: 'Payment time in minutes'
                  example: 15
                  nullable: false
                sale_depth:
                  type: integer
                  description: 'Sale depth in days'
                  example: 30
                  nullable: false
                currencies:
                  type: array
                  description: 'Currencies ids'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
                min_price:
                  type: array
                  description: 'Min price'
                  example:
                    -
                      currency_id: 1
                      price: 100
                  items:
                    type: string
                carrier_name:
                  type: string
                  description: 'Carrier name'
                  example: 'Carrier name'
                  nullable: false
                carrier_id:
                  type: string
                  description: 'Carrier id'
                  example: 1
                  nullable: false
                sale_end_time_before_departure:
                  type: integer
                  description: 'Sale end time before departure'
                  example: 15
                  nullable: false
              required:
                - bus_route_id
                - bus_id
                - driver_id
                - dispatcher_id
                - status
                - payment_time
                - sale_depth
                - currencies
                - min_price
                - carrier_name
                - carrier_id
                - sale_end_time_before_departure
  /api/bus-flights/export-passengers:
    get:
      summary: ''
      operationId: getApiBusFlightsExportPassengers
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - 'Bus flight'
      security: []
  '/api/bus-flights/{id}':
    get:
      summary: 'Show bus flights'
      operationId: showBusFlights
      description: 'Get list of bus flights'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 207
                    departure_date: '2024-01-25T10:00:00.000000Z'
                    sale_end_time_before_departure: 0
                    arrival_date: '2024-01-25T13:00:00.000000Z'
                    hours_in_travel: 3
                    route:
                      id: 77
                      number: '1111'
                      name: Киев-Чернигов
                      ticket_hint: null
                      translations:
                        name:
                          ua: Киев-Чернигов
                          pl: Киев-Чернигов
                          en: Киев-Чернигов
                        ticket_hint: []
                      sale_end_time_before_departure: 0
                      status: active
                      carrier_name: тест
                      payment_time: 15
                      sale_depth: 15
                      flight_generation_depth: 15
                      number_of_seats: 15
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      without_companion_price: 0
                      min_price:
                        -
                          currency_id: 89
                          price: '10'
                        -
                          currency_id: 88
                          price: '10'
                      additional_price_settings: []
                      forbidden_sale_date_from: null
                      forbidden_sale_date_to: null
                      created_at: '2024-01-19T11:56:53.000000Z'
                      updated_at: '2024-02-17T11:53:35.000000Z'
                    bus:
                      id: 148
                      name: Автобус
                      number: 'WK 77296'
                      status: active
                      created_at: '2024-02-16T19:04:00.000000Z'
                      updated_at: '2024-05-17T18:26:50.000000Z'
                    user:
                      id: 1
                      first_name: Eladio
                      last_name: Weber
                      middle_name: Lazaro
                      full_name: 'Eladio Weber Lazaro'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Herta Jast'
                      phone: +1-667-744-6598
                      email: admin@admin.com
                      subscribe_to_newsletter: false
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2023-10-27T07:45:00.000000Z'
                      updated_at: '2024-03-12T18:49:24.000000Z'
                    driver:
                      id: 519
                      first_name: Петро
                      last_name: Шевченко
                      middle_name: Петрович
                      full_name: 'Петро Шевченко Петрович'
                      work_phone: '38063999999'
                      gender: null
                      birthday: null
                    dispatcher: null
                    status: open
                    payment_time: 15
                    sale_depth: 15
                    number_of_seats: 15
                    carrier_name: тест
                    occupiedSeats:
                      -
                        id: 22
                        bus_flight_id: 207
                        from_departure_point_id: 87
                        to_departure_point_id: 88
                        seat_number: 9
                        type: reserved
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2024-02-19T12:32:03.000000Z'
                    seat_selection_allowed: true
                    seat_selection_not_allowed_date_from: null
                    seat_selection_not_allowed_date_to: null
                    without_companion: true
                    baggage_transportation_conditions:
                      -
                        id: 164
                        name: 'Hand baggage (free)'
                        translations:
                          name:
                            ua: 'Ручна поклажа (безкоштовно)'
                            pl: 'Bagaż podręczny (bezpłatny)'
                            en: 'Hand baggage (free)'
                        prices:
                          -
                            currency_id: 88
                            price: 0
                          -
                            currency_id: 89
                            price: 0
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-01-19T11:59:02.000000Z'
                    return_conditions:
                      -
                        id: 344
                        departure_start: 10
                        departure_end: 20
                        retention_percentage: 1
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-01-19T11:59:02.000000Z'
                      -
                        id: 345
                        departure_start: 24
                        departure_end: 1
                        retention_percentage: 100
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-01-19T11:59:02.000000Z'
                      -
                        id: 346
                        departure_start: 24
                        departure_end: 2
                        retention_percentage: 50
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-01-19T11:59:02.000000Z'
                    currencies:
                      -
                        id: 89
                        display_name: Злотий
                        code: PLN
                        symbol: zł
                        is_active: true
                        created_at: '2023-11-02T11:58:50.000000Z'
                        updated_at: '2023-11-02T11:58:50.000000Z'
                      -
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                    min_price:
                      -
                        currency_id: 89
                        price: '10'
                      -
                        currency_id: 88
                        price: '10'
                    prices:
                      -
                        id: 20172
                        from_departure_point_id: 87
                        to_departure_point_id: 88
                        price:
                          -
                            amount: 10
                            currency_id: 88
                          -
                            amount: 10
                            currency_id: 89
                          -
                            amount: 0
                            currency_id: 90
                          -
                            amount: 0
                            currency_id: 91
                        is_active: true
                        is_forbidden: false
                    schedules:
                      -
                        id: 1631
                        departure_point_id: 87
                        departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            id: 267
                            name: Киев
                            translations:
                              name:
                                ua: Київ
                                pl: Kijów
                                en: Kyiv
                                ru: Киев
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:05.000000Z'
                            updated_at: '2024-02-18T14:28:39.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        arrival_time: '12:00'
                        departure_time: '12:00'
                        days_in_road: 0
                        platform: null
                        has_landing: true
                        has_disembarkation: false
                        is_connecting: false
                        is_connecting_start_endpoint: false
                        position: 0
                        sale_status: open
                        is_active: true
                        has_transfer: false
                        hint: ''
                        translations:
                          hint: []
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:39:22.000000Z'
                      -
                        id: 1632
                        departure_point_id: 88
                        departure_point:
                          id: 88
                          name: Голливуд
                          translations:
                            name:
                              ua: Голливуд
                              pl: Голливуд
                              en: Голливуд
                          city:
                            id: 268
                            name: Чернигов
                            translations:
                              name:
                                ua: Чернігів
                                en: Chernihiv
                                pl: Czernihów
                                ru: Чернигов
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:37.000000Z'
                            updated_at: '2025-07-17T06:32:14.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:53:33.000000Z'
                          updated_at: '2023-11-02T11:53:33.000000Z'
                        arrival_time: '15:00'
                        departure_time: '15:00'
                        days_in_road: 0
                        platform: null
                        has_landing: false
                        has_disembarkation: true
                        is_connecting: false
                        is_connecting_start_endpoint: false
                        position: 1
                        sale_status: open
                        is_active: true
                        has_transfer: false
                        hint: ''
                        translations:
                          hint: []
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:39:22.000000Z'
                    forbidden_sale_date_from: null
                    forbidden_sale_date_to: null
                    payment_methods:
                      -
                        id: 1
                        name: stripe
                        display_name: 'Оплата через Stripe'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 2
                        name: liqpay
                        display_name: 'Оплата через LiqPay'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 3
                        name: spot
                        display_name: 'Оплата на месте'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                    carrier:
                      id: 1
                      name: test
                      hotline_phone: null
                      edrpou: null
                      disclaimer: null
                      logo_url: null
                      translations:
                        disclaimer: []
                    created_at: '2024-01-19T11:59:02.000000Z'
                    updated_at: '2024-04-22T06:40:52.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 207
                      departure_date:
                        type: string
                        example: '2024-01-25T10:00:00.000000Z'
                      sale_end_time_before_departure:
                        type: integer
                        example: 0
                      arrival_date:
                        type: string
                        example: '2024-01-25T13:00:00.000000Z'
                      hours_in_travel:
                        type: integer
                        example: 3
                      route:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 77
                          number:
                            type: string
                            example: '1111'
                          name:
                            type: string
                            example: Киев-Чернигов
                          ticket_hint:
                            type: string
                            example: null
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Киев-Чернигов
                                  pl:
                                    type: string
                                    example: Киев-Чернигов
                                  en:
                                    type: string
                                    example: Киев-Чернигов
                              ticket_hint:
                                type: array
                                example: []
                          sale_end_time_before_departure:
                            type: integer
                            example: 0
                          status:
                            type: string
                            example: active
                          carrier_name:
                            type: string
                            example: тест
                          payment_time:
                            type: integer
                            example: 15
                          sale_depth:
                            type: integer
                            example: 15
                          flight_generation_depth:
                            type: integer
                            example: 15
                          number_of_seats:
                            type: integer
                            example: 15
                          seat_selection_allowed:
                            type: boolean
                            example: true
                          seat_selection_not_allowed_date_from:
                            type: string
                            example: null
                          seat_selection_not_allowed_date_to:
                            type: string
                            example: null
                          without_companion:
                            type: boolean
                            example: true
                          without_companion_price:
                            type: integer
                            example: 0
                          min_price:
                            type: array
                            example:
                              -
                                currency_id: 89
                                price: '10'
                              -
                                currency_id: 88
                                price: '10'
                            items:
                              type: object
                              properties:
                                currency_id:
                                  type: integer
                                  example: 89
                                price:
                                  type: string
                                  example: '10'
                          additional_price_settings:
                            type: array
                            example: []
                          forbidden_sale_date_from:
                            type: string
                            example: null
                          forbidden_sale_date_to:
                            type: string
                            example: null
                          created_at:
                            type: string
                            example: '2024-01-19T11:56:53.000000Z'
                          updated_at:
                            type: string
                            example: '2024-02-17T11:53:35.000000Z'
                      bus:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 148
                          name:
                            type: string
                            example: Автобус
                          number:
                            type: string
                            example: 'WK 77296'
                          status:
                            type: string
                            example: active
                          created_at:
                            type: string
                            example: '2024-02-16T19:04:00.000000Z'
                          updated_at:
                            type: string
                            example: '2024-05-17T18:26:50.000000Z'
                      user:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          first_name:
                            type: string
                            example: Eladio
                          last_name:
                            type: string
                            example: Weber
                          middle_name:
                            type: string
                            example: Lazaro
                          full_name:
                            type: string
                            example: 'Eladio Weber Lazaro'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Herta Jast'
                          phone:
                            type: string
                            example: +1-667-744-6598
                          email:
                            type: string
                            example: admin@admin.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-10-27T07:45:00.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-12T18:49:24.000000Z'
                      driver:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 519
                          first_name:
                            type: string
                            example: Петро
                          last_name:
                            type: string
                            example: Шевченко
                          middle_name:
                            type: string
                            example: Петрович
                          full_name:
                            type: string
                            example: 'Петро Шевченко Петрович'
                          work_phone:
                            type: string
                            example: '38063999999'
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                      dispatcher:
                        type: string
                        example: null
                      status:
                        type: string
                        example: open
                      payment_time:
                        type: integer
                        example: 15
                      sale_depth:
                        type: integer
                        example: 15
                      number_of_seats:
                        type: integer
                        example: 15
                      carrier_name:
                        type: string
                        example: тест
                      occupiedSeats:
                        type: array
                        example:
                          -
                            id: 22
                            bus_flight_id: 207
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            seat_number: 9
                            type: reserved
                            created_at: '2024-01-25T07:57:29.000000Z'
                            updated_at: '2024-02-19T12:32:03.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 22
                            bus_flight_id:
                              type: integer
                              example: 207
                            from_departure_point_id:
                              type: integer
                              example: 87
                            to_departure_point_id:
                              type: integer
                              example: 88
                            seat_number:
                              type: integer
                              example: 9
                            type:
                              type: string
                              example: reserved
                            created_at:
                              type: string
                              example: '2024-01-25T07:57:29.000000Z'
                            updated_at:
                              type: string
                              example: '2024-02-19T12:32:03.000000Z'
                      seat_selection_allowed:
                        type: boolean
                        example: true
                      seat_selection_not_allowed_date_from:
                        type: string
                        example: null
                      seat_selection_not_allowed_date_to:
                        type: string
                        example: null
                      without_companion:
                        type: boolean
                        example: true
                      baggage_transportation_conditions:
                        type: array
                        example:
                          -
                            id: 164
                            name: 'Hand baggage (free)'
                            translations:
                              name:
                                ua: 'Ручна поклажа (безкоштовно)'
                                pl: 'Bagaż podręczny (bezpłatny)'
                                en: 'Hand baggage (free)'
                            prices:
                              -
                                currency_id: 88
                                price: 0
                              -
                                currency_id: 89
                                price: 0
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-01-19T11:59:02.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 164
                            name:
                              type: string
                              example: 'Hand baggage (free)'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Ручна поклажа (безкоштовно)'
                                    pl:
                                      type: string
                                      example: 'Bagaż podręczny (bezpłatny)'
                                    en:
                                      type: string
                                      example: 'Hand baggage (free)'
                            prices:
                              type: array
                              example:
                                -
                                  currency_id: 88
                                  price: 0
                                -
                                  currency_id: 89
                                  price: 0
                              items:
                                type: object
                                properties:
                                  currency_id:
                                    type: integer
                                    example: 88
                                  price:
                                    type: integer
                                    example: 0
                            created_at:
                              type: string
                              example: '2024-01-19T11:59:02.000000Z'
                            updated_at:
                              type: string
                              example: '2024-01-19T11:59:02.000000Z'
                      return_conditions:
                        type: array
                        example:
                          -
                            id: 344
                            departure_start: 10
                            departure_end: 20
                            retention_percentage: 1
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-01-19T11:59:02.000000Z'
                          -
                            id: 345
                            departure_start: 24
                            departure_end: 1
                            retention_percentage: 100
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-01-19T11:59:02.000000Z'
                          -
                            id: 346
                            departure_start: 24
                            departure_end: 2
                            retention_percentage: 50
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-01-19T11:59:02.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 344
                            departure_start:
                              type: integer
                              example: 10
                            departure_end:
                              type: integer
                              example: 20
                            retention_percentage:
                              type: integer
                              example: 1
                            created_at:
                              type: string
                              example: '2024-01-19T11:59:02.000000Z'
                            updated_at:
                              type: string
                              example: '2024-01-19T11:59:02.000000Z'
                      currencies:
                        type: array
                        example:
                          -
                            id: 89
                            display_name: Злотий
                            code: PLN
                            symbol: zł
                            is_active: true
                            created_at: '2023-11-02T11:58:50.000000Z'
                            updated_at: '2023-11-02T11:58:50.000000Z'
                          -
                            id: 88
                            display_name: Гривня
                            code: UAH
                            symbol: ₴
                            is_active: true
                            created_at: '2023-11-02T11:57:10.000000Z'
                            updated_at: '2023-11-02T11:57:10.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 89
                            display_name:
                              type: string
                              example: Злотий
                            code:
                              type: string
                              example: PLN
                            symbol:
                              type: string
                              example: zł
                            is_active:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:58:50.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:58:50.000000Z'
                      min_price:
                        type: array
                        example:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        items:
                          type: object
                          properties:
                            currency_id:
                              type: integer
                              example: 89
                            price:
                              type: string
                              example: '10'
                      prices:
                        type: array
                        example:
                          -
                            id: 20172
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            price:
                              -
                                amount: 10
                                currency_id: 88
                              -
                                amount: 10
                                currency_id: 89
                              -
                                amount: 0
                                currency_id: 90
                              -
                                amount: 0
                                currency_id: 91
                            is_active: true
                            is_forbidden: false
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 20172
                            from_departure_point_id:
                              type: integer
                              example: 87
                            to_departure_point_id:
                              type: integer
                              example: 88
                            price:
                              type: array
                              example:
                                -
                                  amount: 10
                                  currency_id: 88
                                -
                                  amount: 10
                                  currency_id: 89
                                -
                                  amount: 0
                                  currency_id: 90
                                -
                                  amount: 0
                                  currency_id: 91
                              items:
                                type: object
                                properties:
                                  amount:
                                    type: integer
                                    example: 10
                                  currency_id:
                                    type: integer
                                    example: 88
                            is_active:
                              type: boolean
                              example: true
                            is_forbidden:
                              type: boolean
                              example: false
                      schedules:
                        type: array
                        example:
                          -
                            id: 1631
                            departure_point_id: 87
                            departure_point:
                              id: 87
                              name: 'Автостанция "Киев",улица С.Петлюры 32'
                              translations:
                                name:
                                  ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                  pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                  en: 'Bus station "Kyiv",S.Petlury 32 street'
                                  ru: 'Автостанция "Киев",улица С.Петлюры 32'
                              city:
                                id: 267
                                name: Киев
                                translations:
                                  name:
                                    ua: Київ
                                    pl: Kijów
                                    en: Kyiv
                                    ru: Киев
                                population: null
                                number_of_bus_routes: 0
                                visibility: true
                                country_id: 6
                                created_at: '2023-11-02T11:51:05.000000Z'
                                updated_at: '2024-02-18T14:28:39.000000Z'
                              visibility: true
                              created_at: '2023-11-02T11:52:18.000000Z'
                              updated_at: '2024-03-23T12:23:48.000000Z'
                            arrival_time: '12:00'
                            departure_time: '12:00'
                            days_in_road: 0
                            platform: null
                            has_landing: true
                            has_disembarkation: false
                            is_connecting: false
                            is_connecting_start_endpoint: false
                            position: 0
                            sale_status: open
                            is_active: true
                            has_transfer: false
                            hint: ''
                            translations:
                              hint: []
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-04-22T06:39:22.000000Z'
                          -
                            id: 1632
                            departure_point_id: 88
                            departure_point:
                              id: 88
                              name: Голливуд
                              translations:
                                name:
                                  ua: Голливуд
                                  pl: Голливуд
                                  en: Голливуд
                              city:
                                id: 268
                                name: Чернигов
                                translations:
                                  name:
                                    ua: Чернігів
                                    en: Chernihiv
                                    pl: Czernihów
                                    ru: Чернигов
                                population: null
                                number_of_bus_routes: 0
                                visibility: true
                                country_id: 6
                                created_at: '2023-11-02T11:51:37.000000Z'
                                updated_at: '2025-07-17T06:32:14.000000Z'
                              visibility: true
                              created_at: '2023-11-02T11:53:33.000000Z'
                              updated_at: '2023-11-02T11:53:33.000000Z'
                            arrival_time: '15:00'
                            departure_time: '15:00'
                            days_in_road: 0
                            platform: null
                            has_landing: false
                            has_disembarkation: true
                            is_connecting: false
                            is_connecting_start_endpoint: false
                            position: 1
                            sale_status: open
                            is_active: true
                            has_transfer: false
                            hint: ''
                            translations:
                              hint: []
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-04-22T06:39:22.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1631
                            departure_point_id:
                              type: integer
                              example: 87
                            departure_point:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 87
                                name:
                                  type: string
                                  example: 'Автостанция "Киев",улица С.Петлюры 32'
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { ua: { type: string, example: 'Автостанція "Київ", вул. С. Петлюри 32' }, pl: { type: string, example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32' }, en: { type: string, example: 'Bus station "Kyiv",S.Petlury 32 street' }, ru: { type: string, example: 'Автостанция "Киев",улица С.Петлюры 32' } }
                                city:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 267
                                    name:
                                      type: string
                                      example: Киев
                                    translations:
                                      type: object
                                      properties: { name: { type: object, properties: { ua: { type: string, example: Київ }, pl: { type: string, example: Kijów }, en: { type: string, example: Kyiv }, ru: { type: string, example: Киев } } } }
                                    population:
                                      type: string
                                      example: null
                                    number_of_bus_routes:
                                      type: integer
                                      example: 0
                                    visibility:
                                      type: boolean
                                      example: true
                                    country_id:
                                      type: integer
                                      example: 6
                                    created_at:
                                      type: string
                                      example: '2023-11-02T11:51:05.000000Z'
                                    updated_at:
                                      type: string
                                      example: '2024-02-18T14:28:39.000000Z'
                                visibility:
                                  type: boolean
                                  example: true
                                created_at:
                                  type: string
                                  example: '2023-11-02T11:52:18.000000Z'
                                updated_at:
                                  type: string
                                  example: '2024-03-23T12:23:48.000000Z'
                            arrival_time:
                              type: string
                              example: '12:00'
                            departure_time:
                              type: string
                              example: '12:00'
                            days_in_road:
                              type: integer
                              example: 0
                            platform:
                              type: string
                              example: null
                            has_landing:
                              type: boolean
                              example: true
                            has_disembarkation:
                              type: boolean
                              example: false
                            is_connecting:
                              type: boolean
                              example: false
                            is_connecting_start_endpoint:
                              type: boolean
                              example: false
                            position:
                              type: integer
                              example: 0
                            sale_status:
                              type: string
                              example: open
                            is_active:
                              type: boolean
                              example: true
                            has_transfer:
                              type: boolean
                              example: false
                            hint:
                              type: string
                              example: ''
                            translations:
                              type: object
                              properties:
                                hint:
                                  type: array
                                  example: []
                            created_at:
                              type: string
                              example: '2024-01-19T11:59:02.000000Z'
                            updated_at:
                              type: string
                              example: '2024-04-22T06:39:22.000000Z'
                      forbidden_sale_date_from:
                        type: string
                        example: null
                      forbidden_sale_date_to:
                        type: string
                        example: null
                      payment_methods:
                        type: array
                        example:
                          -
                            id: 1
                            name: stripe
                            display_name: 'Оплата через Stripe'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 2
                            name: liqpay
                            display_name: 'Оплата через LiqPay'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 3
                            name: spot
                            display_name: 'Оплата на месте'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: stripe
                            display_name:
                              type: string
                              example: 'Оплата через Stripe'
                            logo_path:
                              type: string
                              example: null
                            created_at:
                              type: string
                              example: '2023-10-27T07:44:26.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-03T07:53:11.000000Z'
                      carrier:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: test
                          hotline_phone:
                            type: string
                            example: null
                          edrpou:
                            type: string
                            example: null
                          disclaimer:
                            type: string
                            example: null
                          logo_url:
                            type: string
                            example: null
                          translations:
                            type: object
                            properties:
                              disclaimer:
                                type: array
                                example: []
                      created_at:
                        type: string
                        example: '2024-01-19T11:59:02.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-22T06:40:52.000000Z'
      tags:
        - 'Bus flight'
    patch:
      summary: 'Update bus flight'
      operationId: updateBusFlight
      description: 'Update bus flight'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 207
                    departure_date: '2024-01-25T10:00:00.000000Z'
                    sale_end_time_before_departure: 0
                    arrival_date: '2024-01-25T13:00:00.000000Z'
                    hours_in_travel: 3
                    status: open
                    payment_time: 15
                    sale_depth: 15
                    number_of_seats: 15
                    carrier_name: тест
                    seat_selection_allowed: true
                    seat_selection_not_allowed_date_from: null
                    seat_selection_not_allowed_date_to: null
                    without_companion: true
                    currencies:
                      -
                        id: 89
                        display_name: Злотий
                        code: PLN
                        symbol: zł
                        is_active: true
                        created_at: '2023-11-02T11:58:50.000000Z'
                        updated_at: '2023-11-02T11:58:50.000000Z'
                      -
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                    min_price:
                      -
                        currency_id: 89
                        price: '10'
                      -
                        currency_id: 88
                        price: '10'
                    forbidden_sale_date_from: null
                    forbidden_sale_date_to: null
                    payment_methods:
                      -
                        id: 1
                        name: stripe
                        display_name: 'Оплата через Stripe'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 2
                        name: liqpay
                        display_name: 'Оплата через LiqPay'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 3
                        name: spot
                        display_name: 'Оплата на месте'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                    created_at: '2024-01-19T11:59:02.000000Z'
                    updated_at: '2024-04-22T06:40:52.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 207
                      departure_date:
                        type: string
                        example: '2024-01-25T10:00:00.000000Z'
                      sale_end_time_before_departure:
                        type: integer
                        example: 0
                      arrival_date:
                        type: string
                        example: '2024-01-25T13:00:00.000000Z'
                      hours_in_travel:
                        type: integer
                        example: 3
                      status:
                        type: string
                        example: open
                      payment_time:
                        type: integer
                        example: 15
                      sale_depth:
                        type: integer
                        example: 15
                      number_of_seats:
                        type: integer
                        example: 15
                      carrier_name:
                        type: string
                        example: тест
                      seat_selection_allowed:
                        type: boolean
                        example: true
                      seat_selection_not_allowed_date_from:
                        type: string
                        example: null
                      seat_selection_not_allowed_date_to:
                        type: string
                        example: null
                      without_companion:
                        type: boolean
                        example: true
                      currencies:
                        type: array
                        example:
                          -
                            id: 89
                            display_name: Злотий
                            code: PLN
                            symbol: zł
                            is_active: true
                            created_at: '2023-11-02T11:58:50.000000Z'
                            updated_at: '2023-11-02T11:58:50.000000Z'
                          -
                            id: 88
                            display_name: Гривня
                            code: UAH
                            symbol: ₴
                            is_active: true
                            created_at: '2023-11-02T11:57:10.000000Z'
                            updated_at: '2023-11-02T11:57:10.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 89
                            display_name:
                              type: string
                              example: Злотий
                            code:
                              type: string
                              example: PLN
                            symbol:
                              type: string
                              example: zł
                            is_active:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:58:50.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:58:50.000000Z'
                      min_price:
                        type: array
                        example:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        items:
                          type: object
                          properties:
                            currency_id:
                              type: integer
                              example: 89
                            price:
                              type: string
                              example: '10'
                      forbidden_sale_date_from:
                        type: string
                        example: null
                      forbidden_sale_date_to:
                        type: string
                        example: null
                      payment_methods:
                        type: array
                        example:
                          -
                            id: 1
                            name: stripe
                            display_name: 'Оплата через Stripe'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 2
                            name: liqpay
                            display_name: 'Оплата через LiqPay'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 3
                            name: spot
                            display_name: 'Оплата на месте'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: stripe
                            display_name:
                              type: string
                              example: 'Оплата через Stripe'
                            logo_path:
                              type: string
                              example: null
                            created_at:
                              type: string
                              example: '2023-10-27T07:44:26.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-03T07:53:11.000000Z'
                      created_at:
                        type: string
                        example: '2024-01-19T11:59:02.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-22T06:40:52.000000Z'
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bus_route_id:
                  type: integer
                  description: 'Bus route id'
                  example: 1
                  nullable: false
                bus_id:
                  type: integer
                  description: 'Bus id'
                  example: 1
                  nullable: false
                driver_id:
                  type: integer
                  description: 'Driver id'
                  example: 1
                  nullable: false
                dispatcher_id:
                  type: integer
                  description: 'Dispatcher id'
                  example: 1
                  nullable: false
                status:
                  type: string
                  description: Status
                  example: active
                  nullable: false
                payment_time:
                  type: integer
                  description: 'Payment time in minutes'
                  example: 15
                  nullable: false
                sale_depth:
                  type: integer
                  description: 'Sale depth in days'
                  example: 30
                  nullable: false
                number_of_seats:
                  type: integer
                  description: 'Number of seats'
                  example: 30
                  nullable: false
                seat_selection_allowed:
                  type: boolean
                  description: 'Seat selection allowed'
                  example: 1
                  nullable: false
                seat_selection_not_allowed_date_from:
                  type: string
                  description: 'Seat selection allowed date from'
                  example: '2021-01-01'
                  nullable: false
                seat_selection_not_allowed_date_to:
                  type: string
                  description: 'Seat selection allowed date to'
                  example: '2021-01-01'
                  nullable: false
                without_companion:
                  type: boolean
                  description: 'Without companion'
                  example: 1
                  nullable: false
                currencies:
                  type: array
                  description: 'Currencies ids'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
                forbidden_sale_date_from:
                  type: string
                  description: 'Sale date from'
                  example: '2021-01-01 00:00:00'
                  nullable: false
                forbidden_sale_date_to:
                  type: string
                  description: 'Sale date to'
                  example: '2021-01-01 00:00:00'
                  nullable: false
                payment_methods:
                  type: array
                  description: 'Payment methods ids'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
                min_price:
                  type: array
                  description: 'Min price'
                  example:
                    -
                      currency_id: 1
                      price: 100
                  items:
                    type: string
                carrier_name:
                  type: string
                  description: 'Carrier name'
                  example: 'Carrier name'
                  nullable: false
                carrier_id:
                  type: string
                  description: 'Carrier id'
                  example: 1
                  nullable: false
                sale_end_time_before_departure:
                  type: integer
                  description: 'Sale end time before departure'
                  example: 15
                  nullable: false
              required:
                - bus_route_id
                - bus_id
                - driver_id
                - dispatcher_id
                - status
                - payment_time
                - sale_depth
                - number_of_seats
                - seat_selection_allowed
                - seat_selection_not_allowed_date_from
                - seat_selection_not_allowed_date_to
                - without_companion
                - currencies
                - forbidden_sale_date_from
                - forbidden_sale_date_to
                - payment_methods
                - min_price
                - carrier_name
                - carrier_id
                - sale_end_time_before_departure
    delete:
      summary: 'Delete bus flight'
      operationId: deleteBusFlight
      description: 'Delete bus flight'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Bus flight'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{id}/payment-info':
    get:
      summary: 'Get payment info'
      operationId: getPaymentInfo
      description: 'Get payment info'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  cache_register_data:
                    -
                      total_price: 100
                      currency:
                        - id
                        - display_name
                  spent_data:
                    -
                      total_price: 100
                      currency:
                        - id
                        - display_name
                  driver_money_data:
                    -
                      total_price: 100
                      currency:
                        - id
                        - display_name
                properties:
                  cache_register_data:
                    type: array
                    example:
                      -
                        total_price: 100
                        currency:
                          - id
                          - display_name
                    items:
                      type: object
                      properties:
                        total_price:
                          type: integer
                          example: 100
                        currency:
                          type: array
                          example:
                            - id
                            - display_name
                          items:
                            type: string
                  spent_data:
                    type: array
                    example:
                      -
                        total_price: 100
                        currency:
                          - id
                          - display_name
                    items:
                      type: object
                      properties:
                        total_price:
                          type: integer
                          example: 100
                        currency:
                          type: array
                          example:
                            - id
                            - display_name
                          items:
                            type: string
                  driver_money_data:
                    type: array
                    example:
                      -
                        total_price: 100
                        currency:
                          - id
                          - display_name
                    items:
                      type: object
                      properties:
                        total_price:
                          type: integer
                          example: 100
                        currency:
                          type: array
                          example:
                            - id
                            - display_name
                          items:
                            type: string
      tags:
        - 'Bus flight'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight_id}/occupied-seats':
    get:
      summary: 'Get all occupied seats for a bus flight'
      operationId: getAllOccupiedSeatsForABusFlight
      description: ''
      parameters:
        -
          in: query
          name: from_departure_point_id
          description: 'Filter by departure point ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Filter by departure point ID'
            example: 1
            nullable: false
        -
          in: query
          name: to_departure_point_id
          description: 'Filter by arrival point ID'
          example: 2
          required: true
          schema:
            type: integer
            description: 'Filter by arrival point ID'
            example: 2
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 22
                      bus_flight_id: 207
                      from_departure_point_id: 87
                      to_departure_point_id: 88
                      seat_number: 9
                      type: reserved
                      created_at: '2024-01-25T07:57:29.000000Z'
                      updated_at: '2024-02-19T12:32:03.000000Z'
                    -
                      id: 22
                      bus_flight_id: 207
                      from_departure_point_id: 87
                      to_departure_point_id: 88
                      seat_number: 9
                      type: reserved
                      created_at: '2024-01-25T07:57:29.000000Z'
                      updated_at: '2024-02-19T12:32:03.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 22
                        bus_flight_id: 207
                        from_departure_point_id: 87
                        to_departure_point_id: 88
                        seat_number: 9
                        type: reserved
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2024-02-19T12:32:03.000000Z'
                      -
                        id: 22
                        bus_flight_id: 207
                        from_departure_point_id: 87
                        to_departure_point_id: 88
                        seat_number: 9
                        type: reserved
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2024-02-19T12:32:03.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 22
                        bus_flight_id:
                          type: integer
                          example: 207
                        from_departure_point_id:
                          type: integer
                          example: 87
                        to_departure_point_id:
                          type: integer
                          example: 88
                        seat_number:
                          type: integer
                          example: 9
                        type:
                          type: string
                          example: reserved
                        created_at:
                          type: string
                          example: '2024-01-25T07:57:29.000000Z'
                        updated_at:
                          type: string
                          example: '2024-02-19T12:32:03.000000Z'
      tags:
        - 'Bus flight'
      security: []
    post:
      summary: 'Store special an occupied seat for a bus flight'
      operationId: storeSpecialAnOccupiedSeatForABusFlight
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    bus_flight_id: 207
                    from_departure_point_id: 87
                    to_departure_point_id: 88
                    seat_number: 9
                    type: reserved
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2024-02-19T12:32:03.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      bus_flight_id:
                        type: integer
                        example: 207
                      from_departure_point_id:
                        type: integer
                        example: 87
                      to_departure_point_id:
                        type: integer
                        example: 88
                      seat_number:
                        type: integer
                        example: 9
                      type:
                        type: string
                        example: reserved
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2024-02-19T12:32:03.000000Z'
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                from_departure_point_id:
                  type: integer
                  description: 'Filter by departure point ID'
                  example: 1
                  nullable: false
                to_departure_point_id:
                  type: integer
                  description: 'Filter by arrival point ID'
                  example: 2
                  nullable: false
                seat_number:
                  type: integer
                  description: 'Seat numbers'
                  example: 1
                  nullable: false
              required:
                - from_departure_point_id
                - to_departure_point_id
                - seat_number
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight_id}/occupied-seats/{occupied_seat_id}':
    delete:
      summary: 'Delete special an occupied seat for a bus flight'
      operationId: deleteSpecialAnOccupiedSeatForABusFlight
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Bus flight'
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: occupied_seat_id
        description: 'The ID of the occupied seat.'
        example: veniam
        required: true
        schema:
          type: string
  /api/entity-alias:
    get:
      summary: 'Get entity aliases'
      operationId: getEntityAliases
      description: ''
      parameters:
        -
          in: query
          name: entity_type
          description: '(departure_point, bus_route)'
          example: bus_route
          required: true
          schema:
            type: string
            description: '(departure_point, bus_route)'
            example: bus_route
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      entity_type: App\Models\BusRoute
                      entity_id: 83
                      alias: 'Dnipro - Poznan (Szczecin)'
                      created_at: '2024-04-19T09:21:03.000000Z'
                      updated_at: '2024-04-19T09:21:03.000000Z'
                    -
                      id: 1
                      entity_type: App\Models\BusRoute
                      entity_id: 83
                      alias: 'Dnipro - Poznan (Szczecin)'
                      created_at: '2024-04-19T09:21:03.000000Z'
                      updated_at: '2024-04-19T09:21:03.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        entity_type: App\Models\BusRoute
                        entity_id: 83
                        alias: 'Dnipro - Poznan (Szczecin)'
                        created_at: '2024-04-19T09:21:03.000000Z'
                        updated_at: '2024-04-19T09:21:03.000000Z'
                      -
                        id: 1
                        entity_type: App\Models\BusRoute
                        entity_id: 83
                        alias: 'Dnipro - Poznan (Szczecin)'
                        created_at: '2024-04-19T09:21:03.000000Z'
                        updated_at: '2024-04-19T09:21:03.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        entity_type:
                          type: string
                          example: App\Models\BusRoute
                        entity_id:
                          type: integer
                          example: 83
                        alias:
                          type: string
                          example: 'Dnipro - Poznan (Szczecin)'
                        created_at:
                          type: string
                          example: '2024-04-19T09:21:03.000000Z'
                        updated_at:
                          type: string
                          example: '2024-04-19T09:21:03.000000Z'
      tags:
        - 'Bus flight'
    post:
      summary: 'Create entity alias'
      operationId: createEntityAlias
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    entity_type: App\Models\BusRoute
                    entity_id: 83
                    alias: 'Dnipro - Poznan (Szczecin)'
                    created_at: '2024-04-19T09:21:03.000000Z'
                    updated_at: '2024-04-19T09:21:03.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      entity_type:
                        type: string
                        example: App\Models\BusRoute
                      entity_id:
                        type: integer
                        example: 83
                      alias:
                        type: string
                        example: 'Dnipro - Poznan (Szczecin)'
                      created_at:
                        type: string
                        example: '2024-04-19T09:21:03.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-19T09:21:03.000000Z'
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                entity_type:
                  type: string
                  description: '(departure_point, bus_route)'
                  example: bus_route
                  nullable: false
                entity_id:
                  type: integer
                  description: 'Entity ID'
                  example: 1
                  nullable: false
                alias:
                  type: string
                  description: Alias
                  example: bus-1
                  nullable: false
              required:
                - entity_type
                - entity_id
                - alias
  '/api/entity-alias/{alias_id}':
    patch:
      summary: 'Update entity alias'
      operationId: updateEntityAlias
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    entity_type: App\Models\BusRoute
                    entity_id: 83
                    alias: 'Dnipro - Poznan (Szczecin)'
                    created_at: '2024-04-19T09:21:03.000000Z'
                    updated_at: '2024-04-19T09:21:03.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      entity_type:
                        type: string
                        example: App\Models\BusRoute
                      entity_id:
                        type: integer
                        example: 83
                      alias:
                        type: string
                        example: 'Dnipro - Poznan (Szczecin)'
                      created_at:
                        type: string
                        example: '2024-04-19T09:21:03.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-19T09:21:03.000000Z'
      tags:
        - 'Bus flight'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                alias:
                  type: string
                  description: Alias
                  example: bus-1
                  nullable: false
              required:
                - alias
    delete:
      summary: 'Delete entity alias'
      operationId: deleteEntityAlias
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Bus flight'
    parameters:
      -
        in: path
        name: alias_id
        description: 'The ID of the alias.'
        example: 1
        required: true
        schema:
          type: integer
  /api/unresolved-entity-alias:
    get:
      summary: 'Get unresolved entity aliases'
      operationId: getUnresolvedEntityAliases
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 460
                      entity_type: App\Models\BusRoute
                      alias: Culpa.
                      source: octobus
                      created_at: '2025-12-09T14:41:17.000000Z'
                      updated_at: '2025-12-09T14:41:17.000000Z'
                      deleted_at: null
                    -
                      id: 461
                      entity_type: App\Models\BusRoute
                      alias: 'Et sit.'
                      source: euroticket
                      created_at: '2025-12-09T14:41:17.000000Z'
                      updated_at: '2025-12-09T14:41:17.000000Z'
                      deleted_at: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 460
                        entity_type: App\Models\BusRoute
                        alias: Culpa.
                        source: octobus
                        created_at: '2025-12-09T14:41:17.000000Z'
                        updated_at: '2025-12-09T14:41:17.000000Z'
                        deleted_at: null
                      -
                        id: 461
                        entity_type: App\Models\BusRoute
                        alias: 'Et sit.'
                        source: euroticket
                        created_at: '2025-12-09T14:41:17.000000Z'
                        updated_at: '2025-12-09T14:41:17.000000Z'
                        deleted_at: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 460
                        entity_type:
                          type: string
                          example: App\Models\BusRoute
                        alias:
                          type: string
                          example: Culpa.
                        source:
                          type: string
                          example: octobus
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:17.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:17.000000Z'
                        deleted_at:
                          type: string
                          example: null
      tags:
        - 'Bus flight'
  '/api/unresolved-entity-alias/{alias}':
    delete:
      summary: 'Delete unresolved entity alias'
      operationId: deleteUnresolvedEntityAlias
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Bus flight'
    parameters:
      -
        in: path
        name: alias
        description: ''
        example: 14
        required: true
        schema:
          type: integer
  '/api/unresolved-entity-alias/{alias_id}/resolve':
    patch:
      summary: 'Resolve unresolved entity alias'
      operationId: resolveUnresolvedEntityAlias
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Bus flight'
    parameters:
      -
        in: path
        name: alias_id
        description: 'The ID of the alias.'
        example: 14
        required: true
        schema:
          type: integer
  /api/bus-routes:
    get:
      summary: 'Get all bus routes'
      operationId: getAllBusRoutes
      description: 'Get all bus routes'
      parameters:
        -
          in: query
          name: page
          description: 'Page number'
          example: 1
          required: true
          schema:
            type: string
            description: 'Page number'
            example: 1
            nullable: false
        -
          in: query
          name: search
          description: 'Search string'
          example: '000 111'
          required: true
          schema:
            type: string
            description: 'Search string'
            example: '000 111'
            nullable: false
        -
          in: query
          name: status
          description: Status
          example: active
          required: true
          schema:
            type: string
            description: Status
            example: active
            nullable: false
        -
          in: query
          name: city_from_id
          description: 'City from ID'
          example: 1
          required: true
          schema:
            type: string
            description: 'City from ID'
            example: 1
            nullable: false
        -
          in: query
          name: city_to_id
          description: 'City to ID'
          example: 2
          required: true
          schema:
            type: string
            description: 'City to ID'
            example: 2
            nullable: false
        -
          in: query
          name: departure_date
          description: 'Departure date'
          example: '2021-01-01'
          required: true
          schema:
            type: string
            description: 'Departure date'
            example: '2021-01-01'
            nullable: false
        -
          in: query
          name: from_departure_point_id
          description: 'From departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'From departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: to_departure_point_id
          description: 'To departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'To departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: without_connecting
          description: 'Without connection'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Without connection'
            example: 1
            nullable: false
        -
          in: query
          name: include_schedule
          description: 'Include bus route schedule'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Include bus route schedule'
            example: 1
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 82
                      number: HH001
                      name: Харьков-Гамбург
                      ticket_hint: null
                      translations:
                        name:
                          ua: Харків-Гановер
                          pl: Charkow-Hamburg
                          en: Kharkiv-Hamburg
                          ru: Харьков-Гамбург
                        ticket_hint: []
                      sale_end_time_before_departure: 0
                      status: active
                      city_from:
                        id: 4858
                        name: Харьков
                        translations:
                          name:
                            ua: Харків
                            pl: Charków
                            en: Харьков
                            ru: Харьков
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 6
                        created_at: '2024-02-03T09:07:54.000000Z'
                        updated_at: '2025-07-17T07:07:04.000000Z'
                      city_to:
                        id: 4857
                        name: Гамбург
                        translations:
                          name:
                            ua: Гамбург
                            pl: Hamburg
                            en: Гамбург
                            ru: Гамбург
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 8
                        created_at: '2024-02-03T09:06:36.000000Z'
                        updated_at: '2025-07-17T07:07:04.000000Z'
                      user:
                        id: 1
                        first_name: Eladio
                        last_name: Weber
                        middle_name: Lazaro
                        full_name: 'Eladio Weber Lazaro'
                        work_phone: null
                        gender: null
                        birthday: null
                        name: 'Herta Jast'
                        phone: +1-667-744-6598
                        email: admin@admin.com
                        subscribe_to_newsletter: false
                        status: new
                        need_change_password: true
                        percent_of_withdrawal: 0
                        percent_of_discount: 0
                        send_sms_order_post_payment_link: true
                        created_at: '2023-10-27T07:45:00.000000Z'
                        updated_at: '2024-03-12T18:49:24.000000Z'
                      carrier_name: null
                      payment_time: 15
                      sale_depth: 30
                      flight_generation_depth: 30
                      number_of_seats: 57
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      without_companion_price: 0
                      min_price: null
                      forbidden_sale_date_from: null
                      forbidden_sale_date_to: null
                      created_at: '2024-02-03T11:27:43.000000Z'
                      updated_at: '2024-04-19T06:50:53.000000Z'
                    -
                      id: 82
                      number: HH001
                      name: Харьков-Гамбург
                      ticket_hint: null
                      translations:
                        name:
                          ua: Харків-Гановер
                          pl: Charkow-Hamburg
                          en: Kharkiv-Hamburg
                          ru: Харьков-Гамбург
                        ticket_hint: []
                      sale_end_time_before_departure: 0
                      status: active
                      city_from:
                        id: 4858
                        name: Харьков
                        translations:
                          name:
                            ua: Харків
                            pl: Charków
                            en: Харьков
                            ru: Харьков
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 6
                        created_at: '2024-02-03T09:07:54.000000Z'
                        updated_at: '2025-07-17T07:07:04.000000Z'
                      city_to:
                        id: 4857
                        name: Гамбург
                        translations:
                          name:
                            ua: Гамбург
                            pl: Hamburg
                            en: Гамбург
                            ru: Гамбург
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 8
                        created_at: '2024-02-03T09:06:36.000000Z'
                        updated_at: '2025-07-17T07:07:04.000000Z'
                      user:
                        id: 1
                        first_name: Eladio
                        last_name: Weber
                        middle_name: Lazaro
                        full_name: 'Eladio Weber Lazaro'
                        work_phone: null
                        gender: null
                        birthday: null
                        name: 'Herta Jast'
                        phone: +1-667-744-6598
                        email: admin@admin.com
                        subscribe_to_newsletter: false
                        status: new
                        need_change_password: true
                        percent_of_withdrawal: 0
                        percent_of_discount: 0
                        send_sms_order_post_payment_link: true
                        created_at: '2023-10-27T07:45:00.000000Z'
                        updated_at: '2024-03-12T18:49:24.000000Z'
                      carrier_name: null
                      payment_time: 15
                      sale_depth: 30
                      flight_generation_depth: 30
                      number_of_seats: 57
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      without_companion_price: 0
                      min_price: null
                      forbidden_sale_date_from: null
                      forbidden_sale_date_to: null
                      created_at: '2024-02-03T11:27:43.000000Z'
                      updated_at: '2024-04-19T06:50:53.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 82
                        number: HH001
                        name: Харьков-Гамбург
                        ticket_hint: null
                        translations:
                          name:
                            ua: Харків-Гановер
                            pl: Charkow-Hamburg
                            en: Kharkiv-Hamburg
                            ru: Харьков-Гамбург
                          ticket_hint: []
                        sale_end_time_before_departure: 0
                        status: active
                        city_from:
                          id: 4858
                          name: Харьков
                          translations:
                            name:
                              ua: Харків
                              pl: Charków
                              en: Харьков
                              ru: Харьков
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2024-02-03T09:07:54.000000Z'
                          updated_at: '2025-07-17T07:07:04.000000Z'
                        city_to:
                          id: 4857
                          name: Гамбург
                          translations:
                            name:
                              ua: Гамбург
                              pl: Hamburg
                              en: Гамбург
                              ru: Гамбург
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 8
                          created_at: '2024-02-03T09:06:36.000000Z'
                          updated_at: '2025-07-17T07:07:04.000000Z'
                        user:
                          id: 1
                          first_name: Eladio
                          last_name: Weber
                          middle_name: Lazaro
                          full_name: 'Eladio Weber Lazaro'
                          work_phone: null
                          gender: null
                          birthday: null
                          name: 'Herta Jast'
                          phone: +1-667-744-6598
                          email: admin@admin.com
                          subscribe_to_newsletter: false
                          status: new
                          need_change_password: true
                          percent_of_withdrawal: 0
                          percent_of_discount: 0
                          send_sms_order_post_payment_link: true
                          created_at: '2023-10-27T07:45:00.000000Z'
                          updated_at: '2024-03-12T18:49:24.000000Z'
                        carrier_name: null
                        payment_time: 15
                        sale_depth: 30
                        flight_generation_depth: 30
                        number_of_seats: 57
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        without_companion_price: 0
                        min_price: null
                        forbidden_sale_date_from: null
                        forbidden_sale_date_to: null
                        created_at: '2024-02-03T11:27:43.000000Z'
                        updated_at: '2024-04-19T06:50:53.000000Z'
                      -
                        id: 82
                        number: HH001
                        name: Харьков-Гамбург
                        ticket_hint: null
                        translations:
                          name:
                            ua: Харків-Гановер
                            pl: Charkow-Hamburg
                            en: Kharkiv-Hamburg
                            ru: Харьков-Гамбург
                          ticket_hint: []
                        sale_end_time_before_departure: 0
                        status: active
                        city_from:
                          id: 4858
                          name: Харьков
                          translations:
                            name:
                              ua: Харків
                              pl: Charków
                              en: Харьков
                              ru: Харьков
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2024-02-03T09:07:54.000000Z'
                          updated_at: '2025-07-17T07:07:04.000000Z'
                        city_to:
                          id: 4857
                          name: Гамбург
                          translations:
                            name:
                              ua: Гамбург
                              pl: Hamburg
                              en: Гамбург
                              ru: Гамбург
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 8
                          created_at: '2024-02-03T09:06:36.000000Z'
                          updated_at: '2025-07-17T07:07:04.000000Z'
                        user:
                          id: 1
                          first_name: Eladio
                          last_name: Weber
                          middle_name: Lazaro
                          full_name: 'Eladio Weber Lazaro'
                          work_phone: null
                          gender: null
                          birthday: null
                          name: 'Herta Jast'
                          phone: +1-667-744-6598
                          email: admin@admin.com
                          subscribe_to_newsletter: false
                          status: new
                          need_change_password: true
                          percent_of_withdrawal: 0
                          percent_of_discount: 0
                          send_sms_order_post_payment_link: true
                          created_at: '2023-10-27T07:45:00.000000Z'
                          updated_at: '2024-03-12T18:49:24.000000Z'
                        carrier_name: null
                        payment_time: 15
                        sale_depth: 30
                        flight_generation_depth: 30
                        number_of_seats: 57
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        without_companion_price: 0
                        min_price: null
                        forbidden_sale_date_from: null
                        forbidden_sale_date_to: null
                        created_at: '2024-02-03T11:27:43.000000Z'
                        updated_at: '2024-04-19T06:50:53.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 82
                        number:
                          type: string
                          example: HH001
                        name:
                          type: string
                          example: Харьков-Гамбург
                        ticket_hint:
                          type: string
                          example: null
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                ua:
                                  type: string
                                  example: Харків-Гановер
                                pl:
                                  type: string
                                  example: Charkow-Hamburg
                                en:
                                  type: string
                                  example: Kharkiv-Hamburg
                                ru:
                                  type: string
                                  example: Харьков-Гамбург
                            ticket_hint:
                              type: array
                              example: []
                        sale_end_time_before_departure:
                          type: integer
                          example: 0
                        status:
                          type: string
                          example: active
                        city_from:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 4858
                            name:
                              type: string
                              example: Харьков
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: Харків
                                    pl:
                                      type: string
                                      example: Charków
                                    en:
                                      type: string
                                      example: Харьков
                                    ru:
                                      type: string
                                      example: Харьков
                            population:
                              type: string
                              example: null
                            number_of_bus_routes:
                              type: integer
                              example: 0
                            visibility:
                              type: boolean
                              example: true
                            country_id:
                              type: integer
                              example: 6
                            created_at:
                              type: string
                              example: '2024-02-03T09:07:54.000000Z'
                            updated_at:
                              type: string
                              example: '2025-07-17T07:07:04.000000Z'
                        city_to:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 4857
                            name:
                              type: string
                              example: Гамбург
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: Гамбург
                                    pl:
                                      type: string
                                      example: Hamburg
                                    en:
                                      type: string
                                      example: Гамбург
                                    ru:
                                      type: string
                                      example: Гамбург
                            population:
                              type: string
                              example: null
                            number_of_bus_routes:
                              type: integer
                              example: 0
                            visibility:
                              type: boolean
                              example: true
                            country_id:
                              type: integer
                              example: 8
                            created_at:
                              type: string
                              example: '2024-02-03T09:06:36.000000Z'
                            updated_at:
                              type: string
                              example: '2025-07-17T07:07:04.000000Z'
                        user:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            first_name:
                              type: string
                              example: Eladio
                            last_name:
                              type: string
                              example: Weber
                            middle_name:
                              type: string
                              example: Lazaro
                            full_name:
                              type: string
                              example: 'Eladio Weber Lazaro'
                            work_phone:
                              type: string
                              example: null
                            gender:
                              type: string
                              example: null
                            birthday:
                              type: string
                              example: null
                            name:
                              type: string
                              example: 'Herta Jast'
                            phone:
                              type: string
                              example: +1-667-744-6598
                            email:
                              type: string
                              example: admin@admin.com
                            subscribe_to_newsletter:
                              type: boolean
                              example: false
                            status:
                              type: string
                              example: new
                            need_change_password:
                              type: boolean
                              example: true
                            percent_of_withdrawal:
                              type: integer
                              example: 0
                            percent_of_discount:
                              type: integer
                              example: 0
                            send_sms_order_post_payment_link:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-10-27T07:45:00.000000Z'
                            updated_at:
                              type: string
                              example: '2024-03-12T18:49:24.000000Z'
                        carrier_name:
                          type: string
                          example: null
                        payment_time:
                          type: integer
                          example: 15
                        sale_depth:
                          type: integer
                          example: 30
                        flight_generation_depth:
                          type: integer
                          example: 30
                        number_of_seats:
                          type: integer
                          example: 57
                        seat_selection_allowed:
                          type: boolean
                          example: true
                        seat_selection_not_allowed_date_from:
                          type: string
                          example: null
                        seat_selection_not_allowed_date_to:
                          type: string
                          example: null
                        without_companion:
                          type: boolean
                          example: true
                        without_companion_price:
                          type: integer
                          example: 0
                        min_price:
                          type: string
                          example: null
                        forbidden_sale_date_from:
                          type: string
                          example: null
                        forbidden_sale_date_to:
                          type: string
                          example: null
                        created_at:
                          type: string
                          example: '2024-02-03T11:27:43.000000Z'
                        updated_at:
                          type: string
                          example: '2024-04-19T06:50:53.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'Bus route'
    post:
      summary: 'Create bus route'
      operationId: createBusRoute
      description: 'Create bus route'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 82
                    number: HH001
                    name: Харьков-Гамбург
                    ticket_hint: null
                    translations:
                      name:
                        ua: Харків-Гановер
                        pl: Charkow-Hamburg
                        en: Kharkiv-Hamburg
                        ru: Харьков-Гамбург
                      ticket_hint: []
                    sale_end_time_before_departure: 0
                    status: active
                    city_from:
                      id: 4858
                      name: Харьков
                      translations:
                        name:
                          ua: Харків
                          pl: Charków
                          en: Харьков
                          ru: Харьков
                      population: null
                      number_of_bus_routes: 0
                      visibility: true
                      country_id: 6
                      created_at: '2024-02-03T09:07:54.000000Z'
                      updated_at: '2025-07-17T07:07:04.000000Z'
                    city_to:
                      id: 4857
                      name: Гамбург
                      translations:
                        name:
                          ua: Гамбург
                          pl: Hamburg
                          en: Гамбург
                          ru: Гамбург
                      population: null
                      number_of_bus_routes: 0
                      visibility: true
                      country_id: 8
                      created_at: '2024-02-03T09:06:36.000000Z'
                      updated_at: '2025-07-17T07:07:04.000000Z'
                    user:
                      id: 1
                      first_name: Eladio
                      last_name: Weber
                      middle_name: Lazaro
                      full_name: 'Eladio Weber Lazaro'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Herta Jast'
                      phone: +1-667-744-6598
                      email: admin@admin.com
                      subscribe_to_newsletter: false
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2023-10-27T07:45:00.000000Z'
                      updated_at: '2024-03-12T18:49:24.000000Z'
                    carrier_name: null
                    payment_time: 15
                    sale_depth: 30
                    flight_generation_depth: 30
                    number_of_seats: 57
                    seat_selection_allowed: true
                    seat_selection_not_allowed_date_from: null
                    seat_selection_not_allowed_date_to: null
                    without_companion: true
                    without_companion_price: 0
                    min_price: null
                    forbidden_sale_date_from: null
                    forbidden_sale_date_to: null
                    created_at: '2024-02-03T11:27:43.000000Z'
                    updated_at: '2024-04-19T06:50:53.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 82
                      number:
                        type: string
                        example: HH001
                      name:
                        type: string
                        example: Харьков-Гамбург
                      ticket_hint:
                        type: string
                        example: null
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              ua:
                                type: string
                                example: Харків-Гановер
                              pl:
                                type: string
                                example: Charkow-Hamburg
                              en:
                                type: string
                                example: Kharkiv-Hamburg
                              ru:
                                type: string
                                example: Харьков-Гамбург
                          ticket_hint:
                            type: array
                            example: []
                      sale_end_time_before_departure:
                        type: integer
                        example: 0
                      status:
                        type: string
                        example: active
                      city_from:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 4858
                          name:
                            type: string
                            example: Харьков
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Харків
                                  pl:
                                    type: string
                                    example: Charków
                                  en:
                                    type: string
                                    example: Харьков
                                  ru:
                                    type: string
                                    example: Харьков
                          population:
                            type: string
                            example: null
                          number_of_bus_routes:
                            type: integer
                            example: 0
                          visibility:
                            type: boolean
                            example: true
                          country_id:
                            type: integer
                            example: 6
                          created_at:
                            type: string
                            example: '2024-02-03T09:07:54.000000Z'
                          updated_at:
                            type: string
                            example: '2025-07-17T07:07:04.000000Z'
                      city_to:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 4857
                          name:
                            type: string
                            example: Гамбург
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Гамбург
                                  pl:
                                    type: string
                                    example: Hamburg
                                  en:
                                    type: string
                                    example: Гамбург
                                  ru:
                                    type: string
                                    example: Гамбург
                          population:
                            type: string
                            example: null
                          number_of_bus_routes:
                            type: integer
                            example: 0
                          visibility:
                            type: boolean
                            example: true
                          country_id:
                            type: integer
                            example: 8
                          created_at:
                            type: string
                            example: '2024-02-03T09:06:36.000000Z'
                          updated_at:
                            type: string
                            example: '2025-07-17T07:07:04.000000Z'
                      user:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          first_name:
                            type: string
                            example: Eladio
                          last_name:
                            type: string
                            example: Weber
                          middle_name:
                            type: string
                            example: Lazaro
                          full_name:
                            type: string
                            example: 'Eladio Weber Lazaro'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Herta Jast'
                          phone:
                            type: string
                            example: +1-667-744-6598
                          email:
                            type: string
                            example: admin@admin.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-10-27T07:45:00.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-12T18:49:24.000000Z'
                      carrier_name:
                        type: string
                        example: null
                      payment_time:
                        type: integer
                        example: 15
                      sale_depth:
                        type: integer
                        example: 30
                      flight_generation_depth:
                        type: integer
                        example: 30
                      number_of_seats:
                        type: integer
                        example: 57
                      seat_selection_allowed:
                        type: boolean
                        example: true
                      seat_selection_not_allowed_date_from:
                        type: string
                        example: null
                      seat_selection_not_allowed_date_to:
                        type: string
                        example: null
                      without_companion:
                        type: boolean
                        example: true
                      without_companion_price:
                        type: integer
                        example: 0
                      min_price:
                        type: string
                        example: null
                      forbidden_sale_date_from:
                        type: string
                        example: null
                      forbidden_sale_date_to:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: '2024-02-03T11:27:43.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-19T06:50:53.000000Z'
      tags:
        - 'Bus route'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                number:
                  type: string
                  description: 'Bus route number'
                  example: '000 111'
                  nullable: false
                city_from_id:
                  type: string
                  description: 'City from ID'
                  example: 1
                  nullable: false
                city_to_id:
                  type: string
                  description: 'City to ID'
                  example: 2
                  nullable: false
                status:
                  type: string
                  description: Status
                  example: active
                  nullable: false
                bus_id:
                  type: integer
                  description: 'Bus id'
                  example: 1
                  nullable: false
                driver_id:
                  type: integer
                  description: 'Driver id'
                  example: 1
                  nullable: false
                dispatcher_id:
                  type: integer
                  description: 'Dispatcher id'
                  example: 1
                  nullable: false
                payment_time:
                  type: integer
                  description: 'Payment time in minutes'
                  example: 15
                  nullable: false
                sale_depth:
                  type: integer
                  description: 'Sale depth in days'
                  example: 30
                  nullable: false
                flight_generation_depth:
                  type: integer
                  description: 'Flight generation depth in days'
                  example: 30
                  nullable: false
                currencies:
                  type: array
                  description: 'Currencies ids'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
                min_price:
                  type: array
                  description: 'Min price'
                  example:
                    -
                      currency_id: 1
                      price: 100
                  items:
                    type: string
                carrier_name:
                  type: string
                  description: 'Carrier name'
                  example: 'Carrier name'
                  nullable: false
                carrier_id:
                  type: string
                  description: 'Carrier id'
                  example: 1
                  nullable: false
                name:
                  type: array
                  description: 'Bus route name'
                  example:
                    en: 'some - some'
                    ar: نيويورك
                  items:
                    type: string
                sale_end_time_before_departure:
                  type: integer
                  description: 'Sale end time before departure'
                  example: 15
                  nullable: false
              required:
                - number
                - city_from_id
                - city_to_id
                - status
                - bus_id
                - driver_id
                - dispatcher_id
                - payment_time
                - sale_depth
                - flight_generation_depth
                - currencies
                - min_price
                - carrier_name
                - carrier_id
                - name
                - sale_end_time_before_departure
  '/api/bus-routes/{bus_route_id}':
    get:
      summary: 'Show bus route'
      operationId: showBusRoute
      description: 'Get bus route'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 82
                    number: HH001
                    name: Харьков-Гамбург
                    ticket_hint: null
                    translations:
                      name:
                        ua: Харків-Гановер
                        pl: Charkow-Hamburg
                        en: Kharkiv-Hamburg
                        ru: Харьков-Гамбург
                      ticket_hint: []
                    sale_end_time_before_departure: 0
                    status: active
                    city_from:
                      id: 4858
                      name: Харьков
                      translations:
                        name:
                          ua: Харків
                          pl: Charków
                          en: Харьков
                          ru: Харьков
                      population: null
                      number_of_bus_routes: 0
                      visibility: true
                      country_id: 6
                      created_at: '2024-02-03T09:07:54.000000Z'
                      updated_at: '2025-07-17T07:07:04.000000Z'
                    city_to:
                      id: 4857
                      name: Гамбург
                      translations:
                        name:
                          ua: Гамбург
                          pl: Hamburg
                          en: Гамбург
                          ru: Гамбург
                      population: null
                      number_of_bus_routes: 0
                      visibility: true
                      country_id: 8
                      created_at: '2024-02-03T09:06:36.000000Z'
                      updated_at: '2025-07-17T07:07:04.000000Z'
                    user:
                      id: 1
                      first_name: Eladio
                      last_name: Weber
                      middle_name: Lazaro
                      full_name: 'Eladio Weber Lazaro'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Herta Jast'
                      phone: +1-667-744-6598
                      email: admin@admin.com
                      subscribe_to_newsletter: false
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2023-10-27T07:45:00.000000Z'
                      updated_at: '2024-03-12T18:49:24.000000Z'
                    bus:
                      id: 148
                      name: Автобус
                      number: 'WK 77296'
                      status: active
                      created_at: '2024-02-16T19:04:00.000000Z'
                      updated_at: '2024-05-17T18:26:50.000000Z'
                    driver:
                      id: 519
                      first_name: Петро
                      last_name: Шевченко
                      middle_name: Петрович
                      full_name: 'Петро Шевченко Петрович'
                      work_phone: '38063999999'
                      gender: null
                      birthday: null
                      name: 'Шевченко (водитель)'
                      phone: '38063999999'
                      email: driver1@admin.com
                      subscribe_to_newsletter: false
                      status: active
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: -5
                      send_sms_order_post_payment_link: true
                      created_at: '2023-11-02T12:15:46.000000Z'
                      updated_at: '2025-06-13T07:14:14.000000Z'
                    dispatcher:
                      id: 520
                      first_name: test
                      last_name: test
                      middle_name: test
                      full_name: 'test test test'
                      work_phone: '2345678'
                      gender: null
                      birthday: null
                      name: null
                      phone: '123123'
                      email: test@test.com
                      subscribe_to_newsletter: false
                      status: active
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2023-12-19T10:19:03.000000Z'
                      updated_at: '2024-12-09T14:50:47.000000Z'
                    carrier_name: null
                    payment_time: 15
                    sale_depth: 30
                    flight_generation_depth: 30
                    number_of_seats: 57
                    seat_selection_allowed: true
                    seat_selection_not_allowed_date_from: null
                    seat_selection_not_allowed_date_to: null
                    without_companion: true
                    without_companion_price: 0
                    baggage_transportation_conditions:
                      -
                        id: 208
                        name: 'Hand baggage (free)'
                        translations:
                          name:
                            ua: 'Ручна поклажа (безкоштовно)'
                            pl: 'Bagaż podręczny (bezpłatny)'
                            en: 'Hand baggage (free)'
                        prices:
                          -
                            currency_id: 88
                            price: 0
                          -
                            currency_id: 89
                            price: 0
                        created_at: '2024-02-03T11:27:43.000000Z'
                        updated_at: '2024-02-03T11:27:43.000000Z'
                    return_conditions:
                      -
                        id: 29793
                        departure_start: 72
                        departure_end: 0
                        retention_percentage: 25
                        created_at: '2025-06-13T05:58:05.000000Z'
                        updated_at: '2025-06-13T05:58:05.000000Z'
                      -
                        id: 29794
                        departure_start: 24
                        departure_end: 72
                        retention_percentage: 50
                        created_at: '2025-06-13T05:58:05.000000Z'
                        updated_at: '2025-06-13T05:58:05.000000Z'
                      -
                        id: 29795
                        departure_start: 0
                        departure_end: 24
                        retention_percentage: 100
                        created_at: '2025-06-13T05:58:05.000000Z'
                        updated_at: '2025-06-13T05:58:05.000000Z'
                    currencies:
                      -
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                      -
                        id: 91
                        display_name: Евро
                        code: EUR
                        symbol: €
                        is_active: true
                        created_at: '2024-01-17T05:26:29.000000Z'
                        updated_at: '2024-01-17T05:26:29.000000Z'
                      -
                        id: 89
                        display_name: Злотий
                        code: PLN
                        symbol: zł
                        is_active: true
                        created_at: '2023-11-02T11:58:50.000000Z'
                        updated_at: '2023-11-02T11:58:50.000000Z'
                    min_price: null
                    forbidden_sale_date_from: null
                    forbidden_sale_date_to: null
                    payment_methods:
                      -
                        id: 1
                        name: stripe
                        display_name: 'Оплата через Stripe'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 2
                        name: liqpay
                        display_name: 'Оплата через LiqPay'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 3
                        name: spot
                        display_name: 'Оплата на месте'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                    notification_settings:
                      notify_about_ticket_sales: true
                      notify_about_ticket_sales_email: officelat@ukr.net
                      notify_about_ticket_refund: true
                      notify_about_ticket_refund_email: null
                      notify_before_departure: true
                      notify_before_departure_email: null
                      notify_before_departure_time: 600
                    carrier:
                      id: 1
                      name: test
                      hotline_phone: null
                      edrpou: null
                      disclaimer: null
                      logo_url: null
                      translations:
                        disclaimer: []
                    created_at: '2024-02-03T11:27:43.000000Z'
                    updated_at: '2024-04-19T06:50:53.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 82
                      number:
                        type: string
                        example: HH001
                      name:
                        type: string
                        example: Харьков-Гамбург
                      ticket_hint:
                        type: string
                        example: null
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              ua:
                                type: string
                                example: Харків-Гановер
                              pl:
                                type: string
                                example: Charkow-Hamburg
                              en:
                                type: string
                                example: Kharkiv-Hamburg
                              ru:
                                type: string
                                example: Харьков-Гамбург
                          ticket_hint:
                            type: array
                            example: []
                      sale_end_time_before_departure:
                        type: integer
                        example: 0
                      status:
                        type: string
                        example: active
                      city_from:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 4858
                          name:
                            type: string
                            example: Харьков
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Харків
                                  pl:
                                    type: string
                                    example: Charków
                                  en:
                                    type: string
                                    example: Харьков
                                  ru:
                                    type: string
                                    example: Харьков
                          population:
                            type: string
                            example: null
                          number_of_bus_routes:
                            type: integer
                            example: 0
                          visibility:
                            type: boolean
                            example: true
                          country_id:
                            type: integer
                            example: 6
                          created_at:
                            type: string
                            example: '2024-02-03T09:07:54.000000Z'
                          updated_at:
                            type: string
                            example: '2025-07-17T07:07:04.000000Z'
                      city_to:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 4857
                          name:
                            type: string
                            example: Гамбург
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Гамбург
                                  pl:
                                    type: string
                                    example: Hamburg
                                  en:
                                    type: string
                                    example: Гамбург
                                  ru:
                                    type: string
                                    example: Гамбург
                          population:
                            type: string
                            example: null
                          number_of_bus_routes:
                            type: integer
                            example: 0
                          visibility:
                            type: boolean
                            example: true
                          country_id:
                            type: integer
                            example: 8
                          created_at:
                            type: string
                            example: '2024-02-03T09:06:36.000000Z'
                          updated_at:
                            type: string
                            example: '2025-07-17T07:07:04.000000Z'
                      user:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          first_name:
                            type: string
                            example: Eladio
                          last_name:
                            type: string
                            example: Weber
                          middle_name:
                            type: string
                            example: Lazaro
                          full_name:
                            type: string
                            example: 'Eladio Weber Lazaro'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Herta Jast'
                          phone:
                            type: string
                            example: +1-667-744-6598
                          email:
                            type: string
                            example: admin@admin.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-10-27T07:45:00.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-12T18:49:24.000000Z'
                      bus:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 148
                          name:
                            type: string
                            example: Автобус
                          number:
                            type: string
                            example: 'WK 77296'
                          status:
                            type: string
                            example: active
                          created_at:
                            type: string
                            example: '2024-02-16T19:04:00.000000Z'
                          updated_at:
                            type: string
                            example: '2024-05-17T18:26:50.000000Z'
                      driver:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 519
                          first_name:
                            type: string
                            example: Петро
                          last_name:
                            type: string
                            example: Шевченко
                          middle_name:
                            type: string
                            example: Петрович
                          full_name:
                            type: string
                            example: 'Петро Шевченко Петрович'
                          work_phone:
                            type: string
                            example: '38063999999'
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Шевченко (водитель)'
                          phone:
                            type: string
                            example: '38063999999'
                          email:
                            type: string
                            example: driver1@admin.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: active
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: -5
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T12:15:46.000000Z'
                          updated_at:
                            type: string
                            example: '2025-06-13T07:14:14.000000Z'
                      dispatcher:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 520
                          first_name:
                            type: string
                            example: test
                          last_name:
                            type: string
                            example: test
                          middle_name:
                            type: string
                            example: test
                          full_name:
                            type: string
                            example: 'test test test'
                          work_phone:
                            type: string
                            example: '2345678'
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: null
                          phone:
                            type: string
                            example: '123123'
                          email:
                            type: string
                            example: test@test.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: active
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-12-19T10:19:03.000000Z'
                          updated_at:
                            type: string
                            example: '2024-12-09T14:50:47.000000Z'
                      carrier_name:
                        type: string
                        example: null
                      payment_time:
                        type: integer
                        example: 15
                      sale_depth:
                        type: integer
                        example: 30
                      flight_generation_depth:
                        type: integer
                        example: 30
                      number_of_seats:
                        type: integer
                        example: 57
                      seat_selection_allowed:
                        type: boolean
                        example: true
                      seat_selection_not_allowed_date_from:
                        type: string
                        example: null
                      seat_selection_not_allowed_date_to:
                        type: string
                        example: null
                      without_companion:
                        type: boolean
                        example: true
                      without_companion_price:
                        type: integer
                        example: 0
                      baggage_transportation_conditions:
                        type: array
                        example:
                          -
                            id: 208
                            name: 'Hand baggage (free)'
                            translations:
                              name:
                                ua: 'Ручна поклажа (безкоштовно)'
                                pl: 'Bagaż podręczny (bezpłatny)'
                                en: 'Hand baggage (free)'
                            prices:
                              -
                                currency_id: 88
                                price: 0
                              -
                                currency_id: 89
                                price: 0
                            created_at: '2024-02-03T11:27:43.000000Z'
                            updated_at: '2024-02-03T11:27:43.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 208
                            name:
                              type: string
                              example: 'Hand baggage (free)'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Ручна поклажа (безкоштовно)'
                                    pl:
                                      type: string
                                      example: 'Bagaż podręczny (bezpłatny)'
                                    en:
                                      type: string
                                      example: 'Hand baggage (free)'
                            prices:
                              type: array
                              example:
                                -
                                  currency_id: 88
                                  price: 0
                                -
                                  currency_id: 89
                                  price: 0
                              items:
                                type: object
                                properties:
                                  currency_id:
                                    type: integer
                                    example: 88
                                  price:
                                    type: integer
                                    example: 0
                            created_at:
                              type: string
                              example: '2024-02-03T11:27:43.000000Z'
                            updated_at:
                              type: string
                              example: '2024-02-03T11:27:43.000000Z'
                      return_conditions:
                        type: array
                        example:
                          -
                            id: 29793
                            departure_start: 72
                            departure_end: 0
                            retention_percentage: 25
                            created_at: '2025-06-13T05:58:05.000000Z'
                            updated_at: '2025-06-13T05:58:05.000000Z'
                          -
                            id: 29794
                            departure_start: 24
                            departure_end: 72
                            retention_percentage: 50
                            created_at: '2025-06-13T05:58:05.000000Z'
                            updated_at: '2025-06-13T05:58:05.000000Z'
                          -
                            id: 29795
                            departure_start: 0
                            departure_end: 24
                            retention_percentage: 100
                            created_at: '2025-06-13T05:58:05.000000Z'
                            updated_at: '2025-06-13T05:58:05.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 29793
                            departure_start:
                              type: integer
                              example: 72
                            departure_end:
                              type: integer
                              example: 0
                            retention_percentage:
                              type: integer
                              example: 25
                            created_at:
                              type: string
                              example: '2025-06-13T05:58:05.000000Z'
                            updated_at:
                              type: string
                              example: '2025-06-13T05:58:05.000000Z'
                      currencies:
                        type: array
                        example:
                          -
                            id: 88
                            display_name: Гривня
                            code: UAH
                            symbol: ₴
                            is_active: true
                            created_at: '2023-11-02T11:57:10.000000Z'
                            updated_at: '2023-11-02T11:57:10.000000Z'
                          -
                            id: 91
                            display_name: Евро
                            code: EUR
                            symbol: €
                            is_active: true
                            created_at: '2024-01-17T05:26:29.000000Z'
                            updated_at: '2024-01-17T05:26:29.000000Z'
                          -
                            id: 89
                            display_name: Злотий
                            code: PLN
                            symbol: zł
                            is_active: true
                            created_at: '2023-11-02T11:58:50.000000Z'
                            updated_at: '2023-11-02T11:58:50.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 88
                            display_name:
                              type: string
                              example: Гривня
                            code:
                              type: string
                              example: UAH
                            symbol:
                              type: string
                              example: ₴
                            is_active:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                      min_price:
                        type: string
                        example: null
                      forbidden_sale_date_from:
                        type: string
                        example: null
                      forbidden_sale_date_to:
                        type: string
                        example: null
                      payment_methods:
                        type: array
                        example:
                          -
                            id: 1
                            name: stripe
                            display_name: 'Оплата через Stripe'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 2
                            name: liqpay
                            display_name: 'Оплата через LiqPay'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 3
                            name: spot
                            display_name: 'Оплата на месте'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: stripe
                            display_name:
                              type: string
                              example: 'Оплата через Stripe'
                            logo_path:
                              type: string
                              example: null
                            created_at:
                              type: string
                              example: '2023-10-27T07:44:26.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-03T07:53:11.000000Z'
                      notification_settings:
                        type: object
                        properties:
                          notify_about_ticket_sales:
                            type: boolean
                            example: true
                          notify_about_ticket_sales_email:
                            type: string
                            example: officelat@ukr.net
                          notify_about_ticket_refund:
                            type: boolean
                            example: true
                          notify_about_ticket_refund_email:
                            type: string
                            example: null
                          notify_before_departure:
                            type: boolean
                            example: true
                          notify_before_departure_email:
                            type: string
                            example: null
                          notify_before_departure_time:
                            type: integer
                            example: 600
                      carrier:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: test
                          hotline_phone:
                            type: string
                            example: null
                          edrpou:
                            type: string
                            example: null
                          disclaimer:
                            type: string
                            example: null
                          logo_url:
                            type: string
                            example: null
                          translations:
                            type: object
                            properties:
                              disclaimer:
                                type: array
                                example: []
                      created_at:
                        type: string
                        example: '2024-02-03T11:27:43.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-19T06:50:53.000000Z'
      tags:
        - 'Bus route'
    patch:
      summary: 'Update bus route'
      operationId: updateBusRoute
      description: 'Get bus route'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 82
                    number: HH001
                    name: Харьков-Гамбург
                    ticket_hint: null
                    translations:
                      name:
                        ua: Харків-Гановер
                        pl: Charkow-Hamburg
                        en: Kharkiv-Hamburg
                        ru: Харьков-Гамбург
                      ticket_hint: []
                    sale_end_time_before_departure: 0
                    status: active
                    city_from:
                      id: 4858
                      name: Харьков
                      translations:
                        name:
                          ua: Харків
                          pl: Charków
                          en: Харьков
                          ru: Харьков
                      population: null
                      number_of_bus_routes: 0
                      visibility: true
                      country_id: 6
                      created_at: '2024-02-03T09:07:54.000000Z'
                      updated_at: '2025-07-17T07:07:04.000000Z'
                    city_to:
                      id: 4857
                      name: Гамбург
                      translations:
                        name:
                          ua: Гамбург
                          pl: Hamburg
                          en: Гамбург
                          ru: Гамбург
                      population: null
                      number_of_bus_routes: 0
                      visibility: true
                      country_id: 8
                      created_at: '2024-02-03T09:06:36.000000Z'
                      updated_at: '2025-07-17T07:07:04.000000Z'
                    user:
                      id: 1
                      first_name: Eladio
                      last_name: Weber
                      middle_name: Lazaro
                      full_name: 'Eladio Weber Lazaro'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Herta Jast'
                      phone: +1-667-744-6598
                      email: admin@admin.com
                      subscribe_to_newsletter: false
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2023-10-27T07:45:00.000000Z'
                      updated_at: '2024-03-12T18:49:24.000000Z'
                    bus:
                      id: 148
                      name: Автобус
                      number: 'WK 77296'
                      status: active
                      created_at: '2024-02-16T19:04:00.000000Z'
                      updated_at: '2024-05-17T18:26:50.000000Z'
                    driver:
                      id: 519
                      first_name: Петро
                      last_name: Шевченко
                      middle_name: Петрович
                      full_name: 'Петро Шевченко Петрович'
                      work_phone: '38063999999'
                      gender: null
                      birthday: null
                      name: 'Шевченко (водитель)'
                      phone: '38063999999'
                      email: driver1@admin.com
                      subscribe_to_newsletter: false
                      status: active
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: -5
                      send_sms_order_post_payment_link: true
                      created_at: '2023-11-02T12:15:46.000000Z'
                      updated_at: '2025-06-13T07:14:14.000000Z'
                    carrier_name: null
                    payment_time: 15
                    sale_depth: 30
                    flight_generation_depth: 30
                    number_of_seats: 57
                    seat_selection_allowed: true
                    seat_selection_not_allowed_date_from: null
                    seat_selection_not_allowed_date_to: null
                    without_companion: true
                    without_companion_price: 0
                    baggage_transportation_conditions:
                      -
                        id: 208
                        name: 'Hand baggage (free)'
                        translations:
                          name:
                            ua: 'Ручна поклажа (безкоштовно)'
                            pl: 'Bagaż podręczny (bezpłatny)'
                            en: 'Hand baggage (free)'
                        prices:
                          -
                            currency_id: 88
                            price: 0
                          -
                            currency_id: 89
                            price: 0
                        created_at: '2024-02-03T11:27:43.000000Z'
                        updated_at: '2024-02-03T11:27:43.000000Z'
                    return_conditions:
                      -
                        id: 29793
                        departure_start: 72
                        departure_end: 0
                        retention_percentage: 25
                        created_at: '2025-06-13T05:58:05.000000Z'
                        updated_at: '2025-06-13T05:58:05.000000Z'
                      -
                        id: 29794
                        departure_start: 24
                        departure_end: 72
                        retention_percentage: 50
                        created_at: '2025-06-13T05:58:05.000000Z'
                        updated_at: '2025-06-13T05:58:05.000000Z'
                      -
                        id: 29795
                        departure_start: 0
                        departure_end: 24
                        retention_percentage: 100
                        created_at: '2025-06-13T05:58:05.000000Z'
                        updated_at: '2025-06-13T05:58:05.000000Z'
                    currencies:
                      -
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                      -
                        id: 91
                        display_name: Евро
                        code: EUR
                        symbol: €
                        is_active: true
                        created_at: '2024-01-17T05:26:29.000000Z'
                        updated_at: '2024-01-17T05:26:29.000000Z'
                      -
                        id: 89
                        display_name: Злотий
                        code: PLN
                        symbol: zł
                        is_active: true
                        created_at: '2023-11-02T11:58:50.000000Z'
                        updated_at: '2023-11-02T11:58:50.000000Z'
                    min_price: null
                    forbidden_sale_date_from: null
                    forbidden_sale_date_to: null
                    payment_methods:
                      -
                        id: 1
                        name: stripe
                        display_name: 'Оплата через Stripe'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 2
                        name: liqpay
                        display_name: 'Оплата через LiqPay'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                      -
                        id: 3
                        name: spot
                        display_name: 'Оплата на месте'
                        logo_path: null
                        created_at: '2023-10-27T07:44:26.000000Z'
                        updated_at: '2023-11-03T07:53:11.000000Z'
                    carrier:
                      id: 1
                      name: test
                      hotline_phone: null
                      edrpou: null
                      disclaimer: null
                      logo_url: null
                      translations:
                        disclaimer: []
                    created_at: '2024-02-03T11:27:43.000000Z'
                    updated_at: '2024-04-19T06:50:53.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 82
                      number:
                        type: string
                        example: HH001
                      name:
                        type: string
                        example: Харьков-Гамбург
                      ticket_hint:
                        type: string
                        example: null
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              ua:
                                type: string
                                example: Харків-Гановер
                              pl:
                                type: string
                                example: Charkow-Hamburg
                              en:
                                type: string
                                example: Kharkiv-Hamburg
                              ru:
                                type: string
                                example: Харьков-Гамбург
                          ticket_hint:
                            type: array
                            example: []
                      sale_end_time_before_departure:
                        type: integer
                        example: 0
                      status:
                        type: string
                        example: active
                      city_from:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 4858
                          name:
                            type: string
                            example: Харьков
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Харків
                                  pl:
                                    type: string
                                    example: Charków
                                  en:
                                    type: string
                                    example: Харьков
                                  ru:
                                    type: string
                                    example: Харьков
                          population:
                            type: string
                            example: null
                          number_of_bus_routes:
                            type: integer
                            example: 0
                          visibility:
                            type: boolean
                            example: true
                          country_id:
                            type: integer
                            example: 6
                          created_at:
                            type: string
                            example: '2024-02-03T09:07:54.000000Z'
                          updated_at:
                            type: string
                            example: '2025-07-17T07:07:04.000000Z'
                      city_to:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 4857
                          name:
                            type: string
                            example: Гамбург
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Гамбург
                                  pl:
                                    type: string
                                    example: Hamburg
                                  en:
                                    type: string
                                    example: Гамбург
                                  ru:
                                    type: string
                                    example: Гамбург
                          population:
                            type: string
                            example: null
                          number_of_bus_routes:
                            type: integer
                            example: 0
                          visibility:
                            type: boolean
                            example: true
                          country_id:
                            type: integer
                            example: 8
                          created_at:
                            type: string
                            example: '2024-02-03T09:06:36.000000Z'
                          updated_at:
                            type: string
                            example: '2025-07-17T07:07:04.000000Z'
                      user:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          first_name:
                            type: string
                            example: Eladio
                          last_name:
                            type: string
                            example: Weber
                          middle_name:
                            type: string
                            example: Lazaro
                          full_name:
                            type: string
                            example: 'Eladio Weber Lazaro'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Herta Jast'
                          phone:
                            type: string
                            example: +1-667-744-6598
                          email:
                            type: string
                            example: admin@admin.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-10-27T07:45:00.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-12T18:49:24.000000Z'
                      bus:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 148
                          name:
                            type: string
                            example: Автобус
                          number:
                            type: string
                            example: 'WK 77296'
                          status:
                            type: string
                            example: active
                          created_at:
                            type: string
                            example: '2024-02-16T19:04:00.000000Z'
                          updated_at:
                            type: string
                            example: '2024-05-17T18:26:50.000000Z'
                      driver:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 519
                          first_name:
                            type: string
                            example: Петро
                          last_name:
                            type: string
                            example: Шевченко
                          middle_name:
                            type: string
                            example: Петрович
                          full_name:
                            type: string
                            example: 'Петро Шевченко Петрович'
                          work_phone:
                            type: string
                            example: '38063999999'
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Шевченко (водитель)'
                          phone:
                            type: string
                            example: '38063999999'
                          email:
                            type: string
                            example: driver1@admin.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: active
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: -5
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T12:15:46.000000Z'
                          updated_at:
                            type: string
                            example: '2025-06-13T07:14:14.000000Z'
                      carrier_name:
                        type: string
                        example: null
                      payment_time:
                        type: integer
                        example: 15
                      sale_depth:
                        type: integer
                        example: 30
                      flight_generation_depth:
                        type: integer
                        example: 30
                      number_of_seats:
                        type: integer
                        example: 57
                      seat_selection_allowed:
                        type: boolean
                        example: true
                      seat_selection_not_allowed_date_from:
                        type: string
                        example: null
                      seat_selection_not_allowed_date_to:
                        type: string
                        example: null
                      without_companion:
                        type: boolean
                        example: true
                      without_companion_price:
                        type: integer
                        example: 0
                      baggage_transportation_conditions:
                        type: array
                        example:
                          -
                            id: 208
                            name: 'Hand baggage (free)'
                            translations:
                              name:
                                ua: 'Ручна поклажа (безкоштовно)'
                                pl: 'Bagaż podręczny (bezpłatny)'
                                en: 'Hand baggage (free)'
                            prices:
                              -
                                currency_id: 88
                                price: 0
                              -
                                currency_id: 89
                                price: 0
                            created_at: '2024-02-03T11:27:43.000000Z'
                            updated_at: '2024-02-03T11:27:43.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 208
                            name:
                              type: string
                              example: 'Hand baggage (free)'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Ручна поклажа (безкоштовно)'
                                    pl:
                                      type: string
                                      example: 'Bagaż podręczny (bezpłatny)'
                                    en:
                                      type: string
                                      example: 'Hand baggage (free)'
                            prices:
                              type: array
                              example:
                                -
                                  currency_id: 88
                                  price: 0
                                -
                                  currency_id: 89
                                  price: 0
                              items:
                                type: object
                                properties:
                                  currency_id:
                                    type: integer
                                    example: 88
                                  price:
                                    type: integer
                                    example: 0
                            created_at:
                              type: string
                              example: '2024-02-03T11:27:43.000000Z'
                            updated_at:
                              type: string
                              example: '2024-02-03T11:27:43.000000Z'
                      return_conditions:
                        type: array
                        example:
                          -
                            id: 29793
                            departure_start: 72
                            departure_end: 0
                            retention_percentage: 25
                            created_at: '2025-06-13T05:58:05.000000Z'
                            updated_at: '2025-06-13T05:58:05.000000Z'
                          -
                            id: 29794
                            departure_start: 24
                            departure_end: 72
                            retention_percentage: 50
                            created_at: '2025-06-13T05:58:05.000000Z'
                            updated_at: '2025-06-13T05:58:05.000000Z'
                          -
                            id: 29795
                            departure_start: 0
                            departure_end: 24
                            retention_percentage: 100
                            created_at: '2025-06-13T05:58:05.000000Z'
                            updated_at: '2025-06-13T05:58:05.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 29793
                            departure_start:
                              type: integer
                              example: 72
                            departure_end:
                              type: integer
                              example: 0
                            retention_percentage:
                              type: integer
                              example: 25
                            created_at:
                              type: string
                              example: '2025-06-13T05:58:05.000000Z'
                            updated_at:
                              type: string
                              example: '2025-06-13T05:58:05.000000Z'
                      currencies:
                        type: array
                        example:
                          -
                            id: 88
                            display_name: Гривня
                            code: UAH
                            symbol: ₴
                            is_active: true
                            created_at: '2023-11-02T11:57:10.000000Z'
                            updated_at: '2023-11-02T11:57:10.000000Z'
                          -
                            id: 91
                            display_name: Евро
                            code: EUR
                            symbol: €
                            is_active: true
                            created_at: '2024-01-17T05:26:29.000000Z'
                            updated_at: '2024-01-17T05:26:29.000000Z'
                          -
                            id: 89
                            display_name: Злотий
                            code: PLN
                            symbol: zł
                            is_active: true
                            created_at: '2023-11-02T11:58:50.000000Z'
                            updated_at: '2023-11-02T11:58:50.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 88
                            display_name:
                              type: string
                              example: Гривня
                            code:
                              type: string
                              example: UAH
                            symbol:
                              type: string
                              example: ₴
                            is_active:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                      min_price:
                        type: string
                        example: null
                      forbidden_sale_date_from:
                        type: string
                        example: null
                      forbidden_sale_date_to:
                        type: string
                        example: null
                      payment_methods:
                        type: array
                        example:
                          -
                            id: 1
                            name: stripe
                            display_name: 'Оплата через Stripe'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 2
                            name: liqpay
                            display_name: 'Оплата через LiqPay'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 3
                            name: spot
                            display_name: 'Оплата на месте'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: stripe
                            display_name:
                              type: string
                              example: 'Оплата через Stripe'
                            logo_path:
                              type: string
                              example: null
                            created_at:
                              type: string
                              example: '2023-10-27T07:44:26.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-03T07:53:11.000000Z'
                      carrier:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: test
                          hotline_phone:
                            type: string
                            example: null
                          edrpou:
                            type: string
                            example: null
                          disclaimer:
                            type: string
                            example: null
                          logo_url:
                            type: string
                            example: null
                          translations:
                            type: object
                            properties:
                              disclaimer:
                                type: array
                                example: []
                      created_at:
                        type: string
                        example: '2024-02-03T11:27:43.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-19T06:50:53.000000Z'
      tags:
        - 'Bus route'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                number:
                  type: string
                  description: 'Bus route number'
                  example: '000 111'
                  nullable: false
                city_from_id:
                  type: string
                  description: 'City from ID'
                  example: 1
                  nullable: false
                city_to_id:
                  type: string
                  description: 'City to ID'
                  example: 2
                  nullable: false
                status:
                  type: string
                  description: Status
                  example: active
                  nullable: false
                bus_id:
                  type: integer
                  description: 'Bus id'
                  example: 1
                  nullable: false
                driver_id:
                  type: integer
                  description: 'Driver id'
                  example: 1
                  nullable: false
                dispatcher_id:
                  type: integer
                  description: 'Dispatcher id'
                  example: 1
                  nullable: false
                payment_time:
                  type: integer
                  description: 'Payment time in minutes'
                  example: 15
                  nullable: false
                sale_depth:
                  type: integer
                  description: 'Sale depth in days'
                  example: 30
                  nullable: false
                flight_generation_depth:
                  type: integer
                  description: 'Flight generation depth in days'
                  example: 30
                  nullable: false
                number_of_seats:
                  type: integer
                  description: 'Number of seats'
                  example: 30
                  nullable: false
                seat_selection_allowed:
                  type: boolean
                  description: 'Seat selection allowed'
                  example: 1
                  nullable: false
                seat_selection_not_allowed_date_from:
                  type: string
                  description: 'Seat selection allowed date from'
                  example: '2021-01-01 00:00:00'
                  nullable: false
                seat_selection_not_allowed_date_to:
                  type: string
                  description: 'Seat selection allowed date to'
                  example: '2021-01-01 00:00:00'
                  nullable: false
                without_companion:
                  type: boolean
                  description: 'Without companion'
                  example: 1
                  nullable: false
                currencies:
                  type: array
                  description: 'Currencies ids'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
                forbidden_sale_date_from:
                  type: string
                  description: 'Sale date from'
                  example: '2021-01-01 00:00:00'
                  nullable: false
                forbidden_sale_date_to:
                  type: string
                  description: 'Sale date to'
                  example: '2021-01-01 00:00:00'
                  nullable: false
                payment_methods:
                  type: array
                  description: 'Payment methods ids'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
                min_price:
                  type: array
                  description: 'Min price'
                  example:
                    -
                      currency_id: 1
                      price: 100
                  items:
                    type: string
                carrier_name:
                  type: string
                  description: 'Carrier name'
                  example: 'Carrier name'
                  nullable: false
                carrier_id:
                  type: string
                  description: 'Carrier id'
                  example: 1
                  nullable: false
                name:
                  type: array
                  description: 'Bus route name'
                  example:
                    en: 'some - some'
                    ar: نيويورك
                  items:
                    type: string
                sale_end_time_before_departure:
                  type: integer
                  description: 'Sale end time before departure'
                  example: 15
                  nullable: false
              required:
                - number
                - city_from_id
                - city_to_id
                - status
                - bus_id
                - driver_id
                - dispatcher_id
                - payment_time
                - sale_depth
                - flight_generation_depth
                - number_of_seats
                - seat_selection_allowed
                - seat_selection_not_allowed_date_from
                - seat_selection_not_allowed_date_to
                - without_companion
                - currencies
                - forbidden_sale_date_from
                - forbidden_sale_date_to
                - payment_methods
                - min_price
                - carrier_name
                - carrier_id
                - name
                - sale_end_time_before_departure
    delete:
      summary: 'Delete bus route'
      operationId: deleteBusRoute
      description: 'Get bus route'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Bus route'
    parameters:
      -
        in: path
        name: bus_route_id
        description: 'The ID of the bus route.'
        example: 82
        required: true
        schema:
          type: integer
  /api/driver-payment-histories:
    get:
      summary: 'Get payment history'
      operationId: getPaymentHistory
      description: ''
      parameters:
        -
          in: query
          name: bus_flight_id
          description: 'ID of the flight'
          example: 1
          required: true
          schema:
            type: string
            description: 'ID of the flight'
            example: 1
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 25
                      amount: '1000.00'
                      comment: null
                      created_at: '2025-06-12T08:35:07.000000Z'
                      updated_at: '2025-06-12T08:35:07.000000Z'
                    -
                      id: 25
                      amount: '1000.00'
                      comment: null
                      created_at: '2025-06-12T08:35:07.000000Z'
                      updated_at: '2025-06-12T08:35:07.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 25
                        amount: '1000.00'
                        comment: null
                        created_at: '2025-06-12T08:35:07.000000Z'
                        updated_at: '2025-06-12T08:35:07.000000Z'
                      -
                        id: 25
                        amount: '1000.00'
                        comment: null
                        created_at: '2025-06-12T08:35:07.000000Z'
                        updated_at: '2025-06-12T08:35:07.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 25
                        amount:
                          type: string
                          example: '1000.00'
                        comment:
                          type: string
                          example: null
                        created_at:
                          type: string
                          example: '2025-06-12T08:35:07.000000Z'
                        updated_at:
                          type: string
                          example: '2025-06-12T08:35:07.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Driver
      security: []
    post:
      summary: 'Create payment history'
      operationId: createPaymentHistory
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 25
                    amount: '1000.00'
                    comment: null
                    created_at: '2025-06-12T08:35:07.000000Z'
                    updated_at: '2025-06-12T08:35:07.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 25
                      amount:
                        type: string
                        example: '1000.00'
                      comment:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: '2025-06-12T08:35:07.000000Z'
                      updated_at:
                        type: string
                        example: '2025-06-12T08:35:07.000000Z'
      tags:
        - Driver
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bus_flight_id:
                  type: string
                  description: 'ID of the flight'
                  example: 1
                  nullable: false
                amount:
                  type: string
                  description: 'Amount paid'
                  example: 100
                  nullable: false
                comment:
                  type: string
                  description: Comment
                  example: 'Paid for fuel'
                  nullable: false
                currency_id:
                  type: string
                  description: 'Currency ID'
                  example: 1
                  nullable: false
              required:
                - bus_flight_id
                - amount
                - comment
                - currency_id
      security: []
  '/api/driver-payment-histories/{driverPaymentHistory_id}':
    patch:
      summary: 'Update payment history'
      operationId: updatePaymentHistory
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 25
                    amount: '1000.00'
                    comment: null
                    created_at: '2025-06-12T08:35:07.000000Z'
                    updated_at: '2025-06-12T08:35:07.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 25
                      amount:
                        type: string
                        example: '1000.00'
                      comment:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: '2025-06-12T08:35:07.000000Z'
                      updated_at:
                        type: string
                        example: '2025-06-12T08:35:07.000000Z'
      tags:
        - Driver
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: string
                  description: 'Amount paid'
                  example: 100
                  nullable: false
                comment:
                  type: string
                  description: Comment
                  example: 'Paid for fuel'
                  nullable: false
                currency_id:
                  type: string
                  description: 'Currency ID'
                  example: 1
                  nullable: false
              required:
                - amount
                - comment
                - currency_id
      security: []
    delete:
      summary: 'Delete payment history'
      operationId: deletePaymentHistory
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - Driver
      security: []
    parameters:
      -
        in: path
        name: driverPaymentHistory_id
        description: 'The ID of the driverPaymentHistory.'
        example: 25
        required: true
        schema:
          type: integer
  /api/webhooks/stripe:
    post:
      summary: ''
      operationId: postApiWebhooksStripe
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
  /api/webhooks/liqpay:
    post:
      summary: ''
      operationId: postApiWebhooksLiqpay
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
  /api/webhooks/apple:
    get:
      summary: ''
      operationId: getApiWebhooksApple
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data: null
                  message: ok
                properties:
                  data:
                    type: string
                    example: null
                  message:
                    type: string
                    example: ok
      tags:
        - Endpoints
      security: []
  /api/baggage-shipment-types:
    get:
      summary: 'Get all baggage shipment types'
      operationId: getAllBaggageShipmentTypes
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      name: 100x100
                      translations:
                        name:
                          en: 100x100
                          pl: 100x100
                          ru: 100x100
                          ua: 100x100
                      created_at: '2025-05-23T07:40:50.000000Z'
                      updated_at: '2025-05-23T07:40:50.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        name: 100x100
                        translations:
                          name:
                            en: 100x100
                            pl: 100x100
                            ru: 100x100
                            ua: 100x100
                        created_at: '2025-05-23T07:40:50.000000Z'
                        updated_at: '2025-05-23T07:40:50.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        name:
                          type: string
                          example: 100x100
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 100x100
                                pl:
                                  type: string
                                  example: 100x100
                                ru:
                                  type: string
                                  example: 100x100
                                ua:
                                  type: string
                                  example: 100x100
                        created_at:
                          type: string
                          example: '2025-05-23T07:40:50.000000Z'
                        updated_at:
                          type: string
                          example: '2025-05-23T07:40:50.000000Z'
      tags:
        - Endpoints
      security: []
  '/api/users/{user_id}/api-tokens':
    get:
      summary: ''
      operationId: getApiUsersUser_idApiTokens
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    post:
      summary: ''
      operationId: postApiUsersUser_idApiTokens
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/users/{user_id}/api-tokens/{token_id}':
    delete:
      summary: ''
      operationId: deleteApiUsersUser_idApiTokensToken_id
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: token_id
        description: 'The ID of the token.'
        example: laborum
        required: true
        schema:
          type: string
  '/api/users/{user_id}/apps':
    get:
      summary: ''
      operationId: getApiUsersUser_idApps
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    post:
      summary: ''
      operationId: postApiUsersUser_idApps
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/users/{user_id}/apps/{app_id}':
    delete:
      summary: ''
      operationId: deleteApiUsersUser_idAppsApp_id
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
      -
        in: path
        name: app_id
        description: 'The ID of the app.'
        example: omnis
        required: true
        schema:
          type: string
  '/api/schedules/{schedule_id}/hint':
    post:
      summary: ''
      operationId: postApiSchedulesSchedule_idHint
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: schedule_id
        description: 'The ID of the schedule.'
        example: 1631
        required: true
        schema:
          type: integer
  /api/current-bus-flight:
    get:
      summary: 'Get current bus flight'
      operationId: getCurrentBusFlight
      description: 'Get current bus flight'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
  '/api/resolve-ticket/{ticketId}':
    get:
      summary: 'Resolve ticket'
      operationId: resolveTicket
      description: 'Resolve ticket by public ID'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  id: string
                  bus_flight_id: string
                properties:
                  id:
                    type: string
                    example: string
                  bus_flight_id:
                    type: string
                    example: string
      tags:
        - Endpoints
    parameters:
      -
        in: path
        name: ticketId
        description: 'The public ID of the ticket'
        example: adipisci
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight}/reports':
    get:
      summary: ''
      operationId: getApiBusFlightsBus_flightReports
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight}/bus-flight-report-stations':
    get:
      summary: ''
      operationId: getApiBusFlightsBus_flightBusFlightReportStations
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    post:
      summary: ''
      operationId: postApiBusFlightsBus_flightBusFlightReportStations
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight}/bus-flight-report-stations/{id}':
    patch:
      summary: ''
      operationId: patchApiBusFlightsBus_flightBusFlightReportStationsId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    delete:
      summary: ''
      operationId: deleteApiBusFlightsBus_flightBusFlightReportStationsId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the bus flight report station.'
        example: non
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight}/bus-flight-report-fuels':
    get:
      summary: ''
      operationId: getApiBusFlightsBus_flightBusFlightReportFuels
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    post:
      summary: ''
      operationId: postApiBusFlightsBus_flightBusFlightReportFuels
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight}/bus-flight-report-fuels/{id}':
    patch:
      summary: ''
      operationId: patchApiBusFlightsBus_flightBusFlightReportFuelsId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    delete:
      summary: ''
      operationId: deleteApiBusFlightsBus_flightBusFlightReportFuelsId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the bus flight report fuel.'
        example: delectus
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight}/bus-flight-report-kilometers':
    get:
      summary: ''
      operationId: getApiBusFlightsBus_flightBusFlightReportKilometers
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    post:
      summary: ''
      operationId: postApiBusFlightsBus_flightBusFlightReportKilometers
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight}/bus-flight-report-kilometers/{id}':
    patch:
      summary: ''
      operationId: patchApiBusFlightsBus_flightBusFlightReportKilometersId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    delete:
      summary: ''
      operationId: deleteApiBusFlightsBus_flightBusFlightReportKilometersId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the bus flight report kilometer.'
        example: non
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight}/bus-flight-report-hotels':
    get:
      summary: ''
      operationId: getApiBusFlightsBus_flightBusFlightReportHotels
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    post:
      summary: ''
      operationId: postApiBusFlightsBus_flightBusFlightReportHotels
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight}/bus-flight-report-hotels/{id}':
    patch:
      summary: ''
      operationId: patchApiBusFlightsBus_flightBusFlightReportHotelsId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    delete:
      summary: ''
      operationId: deleteApiBusFlightsBus_flightBusFlightReportHotelsId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the bus flight report hotel.'
        example: excepturi
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight}/bus-flight-report-parkings':
    get:
      summary: ''
      operationId: getApiBusFlightsBus_flightBusFlightReportParkings
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    post:
      summary: ''
      operationId: postApiBusFlightsBus_flightBusFlightReportParkings
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight}/bus-flight-report-parkings/{id}':
    patch:
      summary: ''
      operationId: patchApiBusFlightsBus_flightBusFlightReportParkingsId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    delete:
      summary: ''
      operationId: deleteApiBusFlightsBus_flightBusFlightReportParkingsId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the bus flight report parking.'
        example: magnam
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight}/bus-flight-report-others':
    get:
      summary: ''
      operationId: getApiBusFlightsBus_flightBusFlightReportOthers
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    post:
      summary: ''
      operationId: postApiBusFlightsBus_flightBusFlightReportOthers
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight}/bus-flight-report-others/{id}':
    patch:
      summary: ''
      operationId: patchApiBusFlightsBus_flightBusFlightReportOthersId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    delete:
      summary: ''
      operationId: deleteApiBusFlightsBus_flightBusFlightReportOthersId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the bus flight report other.'
        example: alias
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight}/bus-flight-report-dailies':
    get:
      summary: ''
      operationId: getApiBusFlightsBus_flightBusFlightReportDailies
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
    post:
      summary: ''
      operationId: postApiBusFlightsBus_flightBusFlightReportDailies
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight}/bus-flight-report-dailies/{id}':
    patch:
      summary: ''
      operationId: patchApiBusFlightsBus_flightBusFlightReportDailiesId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    delete:
      summary: ''
      operationId: deleteApiBusFlightsBus_flightBusFlightReportDailiesId
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: bus_flight
        description: ''
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: id
        description: 'The ID of the bus flight report daily.'
        example: velit
        required: true
        schema:
          type: string
  /api/system-settings/baggage-shipment-types:
    post:
      summary: 'Create a baggage shipment type'
      operationId: createABaggageShipmentType
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
  '/api/system-settings/baggage-shipment-types/{baggageShipmentType_id}':
    put:
      summary: 'Update a baggage shipment type'
      operationId: updateABaggageShipmentType
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    delete:
      summary: 'Delete a baggage shipment type'
      operationId: deleteABaggageShipmentType
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: baggageShipmentType_id
        description: 'The ID of the baggageShipmentType.'
        example: 1
        required: true
        schema:
          type: integer
  /api/reports/carrier:
    get:
      summary: ''
      operationId: getApiReportsCarrier
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
  /api/reports/carrier/export:
    get:
      summary: ''
      operationId: getApiReportsCarrierExport
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
  /api/request-logs:
    get:
      summary: ''
      operationId: getApiRequestLogs
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
  /api/sms-auth-codes:
    get:
      summary: ''
      operationId: getApiSmsAuthCodes
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
  /api/admin-dashboard:
    get:
      summary: ''
      operationId: getApiAdminDashboard
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
  /api/external-tickets:
    get:
      summary: 'Search external bus flights tickets'
      operationId: searchExternalBusFlightsTickets
      description: ''
      parameters:
        -
          in: query
          name: from_departure_point_id
          description: 'ID of the departure point from which the bus flight departs'
          example: 19
          required: true
          schema:
            type: integer
            description: 'ID of the departure point from which the bus flight departs'
            example: 19
            nullable: false
        -
          in: query
          name: to_departure_point_id
          description: 'ID of the departure point to which the bus flight arrives'
          example: 4
          required: true
          schema:
            type: integer
            description: 'ID of the departure point to which the bus flight arrives'
            example: 4
            nullable: false
        -
          in: query
          name: from_departure_city_id
          description: 'ID of the city from which the bus flight departs'
          example: 4
          required: true
          schema:
            type: integer
            description: 'ID of the city from which the bus flight departs'
            example: 4
            nullable: false
        -
          in: query
          name: to_departure_city_id
          description: 'ID of the city to which the bus flight arrives'
          example: 15
          required: true
          schema:
            type: integer
            description: 'ID of the city to which the bus flight arrives'
            example: 15
            nullable: false
        -
          in: query
          name: departure_date
          description: 'Date of departure in format YYYY-MM-DD'
          example: provident
          required: true
          schema:
            type: string
            description: 'Date of departure in format YYYY-MM-DD'
            example: provident
            nullable: false
        -
          in: query
          name: number_of_passengers
          description: 'Number of passengers for the bus flight search'
          example: 18
          required: true
          schema:
            type: integer
            description: 'Number of passengers for the bus flight search'
            example: 18
            nullable: false
        -
          in: query
          name: currency_code
          description: 'Currency code for the search results'
          example: molestias
          required: true
          schema:
            type: string
            description: 'Currency code for the search results'
            example: molestias
            nullable: false
      responses:
        422:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Выбранное значение для Пункт отправления некорректно. (and 7 more errors)'
                  errors:
                    from_departure_point_id:
                      - 'Выбранное значение для Пункт отправления некорректно.'
                    to_departure_point_id:
                      - 'Выбранное значение для Пункт прибытия некорректно.'
                    from_departure_city_id:
                      - 'Выбранное значение для from departure city id некорректно.'
                    to_departure_city_id:
                      - 'Выбранное значение для to departure city id некорректно.'
                    departure_date:
                      - 'Значение поля Дата отправления должно соответствовать формату даты Y-m-d.'
                    number_of_passengers:
                      - 'Значение поля Количество пассажиров не может быть больше 10.'
                    currency_code:
                      - 'Выбранное значение для currency code некорректно.'
                      - 'Количество символов в поле currency code не может превышать 3.'
                properties:
                  message:
                    type: string
                    example: 'Выбранное значение для Пункт отправления некорректно. (and 7 more errors)'
                  errors:
                    type: object
                    properties:
                      from_departure_point_id:
                        type: array
                        example:
                          - 'Выбранное значение для Пункт отправления некорректно.'
                        items:
                          type: string
                      to_departure_point_id:
                        type: array
                        example:
                          - 'Выбранное значение для Пункт прибытия некорректно.'
                        items:
                          type: string
                      from_departure_city_id:
                        type: array
                        example:
                          - 'Выбранное значение для from departure city id некорректно.'
                        items:
                          type: string
                      to_departure_city_id:
                        type: array
                        example:
                          - 'Выбранное значение для to departure city id некорректно.'
                        items:
                          type: string
                      departure_date:
                        type: array
                        example:
                          - 'Значение поля Дата отправления должно соответствовать формату даты Y-m-d.'
                        items:
                          type: string
                      number_of_passengers:
                        type: array
                        example:
                          - 'Значение поля Количество пассажиров не может быть больше 10.'
                        items:
                          type: string
                      currency_code:
                        type: array
                        example:
                          - 'Выбранное значение для currency code некорректно.'
                          - 'Количество символов в поле currency code не может превышать 3.'
                        items:
                          type: string
      tags:
        - 'External tickets'
      security: []
    post:
      summary: 'Get external bus flight details'
      operationId: getExternalBusFlightDetails
      description: ''
      parameters: []
      responses: {  }
      tags:
        - 'External tickets'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                data_bundle:
                  type: string
                  description: 'Serialized trip data bundle containing trip details'
                  example: sed
                  nullable: false
              required:
                - data_bundle
      security: []
  /api/external-tickets/buy:
    post:
      summary: 'Buy external bus flight tickets'
      operationId: buyExternalBusFlightTickets
      description: ''
      parameters: []
      responses: {  }
      tags:
        - 'External tickets'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                trip_data_bundle:
                  type: string
                  description: 'Serialized trip data bundle containing trip details'
                  example: ullam
                  nullable: false
                passengers:
                  type: array
                  description: 'Array of passengers with their details'
                  example:
                    - repellat
                  items:
                    type: string
                payment_method_id:
                  type: integer
                  description: 'ID of the payment method to be used for the purchase'
                  example: 9
                  nullable: false
              required:
                - trip_data_bundle
                - passengers
                - payment_method_id
      security: []
  /api/faqs:
    get:
      summary: 'Get FAQs'
      operationId: getFAQs
      description: 'Get list of active FAQs'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      question: 'some q'
                      answer: 'some a'
                      is_active: true
                      translations:
                        question:
                          en: 'some q'
                          pl: 'some q'
                          ru: 'some q'
                          ua: 'some q'
                        answer:
                          en: 'some a'
                          pl: 'some a'
                          ru: 'some a'
                          ua: 'some a'
                      created_at: '2025-11-02T08:18:17.000000Z'
                      updated_at: '2025-11-02T08:18:17.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        question: 'some q'
                        answer: 'some a'
                        is_active: true
                        translations:
                          question:
                            en: 'some q'
                            pl: 'some q'
                            ru: 'some q'
                            ua: 'some q'
                          answer:
                            en: 'some a'
                            pl: 'some a'
                            ru: 'some a'
                            ua: 'some a'
                        created_at: '2025-11-02T08:18:17.000000Z'
                        updated_at: '2025-11-02T08:18:17.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        question:
                          type: string
                          example: 'some q'
                        answer:
                          type: string
                          example: 'some a'
                        is_active:
                          type: boolean
                          example: true
                        translations:
                          type: object
                          properties:
                            question:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 'some q'
                                pl:
                                  type: string
                                  example: 'some q'
                                ru:
                                  type: string
                                  example: 'some q'
                                ua:
                                  type: string
                                  example: 'some q'
                            answer:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 'some a'
                                pl:
                                  type: string
                                  example: 'some a'
                                ru:
                                  type: string
                                  example: 'some a'
                                ua:
                                  type: string
                                  example: 'some a'
                        created_at:
                          type: string
                          example: '2025-11-02T08:18:17.000000Z'
                        updated_at:
                          type: string
                          example: '2025-11-02T08:18:17.000000Z'
      tags:
        - Faq
      security: []
    post:
      summary: 'Create FAQ'
      operationId: createFAQ
      description: 'Create a new FAQ'
      parameters: []
      responses: {  }
      tags:
        - Faq
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                question:
                  type: array
                  description: Question
                  example:
                    en: 'How to use the application?'
                  items:
                    type: string
                answer:
                  type: array
                  description: Answer
                  example:
                    en: 'You can start by registering an account.'
                  items:
                    type: string
                is_active:
                  type: boolean
                  description: 'Is the FAQ active?'
                  example: true
                  nullable: false
              required:
                - question
                - answer
                - is_active
  '/api/faqs/{faq_id}':
    patch:
      summary: 'Update FAQ'
      operationId: updateFAQ
      description: 'Update an existing FAQ'
      parameters: []
      responses: {  }
      tags:
        - Faq
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                question:
                  type: array
                  description: Question
                  example:
                    en: 'How to use the application?'
                  items:
                    type: string
                answer:
                  type: array
                  description: Answer
                  example:
                    en: 'You can start by registering an account.'
                  items:
                    type: string
                is_active:
                  type: boolean
                  description: 'Is the FAQ active?'
                  example: true
                  nullable: false
              required:
                - question
                - answer
                - is_active
    delete:
      summary: 'Delete FAQ'
      operationId: deleteFAQ
      description: 'Delete an existing FAQ'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - Faq
    parameters:
      -
        in: path
        name: faq_id
        description: 'The ID of the faq.'
        example: 1
        required: true
        schema:
          type: integer
  /api/cities/search:
    get:
      summary: 'Search cities (new)'
      operationId: searchCitiesnew
      description: ''
      parameters:
        -
          in: query
          name: query
          description: 'Search string'
          example: 'New York'
          required: true
          schema:
            type: string
            description: 'Search string'
            example: 'New York'
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: null
                      name: Darrickmouth
                      translations:
                        name:
                          en: Darrickmouth
                          ar: 'Port Hermanport'
                      population: null
                      number_of_bus_routes: 0
                      visibility: null
                      country_id: 157
                      created_at: null
                      updated_at: null
                  links:
                    first: '/?page=1'
                    last: '/?page=2'
                    prev: null
                    next: '/?page=2'
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 2
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: '/?page=2'
                        label: '2'
                        active: false
                      -
                        url: '/?page=2'
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 1
                    to: 1
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: null
                        name: Darrickmouth
                        translations:
                          name:
                            en: Darrickmouth
                            ar: 'Port Hermanport'
                        population: null
                        number_of_bus_routes: 0
                        visibility: null
                        country_id: 157
                        created_at: null
                        updated_at: null
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: null
                        name:
                          type: string
                          example: Darrickmouth
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: Darrickmouth
                                ar:
                                  type: string
                                  example: 'Port Hermanport'
                        population:
                          type: string
                          example: null
                        number_of_bus_routes:
                          type: integer
                          example: 0
                        visibility:
                          type: string
                          example: null
                        country_id:
                          type: integer
                          example: 157
                        created_at:
                          type: string
                          example: null
                        updated_at:
                          type: string
                          example: null
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=2'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: '/?page=2'
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 2
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: '/?page=2'
                            label: '2'
                            active: false
                          -
                            url: '/?page=2'
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 1
                      to:
                        type: integer
                        example: 1
                      total:
                        type: integer
                        example: 2
      tags:
        - Geo
  '/api/cities/{city}':
    get:
      summary: 'Get a city'
      operationId: getACity
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 267
                    name: Киев
                    translations:
                      name:
                        ua: Київ
                        pl: Kijów
                        en: Kyiv
                        ru: Киев
                    departure_points:
                      -
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      -
                        id: 101
                        name: 'Автовокзал "Центральный", проспект Науки, 1/2'
                        translations:
                          name:
                            ua: 'Автовокзал "Центральний", проспект Науки, 1/2'
                            pl: 'Dworzec Autobusowy"Centralny", aleja nauki, 1/2'
                            en: 'Bus station "Central", nauki avenue, 1/2'
                            ru: 'Автовокзал "Центральный", проспект Науки, 1/2'
                        visibility: true
                        created_at: '2023-12-18T07:06:19.000000Z'
                        updated_at: '2024-03-23T10:44:31.000000Z'
                    country:
                      id: 6
                      name: Украина
                      translations:
                        name:
                          ua: Україна
                          pl: Ukraina
                          en: Ukraine
                          ru: Украина
                      code: UA
                      timezone: null
                      created_at: '2023-11-02T11:44:52.000000Z'
                      updated_at: '2024-02-17T12:07:12.000000Z'
                    population: null
                    number_of_bus_routes: 0
                    visibility: true
                    country_id: 6
                    created_at: '2023-11-02T11:51:05.000000Z'
                    updated_at: '2024-02-18T14:28:39.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 267
                      name:
                        type: string
                        example: Киев
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              ua:
                                type: string
                                example: Київ
                              pl:
                                type: string
                                example: Kijów
                              en:
                                type: string
                                example: Kyiv
                              ru:
                                type: string
                                example: Киев
                      departure_points:
                        type: array
                        example:
                          -
                            id: 87
                            name: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              name:
                                ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                en: 'Bus station "Kyiv",S.Petlury 32 street'
                                ru: 'Автостанция "Киев",улица С.Петлюры 32'
                            visibility: true
                            created_at: '2023-11-02T11:52:18.000000Z'
                            updated_at: '2024-03-23T12:23:48.000000Z'
                          -
                            id: 101
                            name: 'Автовокзал "Центральный", проспект Науки, 1/2'
                            translations:
                              name:
                                ua: 'Автовокзал "Центральний", проспект Науки, 1/2'
                                pl: 'Dworzec Autobusowy"Centralny", aleja nauki, 1/2'
                                en: 'Bus station "Central", nauki avenue, 1/2'
                                ru: 'Автовокзал "Центральный", проспект Науки, 1/2'
                            visibility: true
                            created_at: '2023-12-18T07:06:19.000000Z'
                            updated_at: '2024-03-23T10:44:31.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 87
                            name:
                              type: string
                              example: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                    pl:
                                      type: string
                                      example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                    en:
                                      type: string
                                      example: 'Bus station "Kyiv",S.Petlury 32 street'
                                    ru:
                                      type: string
                                      example: 'Автостанция "Киев",улица С.Петлюры 32'
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:52:18.000000Z'
                            updated_at:
                              type: string
                              example: '2024-03-23T12:23:48.000000Z'
                      country:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 6
                          name:
                            type: string
                            example: Украина
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Україна
                                  pl:
                                    type: string
                                    example: Ukraina
                                  en:
                                    type: string
                                    example: Ukraine
                                  ru:
                                    type: string
                                    example: Украина
                          code:
                            type: string
                            example: UA
                          timezone:
                            type: string
                            example: null
                          created_at:
                            type: string
                            example: '2023-11-02T11:44:52.000000Z'
                          updated_at:
                            type: string
                            example: '2024-02-17T12:07:12.000000Z'
                      population:
                        type: string
                        example: null
                      number_of_bus_routes:
                        type: integer
                        example: 0
                      visibility:
                        type: boolean
                        example: true
                      country_id:
                        type: integer
                        example: 6
                      created_at:
                        type: string
                        example: '2023-11-02T11:51:05.000000Z'
                      updated_at:
                        type: string
                        example: '2024-02-18T14:28:39.000000Z'
      tags:
        - Geo
    parameters:
      -
        in: path
        name: city
        description: 'The city.'
        example: 267
        required: true
        schema:
          type: integer
  /api/departure-points:
    get:
      summary: 'Get all departure points'
      operationId: getAllDeparturePoints
      description: ''
      parameters:
        -
          in: query
          name: page
          description: 'Page number'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Page number'
            example: 1
            nullable: false
        -
          in: query
          name: search
          description: 'Search string'
          example: 'New York'
          required: true
          schema:
            type: string
            description: 'Search string'
            example: 'New York'
            nullable: false
        -
          in: query
          name: city
          description: 'Filter by city id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Filter by city id'
            example: 1
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 87
                      name: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        name:
                          ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                          pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                          en: 'Bus station "Kyiv",S.Petlury 32 street'
                          ru: 'Автостанция "Киев",улица С.Петлюры 32'
                      city:
                        id: 267
                        name: Киев
                        translations:
                          name:
                            ua: Київ
                            pl: Kijów
                            en: Kyiv
                            ru: Киев
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 6
                        created_at: '2023-11-02T11:51:05.000000Z'
                        updated_at: '2024-02-18T14:28:39.000000Z'
                      visibility: true
                      created_at: '2023-11-02T11:52:18.000000Z'
                      updated_at: '2024-03-23T12:23:48.000000Z'
                    -
                      id: 87
                      name: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        name:
                          ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                          pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                          en: 'Bus station "Kyiv",S.Petlury 32 street'
                          ru: 'Автостанция "Киев",улица С.Петлюры 32'
                      city:
                        id: 267
                        name: Киев
                        translations:
                          name:
                            ua: Київ
                            pl: Kijów
                            en: Kyiv
                            ru: Киев
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 6
                        created_at: '2023-11-02T11:51:05.000000Z'
                        updated_at: '2024-02-18T14:28:39.000000Z'
                      visibility: true
                      created_at: '2023-11-02T11:52:18.000000Z'
                      updated_at: '2024-03-23T12:23:48.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      -
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 87
                        name:
                          type: string
                          example: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                ua:
                                  type: string
                                  example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                pl:
                                  type: string
                                  example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                en:
                                  type: string
                                  example: 'Bus station "Kyiv",S.Petlury 32 street'
                                ru:
                                  type: string
                                  example: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 267
                            name:
                              type: string
                              example: Киев
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: Київ
                                    pl:
                                      type: string
                                      example: Kijów
                                    en:
                                      type: string
                                      example: Kyiv
                                    ru:
                                      type: string
                                      example: Киев
                            population:
                              type: string
                              example: null
                            number_of_bus_routes:
                              type: integer
                              example: 0
                            visibility:
                              type: boolean
                              example: true
                            country_id:
                              type: integer
                              example: 6
                            created_at:
                              type: string
                              example: '2023-11-02T11:51:05.000000Z'
                            updated_at:
                              type: string
                              example: '2024-02-18T14:28:39.000000Z'
                        visibility:
                          type: boolean
                          example: true
                        created_at:
                          type: string
                          example: '2023-11-02T11:52:18.000000Z'
                        updated_at:
                          type: string
                          example: '2024-03-23T12:23:48.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Geo
    post:
      summary: 'Create a departure point'
      operationId: createADeparturePoint
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 87
                    name: 'Автостанция "Киев",улица С.Петлюры 32'
                    translations:
                      name:
                        ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                        pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                        en: 'Bus station "Kyiv",S.Petlury 32 street'
                        ru: 'Автостанция "Киев",улица С.Петлюры 32'
                    city:
                      id: 267
                      name: Киев
                      translations:
                        name:
                          ua: Київ
                          pl: Kijów
                          en: Kyiv
                          ru: Киев
                      population: null
                      number_of_bus_routes: 0
                      visibility: true
                      country_id: 6
                      created_at: '2023-11-02T11:51:05.000000Z'
                      updated_at: '2024-02-18T14:28:39.000000Z'
                    visibility: true
                    created_at: '2023-11-02T11:52:18.000000Z'
                    updated_at: '2024-03-23T12:23:48.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 87
                      name:
                        type: string
                        example: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              ua:
                                type: string
                                example: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl:
                                type: string
                                example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en:
                                type: string
                                example: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru:
                                type: string
                                example: 'Автостанция "Киев",улица С.Петлюры 32'
                      city:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 267
                          name:
                            type: string
                            example: Киев
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Київ
                                  pl:
                                    type: string
                                    example: Kijów
                                  en:
                                    type: string
                                    example: Kyiv
                                  ru:
                                    type: string
                                    example: Киев
                          population:
                            type: string
                            example: null
                          number_of_bus_routes:
                            type: integer
                            example: 0
                          visibility:
                            type: boolean
                            example: true
                          country_id:
                            type: integer
                            example: 6
                          created_at:
                            type: string
                            example: '2023-11-02T11:51:05.000000Z'
                          updated_at:
                            type: string
                            example: '2024-02-18T14:28:39.000000Z'
                      visibility:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2023-11-02T11:52:18.000000Z'
                      updated_at:
                        type: string
                        example: '2024-03-23T12:23:48.000000Z'
      tags:
        - Geo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'DeparturePoint name'
                  example:
                    en: 'New York'
                    ar: نيويورك
                  items:
                    type: string
                city_id:
                  type: integer
                  description: 'City ID'
                  example: 1
                  nullable: false
              required:
                - name
                - city_id
  '/api/departure-points/{departurePoint_id}':
    get:
      summary: 'Get a departure point'
      operationId: getADeparturePoint
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 87
                    name: 'Автостанция "Киев",улица С.Петлюры 32'
                    translations:
                      name:
                        ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                        pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                        en: 'Bus station "Kyiv",S.Petlury 32 street'
                        ru: 'Автостанция "Киев",улица С.Петлюры 32'
                    city:
                      id: 267
                      name: Киев
                      translations:
                        name:
                          ua: Київ
                          pl: Kijów
                          en: Kyiv
                          ru: Киев
                      population: null
                      number_of_bus_routes: 0
                      visibility: true
                      country_id: 6
                      created_at: '2023-11-02T11:51:05.000000Z'
                      updated_at: '2024-02-18T14:28:39.000000Z'
                    visibility: true
                    created_at: '2023-11-02T11:52:18.000000Z'
                    updated_at: '2024-03-23T12:23:48.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 87
                      name:
                        type: string
                        example: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              ua:
                                type: string
                                example: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl:
                                type: string
                                example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en:
                                type: string
                                example: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru:
                                type: string
                                example: 'Автостанция "Киев",улица С.Петлюры 32'
                      city:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 267
                          name:
                            type: string
                            example: Киев
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Київ
                                  pl:
                                    type: string
                                    example: Kijów
                                  en:
                                    type: string
                                    example: Kyiv
                                  ru:
                                    type: string
                                    example: Киев
                          population:
                            type: string
                            example: null
                          number_of_bus_routes:
                            type: integer
                            example: 0
                          visibility:
                            type: boolean
                            example: true
                          country_id:
                            type: integer
                            example: 6
                          created_at:
                            type: string
                            example: '2023-11-02T11:51:05.000000Z'
                          updated_at:
                            type: string
                            example: '2024-02-18T14:28:39.000000Z'
                      visibility:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2023-11-02T11:52:18.000000Z'
                      updated_at:
                        type: string
                        example: '2024-03-23T12:23:48.000000Z'
      tags:
        - Geo
    patch:
      summary: 'Update a departure point'
      operationId: updateADeparturePoint
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 87
                    name: 'Автостанция "Киев",улица С.Петлюры 32'
                    translations:
                      name:
                        ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                        pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                        en: 'Bus station "Kyiv",S.Petlury 32 street'
                        ru: 'Автостанция "Киев",улица С.Петлюры 32'
                    city:
                      id: 267
                      name: Киев
                      translations:
                        name:
                          ua: Київ
                          pl: Kijów
                          en: Kyiv
                          ru: Киев
                      population: null
                      number_of_bus_routes: 0
                      visibility: true
                      country_id: 6
                      created_at: '2023-11-02T11:51:05.000000Z'
                      updated_at: '2024-02-18T14:28:39.000000Z'
                    visibility: true
                    created_at: '2023-11-02T11:52:18.000000Z'
                    updated_at: '2024-03-23T12:23:48.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 87
                      name:
                        type: string
                        example: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              ua:
                                type: string
                                example: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl:
                                type: string
                                example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en:
                                type: string
                                example: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru:
                                type: string
                                example: 'Автостанция "Киев",улица С.Петлюры 32'
                      city:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 267
                          name:
                            type: string
                            example: Киев
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Київ
                                  pl:
                                    type: string
                                    example: Kijów
                                  en:
                                    type: string
                                    example: Kyiv
                                  ru:
                                    type: string
                                    example: Киев
                          population:
                            type: string
                            example: null
                          number_of_bus_routes:
                            type: integer
                            example: 0
                          visibility:
                            type: boolean
                            example: true
                          country_id:
                            type: integer
                            example: 6
                          created_at:
                            type: string
                            example: '2023-11-02T11:51:05.000000Z'
                          updated_at:
                            type: string
                            example: '2024-02-18T14:28:39.000000Z'
                      visibility:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2023-11-02T11:52:18.000000Z'
                      updated_at:
                        type: string
                        example: '2024-03-23T12:23:48.000000Z'
      tags:
        - Geo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'DeparturePoint name'
                  example:
                    en: 'New York'
                    ar: نيويورك
                  items:
                    type: string
                city_id:
                  type: integer
                  description: 'City ID'
                  example: 1
                  nullable: false
                visibility:
                  type: boolean
                  description: Visibility
                  example: true
                  nullable: false
              required:
                - name
                - city_id
                - visibility
    delete:
      summary: 'Delete a departure point'
      operationId: deleteADeparturePoint
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - Geo
    parameters:
      -
        in: path
        name: departurePoint_id
        description: 'The ID of the departurePoint.'
        example: 87
        required: true
        schema:
          type: integer
  /api/countries:
    get:
      summary: 'Get all countries'
      operationId: getAllCountries
      description: ''
      parameters:
        -
          in: query
          name: page
          description: 'Page number'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Page number'
            example: 1
            nullable: false
        -
          in: query
          name: search
          description: 'Search string'
          example: Egypt
          required: true
          schema:
            type: string
            description: 'Search string'
            example: Egypt
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 160
                      name: 'Russian Federation'
                      translations:
                        name:
                          en: 'Russian Federation'
                          ar: 'United States Virgin Islands'
                      code: CI
                      timezone: null
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                    -
                      id: 161
                      name: Ireland
                      translations:
                        name:
                          en: Ireland
                          ar: India
                      code: ID
                      timezone: null
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 160
                        name: 'Russian Federation'
                        translations:
                          name:
                            en: 'Russian Federation'
                            ar: 'United States Virgin Islands'
                        code: CI
                        timezone: null
                        created_at: '2025-12-09T14:41:07.000000Z'
                        updated_at: '2025-12-09T14:41:07.000000Z'
                      -
                        id: 161
                        name: Ireland
                        translations:
                          name:
                            en: Ireland
                            ar: India
                        code: ID
                        timezone: null
                        created_at: '2025-12-09T14:41:07.000000Z'
                        updated_at: '2025-12-09T14:41:07.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 160
                        name:
                          type: string
                          example: 'Russian Federation'
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 'Russian Federation'
                                ar:
                                  type: string
                                  example: 'United States Virgin Islands'
                        code:
                          type: string
                          example: CI
                        timezone:
                          type: string
                          example: null
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:07.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:07.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Geo
    post:
      summary: 'Create a country'
      operationId: createACountry
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 163
                    name: 'Solomon Islands'
                    translations:
                      name:
                        en: 'Solomon Islands'
                        ar: Slovenia
                    code: NE
                    timezone: null
                    created_at: '2025-12-09T14:41:07.000000Z'
                    updated_at: '2025-12-09T14:41:07.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 163
                      name:
                        type: string
                        example: 'Solomon Islands'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Solomon Islands'
                              ar:
                                type: string
                                example: Slovenia
                      code:
                        type: string
                        example: NE
                      timezone:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
      tags:
        - Geo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'Country name'
                  example:
                    en: 'New York'
                    ar: نيويورك
                  items:
                    type: string
                code:
                  type: string
                  description: 'Country code'
                  example: ua
                  nullable: false
              required:
                - name
                - code
  '/api/countries/{country}':
    get:
      summary: 'Get a country'
      operationId: getACountry
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 162
                    name: 'Syrian Arab Republic'
                    translations:
                      name:
                        en: 'Syrian Arab Republic'
                        ar: Congo
                    code: EH
                    timezone: null
                    created_at: '2025-12-09T14:41:07.000000Z'
                    updated_at: '2025-12-09T14:41:07.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 162
                      name:
                        type: string
                        example: 'Syrian Arab Republic'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Syrian Arab Republic'
                              ar:
                                type: string
                                example: Congo
                      code:
                        type: string
                        example: EH
                      timezone:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
      tags:
        - Geo
    parameters:
      -
        in: path
        name: country
        description: 'Country ID'
        example: 1
        required: true
        schema:
          type: integer
  '/api/countries/{country_id}':
    patch:
      summary: 'Update a Country'
      operationId: updateACountry
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 164
                    name: 'Costa Rica'
                    translations:
                      name:
                        en: 'Costa Rica'
                        ar: 'Bosnia and Herzegovina'
                    code: VE
                    timezone: null
                    created_at: '2025-12-09T14:41:07.000000Z'
                    updated_at: '2025-12-09T14:41:07.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 164
                      name:
                        type: string
                        example: 'Costa Rica'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Costa Rica'
                              ar:
                                type: string
                                example: 'Bosnia and Herzegovina'
                      code:
                        type: string
                        example: VE
                      timezone:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
      tags:
        - Geo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'Country name'
                  example:
                    en: 'New York'
                    ar: نيويورك
                  items:
                    type: string
                code:
                  type: string
                  description: 'Country code'
                  example: ua
                  nullable: false
              required:
                - name
                - code
    delete:
      summary: 'Delete a Country'
      operationId: deleteACountry
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - Geo
    parameters:
      -
        in: path
        name: country_id
        description: 'The ID of the country.'
        example: 6
        required: true
        schema:
          type: integer
  /api/cities:
    get:
      summary: 'Get all cities'
      operationId: getAllCities
      description: ''
      parameters:
        -
          in: query
          name: page
          description: 'Page number'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Page number'
            example: 1
            nullable: false
        -
          in: query
          name: search
          description: 'Search string'
          example: 'New York'
          required: true
          schema:
            type: string
            description: 'Search string'
            example: 'New York'
            nullable: false
        -
          in: query
          name: country
          description: 'Filter by country id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Filter by country id'
            example: 1
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: null
                      name: 'North Rowlandhaven'
                      translations:
                        name:
                          en: 'North Rowlandhaven'
                          ar: 'Lake Franz'
                      population: null
                      number_of_bus_routes: 0
                      visibility: null
                      country_id: 166
                      created_at: null
                      updated_at: null
                    -
                      id: null
                      name: Nilsfort
                      translations:
                        name:
                          en: Nilsfort
                          ar: DuBuquefurt
                      population: null
                      number_of_bus_routes: 0
                      visibility: null
                      country_id: 168
                      created_at: null
                      updated_at: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: null
                        name: 'North Rowlandhaven'
                        translations:
                          name:
                            en: 'North Rowlandhaven'
                            ar: 'Lake Franz'
                        population: null
                        number_of_bus_routes: 0
                        visibility: null
                        country_id: 166
                        created_at: null
                        updated_at: null
                      -
                        id: null
                        name: Nilsfort
                        translations:
                          name:
                            en: Nilsfort
                            ar: DuBuquefurt
                        population: null
                        number_of_bus_routes: 0
                        visibility: null
                        country_id: 168
                        created_at: null
                        updated_at: null
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: null
                        name:
                          type: string
                          example: 'North Rowlandhaven'
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 'North Rowlandhaven'
                                ar:
                                  type: string
                                  example: 'Lake Franz'
                        population:
                          type: string
                          example: null
                        number_of_bus_routes:
                          type: integer
                          example: 0
                        visibility:
                          type: string
                          example: null
                        country_id:
                          type: integer
                          example: 166
                        created_at:
                          type: string
                          example: null
                        updated_at:
                          type: string
                          example: null
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Geo
    post:
      summary: 'Create a city'
      operationId: createACity
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: null
                    name: 'South Vergie'
                    translations:
                      name:
                        en: 'South Vergie'
                        ar: 'Lake Katarina'
                    population: null
                    number_of_bus_routes: 0
                    visibility: null
                    country_id: 6
                    created_at: null
                    updated_at: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: null
                      name:
                        type: string
                        example: 'South Vergie'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'South Vergie'
                              ar:
                                type: string
                                example: 'Lake Katarina'
                      population:
                        type: string
                        example: null
                      number_of_bus_routes:
                        type: integer
                        example: 0
                      visibility:
                        type: string
                        example: null
                      country_id:
                        type: integer
                        example: 6
                      created_at:
                        type: string
                        example: null
                      updated_at:
                        type: string
                        example: null
      tags:
        - Geo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'City name'
                  example:
                    en: 'New York'
                    ar: نيويورك
                  items:
                    type: string
                country_id:
                  type: integer
                  description: 'Country ID'
                  example: 1
                  nullable: false
              required:
                - name
                - country_id
  '/api/cities/{city_id}':
    patch:
      summary: 'Update a city'
      operationId: updateACity
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: null
                    name: 'North Melvinaland'
                    translations:
                      name:
                        en: 'North Melvinaland'
                        ar: 'New Eulah'
                    population: null
                    number_of_bus_routes: 0
                    visibility: null
                    country_id: 6
                    created_at: null
                    updated_at: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: null
                      name:
                        type: string
                        example: 'North Melvinaland'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'North Melvinaland'
                              ar:
                                type: string
                                example: 'New Eulah'
                      population:
                        type: string
                        example: null
                      number_of_bus_routes:
                        type: integer
                        example: 0
                      visibility:
                        type: string
                        example: null
                      country_id:
                        type: integer
                        example: 6
                      created_at:
                        type: string
                        example: null
                      updated_at:
                        type: string
                        example: null
      tags:
        - Geo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'City name'
                  example:
                    en: 'New York'
                    ar: نيويورك
                  items:
                    type: string
                country_id:
                  type: integer
                  description: 'Country ID'
                  example: 1
                  nullable: false
              required:
                - name
                - country_id
    delete:
      summary: 'Delete a city'
      operationId: deleteACity
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - Geo
    parameters:
      -
        in: path
        name: city_id
        description: 'The ID of the city.'
        example: 267
        required: true
        schema:
          type: integer
  /api/notifications:
    get:
      summary: 'Get notifications'
      operationId: getNotifications
      description: 'Get notifications'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Notifications
  '/api/notifications/{id}':
    put:
      summary: 'Read notification'
      operationId: readNotification
      description: 'Read notification'
      parameters: []
      responses: {  }
      tags:
        - Notifications
    delete:
      summary: 'Delete notification'
      operationId: deleteNotification
      description: 'Delete notification'
      parameters: []
      responses: {  }
      tags:
        - Notifications
    parameters:
      -
        in: path
        name: id
        description: 'Notification id'
        example: architecto
        required: true
        schema:
          type: string
  /api/orders:
    get:
      summary: 'Get orders list'
      operationId: getOrdersList
      description: ''
      parameters:
        -
          in: query
          name: search
          description: ''
          example: 'First name'
          required: true
          schema:
            type: string
            description: ''
            example: 'First name'
            nullable: false
        -
          in: query
          name: date_range
          description: ''
          example:
            from: '2021-01-01'
            to: '2021-01-31'
          required: true
          schema:
            type: array
            description: ''
            example:
              from: '2021-01-01'
              to: '2021-01-31'
            items:
              type: string
        -
          in: query
          name: status
          description: ''
          example: paid
          required: true
          schema:
            type: string
            description: ''
            example: paid
            nullable: false
        -
          in: query
          name: bus_route_id
          description: ''
          example: 1
          required: true
          schema:
            type: integer
            description: ''
            example: 1
            nullable: false
        -
          in: query
          name: from_departure_point_id
          description: ''
          example: 1
          required: true
          schema:
            type: integer
            description: ''
            example: 1
            nullable: false
        -
          in: query
          name: to_departure_point_id
          description: ''
          example: 2
          required: true
          schema:
            type: integer
            description: ''
            example: 2
            nullable: false
        -
          in: query
          name: departure_date
          description: ''
          example: '2021-01-01'
          required: true
          schema:
            type: string
            description: ''
            example: '2021-01-01'
            nullable: false
        -
          in: query
          name: order_created_at
          description: ''
          example: '2021-01-01'
          required: true
          schema:
            type: string
            description: ''
            example: '2021-01-01'
            nullable: false
        -
          in: query
          name: agent_id
          description: ''
          example: '1'
          required: true
          schema:
            type: string
            description: ''
            example: '1'
            nullable: false
        -
          in: query
          name: carrier_id
          description: ''
          example: '1'
          required: true
          schema:
            type: string
            description: ''
            example: '1'
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: null
                      public_id: ''
                      paid_at: null
                      agent_id: null
                      status: null
                      total_price: 698.39
                      payment_on_the_spot: null
                      expired_at: null
                      created_at: null
                      updated_at: null
                    -
                      id: null
                      public_id: ''
                      paid_at: null
                      agent_id: null
                      status: null
                      total_price: 286.75
                      payment_on_the_spot: null
                      expired_at: null
                      created_at: null
                      updated_at: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: null
                        public_id: ''
                        paid_at: null
                        agent_id: null
                        status: null
                        total_price: 698.39
                        payment_on_the_spot: null
                        expired_at: null
                        created_at: null
                        updated_at: null
                      -
                        id: null
                        public_id: ''
                        paid_at: null
                        agent_id: null
                        status: null
                        total_price: 286.75
                        payment_on_the_spot: null
                        expired_at: null
                        created_at: null
                        updated_at: null
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: null
                        public_id:
                          type: string
                          example: ''
                        paid_at:
                          type: string
                          example: null
                        agent_id:
                          type: string
                          example: null
                        status:
                          type: string
                          example: null
                        total_price:
                          type: number
                          example: 698.39
                        payment_on_the_spot:
                          type: string
                          example: null
                        expired_at:
                          type: string
                          example: null
                        created_at:
                          type: string
                          example: null
                        updated_at:
                          type: string
                          example: null
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Orders
      security: []
  '/api/orders/{order_id}':
    get:
      summary: 'Show order'
      operationId: showOrder
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: null
                    public_id: ''
                    paid_at: null
                    agent_id: null
                    status: null
                    total_price: 658.85
                    payment_on_the_spot: null
                    expired_at: null
                    created_at: null
                    updated_at: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: null
                      public_id:
                        type: string
                        example: ''
                      paid_at:
                        type: string
                        example: null
                      agent_id:
                        type: string
                        example: null
                      status:
                        type: string
                        example: null
                      total_price:
                        type: number
                        example: 658.85
                      payment_on_the_spot:
                        type: string
                        example: null
                      expired_at:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: null
                      updated_at:
                        type: string
                        example: null
      tags:
        - Orders
      security: []
    parameters:
      -
        in: path
        name: order_id
        description: 'The ID of the order.'
        example: 18
        required: true
        schema:
          type: integer
  '/api/orders/{order_id}/cancel':
    post:
      summary: 'Cancel order'
      operationId: cancelOrder
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Orders
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cancel_reason_id:
                  type: string
                  description: 'Reason for cancelling the order'
                  example: 1
                  nullable: false
                cancel_comment:
                  type: string
                  description: 'Additional comments for cancelling the order'
                  example: 'Customer requested cancellation due to personal reasons.'
                  nullable: false
              required:
                - cancel_reason_id
      security: []
    parameters:
      -
        in: path
        name: order_id
        description: 'The ID of the order.'
        example: 18
        required: true
        schema:
          type: integer
      -
        in: path
        name: orderId
        description: 'ID of the order to cancel'
        example: 1
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight_id}/passengers':
    get:
      summary: 'Get passengers'
      operationId: getPassengers
      description: 'Get passengers'
      parameters:
        -
          in: query
          name: from_departure_point_id
          description: 'Filter by from bus flight departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Filter by from bus flight departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: to_departure_point_id
          description: 'Filter by to bus flight departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Filter by to bus flight departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: order_status
          description: 'Filter by order status'
          example: paid
          required: true
          schema:
            type: string
            description: 'Filter by order status'
            example: paid
            nullable: false
        -
          in: query
          name: created_at
          description: 'Filter by created at'
          example: '2021-01-01'
          required: true
          schema:
            type: string
            description: 'Filter by created at'
            example: '2021-01-01'
            nullable: false
        -
          in: query
          name: search
          description: 'Search by name, email, phone'
          example: John
          required: true
          schema:
            type: string
            description: 'Search by name, email, phone'
            example: John
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 22
                      type: internal
                      public_id: YHETxCGlb0NmnHK
                      price: '10.00'
                      price_adjustment_percent: '0.00'
                      currency:
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                      order:
                        id: 25
                        public_id: kOKT9MVfb048GOi
                        paid_at: null
                        agent_id: null
                        status: pending
                        total_price: '10.00'
                        payment_on_the_spot: true
                        expired_at: '2024-01-25T08:12:29.000000Z'
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2024-01-25T07:57:29.000000Z'
                      order_id: 25
                      from_departure_point:
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        id: 88
                        name: Голливуд
                        translations:
                          name:
                            ua: Голливуд
                            pl: Голливуд
                            en: Голливуд
                        city:
                          id: 268
                          name: Чернигов
                          translations:
                            name:
                              ua: Чернігів
                              en: Chernihiv
                              pl: Czernihów
                              ru: Чернигов
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:37.000000Z'
                          updated_at: '2025-07-17T06:32:14.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:53:33.000000Z'
                        updated_at: '2023-11-02T11:53:33.000000Z'
                      first_name: test
                      last_name: test
                      phone: '11111111111'
                      email: null
                      birthday: null
                      passenger_type: adult
                      departure_date: '2024-01-25T09:00:00.000000Z'
                      occupied_seats:
                        -
                          id: 22
                          bus_flight_id: 207
                          from_departure_point_id: 87
                          to_departure_point_id: 88
                          seat_number: 9
                          type: reserved
                          created_at: '2024-01-25T07:57:29.000000Z'
                          updated_at: '2024-02-19T12:32:03.000000Z'
                      bus_flight_id: 207
                      canceled_at: null
                      cancel_comment: null
                      status: pending
                      seat_change_allowed: true
                      comment: null
                      is_processed: false
                      external_route_name: null
                      external_ticket_id: null
                      external_discount_name: null
                      external_from_departure_point_name: null
                      external_to_departure_point_name: null
                      is_external: false
                      created_at: '2024-01-25T07:57:29.000000Z'
                      updated_at: '2025-08-06T06:32:46.000000Z'
                    -
                      id: 22
                      type: internal
                      public_id: YHETxCGlb0NmnHK
                      price: '10.00'
                      price_adjustment_percent: '0.00'
                      currency:
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                      order:
                        id: 25
                        public_id: kOKT9MVfb048GOi
                        paid_at: null
                        agent_id: null
                        status: pending
                        total_price: '10.00'
                        payment_on_the_spot: true
                        expired_at: '2024-01-25T08:12:29.000000Z'
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2024-01-25T07:57:29.000000Z'
                      order_id: 25
                      from_departure_point:
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        city:
                          id: 267
                          name: Киев
                          translations:
                            name:
                              ua: Київ
                              pl: Kijów
                              en: Kyiv
                              ru: Киев
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:05.000000Z'
                          updated_at: '2024-02-18T14:28:39.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        id: 88
                        name: Голливуд
                        translations:
                          name:
                            ua: Голливуд
                            pl: Голливуд
                            en: Голливуд
                        city:
                          id: 268
                          name: Чернигов
                          translations:
                            name:
                              ua: Чернігів
                              en: Chernihiv
                              pl: Czernihów
                              ru: Чернигов
                          population: null
                          number_of_bus_routes: 0
                          visibility: true
                          country_id: 6
                          created_at: '2023-11-02T11:51:37.000000Z'
                          updated_at: '2025-07-17T06:32:14.000000Z'
                        visibility: true
                        created_at: '2023-11-02T11:53:33.000000Z'
                        updated_at: '2023-11-02T11:53:33.000000Z'
                      first_name: test
                      last_name: test
                      phone: '11111111111'
                      email: null
                      birthday: null
                      passenger_type: adult
                      departure_date: '2024-01-25T09:00:00.000000Z'
                      occupied_seats:
                        -
                          id: 22
                          bus_flight_id: 207
                          from_departure_point_id: 87
                          to_departure_point_id: 88
                          seat_number: 9
                          type: reserved
                          created_at: '2024-01-25T07:57:29.000000Z'
                          updated_at: '2024-02-19T12:32:03.000000Z'
                      bus_flight_id: 207
                      canceled_at: null
                      cancel_comment: null
                      status: pending
                      seat_change_allowed: true
                      comment: null
                      is_processed: false
                      external_route_name: null
                      external_ticket_id: null
                      external_discount_name: null
                      external_from_departure_point_name: null
                      external_to_departure_point_name: null
                      is_external: false
                      created_at: '2024-01-25T07:57:29.000000Z'
                      updated_at: '2025-08-06T06:32:46.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                  flight_data: App\Http\Resources\BusFlightResource
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 22
                        type: internal
                        public_id: YHETxCGlb0NmnHK
                        price: '10.00'
                        price_adjustment_percent: '0.00'
                        currency:
                          id: 88
                          display_name: Гривня
                          code: UAH
                          symbol: ₴
                          is_active: true
                          created_at: '2023-11-02T11:57:10.000000Z'
                          updated_at: '2023-11-02T11:57:10.000000Z'
                        order:
                          id: 25
                          public_id: kOKT9MVfb048GOi
                          paid_at: null
                          agent_id: null
                          status: pending
                          total_price: '10.00'
                          payment_on_the_spot: true
                          expired_at: '2024-01-25T08:12:29.000000Z'
                          created_at: '2024-01-25T07:57:29.000000Z'
                          updated_at: '2024-01-25T07:57:29.000000Z'
                        order_id: 25
                        from_departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            id: 267
                            name: Киев
                            translations:
                              name:
                                ua: Київ
                                pl: Kijów
                                en: Kyiv
                                ru: Киев
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:05.000000Z'
                            updated_at: '2024-02-18T14:28:39.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          id: 88
                          name: Голливуд
                          translations:
                            name:
                              ua: Голливуд
                              pl: Голливуд
                              en: Голливуд
                          city:
                            id: 268
                            name: Чернигов
                            translations:
                              name:
                                ua: Чернігів
                                en: Chernihiv
                                pl: Czernihów
                                ru: Чернигов
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:37.000000Z'
                            updated_at: '2025-07-17T06:32:14.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:53:33.000000Z'
                          updated_at: '2023-11-02T11:53:33.000000Z'
                        first_name: test
                        last_name: test
                        phone: '11111111111'
                        email: null
                        birthday: null
                        passenger_type: adult
                        departure_date: '2024-01-25T09:00:00.000000Z'
                        occupied_seats:
                          -
                            id: 22
                            bus_flight_id: 207
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            seat_number: 9
                            type: reserved
                            created_at: '2024-01-25T07:57:29.000000Z'
                            updated_at: '2024-02-19T12:32:03.000000Z'
                        bus_flight_id: 207
                        canceled_at: null
                        cancel_comment: null
                        status: pending
                        seat_change_allowed: true
                        comment: null
                        is_processed: false
                        external_route_name: null
                        external_ticket_id: null
                        external_discount_name: null
                        external_from_departure_point_name: null
                        external_to_departure_point_name: null
                        is_external: false
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2025-08-06T06:32:46.000000Z'
                      -
                        id: 22
                        type: internal
                        public_id: YHETxCGlb0NmnHK
                        price: '10.00'
                        price_adjustment_percent: '0.00'
                        currency:
                          id: 88
                          display_name: Гривня
                          code: UAH
                          symbol: ₴
                          is_active: true
                          created_at: '2023-11-02T11:57:10.000000Z'
                          updated_at: '2023-11-02T11:57:10.000000Z'
                        order:
                          id: 25
                          public_id: kOKT9MVfb048GOi
                          paid_at: null
                          agent_id: null
                          status: pending
                          total_price: '10.00'
                          payment_on_the_spot: true
                          expired_at: '2024-01-25T08:12:29.000000Z'
                          created_at: '2024-01-25T07:57:29.000000Z'
                          updated_at: '2024-01-25T07:57:29.000000Z'
                        order_id: 25
                        from_departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            id: 267
                            name: Киев
                            translations:
                              name:
                                ua: Київ
                                pl: Kijów
                                en: Kyiv
                                ru: Киев
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:05.000000Z'
                            updated_at: '2024-02-18T14:28:39.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          id: 88
                          name: Голливуд
                          translations:
                            name:
                              ua: Голливуд
                              pl: Голливуд
                              en: Голливуд
                          city:
                            id: 268
                            name: Чернигов
                            translations:
                              name:
                                ua: Чернігів
                                en: Chernihiv
                                pl: Czernihów
                                ru: Чернигов
                            population: null
                            number_of_bus_routes: 0
                            visibility: true
                            country_id: 6
                            created_at: '2023-11-02T11:51:37.000000Z'
                            updated_at: '2025-07-17T06:32:14.000000Z'
                          visibility: true
                          created_at: '2023-11-02T11:53:33.000000Z'
                          updated_at: '2023-11-02T11:53:33.000000Z'
                        first_name: test
                        last_name: test
                        phone: '11111111111'
                        email: null
                        birthday: null
                        passenger_type: adult
                        departure_date: '2024-01-25T09:00:00.000000Z'
                        occupied_seats:
                          -
                            id: 22
                            bus_flight_id: 207
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            seat_number: 9
                            type: reserved
                            created_at: '2024-01-25T07:57:29.000000Z'
                            updated_at: '2024-02-19T12:32:03.000000Z'
                        bus_flight_id: 207
                        canceled_at: null
                        cancel_comment: null
                        status: pending
                        seat_change_allowed: true
                        comment: null
                        is_processed: false
                        external_route_name: null
                        external_ticket_id: null
                        external_discount_name: null
                        external_from_departure_point_name: null
                        external_to_departure_point_name: null
                        is_external: false
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2025-08-06T06:32:46.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 22
                        type:
                          type: string
                          example: internal
                        public_id:
                          type: string
                          example: YHETxCGlb0NmnHK
                        price:
                          type: string
                          example: '10.00'
                        price_adjustment_percent:
                          type: string
                          example: '0.00'
                        currency:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 88
                            display_name:
                              type: string
                              example: Гривня
                            code:
                              type: string
                              example: UAH
                            symbol:
                              type: string
                              example: ₴
                            is_active:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                        order:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 25
                            public_id:
                              type: string
                              example: kOKT9MVfb048GOi
                            paid_at:
                              type: string
                              example: null
                            agent_id:
                              type: string
                              example: null
                            status:
                              type: string
                              example: pending
                            total_price:
                              type: string
                              example: '10.00'
                            payment_on_the_spot:
                              type: boolean
                              example: true
                            expired_at:
                              type: string
                              example: '2024-01-25T08:12:29.000000Z'
                            created_at:
                              type: string
                              example: '2024-01-25T07:57:29.000000Z'
                            updated_at:
                              type: string
                              example: '2024-01-25T07:57:29.000000Z'
                        order_id:
                          type: integer
                          example: 25
                        from_departure_point:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 87
                            name:
                              type: string
                              example: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                    pl:
                                      type: string
                                      example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                    en:
                                      type: string
                                      example: 'Bus station "Kyiv",S.Petlury 32 street'
                                    ru:
                                      type: string
                                      example: 'Автостанция "Киев",улица С.Петлюры 32'
                            city:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 267
                                name:
                                  type: string
                                  example: Киев
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { ua: { type: string, example: Київ }, pl: { type: string, example: Kijów }, en: { type: string, example: Kyiv }, ru: { type: string, example: Киев } }
                                population:
                                  type: string
                                  example: null
                                number_of_bus_routes:
                                  type: integer
                                  example: 0
                                visibility:
                                  type: boolean
                                  example: true
                                country_id:
                                  type: integer
                                  example: 6
                                created_at:
                                  type: string
                                  example: '2023-11-02T11:51:05.000000Z'
                                updated_at:
                                  type: string
                                  example: '2024-02-18T14:28:39.000000Z'
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:52:18.000000Z'
                            updated_at:
                              type: string
                              example: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 88
                            name:
                              type: string
                              example: Голливуд
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: Голливуд
                                    pl:
                                      type: string
                                      example: Голливуд
                                    en:
                                      type: string
                                      example: Голливуд
                            city:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 268
                                name:
                                  type: string
                                  example: Чернигов
                                translations:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties: { ua: { type: string, example: Чернігів }, en: { type: string, example: Chernihiv }, pl: { type: string, example: Czernihów }, ru: { type: string, example: Чернигов } }
                                population:
                                  type: string
                                  example: null
                                number_of_bus_routes:
                                  type: integer
                                  example: 0
                                visibility:
                                  type: boolean
                                  example: true
                                country_id:
                                  type: integer
                                  example: 6
                                created_at:
                                  type: string
                                  example: '2023-11-02T11:51:37.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-07-17T06:32:14.000000Z'
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:53:33.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:53:33.000000Z'
                        first_name:
                          type: string
                          example: test
                        last_name:
                          type: string
                          example: test
                        phone:
                          type: string
                          example: '11111111111'
                        email:
                          type: string
                          example: null
                        birthday:
                          type: string
                          example: null
                        passenger_type:
                          type: string
                          example: adult
                        departure_date:
                          type: string
                          example: '2024-01-25T09:00:00.000000Z'
                        occupied_seats:
                          type: array
                          example:
                            -
                              id: 22
                              bus_flight_id: 207
                              from_departure_point_id: 87
                              to_departure_point_id: 88
                              seat_number: 9
                              type: reserved
                              created_at: '2024-01-25T07:57:29.000000Z'
                              updated_at: '2024-02-19T12:32:03.000000Z'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 22
                              bus_flight_id:
                                type: integer
                                example: 207
                              from_departure_point_id:
                                type: integer
                                example: 87
                              to_departure_point_id:
                                type: integer
                                example: 88
                              seat_number:
                                type: integer
                                example: 9
                              type:
                                type: string
                                example: reserved
                              created_at:
                                type: string
                                example: '2024-01-25T07:57:29.000000Z'
                              updated_at:
                                type: string
                                example: '2024-02-19T12:32:03.000000Z'
                        bus_flight_id:
                          type: integer
                          example: 207
                        canceled_at:
                          type: string
                          example: null
                        cancel_comment:
                          type: string
                          example: null
                        status:
                          type: string
                          example: pending
                        seat_change_allowed:
                          type: boolean
                          example: true
                        comment:
                          type: string
                          example: null
                        is_processed:
                          type: boolean
                          example: false
                        external_route_name:
                          type: string
                          example: null
                        external_ticket_id:
                          type: string
                          example: null
                        external_discount_name:
                          type: string
                          example: null
                        external_from_departure_point_name:
                          type: string
                          example: null
                        external_to_departure_point_name:
                          type: string
                          example: null
                        is_external:
                          type: boolean
                          example: false
                        created_at:
                          type: string
                          example: '2024-01-25T07:57:29.000000Z'
                        updated_at:
                          type: string
                          example: '2025-08-06T06:32:46.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
                  flight_data:
                    type: string
                    example: App\Http\Resources\BusFlightResource
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight_id}/passengers/get-free-seats/{from_departure_point_id}/{to_departure_point_id}':
    get:
      summary: 'Get free seats'
      operationId: getFreeSeats
      description: 'Get free seats'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: from_departure_point_id
        description: 'The ID of the from departure point.'
        example: odio
        required: true
        schema:
          type: string
      -
        in: path
        name: to_departure_point_id
        description: 'The ID of the to departure point.'
        example: ut
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight_id}/passengers/notifications':
    get:
      summary: 'Get notification logs'
      operationId: getNotificationLogs
      description: 'Get notification logs'
      parameters:
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      ticket_id: 22
                      content: тест
                      bus_flight_id: 207
                      channel: sms
                      created_at: '2024-02-15T07:18:33.000000Z'
                      updated_at: '2024-02-15T07:18:33.000000Z'
                    -
                      id: 1
                      ticket_id: 22
                      content: тест
                      bus_flight_id: 207
                      channel: sms
                      created_at: '2024-02-15T07:18:33.000000Z'
                      updated_at: '2024-02-15T07:18:33.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        ticket_id: 22
                        content: тест
                        bus_flight_id: 207
                        channel: sms
                        created_at: '2024-02-15T07:18:33.000000Z'
                        updated_at: '2024-02-15T07:18:33.000000Z'
                      -
                        id: 1
                        ticket_id: 22
                        content: тест
                        bus_flight_id: 207
                        channel: sms
                        created_at: '2024-02-15T07:18:33.000000Z'
                        updated_at: '2024-02-15T07:18:33.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        ticket_id:
                          type: integer
                          example: 22
                        content:
                          type: string
                          example: тест
                        bus_flight_id:
                          type: integer
                          example: 207
                        channel:
                          type: string
                          example: sms
                        created_at:
                          type: string
                          example: '2024-02-15T07:18:33.000000Z'
                        updated_at:
                          type: string
                          example: '2024-02-15T07:18:33.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - Passengers
      security: []
    post:
      summary: 'Send notification'
      operationId: sendNotification
      description: 'Send notification'
      parameters: []
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: integer
                example: 200
      tags:
        - Passengers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ticket_ids:
                  type: array
                  description: 'Ticket ids'
                  example: '[1, 2, 3]'
                  items:
                    type: string
                content:
                  type: string
                  description: Content
                  example: Hello
                  nullable: false
              required:
                - ticket_ids
                - content
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight_id}/passengers/export-to-exel':
    get:
      summary: 'Export passengers to exel'
      operationId: exportPassengersToExel
      description: 'Export passengers to exel'
      parameters:
        -
          in: query
          name: from_departure_point_id
          description: 'Filter by from bus flight departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Filter by from bus flight departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: to_departure_point_id
          description: 'Filter by to bus flight departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Filter by to bus flight departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: order_status
          description: 'Filter by order status'
          example: paid
          required: true
          schema:
            type: string
            description: 'Filter by order status'
            example: paid
            nullable: false
        -
          in: query
          name: created_at
          description: 'Filter by created at'
          example: '2021-01-01'
          required: true
          schema:
            type: string
            description: 'Filter by created at'
            example: '2021-01-01'
            nullable: false
        -
          in: query
          name: search
          description: 'Search by name, email, phone'
          example: John
          required: true
          schema:
            type: string
            description: 'Search by name, email, phone'
            example: John
            nullable: false
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight_id}/passengers/transfer':
    post:
      summary: 'Transfer passengers'
      operationId: transferPassengers
      description: 'Transfer passengers'
      parameters: []
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: integer
                example: 200
      tags:
        - Passengers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ticket_ids:
                  type: array
                  description: 'Ticket ids'
                  example: '[1, 2, 3]'
                  items:
                    type: string
              required:
                - ticket_ids
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
  '/api/bus-flights/{bus_flight_id}/passengers/{passenger_id}/accept-payment':
    patch:
      summary: 'Accept payment'
      operationId: acceptPayment
      description: 'Accept payment'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    type: internal
                    public_id: YHETxCGlb0NmnHK
                    price: '10.00'
                    price_adjustment_percent: '0.00'
                    order_id: 25
                    first_name: test
                    last_name: test
                    phone: '11111111111'
                    email: null
                    birthday: null
                    passenger_type: adult
                    departure_date: '2024-01-25T09:00:00.000000Z'
                    bus_flight_id: 207
                    canceled_at: null
                    cancel_comment: null
                    status: pending
                    seat_change_allowed: true
                    comment: null
                    is_processed: false
                    external_route_name: null
                    external_ticket_id: null
                    external_discount_name: null
                    external_from_departure_point_name: null
                    external_to_departure_point_name: null
                    is_external: false
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2025-08-06T06:32:46.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      type:
                        type: string
                        example: internal
                      public_id:
                        type: string
                        example: YHETxCGlb0NmnHK
                      price:
                        type: string
                        example: '10.00'
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
                      order_id:
                        type: integer
                        example: 25
                      first_name:
                        type: string
                        example: test
                      last_name:
                        type: string
                        example: test
                      phone:
                        type: string
                        example: '11111111111'
                      email:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      passenger_type:
                        type: string
                        example: adult
                      departure_date:
                        type: string
                        example: '2024-01-25T09:00:00.000000Z'
                      bus_flight_id:
                        type: integer
                        example: 207
                      canceled_at:
                        type: string
                        example: null
                      cancel_comment:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      seat_change_allowed:
                        type: boolean
                        example: true
                      comment:
                        type: string
                        example: null
                      is_processed:
                        type: boolean
                        example: false
                      external_route_name:
                        type: string
                        example: null
                      external_ticket_id:
                        type: string
                        example: null
                      external_discount_name:
                        type: string
                        example: null
                      external_from_departure_point_name:
                        type: string
                        example: null
                      external_to_departure_point_name:
                        type: string
                        example: null
                      is_external:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2025-08-06T06:32:46.000000Z'
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: passenger_id
        description: 'The ID of the passenger.'
        example: sunt
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight_id}/passengers/{passenger_id}/not-show':
    patch:
      summary: 'Passenger not show'
      operationId: passengerNotShow
      description: 'Passenger not show'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    type: internal
                    public_id: YHETxCGlb0NmnHK
                    price: '10.00'
                    price_adjustment_percent: '0.00'
                    order_id: 25
                    first_name: test
                    last_name: test
                    phone: '11111111111'
                    email: null
                    birthday: null
                    passenger_type: adult
                    departure_date: '2024-01-25T09:00:00.000000Z'
                    bus_flight_id: 207
                    canceled_at: null
                    cancel_comment: null
                    status: pending
                    seat_change_allowed: true
                    comment: null
                    is_processed: false
                    external_route_name: null
                    external_ticket_id: null
                    external_discount_name: null
                    external_from_departure_point_name: null
                    external_to_departure_point_name: null
                    is_external: false
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2025-08-06T06:32:46.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      type:
                        type: string
                        example: internal
                      public_id:
                        type: string
                        example: YHETxCGlb0NmnHK
                      price:
                        type: string
                        example: '10.00'
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
                      order_id:
                        type: integer
                        example: 25
                      first_name:
                        type: string
                        example: test
                      last_name:
                        type: string
                        example: test
                      phone:
                        type: string
                        example: '11111111111'
                      email:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      passenger_type:
                        type: string
                        example: adult
                      departure_date:
                        type: string
                        example: '2024-01-25T09:00:00.000000Z'
                      bus_flight_id:
                        type: integer
                        example: 207
                      canceled_at:
                        type: string
                        example: null
                      cancel_comment:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      seat_change_allowed:
                        type: boolean
                        example: true
                      comment:
                        type: string
                        example: null
                      is_processed:
                        type: boolean
                        example: false
                      external_route_name:
                        type: string
                        example: null
                      external_ticket_id:
                        type: string
                        example: null
                      external_discount_name:
                        type: string
                        example: null
                      external_from_departure_point_name:
                        type: string
                        example: null
                      external_to_departure_point_name:
                        type: string
                        example: null
                      is_external:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2025-08-06T06:32:46.000000Z'
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: passenger_id
        description: 'The ID of the passenger.'
        example: quae
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight_id}/passengers/{passenger_id}/showed-up':
    patch:
      summary: 'Passenger showed up'
      operationId: passengerShowedUp
      description: 'Passenger showed up'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    type: internal
                    public_id: YHETxCGlb0NmnHK
                    price: '10.00'
                    price_adjustment_percent: '0.00'
                    order_id: 25
                    first_name: test
                    last_name: test
                    phone: '11111111111'
                    email: null
                    birthday: null
                    passenger_type: adult
                    departure_date: '2024-01-25T09:00:00.000000Z'
                    bus_flight_id: 207
                    canceled_at: null
                    cancel_comment: null
                    status: pending
                    seat_change_allowed: true
                    comment: null
                    is_processed: false
                    external_route_name: null
                    external_ticket_id: null
                    external_discount_name: null
                    external_from_departure_point_name: null
                    external_to_departure_point_name: null
                    is_external: false
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2025-08-06T06:32:46.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      type:
                        type: string
                        example: internal
                      public_id:
                        type: string
                        example: YHETxCGlb0NmnHK
                      price:
                        type: string
                        example: '10.00'
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
                      order_id:
                        type: integer
                        example: 25
                      first_name:
                        type: string
                        example: test
                      last_name:
                        type: string
                        example: test
                      phone:
                        type: string
                        example: '11111111111'
                      email:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      passenger_type:
                        type: string
                        example: adult
                      departure_date:
                        type: string
                        example: '2024-01-25T09:00:00.000000Z'
                      bus_flight_id:
                        type: integer
                        example: 207
                      canceled_at:
                        type: string
                        example: null
                      cancel_comment:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      seat_change_allowed:
                        type: boolean
                        example: true
                      comment:
                        type: string
                        example: null
                      is_processed:
                        type: boolean
                        example: false
                      external_route_name:
                        type: string
                        example: null
                      external_ticket_id:
                        type: string
                        example: null
                      external_discount_name:
                        type: string
                        example: null
                      external_from_departure_point_name:
                        type: string
                        example: null
                      external_to_departure_point_name:
                        type: string
                        example: null
                      is_external:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2025-08-06T06:32:46.000000Z'
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: passenger_id
        description: 'The ID of the passenger.'
        example: voluptas
        required: true
        schema:
          type: string
  '/api/bus-flights/{bus_flight_id}/passengers/{passenger_id}/change-seat':
    patch:
      summary: 'Change seat'
      operationId: changeSeat
      description: 'Change seat'
      parameters: []
      responses: {  }
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: bus_flight_id
        description: 'The ID of the bus flight.'
        example: 207
        required: true
        schema:
          type: integer
      -
        in: path
        name: passenger_id
        description: 'The ID of the passenger.'
        example: enim
        required: true
        schema:
          type: string
  '/api/bus-flights-passenger/{passenger_id}':
    get:
      summary: 'Show passenger'
      operationId: showPassenger
      description: 'Show passenger'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    type: internal
                    public_id: YHETxCGlb0NmnHK
                    price: '10.00'
                    price_adjustment_percent: '0.00'
                    currency:
                      id: 88
                      display_name: Гривня
                      code: UAH
                      symbol: ₴
                      is_active: true
                      created_at: '2023-11-02T11:57:10.000000Z'
                      updated_at: '2023-11-02T11:57:10.000000Z'
                    order:
                      id: 25
                      public_id: kOKT9MVfb048GOi
                      paid_at: null
                      agent_id: null
                      status: pending
                      total_price: '10.00'
                      payment_on_the_spot: true
                      expired_at: '2024-01-25T08:12:29.000000Z'
                      created_at: '2024-01-25T07:57:29.000000Z'
                      updated_at: '2024-01-25T07:57:29.000000Z'
                    order_id: 25
                    from_departure_point:
                      id: 87
                      name: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        name:
                          ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                          pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                          en: 'Bus station "Kyiv",S.Petlury 32 street'
                          ru: 'Автостанция "Киев",улица С.Петлюры 32'
                      city:
                        id: 267
                        name: Киев
                        translations:
                          name:
                            ua: Київ
                            pl: Kijów
                            en: Kyiv
                            ru: Киев
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 6
                        created_at: '2023-11-02T11:51:05.000000Z'
                        updated_at: '2024-02-18T14:28:39.000000Z'
                      visibility: true
                      created_at: '2023-11-02T11:52:18.000000Z'
                      updated_at: '2024-03-23T12:23:48.000000Z'
                    to_departure_point:
                      id: 88
                      name: Голливуд
                      translations:
                        name:
                          ua: Голливуд
                          pl: Голливуд
                          en: Голливуд
                      city:
                        id: 268
                        name: Чернигов
                        translations:
                          name:
                            ua: Чернігів
                            en: Chernihiv
                            pl: Czernihów
                            ru: Чернигов
                        population: null
                        number_of_bus_routes: 0
                        visibility: true
                        country_id: 6
                        created_at: '2023-11-02T11:51:37.000000Z'
                        updated_at: '2025-07-17T06:32:14.000000Z'
                      visibility: true
                      created_at: '2023-11-02T11:53:33.000000Z'
                      updated_at: '2023-11-02T11:53:33.000000Z'
                    first_name: test
                    last_name: test
                    phone: '11111111111'
                    email: null
                    birthday: null
                    passenger_type: adult
                    departure_date: '2024-01-25T09:00:00.000000Z'
                    baggage: []
                    occupied_seats:
                      -
                        id: 22
                        bus_flight_id: 207
                        from_departure_point_id: 87
                        to_departure_point_id: 88
                        seat_number: 9
                        type: reserved
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2024-02-19T12:32:03.000000Z'
                    bus_flight_id: 207
                    canceled_at: null
                    cancel_comment: null
                    status: pending
                    seat_change_allowed: true
                    comment: null
                    is_processed: false
                    external_route_name: null
                    external_ticket_id: null
                    external_discount_name: null
                    external_from_departure_point_name: null
                    external_to_departure_point_name: null
                    is_external: false
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2025-08-06T06:32:46.000000Z'
                  flight_data: App\Http\Resources\BusFlightResource
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      type:
                        type: string
                        example: internal
                      public_id:
                        type: string
                        example: YHETxCGlb0NmnHK
                      price:
                        type: string
                        example: '10.00'
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
                      currency:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 88
                          display_name:
                            type: string
                            example: Гривня
                          code:
                            type: string
                            example: UAH
                          symbol:
                            type: string
                            example: ₴
                          is_active:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                          updated_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                      order:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 25
                          public_id:
                            type: string
                            example: kOKT9MVfb048GOi
                          paid_at:
                            type: string
                            example: null
                          agent_id:
                            type: string
                            example: null
                          status:
                            type: string
                            example: pending
                          total_price:
                            type: string
                            example: '10.00'
                          payment_on_the_spot:
                            type: boolean
                            example: true
                          expired_at:
                            type: string
                            example: '2024-01-25T08:12:29.000000Z'
                          created_at:
                            type: string
                            example: '2024-01-25T07:57:29.000000Z'
                          updated_at:
                            type: string
                            example: '2024-01-25T07:57:29.000000Z'
                      order_id:
                        type: integer
                        example: 25
                      from_departure_point:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 87
                          name:
                            type: string
                            example: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                  pl:
                                    type: string
                                    example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                  en:
                                    type: string
                                    example: 'Bus station "Kyiv",S.Petlury 32 street'
                                  ru:
                                    type: string
                                    example: 'Автостанция "Киев",улица С.Петлюры 32'
                          city:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 267
                              name:
                                type: string
                                example: Киев
                              translations:
                                type: object
                                properties:
                                  name:
                                    type: object
                                    properties:
                                      ua: { type: string, example: Київ }
                                      pl: { type: string, example: Kijów }
                                      en: { type: string, example: Kyiv }
                                      ru: { type: string, example: Киев }
                              population:
                                type: string
                                example: null
                              number_of_bus_routes:
                                type: integer
                                example: 0
                              visibility:
                                type: boolean
                                example: true
                              country_id:
                                type: integer
                                example: 6
                              created_at:
                                type: string
                                example: '2023-11-02T11:51:05.000000Z'
                              updated_at:
                                type: string
                                example: '2024-02-18T14:28:39.000000Z'
                          visibility:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:52:18.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 88
                          name:
                            type: string
                            example: Голливуд
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Голливуд
                                  pl:
                                    type: string
                                    example: Голливуд
                                  en:
                                    type: string
                                    example: Голливуд
                          city:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 268
                              name:
                                type: string
                                example: Чернигов
                              translations:
                                type: object
                                properties:
                                  name:
                                    type: object
                                    properties:
                                      ua: { type: string, example: Чернігів }
                                      en: { type: string, example: Chernihiv }
                                      pl: { type: string, example: Czernihów }
                                      ru: { type: string, example: Чернигов }
                              population:
                                type: string
                                example: null
                              number_of_bus_routes:
                                type: integer
                                example: 0
                              visibility:
                                type: boolean
                                example: true
                              country_id:
                                type: integer
                                example: 6
                              created_at:
                                type: string
                                example: '2023-11-02T11:51:37.000000Z'
                              updated_at:
                                type: string
                                example: '2025-07-17T06:32:14.000000Z'
                          visibility:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:53:33.000000Z'
                          updated_at:
                            type: string
                            example: '2023-11-02T11:53:33.000000Z'
                      first_name:
                        type: string
                        example: test
                      last_name:
                        type: string
                        example: test
                      phone:
                        type: string
                        example: '11111111111'
                      email:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      passenger_type:
                        type: string
                        example: adult
                      departure_date:
                        type: string
                        example: '2024-01-25T09:00:00.000000Z'
                      baggage:
                        type: array
                        example: []
                      occupied_seats:
                        type: array
                        example:
                          -
                            id: 22
                            bus_flight_id: 207
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            seat_number: 9
                            type: reserved
                            created_at: '2024-01-25T07:57:29.000000Z'
                            updated_at: '2024-02-19T12:32:03.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 22
                            bus_flight_id:
                              type: integer
                              example: 207
                            from_departure_point_id:
                              type: integer
                              example: 87
                            to_departure_point_id:
                              type: integer
                              example: 88
                            seat_number:
                              type: integer
                              example: 9
                            type:
                              type: string
                              example: reserved
                            created_at:
                              type: string
                              example: '2024-01-25T07:57:29.000000Z'
                            updated_at:
                              type: string
                              example: '2024-02-19T12:32:03.000000Z'
                      bus_flight_id:
                        type: integer
                        example: 207
                      canceled_at:
                        type: string
                        example: null
                      cancel_comment:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      seat_change_allowed:
                        type: boolean
                        example: true
                      comment:
                        type: string
                        example: null
                      is_processed:
                        type: boolean
                        example: false
                      external_route_name:
                        type: string
                        example: null
                      external_ticket_id:
                        type: string
                        example: null
                      external_discount_name:
                        type: string
                        example: null
                      external_from_departure_point_name:
                        type: string
                        example: null
                      external_to_departure_point_name:
                        type: string
                        example: null
                      is_external:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2025-08-06T06:32:46.000000Z'
                  flight_data:
                    type: string
                    example: App\Http\Resources\BusFlightResource
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: passenger_id
        description: 'The ID of the passenger.'
        example: animi
        required: true
        schema:
          type: string
  '/api/passenger-data-by-phone/{phone}':
    get:
      summary: 'Get passenger data by phone'
      operationId: getPassengerDataByPhone
      description: 'Get passenger data by phone'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: phone
        description: ''
        example: explicabo
        required: true
        schema:
          type: string
  '/api/cancel-ticket/{ticket}':
    patch:
      summary: 'Cancel ticket'
      operationId: cancelTicket
      description: 'Cancel ticket'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    type: internal
                    public_id: YHETxCGlb0NmnHK
                    price: '10.00'
                    price_adjustment_percent: '0.00'
                    order_id: 25
                    first_name: test
                    last_name: test
                    phone: '11111111111'
                    email: null
                    birthday: null
                    passenger_type: adult
                    departure_date: '2024-01-25T09:00:00.000000Z'
                    bus_flight_id: 207
                    canceled_at: null
                    cancel_comment: null
                    status: pending
                    seat_change_allowed: true
                    comment: null
                    is_processed: false
                    external_route_name: null
                    external_ticket_id: null
                    external_discount_name: null
                    external_from_departure_point_name: null
                    external_to_departure_point_name: null
                    is_external: false
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2025-08-06T06:32:46.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      type:
                        type: string
                        example: internal
                      public_id:
                        type: string
                        example: YHETxCGlb0NmnHK
                      price:
                        type: string
                        example: '10.00'
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
                      order_id:
                        type: integer
                        example: 25
                      first_name:
                        type: string
                        example: test
                      last_name:
                        type: string
                        example: test
                      phone:
                        type: string
                        example: '11111111111'
                      email:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      passenger_type:
                        type: string
                        example: adult
                      departure_date:
                        type: string
                        example: '2024-01-25T09:00:00.000000Z'
                      bus_flight_id:
                        type: integer
                        example: 207
                      canceled_at:
                        type: string
                        example: null
                      cancel_comment:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      seat_change_allowed:
                        type: boolean
                        example: true
                      comment:
                        type: string
                        example: null
                      is_processed:
                        type: boolean
                        example: false
                      external_route_name:
                        type: string
                        example: null
                      external_ticket_id:
                        type: string
                        example: null
                      external_discount_name:
                        type: string
                        example: null
                      external_from_departure_point_name:
                        type: string
                        example: null
                      external_to_departure_point_name:
                        type: string
                        example: null
                      is_external:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2025-08-06T06:32:46.000000Z'
      tags:
        - Passengers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cancel_reason_id:
                  type: integer
                  description: 'Cancel reason id'
                  example: 1
                  nullable: false
                cancel_comment:
                  type: string
                  description: 'Cancel comment'
                  example: Comment
                  nullable: false
                clear_occupied_seats:
                  type: boolean
                  description: 'Clear occupied seats'
                  example: true
                  nullable: false
              required:
                - cancel_reason_id
                - cancel_comment
                - clear_occupied_seats
      security: []
    parameters:
      -
        in: path
        name: ticket
        description: ''
        example: repudiandae
        required: true
        schema:
          type: string
  '/api/accept-partially-payment/{ticket}':
    post:
      summary: 'Accept partially payment'
      operationId: acceptPartiallyPayment
      description: 'Accept partially payment'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    type: internal
                    public_id: YHETxCGlb0NmnHK
                    price: '10.00'
                    price_adjustment_percent: '0.00'
                    order_id: 25
                    first_name: test
                    last_name: test
                    phone: '11111111111'
                    email: null
                    birthday: null
                    passenger_type: adult
                    departure_date: '2024-01-25T09:00:00.000000Z'
                    bus_flight_id: 207
                    canceled_at: null
                    cancel_comment: null
                    status: pending
                    seat_change_allowed: true
                    comment: null
                    prepayments: []
                    prepayments_amount: 0
                    is_processed: false
                    external_route_name: null
                    external_ticket_id: null
                    external_discount_name: null
                    external_from_departure_point_name: null
                    external_to_departure_point_name: null
                    is_external: false
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2025-08-06T06:32:46.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      type:
                        type: string
                        example: internal
                      public_id:
                        type: string
                        example: YHETxCGlb0NmnHK
                      price:
                        type: string
                        example: '10.00'
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
                      order_id:
                        type: integer
                        example: 25
                      first_name:
                        type: string
                        example: test
                      last_name:
                        type: string
                        example: test
                      phone:
                        type: string
                        example: '11111111111'
                      email:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      passenger_type:
                        type: string
                        example: adult
                      departure_date:
                        type: string
                        example: '2024-01-25T09:00:00.000000Z'
                      bus_flight_id:
                        type: integer
                        example: 207
                      canceled_at:
                        type: string
                        example: null
                      cancel_comment:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      seat_change_allowed:
                        type: boolean
                        example: true
                      comment:
                        type: string
                        example: null
                      prepayments:
                        type: array
                        example: []
                      prepayments_amount:
                        type: integer
                        example: 0
                      is_processed:
                        type: boolean
                        example: false
                      external_route_name:
                        type: string
                        example: null
                      external_ticket_id:
                        type: string
                        example: null
                      external_discount_name:
                        type: string
                        example: null
                      external_from_departure_point_name:
                        type: string
                        example: null
                      external_to_departure_point_name:
                        type: string
                        example: null
                      is_external:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2025-08-06T06:32:46.000000Z'
      tags:
        - Passengers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: number
                  description: Amount
                  example: 100
                  nullable: false
                payment_method_id:
                  type: integer
                  description: 'Payment method id'
                  example: 1
                  nullable: false
              required:
                - amount
                - payment_method_id
      security: []
    parameters:
      -
        in: path
        name: ticket
        description: ''
        example: quod
        required: true
        schema:
          type: string
  '/api/delete-partially-payment/{ticket}/{payment_id}':
    delete:
      summary: 'Delete partially payment'
      operationId: deletePartiallyPayment
      description: 'Delete partially payment'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    type: internal
                    public_id: YHETxCGlb0NmnHK
                    price: '10.00'
                    price_adjustment_percent: '0.00'
                    order_id: 25
                    first_name: test
                    last_name: test
                    phone: '11111111111'
                    email: null
                    birthday: null
                    passenger_type: adult
                    departure_date: '2024-01-25T09:00:00.000000Z'
                    bus_flight_id: 207
                    canceled_at: null
                    cancel_comment: null
                    status: pending
                    seat_change_allowed: true
                    comment: null
                    prepayments: []
                    prepayments_amount: 0
                    is_processed: false
                    external_route_name: null
                    external_ticket_id: null
                    external_discount_name: null
                    external_from_departure_point_name: null
                    external_to_departure_point_name: null
                    is_external: false
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2025-08-06T06:32:46.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      type:
                        type: string
                        example: internal
                      public_id:
                        type: string
                        example: YHETxCGlb0NmnHK
                      price:
                        type: string
                        example: '10.00'
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
                      order_id:
                        type: integer
                        example: 25
                      first_name:
                        type: string
                        example: test
                      last_name:
                        type: string
                        example: test
                      phone:
                        type: string
                        example: '11111111111'
                      email:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      passenger_type:
                        type: string
                        example: adult
                      departure_date:
                        type: string
                        example: '2024-01-25T09:00:00.000000Z'
                      bus_flight_id:
                        type: integer
                        example: 207
                      canceled_at:
                        type: string
                        example: null
                      cancel_comment:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      seat_change_allowed:
                        type: boolean
                        example: true
                      comment:
                        type: string
                        example: null
                      prepayments:
                        type: array
                        example: []
                      prepayments_amount:
                        type: integer
                        example: 0
                      is_processed:
                        type: boolean
                        example: false
                      external_route_name:
                        type: string
                        example: null
                      external_ticket_id:
                        type: string
                        example: null
                      external_discount_name:
                        type: string
                        example: null
                      external_from_departure_point_name:
                        type: string
                        example: null
                      external_to_departure_point_name:
                        type: string
                        example: null
                      is_external:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2025-08-06T06:32:46.000000Z'
      tags:
        - Passengers
      security: []
    parameters:
      -
        in: path
        name: ticket
        description: ''
        example: repudiandae
        required: true
        schema:
          type: string
      -
        in: path
        name: payment_id
        description: 'The ID of the payment.'
        example: 4
        required: true
        schema:
          type: integer
  /api/profile:
    get:
      summary: 'Show profile'
      operationId: showProfile
      description: 'Show profile'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Profile
    patch:
      summary: 'Update profile'
      operationId: updateProfile
      description: 'Update profile'
      parameters: []
      responses: {  }
      tags:
        - Profile
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  description: 'First name of the user'
                  example: John
                  nullable: false
                last_name:
                  type: string
                  description: 'Last name of the user'
                  example: Doe
                  nullable: false
                middle_name:
                  type: string
                  description: 'Middle name of the user'
                  example: Smith
                  nullable: false
                phone:
                  type: string
                  description: 'Phone number of the user'
                  example: '+639123456789'
                  nullable: false
                password:
                  type: string
                  description: 'Password of the user'
                  example: password
                  nullable: false
                password_confirmation:
                  type: string
                  description: 'Password confirmation of the user'
                  example: password
                  nullable: false
                currency_id:
                  type: integer
                  description: 'Currency ID of the user'
                  example: 1
                  nullable: false
                language_id:
                  type: integer
                  description: 'Language ID of the user'
                  example: 1
                  nullable: false
                country_id:
                  type: integer
                  description: 'Country ID of the user'
                  example: 1
                  nullable: false
                gender:
                  type: string
                  description: 'Gender of the user'
                  example: male
                  nullable: false
                birthday:
                  type: date
                  description: 'Birthday of the user'
                  example: '2000-01-01'
                  nullable: false
              required:
                - first_name
                - last_name
                - middle_name
                - phone
                - password
                - password_confirmation
                - currency_id
                - language_id
                - country_id
                - gender
                - birthday
    delete:
      summary: 'Delete profile'
      operationId: deleteProfile
      description: 'Delete profile'
      parameters: []
      responses: {  }
      tags:
        - Profile
  /api/reports/agent:
    get:
      summary: 'Get reports by agent'
      operationId: getReportsByAgent
      description: ''
      parameters:
        -
          in: query
          name: agent_id
          description: 'Agent ID'
          example: necessitatibus
          required: true
          schema:
            type: string
            description: 'Agent ID'
            example: necessitatibus
            nullable: false
        -
          in: query
          name: from_date
          description: 'From date'
          example: ipsam
          required: true
          schema:
            type: string
            description: 'From date'
            example: ipsam
            nullable: false
        -
          in: query
          name: to_date
          description: 'To date'
          example: sint
          required: true
          schema:
            type: string
            description: 'To date'
            example: sint
            nullable: false
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Reports
      security: []
  /api/reports/agent/export:
    get:
      summary: 'Export reports to excel by agent'
      operationId: exportReportsToExcelByAgent
      description: ''
      parameters:
        -
          in: query
          name: agent_id
          description: 'Agent ID'
          example: quia
          required: true
          schema:
            type: string
            description: 'Agent ID'
            example: quia
            nullable: false
        -
          in: query
          name: from_date
          description: 'From date'
          example: vitae
          required: true
          schema:
            type: string
            description: 'From date'
            example: vitae
            nullable: false
        -
          in: query
          name: to_date
          description: 'To date'
          example: voluptates
          required: true
          schema:
            type: string
            description: 'To date'
            example: voluptates
            nullable: false
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Reports
      security: []
  /api/reports/external-sources:
    get:
      summary: 'Get reports by external sources'
      operationId: getReportsByExternalSources
      description: ''
      parameters:
        -
          in: query
          name: external_source_id
          description: 'External Source ID'
          example: asperiores
          required: true
          schema:
            type: string
            description: 'External Source ID'
            example: asperiores
            nullable: false
        -
          in: query
          name: from_date
          description: 'From date'
          example: quia
          required: true
          schema:
            type: string
            description: 'From date'
            example: quia
            nullable: false
        -
          in: query
          name: to_date
          description: 'To date'
          example: rem
          required: true
          schema:
            type: string
            description: 'To date'
            example: rem
            nullable: false
        -
          in: query
          name: from_departure_date
          description: 'From departure date'
          example: quis
          required: false
          schema:
            type: string
            description: 'From departure date'
            example: quis
            nullable: false
        -
          in: query
          name: to_departure_date
          description: 'To departure date'
          example: sed
          required: false
          schema:
            type: string
            description: 'To departure date'
            example: sed
            nullable: false
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Reports
      security: []
  /api/reports/external-sources/export:
    get:
      summary: 'Download external sources report'
      operationId: downloadExternalSourcesReport
      description: ''
      parameters:
        -
          in: query
          name: external_source_id
          description: 'External Source ID'
          example: nulla
          required: true
          schema:
            type: string
            description: 'External Source ID'
            example: nulla
            nullable: false
        -
          in: query
          name: from_date
          description: 'From date'
          example: adipisci
          required: true
          schema:
            type: string
            description: 'From date'
            example: adipisci
            nullable: false
        -
          in: query
          name: to_date
          description: 'To date'
          example: id
          required: true
          schema:
            type: string
            description: 'To date'
            example: id
            nullable: false
        -
          in: query
          name: from_departure_date
          description: 'From departure date'
          example: dicta
          required: false
          schema:
            type: string
            description: 'From departure date'
            example: dicta
            nullable: false
        -
          in: query
          name: to_departure_date
          description: 'To departure date'
          example: molestiae
          required: false
          schema:
            type: string
            description: 'To departure date'
            example: molestiae
            nullable: false
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Reports
      security: []
  /api/return-requests:
    get:
      summary: 'Get return requests'
      operationId: getReturnRequests
      description: ''
      parameters:
        -
          in: query
          name: status
          description: 'Return request status'
          example: pending
          required: true
          schema:
            type: string
            description: 'Return request status'
            example: pending
            nullable: false
        -
          in: query
          name: bus_route_number
          description: 'Bus route number'
          example: '1'
          required: true
          schema:
            type: string
            description: 'Bus route number'
            example: '1'
            nullable: false
        -
          in: query
          name: departure_date
          description: 'Departure date'
          example: '2021-01-01'
          required: true
          schema:
            type: string
            description: 'Departure date'
            example: '2021-01-01'
            nullable: false
        -
          in: query
          name: search
          description: 'Search by ID, ticket ID, first name or last name'
          example: '1'
          required: true
          schema:
            type: string
            description: 'Search by ID, ticket ID, first name or last name'
            example: '1'
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 11
                      user:
                        id: 3324
                        first_name: TestUserForTerminal
                        last_name: TestUserForTerminal
                        middle_name: TestUserForTerminal
                        full_name: 'TestUserForTerminal TestUserForTerminal TestUserForTerminal'
                        work_phone: '911'
                        gender: null
                        birthday: null
                        name: TestTerminalAgent
                        phone: '911231123'
                        email: testuserforterminal@admin.com
                        subscribe_to_newsletter: false
                        status: active
                        need_change_password: true
                        percent_of_withdrawal: 0
                        percent_of_discount: 0
                        send_sms_order_post_payment_link: true
                        created_at: '2025-05-07T13:50:13.000000Z'
                        updated_at: '2025-05-07T13:56:26.000000Z'
                      ticket:
                        id: 4732
                        type: external
                        target_departure_date: '2026-02-02T15:20:00.000000Z'
                        target_arrival_date: '2026-02-04T07:00:00.000000Z'
                        target_minutes_in_travel: 2380
                        public_id: PcpqNMcnNFWwL13
                        price: '500.00'
                        price_adjustment_percent: '0.00'
                        order_id: 4689
                        first_name: Тест
                        last_name: Tecт
                        phone: '+380685820898'
                        email: officelat@ukr.net
                        birthday: null
                        passenger_type: adult
                        departure_date: '2026-02-02T15:20:00.000000Z'
                        bus_flight_id: null
                        canceled_at: null
                        cancel_comment: null
                        status: return_requested
                        seat_change_allowed: true
                        comment: null
                        is_processed: false
                        external_route_name: '(ТЕСТОВИЙ РЕЙС) Щецин -> Мелітополь'
                        external_ticket_id: fylPg9vgEqzG8HWv
                        external_discount_name: null
                        external_from_departure_point_name: null
                        external_to_departure_point_name: null
                        is_external: true
                        created_at: '2025-09-01T20:58:47.000000Z'
                        updated_at: '2025-09-02T12:25:28.000000Z'
                      return_conditional: null
                      status: pending
                      amount: '500.00'
                      comment: null
                      created_at: '2025-09-02T12:25:28.000000Z'
                      updated_at: '2025-09-02T12:25:28.000000Z'
                    -
                      id: 11
                      user:
                        id: 3324
                        first_name: TestUserForTerminal
                        last_name: TestUserForTerminal
                        middle_name: TestUserForTerminal
                        full_name: 'TestUserForTerminal TestUserForTerminal TestUserForTerminal'
                        work_phone: '911'
                        gender: null
                        birthday: null
                        name: TestTerminalAgent
                        phone: '911231123'
                        email: testuserforterminal@admin.com
                        subscribe_to_newsletter: false
                        status: active
                        need_change_password: true
                        percent_of_withdrawal: 0
                        percent_of_discount: 0
                        send_sms_order_post_payment_link: true
                        created_at: '2025-05-07T13:50:13.000000Z'
                        updated_at: '2025-05-07T13:56:26.000000Z'
                      ticket:
                        id: 4732
                        type: external
                        target_departure_date: '2026-02-02T15:20:00.000000Z'
                        target_arrival_date: '2026-02-04T07:00:00.000000Z'
                        target_minutes_in_travel: 2380
                        public_id: PcpqNMcnNFWwL13
                        price: '500.00'
                        price_adjustment_percent: '0.00'
                        order_id: 4689
                        first_name: Тест
                        last_name: Tecт
                        phone: '+380685820898'
                        email: officelat@ukr.net
                        birthday: null
                        passenger_type: adult
                        departure_date: '2026-02-02T15:20:00.000000Z'
                        bus_flight_id: null
                        canceled_at: null
                        cancel_comment: null
                        status: return_requested
                        seat_change_allowed: true
                        comment: null
                        is_processed: false
                        external_route_name: '(ТЕСТОВИЙ РЕЙС) Щецин -> Мелітополь'
                        external_ticket_id: fylPg9vgEqzG8HWv
                        external_discount_name: null
                        external_from_departure_point_name: null
                        external_to_departure_point_name: null
                        is_external: true
                        created_at: '2025-09-01T20:58:47.000000Z'
                        updated_at: '2025-09-02T12:25:28.000000Z'
                      return_conditional: null
                      status: pending
                      amount: '500.00'
                      comment: null
                      created_at: '2025-09-02T12:25:28.000000Z'
                      updated_at: '2025-09-02T12:25:28.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 11
                        user:
                          id: 3324
                          first_name: TestUserForTerminal
                          last_name: TestUserForTerminal
                          middle_name: TestUserForTerminal
                          full_name: 'TestUserForTerminal TestUserForTerminal TestUserForTerminal'
                          work_phone: '911'
                          gender: null
                          birthday: null
                          name: TestTerminalAgent
                          phone: '911231123'
                          email: testuserforterminal@admin.com
                          subscribe_to_newsletter: false
                          status: active
                          need_change_password: true
                          percent_of_withdrawal: 0
                          percent_of_discount: 0
                          send_sms_order_post_payment_link: true
                          created_at: '2025-05-07T13:50:13.000000Z'
                          updated_at: '2025-05-07T13:56:26.000000Z'
                        ticket:
                          id: 4732
                          type: external
                          target_departure_date: '2026-02-02T15:20:00.000000Z'
                          target_arrival_date: '2026-02-04T07:00:00.000000Z'
                          target_minutes_in_travel: 2380
                          public_id: PcpqNMcnNFWwL13
                          price: '500.00'
                          price_adjustment_percent: '0.00'
                          order_id: 4689
                          first_name: Тест
                          last_name: Tecт
                          phone: '+380685820898'
                          email: officelat@ukr.net
                          birthday: null
                          passenger_type: adult
                          departure_date: '2026-02-02T15:20:00.000000Z'
                          bus_flight_id: null
                          canceled_at: null
                          cancel_comment: null
                          status: return_requested
                          seat_change_allowed: true
                          comment: null
                          is_processed: false
                          external_route_name: '(ТЕСТОВИЙ РЕЙС) Щецин -> Мелітополь'
                          external_ticket_id: fylPg9vgEqzG8HWv
                          external_discount_name: null
                          external_from_departure_point_name: null
                          external_to_departure_point_name: null
                          is_external: true
                          created_at: '2025-09-01T20:58:47.000000Z'
                          updated_at: '2025-09-02T12:25:28.000000Z'
                        return_conditional: null
                        status: pending
                        amount: '500.00'
                        comment: null
                        created_at: '2025-09-02T12:25:28.000000Z'
                        updated_at: '2025-09-02T12:25:28.000000Z'
                      -
                        id: 11
                        user:
                          id: 3324
                          first_name: TestUserForTerminal
                          last_name: TestUserForTerminal
                          middle_name: TestUserForTerminal
                          full_name: 'TestUserForTerminal TestUserForTerminal TestUserForTerminal'
                          work_phone: '911'
                          gender: null
                          birthday: null
                          name: TestTerminalAgent
                          phone: '911231123'
                          email: testuserforterminal@admin.com
                          subscribe_to_newsletter: false
                          status: active
                          need_change_password: true
                          percent_of_withdrawal: 0
                          percent_of_discount: 0
                          send_sms_order_post_payment_link: true
                          created_at: '2025-05-07T13:50:13.000000Z'
                          updated_at: '2025-05-07T13:56:26.000000Z'
                        ticket:
                          id: 4732
                          type: external
                          target_departure_date: '2026-02-02T15:20:00.000000Z'
                          target_arrival_date: '2026-02-04T07:00:00.000000Z'
                          target_minutes_in_travel: 2380
                          public_id: PcpqNMcnNFWwL13
                          price: '500.00'
                          price_adjustment_percent: '0.00'
                          order_id: 4689
                          first_name: Тест
                          last_name: Tecт
                          phone: '+380685820898'
                          email: officelat@ukr.net
                          birthday: null
                          passenger_type: adult
                          departure_date: '2026-02-02T15:20:00.000000Z'
                          bus_flight_id: null
                          canceled_at: null
                          cancel_comment: null
                          status: return_requested
                          seat_change_allowed: true
                          comment: null
                          is_processed: false
                          external_route_name: '(ТЕСТОВИЙ РЕЙС) Щецин -> Мелітополь'
                          external_ticket_id: fylPg9vgEqzG8HWv
                          external_discount_name: null
                          external_from_departure_point_name: null
                          external_to_departure_point_name: null
                          is_external: true
                          created_at: '2025-09-01T20:58:47.000000Z'
                          updated_at: '2025-09-02T12:25:28.000000Z'
                        return_conditional: null
                        status: pending
                        amount: '500.00'
                        comment: null
                        created_at: '2025-09-02T12:25:28.000000Z'
                        updated_at: '2025-09-02T12:25:28.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 11
                        user:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 3324
                            first_name:
                              type: string
                              example: TestUserForTerminal
                            last_name:
                              type: string
                              example: TestUserForTerminal
                            middle_name:
                              type: string
                              example: TestUserForTerminal
                            full_name:
                              type: string
                              example: 'TestUserForTerminal TestUserForTerminal TestUserForTerminal'
                            work_phone:
                              type: string
                              example: '911'
                            gender:
                              type: string
                              example: null
                            birthday:
                              type: string
                              example: null
                            name:
                              type: string
                              example: TestTerminalAgent
                            phone:
                              type: string
                              example: '911231123'
                            email:
                              type: string
                              example: testuserforterminal@admin.com
                            subscribe_to_newsletter:
                              type: boolean
                              example: false
                            status:
                              type: string
                              example: active
                            need_change_password:
                              type: boolean
                              example: true
                            percent_of_withdrawal:
                              type: integer
                              example: 0
                            percent_of_discount:
                              type: integer
                              example: 0
                            send_sms_order_post_payment_link:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2025-05-07T13:50:13.000000Z'
                            updated_at:
                              type: string
                              example: '2025-05-07T13:56:26.000000Z'
                        ticket:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 4732
                            type:
                              type: string
                              example: external
                            target_departure_date:
                              type: string
                              example: '2026-02-02T15:20:00.000000Z'
                            target_arrival_date:
                              type: string
                              example: '2026-02-04T07:00:00.000000Z'
                            target_minutes_in_travel:
                              type: integer
                              example: 2380
                            public_id:
                              type: string
                              example: PcpqNMcnNFWwL13
                            price:
                              type: string
                              example: '500.00'
                            price_adjustment_percent:
                              type: string
                              example: '0.00'
                            order_id:
                              type: integer
                              example: 4689
                            first_name:
                              type: string
                              example: Тест
                            last_name:
                              type: string
                              example: Tecт
                            phone:
                              type: string
                              example: '+380685820898'
                            email:
                              type: string
                              example: officelat@ukr.net
                            birthday:
                              type: string
                              example: null
                            passenger_type:
                              type: string
                              example: adult
                            departure_date:
                              type: string
                              example: '2026-02-02T15:20:00.000000Z'
                            bus_flight_id:
                              type: string
                              example: null
                            canceled_at:
                              type: string
                              example: null
                            cancel_comment:
                              type: string
                              example: null
                            status:
                              type: string
                              example: return_requested
                            seat_change_allowed:
                              type: boolean
                              example: true
                            comment:
                              type: string
                              example: null
                            is_processed:
                              type: boolean
                              example: false
                            external_route_name:
                              type: string
                              example: '(ТЕСТОВИЙ РЕЙС) Щецин -> Мелітополь'
                            external_ticket_id:
                              type: string
                              example: fylPg9vgEqzG8HWv
                            external_discount_name:
                              type: string
                              example: null
                            external_from_departure_point_name:
                              type: string
                              example: null
                            external_to_departure_point_name:
                              type: string
                              example: null
                            is_external:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2025-09-01T20:58:47.000000Z'
                            updated_at:
                              type: string
                              example: '2025-09-02T12:25:28.000000Z'
                        return_conditional:
                          type: string
                          example: null
                        status:
                          type: string
                          example: pending
                        amount:
                          type: string
                          example: '500.00'
                        comment:
                          type: string
                          example: null
                        created_at:
                          type: string
                          example: '2025-09-02T12:25:28.000000Z'
                        updated_at:
                          type: string
                          example: '2025-09-02T12:25:28.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'Return Request'
    post:
      summary: 'Create return request'
      operationId: createReturnRequest
      description: ''
      parameters: []
      responses: {  }
      tags:
        - 'Return Request'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ticket_ids:
                  type: array
                  description: 'Tickets ids'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
                comment:
                  type: string
                  description: Comment
                  example: 'I want to return my ticket'
                  nullable: false
              required:
                - ticket_ids
  '/api/return-requests/{returnRequest_id}':
    get:
      summary: 'Show return request'
      operationId: showReturnRequest
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 11
                    user:
                      id: 3324
                      first_name: TestUserForTerminal
                      last_name: TestUserForTerminal
                      middle_name: TestUserForTerminal
                      full_name: 'TestUserForTerminal TestUserForTerminal TestUserForTerminal'
                      work_phone: '911'
                      gender: null
                      birthday: null
                      name: TestTerminalAgent
                      phone: '911231123'
                      email: testuserforterminal@admin.com
                      subscribe_to_newsletter: false
                      status: active
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2025-05-07T13:50:13.000000Z'
                      updated_at: '2025-05-07T13:56:26.000000Z'
                    ticket:
                      id: 4732
                      type: external
                      target_departure_date: '2026-02-02T15:20:00.000000Z'
                      target_arrival_date: '2026-02-04T07:00:00.000000Z'
                      target_minutes_in_travel: 2380
                      public_id: PcpqNMcnNFWwL13
                      price: '500.00'
                      price_adjustment_percent: '0.00'
                      order_id: 4689
                      first_name: Тест
                      last_name: Tecт
                      phone: '+380685820898'
                      email: officelat@ukr.net
                      birthday: null
                      passenger_type: adult
                      departure_date: '2026-02-02T15:20:00.000000Z'
                      bus_flight_id: null
                      canceled_at: null
                      cancel_comment: null
                      status: return_requested
                      seat_change_allowed: true
                      comment: null
                      is_processed: false
                      external_route_name: '(ТЕСТОВИЙ РЕЙС) Щецин -> Мелітополь'
                      external_ticket_id: fylPg9vgEqzG8HWv
                      external_discount_name: null
                      external_from_departure_point_name: null
                      external_to_departure_point_name: null
                      is_external: true
                      created_at: '2025-09-01T20:58:47.000000Z'
                      updated_at: '2025-09-02T12:25:28.000000Z'
                    return_conditional: null
                    status: pending
                    amount: '500.00'
                    comment: null
                    created_at: '2025-09-02T12:25:28.000000Z'
                    updated_at: '2025-09-02T12:25:28.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 11
                      user:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 3324
                          first_name:
                            type: string
                            example: TestUserForTerminal
                          last_name:
                            type: string
                            example: TestUserForTerminal
                          middle_name:
                            type: string
                            example: TestUserForTerminal
                          full_name:
                            type: string
                            example: 'TestUserForTerminal TestUserForTerminal TestUserForTerminal'
                          work_phone:
                            type: string
                            example: '911'
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: TestTerminalAgent
                          phone:
                            type: string
                            example: '911231123'
                          email:
                            type: string
                            example: testuserforterminal@admin.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          status:
                            type: string
                            example: active
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2025-05-07T13:50:13.000000Z'
                          updated_at:
                            type: string
                            example: '2025-05-07T13:56:26.000000Z'
                      ticket:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 4732
                          type:
                            type: string
                            example: external
                          target_departure_date:
                            type: string
                            example: '2026-02-02T15:20:00.000000Z'
                          target_arrival_date:
                            type: string
                            example: '2026-02-04T07:00:00.000000Z'
                          target_minutes_in_travel:
                            type: integer
                            example: 2380
                          public_id:
                            type: string
                            example: PcpqNMcnNFWwL13
                          price:
                            type: string
                            example: '500.00'
                          price_adjustment_percent:
                            type: string
                            example: '0.00'
                          order_id:
                            type: integer
                            example: 4689
                          first_name:
                            type: string
                            example: Тест
                          last_name:
                            type: string
                            example: Tecт
                          phone:
                            type: string
                            example: '+380685820898'
                          email:
                            type: string
                            example: officelat@ukr.net
                          birthday:
                            type: string
                            example: null
                          passenger_type:
                            type: string
                            example: adult
                          departure_date:
                            type: string
                            example: '2026-02-02T15:20:00.000000Z'
                          bus_flight_id:
                            type: string
                            example: null
                          canceled_at:
                            type: string
                            example: null
                          cancel_comment:
                            type: string
                            example: null
                          status:
                            type: string
                            example: return_requested
                          seat_change_allowed:
                            type: boolean
                            example: true
                          comment:
                            type: string
                            example: null
                          is_processed:
                            type: boolean
                            example: false
                          external_route_name:
                            type: string
                            example: '(ТЕСТОВИЙ РЕЙС) Щецин -> Мелітополь'
                          external_ticket_id:
                            type: string
                            example: fylPg9vgEqzG8HWv
                          external_discount_name:
                            type: string
                            example: null
                          external_from_departure_point_name:
                            type: string
                            example: null
                          external_to_departure_point_name:
                            type: string
                            example: null
                          is_external:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2025-09-01T20:58:47.000000Z'
                          updated_at:
                            type: string
                            example: '2025-09-02T12:25:28.000000Z'
                      return_conditional:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      amount:
                        type: string
                        example: '500.00'
                      comment:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: '2025-09-02T12:25:28.000000Z'
                      updated_at:
                        type: string
                        example: '2025-09-02T12:25:28.000000Z'
      tags:
        - 'Return Request'
    patch:
      summary: 'Update return request'
      operationId: updateReturnRequest
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 11
                    status: pending
                    amount: '500.00'
                    comment: null
                    created_at: '2025-09-02T12:25:28.000000Z'
                    updated_at: '2025-09-02T12:25:28.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 11
                      status:
                        type: string
                        example: pending
                      amount:
                        type: string
                        example: '500.00'
                      comment:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: '2025-09-02T12:25:28.000000Z'
                      updated_at:
                        type: string
                        example: '2025-09-02T12:25:28.000000Z'
      tags:
        - 'Return Request'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  description: Status
                  example: approved
                  nullable: false
              required:
                - status
    delete:
      summary: 'Delete return request'
      operationId: deleteReturnRequest
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Return Request'
    parameters:
      -
        in: path
        name: returnRequest_id
        description: 'The ID of the returnRequest.'
        example: 11
        required: true
        schema:
          type: integer
  /api/roles:
    get:
      summary: 'Get all roles'
      operationId: getAllRoles
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 309
                      name: 'Orpha Hayes'
                      display_name: 'Darrell Larkin'
                      guard_name: sanctum
                    -
                      id: 310
                      name: 'Dr. Hellen Watsica IV'
                      display_name: 'Duncan Jones Sr.'
                      guard_name: sanctum
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 309
                        name: 'Orpha Hayes'
                        display_name: 'Darrell Larkin'
                        guard_name: sanctum
                      -
                        id: 310
                        name: 'Dr. Hellen Watsica IV'
                        display_name: 'Duncan Jones Sr.'
                        guard_name: sanctum
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 309
                        name:
                          type: string
                          example: 'Orpha Hayes'
                        display_name:
                          type: string
                          example: 'Darrell Larkin'
                        guard_name:
                          type: string
                          example: sanctum
      tags:
        - 'Roles and permissions'
    post:
      summary: 'Store role'
      operationId: storeRole
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 321
                      name: 'Miss Savanah Lowe PhD'
                      display_name: 'Mr. Woodrow McDermott PhD'
                      guard_name: sanctum
                      permissions:
                        -
                          id: 1420
                          name: 'Noemie Kessler'
                          guard_name: 'Madisyn Schneider'
                    -
                      id: 322
                      name: 'Elizabeth Murphy V'
                      display_name: 'Mr. Ike Kessler'
                      guard_name: sanctum
                      permissions:
                        -
                          id: 1421
                          name: 'Monica Nikolaus'
                          guard_name: 'Orlando Swift Jr.'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 321
                        name: 'Miss Savanah Lowe PhD'
                        display_name: 'Mr. Woodrow McDermott PhD'
                        guard_name: sanctum
                        permissions:
                          -
                            id: 1420
                            name: 'Noemie Kessler'
                            guard_name: 'Madisyn Schneider'
                      -
                        id: 322
                        name: 'Elizabeth Murphy V'
                        display_name: 'Mr. Ike Kessler'
                        guard_name: sanctum
                        permissions:
                          -
                            id: 1421
                            name: 'Monica Nikolaus'
                            guard_name: 'Orlando Swift Jr.'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 321
                        name:
                          type: string
                          example: 'Miss Savanah Lowe PhD'
                        display_name:
                          type: string
                          example: 'Mr. Woodrow McDermott PhD'
                        guard_name:
                          type: string
                          example: sanctum
                        permissions:
                          type: array
                          example:
                            -
                              id: 1420
                              name: 'Noemie Kessler'
                              guard_name: 'Madisyn Schneider'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 1420
                              name:
                                type: string
                                example: 'Noemie Kessler'
                              guard_name:
                                type: string
                                example: 'Madisyn Schneider'
      tags:
        - 'Roles and permissions'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: et
                  nullable: false
                display_name:
                  type: string
                  description: 'Display name'
                  example: dolores
                  nullable: false
                permissions:
                  type: string
                  description: Permissions
                  example:
                    - manage-roles
                  nullable: false
              required:
                - name
                - display_name
                - permissions
  '/api/roles/{role_id}':
    get:
      summary: 'Show role'
      operationId: showRole
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 323
                      name: 'Morgan Feest'
                      display_name: 'Dr. Santino Ziemann'
                      guard_name: sanctum
                      permissions:
                        -
                          id: 1422
                          name: 'Prof. Elody Stoltenberg'
                          guard_name: 'Juvenal Lind'
                    -
                      id: 324
                      name: 'Freda Klein'
                      display_name: 'Dereck Dooley Jr.'
                      guard_name: sanctum
                      permissions:
                        -
                          id: 1423
                          name: 'Erika Moore V'
                          guard_name: 'Perry Hoeger'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 323
                        name: 'Morgan Feest'
                        display_name: 'Dr. Santino Ziemann'
                        guard_name: sanctum
                        permissions:
                          -
                            id: 1422
                            name: 'Prof. Elody Stoltenberg'
                            guard_name: 'Juvenal Lind'
                      -
                        id: 324
                        name: 'Freda Klein'
                        display_name: 'Dereck Dooley Jr.'
                        guard_name: sanctum
                        permissions:
                          -
                            id: 1423
                            name: 'Erika Moore V'
                            guard_name: 'Perry Hoeger'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 323
                        name:
                          type: string
                          example: 'Morgan Feest'
                        display_name:
                          type: string
                          example: 'Dr. Santino Ziemann'
                        guard_name:
                          type: string
                          example: sanctum
                        permissions:
                          type: array
                          example:
                            -
                              id: 1422
                              name: 'Prof. Elody Stoltenberg'
                              guard_name: 'Juvenal Lind'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 1422
                              name:
                                type: string
                                example: 'Prof. Elody Stoltenberg'
                              guard_name:
                                type: string
                                example: 'Juvenal Lind'
      tags:
        - 'Roles and permissions'
    patch:
      summary: 'Update role'
      operationId: updateRole
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 325
                      name: 'Vada Yost'
                      display_name: 'Trudie Hills'
                      guard_name: sanctum
                      permissions:
                        -
                          id: 1424
                          name: 'Lenna Ernser'
                          guard_name: 'Broderick Hirthe'
                    -
                      id: 326
                      name: 'Mrs. Aliya Herzog I'
                      display_name: 'Parker Lindgren DVM'
                      guard_name: sanctum
                      permissions:
                        -
                          id: 1425
                          name: 'Bobbie Kautzer V'
                          guard_name: 'Bradly Hermann'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 325
                        name: 'Vada Yost'
                        display_name: 'Trudie Hills'
                        guard_name: sanctum
                        permissions:
                          -
                            id: 1424
                            name: 'Lenna Ernser'
                            guard_name: 'Broderick Hirthe'
                      -
                        id: 326
                        name: 'Mrs. Aliya Herzog I'
                        display_name: 'Parker Lindgren DVM'
                        guard_name: sanctum
                        permissions:
                          -
                            id: 1425
                            name: 'Bobbie Kautzer V'
                            guard_name: 'Bradly Hermann'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 325
                        name:
                          type: string
                          example: 'Vada Yost'
                        display_name:
                          type: string
                          example: 'Trudie Hills'
                        guard_name:
                          type: string
                          example: sanctum
                        permissions:
                          type: array
                          example:
                            -
                              id: 1424
                              name: 'Lenna Ernser'
                              guard_name: 'Broderick Hirthe'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 1424
                              name:
                                type: string
                                example: 'Lenna Ernser'
                              guard_name:
                                type: string
                                example: 'Broderick Hirthe'
      tags:
        - 'Roles and permissions'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: beatae
                  nullable: false
                display_name:
                  type: string
                  description: 'Display name'
                  example: et
                  nullable: false
                permissions:
                  type: string
                  description: Permissions
                  example:
                    - manage-roles
                  nullable: false
              required:
                - name
                - display_name
                - permissions
    delete:
      summary: 'Delete role'
      operationId: deleteRole
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'Roles and permissions'
    parameters:
      -
        in: path
        name: role_id
        description: 'The ID of the role.'
        example: 1
        required: true
        schema:
          type: integer
  /api/permissions:
    get:
      summary: 'Get all permissions'
      operationId: getAllPermissions
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 327
                      name: "Prof. Jammie O'Conner"
                      display_name: 'Floy Wiegand'
                      guard_name: sanctum
                    -
                      id: 328
                      name: 'Asa Durgan'
                      display_name: 'Dr. Grayce Johnston'
                      guard_name: sanctum
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 327
                        name: "Prof. Jammie O'Conner"
                        display_name: 'Floy Wiegand'
                        guard_name: sanctum
                      -
                        id: 328
                        name: 'Asa Durgan'
                        display_name: 'Dr. Grayce Johnston'
                        guard_name: sanctum
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 327
                        name:
                          type: string
                          example: "Prof. Jammie O'Conner"
                        display_name:
                          type: string
                          example: 'Floy Wiegand'
                        guard_name:
                          type: string
                          example: sanctum
      tags:
        - 'Roles and permissions'
  /api/currencies:
    get:
      summary: 'Get all currency'
      operationId: getAllCurrency
      description: 'Get all currency'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 805
                      display_name: CUP
                      code: KHR
                      symbol: SAR
                      is_active: true
                      created_at: '2025-12-09T14:41:06.000000Z'
                      updated_at: '2025-12-09T14:41:06.000000Z'
                    -
                      id: 806
                      display_name: MUR
                      code: BDT
                      symbol: PHP
                      is_active: true
                      created_at: '2025-12-09T14:41:06.000000Z'
                      updated_at: '2025-12-09T14:41:06.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 805
                        display_name: CUP
                        code: KHR
                        symbol: SAR
                        is_active: true
                        created_at: '2025-12-09T14:41:06.000000Z'
                        updated_at: '2025-12-09T14:41:06.000000Z'
                      -
                        id: 806
                        display_name: MUR
                        code: BDT
                        symbol: PHP
                        is_active: true
                        created_at: '2025-12-09T14:41:06.000000Z'
                        updated_at: '2025-12-09T14:41:06.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 805
                        display_name:
                          type: string
                          example: CUP
                        code:
                          type: string
                          example: KHR
                        symbol:
                          type: string
                          example: SAR
                        is_active:
                          type: boolean
                          example: true
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:06.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:06.000000Z'
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create currency'
      operationId: createCurrency
      description: 'Create currency'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 809
                    display_name: XOF
                    code: KYD
                    symbol: PGK
                    is_active: true
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 809
                      display_name:
                        type: string
                        example: XOF
                      code:
                        type: string
                        example: KYD
                      symbol:
                        type: string
                        example: PGK
                      is_active:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                display_name:
                  type: string
                  description: 'Display name'
                  example: 'US Dollar'
                  nullable: false
                code:
                  type: string
                  description: Code
                  example: USD
                  nullable: false
                symbol:
                  type: string
                  description: Symbol
                  example: $
                  nullable: false
                is_active:
                  type: string
                  description: 'Is active'
                  example: true
                  nullable: false
              required:
                - display_name
                - code
                - symbol
                - is_active
  /api/languages:
    get:
      summary: 'Get all languages'
      operationId: getAllLanguages
      description: 'Get all language'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 66
                      display_name: Morocco
                      code: GS
                      is_active: true
                      is_default: false
                      created_at: '2025-12-09T14:41:06.000000Z'
                      updated_at: '2025-12-09T14:41:06.000000Z'
                    -
                      id: 67
                      display_name: Tanzania
                      code: FR
                      is_active: true
                      is_default: false
                      created_at: '2025-12-09T14:41:06.000000Z'
                      updated_at: '2025-12-09T14:41:06.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 66
                        display_name: Morocco
                        code: GS
                        is_active: true
                        is_default: false
                        created_at: '2025-12-09T14:41:06.000000Z'
                        updated_at: '2025-12-09T14:41:06.000000Z'
                      -
                        id: 67
                        display_name: Tanzania
                        code: FR
                        is_active: true
                        is_default: false
                        created_at: '2025-12-09T14:41:06.000000Z'
                        updated_at: '2025-12-09T14:41:06.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 66
                        display_name:
                          type: string
                          example: Morocco
                        code:
                          type: string
                          example: GS
                        is_active:
                          type: boolean
                          example: true
                        is_default:
                          type: boolean
                          example: false
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:06.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:06.000000Z'
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create language'
      operationId: createLanguage
      description: 'Create language'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 68
                    display_name: Hungary
                    code: ER
                    is_active: true
                    is_default: false
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 68
                      display_name:
                        type: string
                        example: Hungary
                      code:
                        type: string
                        example: ER
                      is_active:
                        type: boolean
                        example: true
                      is_default:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                display_name:
                  type: string
                  description: 'Display name'
                  example: Ukrainian
                  nullable: false
                code:
                  type: string
                  description: Code
                  example: ua
                  nullable: false
              required:
                - display_name
                - code
  /api/translations:
    get:
      summary: 'Get translations'
      operationId: getTranslations
      description: ''
      parameters:
        -
          in: query
          name: group
          description: 'filter by translation group'
          example: validation
          required: true
          schema:
            type: string
            description: 'filter by translation group'
            example: validation
            nullable: false
        -
          in: query
          name: search
          description: 'search by translation key'
          example: required
          required: true
          schema:
            type: string
            description: 'search by translation key'
            example: required
            nullable: false
        -
          in: query
          name: without_pagination
          description: 'get all translations without pagination'
          example: 'true'
          required: true
          schema:
            type: boolean
            description: 'get all translations without pagination'
            example: 'true'
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 668
                      group: facere
                      key: expedita
                      text:
                        en: 'Deleniti error minima minima qui omnis tempora temporibus.'
                        ru: 'Sed necessitatibus velit facere amet maiores dolorem illum.'
                      created_at: '2025-12-09T14:41:06.000000Z'
                      updated_at: '2025-12-09T14:41:06.000000Z'
                    -
                      id: 669
                      group: vero
                      key: quas
                      text:
                        en: 'Maxime aliquid qui aut officia.'
                        ru: 'Qui necessitatibus hic quis qui nesciunt.'
                      created_at: '2025-12-09T14:41:06.000000Z'
                      updated_at: '2025-12-09T14:41:06.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 668
                        group: facere
                        key: expedita
                        text:
                          en: 'Deleniti error minima minima qui omnis tempora temporibus.'
                          ru: 'Sed necessitatibus velit facere amet maiores dolorem illum.'
                        created_at: '2025-12-09T14:41:06.000000Z'
                        updated_at: '2025-12-09T14:41:06.000000Z'
                      -
                        id: 669
                        group: vero
                        key: quas
                        text:
                          en: 'Maxime aliquid qui aut officia.'
                          ru: 'Qui necessitatibus hic quis qui nesciunt.'
                        created_at: '2025-12-09T14:41:06.000000Z'
                        updated_at: '2025-12-09T14:41:06.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 668
                        group:
                          type: string
                          example: facere
                        key:
                          type: string
                          example: expedita
                        text:
                          type: object
                          properties:
                            en:
                              type: string
                              example: 'Deleniti error minima minima qui omnis tempora temporibus.'
                            ru:
                              type: string
                              example: 'Sed necessitatibus velit facere amet maiores dolorem illum.'
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:06.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:06.000000Z'
      tags:
        - 'System settings'
      security: []
  /api/social-media-links:
    get:
      summary: 'Get all social media links'
      operationId: getAllSocialMediaLinks
      description: 'Get all social media links'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 61
                      url: 'http://www.schuppe.com/labore-delectus-rem-nulla-labore-quasi-eveniet'
                      icon_name: 'Dion Rohan'
                    -
                      id: 62
                      url: 'https://damore.com/necessitatibus-praesentium-dolores-est.html'
                      icon_name: 'Gerard Thompson Sr.'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 61
                        url: 'http://www.schuppe.com/labore-delectus-rem-nulla-labore-quasi-eveniet'
                        icon_name: 'Dion Rohan'
                      -
                        id: 62
                        url: 'https://damore.com/necessitatibus-praesentium-dolores-est.html'
                        icon_name: 'Gerard Thompson Sr.'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 61
                        url:
                          type: string
                          example: 'http://www.schuppe.com/labore-delectus-rem-nulla-labore-quasi-eveniet'
                        icon_name:
                          type: string
                          example: 'Dion Rohan'
      tags:
        - 'System settings'
      security: []
  /api/text-pages:
    get:
      summary: 'Get text pages'
      operationId: getTextPages
      description: 'Get list of bus schemas'
      parameters:
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 78
                      slug: qui-quia-ducimus-unde-magni-culpa-ratione
                      title: 'Esse blanditiis aut sint architecto.'
                      content: 'Eum soluta reiciendis dolor et id. Voluptas aliquam accusantium tempora iure voluptatem voluptas. Voluptatibus neque inventore voluptas saepe quod. Laboriosam est nihil iste dolor perferendis aut et et. Vitae consectetur veritatis quis quia officiis a repudiandae.'
                      is_active: false
                      translations:
                        title:
                          en: 'Esse blanditiis aut sint architecto.'
                        content:
                          en: 'Eum soluta reiciendis dolor et id. Voluptas aliquam accusantium tempora iure voluptatem voluptas. Voluptatibus neque inventore voluptas saepe quod. Laboriosam est nihil iste dolor perferendis aut et et. Vitae consectetur veritatis quis quia officiis a repudiandae.'
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                    -
                      id: 79
                      slug: iure-qui-earum-modi-deserunt-culpa-provident-natus-est
                      title: 'A voluptatibus omnis facere cumque iure culpa.'
                      content: 'Quisquam nihil sint dolorem distinctio ratione. Numquam quaerat nostrum laudantium sint voluptatibus. Velit quis laborum perferendis et et ipsam. Ex nihil molestias consequatur est occaecati.'
                      is_active: false
                      translations:
                        title:
                          en: 'A voluptatibus omnis facere cumque iure culpa.'
                        content:
                          en: 'Quisquam nihil sint dolorem distinctio ratione. Numquam quaerat nostrum laudantium sint voluptatibus. Velit quis laborum perferendis et et ipsam. Ex nihil molestias consequatur est occaecati.'
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 78
                        slug: qui-quia-ducimus-unde-magni-culpa-ratione
                        title: 'Esse blanditiis aut sint architecto.'
                        content: 'Eum soluta reiciendis dolor et id. Voluptas aliquam accusantium tempora iure voluptatem voluptas. Voluptatibus neque inventore voluptas saepe quod. Laboriosam est nihil iste dolor perferendis aut et et. Vitae consectetur veritatis quis quia officiis a repudiandae.'
                        is_active: false
                        translations:
                          title:
                            en: 'Esse blanditiis aut sint architecto.'
                          content:
                            en: 'Eum soluta reiciendis dolor et id. Voluptas aliquam accusantium tempora iure voluptatem voluptas. Voluptatibus neque inventore voluptas saepe quod. Laboriosam est nihil iste dolor perferendis aut et et. Vitae consectetur veritatis quis quia officiis a repudiandae.'
                        created_at: '2025-12-09T14:41:07.000000Z'
                        updated_at: '2025-12-09T14:41:07.000000Z'
                      -
                        id: 79
                        slug: iure-qui-earum-modi-deserunt-culpa-provident-natus-est
                        title: 'A voluptatibus omnis facere cumque iure culpa.'
                        content: 'Quisquam nihil sint dolorem distinctio ratione. Numquam quaerat nostrum laudantium sint voluptatibus. Velit quis laborum perferendis et et ipsam. Ex nihil molestias consequatur est occaecati.'
                        is_active: false
                        translations:
                          title:
                            en: 'A voluptatibus omnis facere cumque iure culpa.'
                          content:
                            en: 'Quisquam nihil sint dolorem distinctio ratione. Numquam quaerat nostrum laudantium sint voluptatibus. Velit quis laborum perferendis et et ipsam. Ex nihil molestias consequatur est occaecati.'
                        created_at: '2025-12-09T14:41:07.000000Z'
                        updated_at: '2025-12-09T14:41:07.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 78
                        slug:
                          type: string
                          example: qui-quia-ducimus-unde-magni-culpa-ratione
                        title:
                          type: string
                          example: 'Esse blanditiis aut sint architecto.'
                        content:
                          type: string
                          example: 'Eum soluta reiciendis dolor et id. Voluptas aliquam accusantium tempora iure voluptatem voluptas. Voluptatibus neque inventore voluptas saepe quod. Laboriosam est nihil iste dolor perferendis aut et et. Vitae consectetur veritatis quis quia officiis a repudiandae.'
                        is_active:
                          type: boolean
                          example: false
                        translations:
                          type: object
                          properties:
                            title:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 'Esse blanditiis aut sint architecto.'
                            content:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 'Eum soluta reiciendis dolor et id. Voluptas aliquam accusantium tempora iure voluptatem voluptas. Voluptatibus neque inventore voluptas saepe quod. Laboriosam est nihil iste dolor perferendis aut et et. Vitae consectetur veritatis quis quia officiis a repudiandae.'
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:07.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:07.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create text page'
      operationId: createTextPage
      description: 'Create a bus schema'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 81
                    slug: veniam-autem-qui-laborum-iure
                    title: 'Reprehenderit magni enim incidunt quibusdam qui modi.'
                    content: 'Aliquid aut et iure ipsam qui quo labore magni. Necessitatibus natus est laboriosam molestiae dolores incidunt temporibus. Ea quas laborum aut qui ut laudantium excepturi cupiditate. In tenetur nisi rerum quod adipisci soluta voluptatem.'
                    is_active: false
                    translations:
                      title:
                        en: 'Reprehenderit magni enim incidunt quibusdam qui modi.'
                      content:
                        en: 'Aliquid aut et iure ipsam qui quo labore magni. Necessitatibus natus est laboriosam molestiae dolores incidunt temporibus. Ea quas laborum aut qui ut laudantium excepturi cupiditate. In tenetur nisi rerum quod adipisci soluta voluptatem.'
                    created_at: '2025-12-09T14:41:16.000000Z'
                    updated_at: '2025-12-09T14:41:16.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 81
                      slug:
                        type: string
                        example: veniam-autem-qui-laborum-iure
                      title:
                        type: string
                        example: 'Reprehenderit magni enim incidunt quibusdam qui modi.'
                      content:
                        type: string
                        example: 'Aliquid aut et iure ipsam qui quo labore magni. Necessitatibus natus est laboriosam molestiae dolores incidunt temporibus. Ea quas laborum aut qui ut laudantium excepturi cupiditate. In tenetur nisi rerum quod adipisci soluta voluptatem.'
                      is_active:
                        type: boolean
                        example: false
                      translations:
                        type: object
                        properties:
                          title:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Reprehenderit magni enim incidunt quibusdam qui modi.'
                          content:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Aliquid aut et iure ipsam qui quo labore magni. Necessitatibus natus est laboriosam molestiae dolores incidunt temporibus. Ea quas laborum aut qui ut laudantium excepturi cupiditate. In tenetur nisi rerum quod adipisci soluta voluptatem.'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                slug:
                  type: string
                  description: 'Slug of the text page'
                  example: about-us
                  nullable: false
                title:
                  type: array
                  description: 'Title of the text page'
                  example:
                    en: 'About us'
                  items:
                    type: string
                content:
                  type: array
                  description: 'Content of the text page'
                  example:
                    en: 'About us content'
                  items:
                    type: string
                is_active:
                  type: boolean
                  description: 'Whether the text page is active'
                  example: true
                  nullable: false
              required:
                - slug
                - title
                - content
                - is_active
  '/api/text-pages/{slug}':
    get:
      summary: 'Show text page'
      operationId: showTextPage
      description: 'Get a bus schema'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 80
                    slug: et-velit-harum-qui
                    title: 'Repudiandae nobis excepturi fugiat aut vel voluptatibus.'
                    content: 'Impedit voluptate laboriosam ea exercitationem. Molestiae cumque dolorem qui quas ut quis. Omnis in velit quisquam hic incidunt facilis.'
                    is_active: false
                    translations:
                      title:
                        en: 'Repudiandae nobis excepturi fugiat aut vel voluptatibus.'
                      content:
                        en: 'Impedit voluptate laboriosam ea exercitationem. Molestiae cumque dolorem qui quas ut quis. Omnis in velit quisquam hic incidunt facilis.'
                    created_at: '2025-12-09T14:41:07.000000Z'
                    updated_at: '2025-12-09T14:41:07.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 80
                      slug:
                        type: string
                        example: et-velit-harum-qui
                      title:
                        type: string
                        example: 'Repudiandae nobis excepturi fugiat aut vel voluptatibus.'
                      content:
                        type: string
                        example: 'Impedit voluptate laboriosam ea exercitationem. Molestiae cumque dolorem qui quas ut quis. Omnis in velit quisquam hic incidunt facilis.'
                      is_active:
                        type: boolean
                        example: false
                      translations:
                        type: object
                        properties:
                          title:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Repudiandae nobis excepturi fugiat aut vel voluptatibus.'
                          content:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Impedit voluptate laboriosam ea exercitationem. Molestiae cumque dolorem qui quas ut quis. Omnis in velit quisquam hic incidunt facilis.'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
      tags:
        - 'System settings'
      security: []
    parameters:
      -
        in: path
        name: slug
        description: 'The slug of the text page.'
        example: 67
        required: true
        schema:
          type: integer
  /api/discount-types:
    get:
      summary: 'Get discount types'
      operationId: getDiscountTypes
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 98
                      name: modi
                      translations:
                        name:
                          en: modi
                          ar: sit
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                    -
                      id: 99
                      name: quia
                      translations:
                        name:
                          en: quia
                          ar: tempore
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 98
                        name: modi
                        translations:
                          name:
                            en: modi
                            ar: sit
                        created_at: '2025-12-09T14:41:07.000000Z'
                        updated_at: '2025-12-09T14:41:07.000000Z'
                      -
                        id: 99
                        name: quia
                        translations:
                          name:
                            en: quia
                            ar: tempore
                        created_at: '2025-12-09T14:41:07.000000Z'
                        updated_at: '2025-12-09T14:41:07.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 98
                        name:
                          type: string
                          example: modi
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: modi
                                ar:
                                  type: string
                                  example: sit
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:07.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:07.000000Z'
      tags:
        - 'System settings'
    post:
      summary: 'Create discount type'
      operationId: createDiscountType
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 100
                    name: similique
                    translations:
                      name:
                        en: similique
                        ar: reprehenderit
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 100
                      name:
                        type: string
                        example: similique
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: similique
                              ar:
                                type: string
                                example: reprehenderit
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'City name'
                  example:
                    en: Child
                    ar: نيويورك
                  items:
                    type: string
              required:
                - name
  /api/notification-templates:
    get:
      summary: 'Get notification templates'
      operationId: getNotificationTemplates
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 59
                      title: facilis
                      content: 'Eos et corrupti iusto nostrum.'
                      translations:
                        content:
                          en: 'Eos et corrupti iusto nostrum.'
                          es: 'Aperiam cupiditate dolor sequi alias nulla magni.'
                        App\Enums\NotificationTemplateEnum: []
                      slug: null
                    -
                      id: 60
                      title: possimus
                      content: 'Dolores sint qui placeat quis quo corrupti tempore.'
                      translations:
                        content:
                          en: 'Dolores sint qui placeat quis quo corrupti tempore.'
                          es: 'Placeat a non rerum ut ut ea velit.'
                        App\Enums\NotificationTemplateEnum: []
                      slug: null
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 59
                        title: facilis
                        content: 'Eos et corrupti iusto nostrum.'
                        translations:
                          content:
                            en: 'Eos et corrupti iusto nostrum.'
                            es: 'Aperiam cupiditate dolor sequi alias nulla magni.'
                          App\Enums\NotificationTemplateEnum: []
                        slug: null
                      -
                        id: 60
                        title: possimus
                        content: 'Dolores sint qui placeat quis quo corrupti tempore.'
                        translations:
                          content:
                            en: 'Dolores sint qui placeat quis quo corrupti tempore.'
                            es: 'Placeat a non rerum ut ut ea velit.'
                          App\Enums\NotificationTemplateEnum: []
                        slug: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 59
                        title:
                          type: string
                          example: facilis
                        content:
                          type: string
                          example: 'Eos et corrupti iusto nostrum.'
                        translations:
                          type: object
                          properties:
                            content:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 'Eos et corrupti iusto nostrum.'
                                es:
                                  type: string
                                  example: 'Aperiam cupiditate dolor sequi alias nulla magni.'
                            App\Enums\NotificationTemplateEnum:
                              type: array
                              example: []
                        slug:
                          type: string
                          example: null
      tags:
        - 'System settings'
    post:
      summary: 'Create notification template'
      operationId: createNotificationTemplate
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 61
                    title: illum
                    content: 'Qui accusamus dolorem excepturi hic ut sit laborum.'
                    translations:
                      content:
                        en: 'Qui accusamus dolorem excepturi hic ut sit laborum.'
                        es: 'Eius delectus sunt officiis animi quas nihil.'
                      App\Enums\NotificationTemplateEnum: []
                    slug: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 61
                      title:
                        type: string
                        example: illum
                      content:
                        type: string
                        example: 'Qui accusamus dolorem excepturi hic ut sit laborum.'
                      translations:
                        type: object
                        properties:
                          content:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Qui accusamus dolorem excepturi hic ut sit laborum.'
                              es:
                                type: string
                                example: 'Eius delectus sunt officiis animi quas nihil.'
                          App\Enums\NotificationTemplateEnum:
                            type: array
                            example: []
                      slug:
                        type: string
                        example: null
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: 'New template'
                  nullable: false
                content:
                  type: array
                  description: 'Message content'
                  example:
                    en: Child
                    ar: نيويورك
                  items:
                    type: string
                slug:
                  type: string
                  description: Slug
                  example: new-template
                  nullable: false
              required:
                - name
                - content
  '/api/currencies/{currency_id}':
    patch:
      summary: 'Update currency'
      operationId: updateCurrency
      description: 'Update currency'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 810
                    display_name: IDR
                    code: JPY
                    symbol: BMD
                    is_active: true
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 810
                      display_name:
                        type: string
                        example: IDR
                      code:
                        type: string
                        example: JPY
                      symbol:
                        type: string
                        example: BMD
                      is_active:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                display_name:
                  type: string
                  description: 'Display name'
                  example: 'US Dollar'
                  nullable: false
                code:
                  type: string
                  description: Code
                  example: USD
                  nullable: false
                symbol:
                  type: string
                  description: Symbol
                  example: $
                  nullable: false
                is_active:
                  type: string
                  description: 'Is active'
                  example: true
                  nullable: false
              required:
                - display_name
                - code
                - symbol
                - is_active
    delete:
      summary: 'Delete currency'
      operationId: deleteCurrency
      description: 'Delete currency'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: currency_id
        description: 'The ID of the currency.'
        example: 88
        required: true
        schema:
          type: integer
  /api/payment-conversion-settings:
    get:
      summary: 'Get all payment conversion settings'
      operationId: getAllPaymentConversionSettings
      description: 'Get all payment conversion settings'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 3
                      payment_method_id: 150
                      currency_from_id: 811
                      currency_to_id: 812
                      is_active: false
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    -
                      id: 4
                      payment_method_id: 151
                      currency_from_id: 813
                      currency_to_id: 814
                      is_active: true
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 3
                        payment_method_id: 150
                        currency_from_id: 811
                        currency_to_id: 812
                        is_active: false
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                      -
                        id: 4
                        payment_method_id: 151
                        currency_from_id: 813
                        currency_to_id: 814
                        is_active: true
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 3
                        payment_method_id:
                          type: integer
                          example: 150
                        currency_from_id:
                          type: integer
                          example: 811
                        currency_to_id:
                          type: integer
                          example: 812
                        is_active:
                          type: boolean
                          example: false
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create payment conversion setting'
      operationId: createPaymentConversionSetting
      description: 'Create payment conversion setting'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 5
                    payment_method_id: 152
                    currency_from_id: 815
                    currency_to_id: 816
                    is_active: false
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 5
                      payment_method_id:
                        type: integer
                        example: 152
                      currency_from_id:
                        type: integer
                        example: 815
                      currency_to_id:
                        type: integer
                        example: 816
                      is_active:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                payment_method_id:
                  type: string
                  description: 'Payment method ID'
                  example: 1
                  nullable: false
                currency_from_id:
                  type: string
                  description: 'Currency from ID'
                  example: 1
                  nullable: false
                currency_to_id:
                  type: string
                  description: 'Currency to ID'
                  example: 2
                  nullable: false
                is_active:
                  type: string
                  description: 'Is active'
                  example: true
                  nullable: false
              required:
                - payment_method_id
                - currency_from_id
                - currency_to_id
                - is_active
  '/api/payment-conversion-settings/{setting_id}':
    patch:
      summary: 'Update payment conversion setting'
      operationId: updatePaymentConversionSetting
      description: 'Update payment conversion setting'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 6
                    payment_method_id: 153
                    currency_from_id: 817
                    currency_to_id: 818
                    is_active: true
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 6
                      payment_method_id:
                        type: integer
                        example: 153
                      currency_from_id:
                        type: integer
                        example: 817
                      currency_to_id:
                        type: integer
                        example: 818
                      is_active:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                payment_method_id:
                  type: string
                  description: 'Payment method ID'
                  example: 1
                  nullable: false
                currency_from_id:
                  type: string
                  description: 'Currency from ID'
                  example: 1
                  nullable: false
                currency_to_id:
                  type: string
                  description: 'Currency to ID'
                  example: 2
                  nullable: false
                is_active:
                  type: string
                  description: 'Is active'
                  example: true
                  nullable: false
              required:
                - payment_method_id
                - currency_from_id
                - currency_to_id
                - is_active
    delete:
      summary: 'Delete payment conversion setting'
      operationId: deletePaymentConversionSetting
      description: 'Delete payment conversion setting'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: setting_id
        description: 'The ID of the setting.'
        example: 1
        required: true
        schema:
          type: integer
  /api/currency-rates:
    get:
      summary: 'Get all currency rates'
      operationId: getAllCurrencyRates
      description: 'Get all currency rates'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 73
                      currency_from_id: 819
                      currency_to_id: 820
                      rate: '1.4399'
                      date: '2025-12-09T00:00:00.000000Z'
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    -
                      id: 74
                      currency_from_id: 821
                      currency_to_id: 822
                      rate: '0.7639'
                      date: '2025-12-09T00:00:00.000000Z'
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 73
                        currency_from_id: 819
                        currency_to_id: 820
                        rate: '1.4399'
                        date: '2025-12-09T00:00:00.000000Z'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                      -
                        id: 74
                        currency_from_id: 821
                        currency_to_id: 822
                        rate: '0.7639'
                        date: '2025-12-09T00:00:00.000000Z'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 73
                        currency_from_id:
                          type: integer
                          example: 819
                        currency_to_id:
                          type: integer
                          example: 820
                        rate:
                          type: string
                          example: '1.4399'
                        date:
                          type: string
                          example: '2025-12-09T00:00:00.000000Z'
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create currency rate'
      operationId: createCurrencyRate
      description: 'Create currency rate'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 75
                    currency_from_id: 823
                    currency_to_id: 824
                    rate: '1.2214'
                    date: '2025-12-09T00:00:00.000000Z'
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 75
                      currency_from_id:
                        type: integer
                        example: 823
                      currency_to_id:
                        type: integer
                        example: 824
                      rate:
                        type: string
                        example: '1.2214'
                      date:
                        type: string
                        example: '2025-12-09T00:00:00.000000Z'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                currency_from_id:
                  type: string
                  description: 'Currency from ID'
                  example: 1
                  nullable: false
                currency_to_id:
                  type: string
                  description: 'Currency to ID'
                  example: 2
                  nullable: false
                rate:
                  type: string
                  description: Rate
                  example: 1.5
                  nullable: false
                date:
                  type: string
                  description: Date
                  example: '2023-01-01'
                  nullable: false
              required:
                - currency_from_id
                - currency_to_id
                - rate
                - date
  '/api/currency-rates/{rate_id}':
    patch:
      summary: 'Update currency rate'
      operationId: updateCurrencyRate
      description: 'Update currency rate'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 76
                    currency_from_id: 825
                    currency_to_id: 826
                    rate: '0.8768'
                    date: '2025-12-09T00:00:00.000000Z'
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 76
                      currency_from_id:
                        type: integer
                        example: 825
                      currency_to_id:
                        type: integer
                        example: 826
                      rate:
                        type: string
                        example: '0.8768'
                      date:
                        type: string
                        example: '2025-12-09T00:00:00.000000Z'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                currency_from_id:
                  type: string
                  description: 'Currency from ID'
                  example: 1
                  nullable: false
                currency_to_id:
                  type: string
                  description: 'Currency to ID'
                  example: 2
                  nullable: false
                rate:
                  type: string
                  description: Rate
                  example: 1.5
                  nullable: false
                date:
                  type: string
                  description: Date
                  example: '2023-01-01'
                  nullable: false
              required:
                - currency_from_id
                - currency_to_id
                - rate
                - date
    delete:
      summary: 'Delete currency rate'
      operationId: deleteCurrencyRate
      description: 'Delete currency rate'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: rate_id
        description: 'The ID of the rate.'
        example: 1
        required: true
        schema:
          type: integer
  /api/external-sources:
    get:
      summary: 'Get all external sources'
      operationId: getAllExternalSources
      description: 'Get all external sources'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 48
                      name: Eichmann-Crist
                      type: fake
                      is_active: true
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                      send_passenger_notifications: false
                      excluded_carriers: null
                      price_adjustment_percent: '0.00'
                    -
                      id: 49
                      name: 'Kohler, Zemlak and Rau'
                      type: fake
                      is_active: true
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                      send_passenger_notifications: false
                      excluded_carriers: null
                      price_adjustment_percent: '0.00'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 48
                        name: Eichmann-Crist
                        type: fake
                        is_active: true
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                        send_passenger_notifications: false
                        excluded_carriers: null
                        price_adjustment_percent: '0.00'
                      -
                        id: 49
                        name: 'Kohler, Zemlak and Rau'
                        type: fake
                        is_active: true
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                        send_passenger_notifications: false
                        excluded_carriers: null
                        price_adjustment_percent: '0.00'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 48
                        name:
                          type: string
                          example: Eichmann-Crist
                        type:
                          type: string
                          example: fake
                        is_active:
                          type: boolean
                          example: true
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                        send_passenger_notifications:
                          type: boolean
                          example: false
                        excluded_carriers:
                          type: string
                          example: null
                        price_adjustment_percent:
                          type: string
                          example: '0.00'
      tags:
        - 'System settings'
    post:
      summary: 'Create external source'
      operationId: createExternalSource
      description: 'Create external source'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 50
                    name: Metz-Maggio
                    type: fake
                    is_active: true
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                    send_passenger_notifications: false
                    excluded_carriers: null
                    price_adjustment_percent: '0.00'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 50
                      name:
                        type: string
                        example: Metz-Maggio
                      type:
                        type: string
                        example: fake
                      is_active:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      send_passenger_notifications:
                        type: boolean
                        example: false
                      excluded_carriers:
                        type: string
                        example: null
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: 'ContraBus API'
                  nullable: false
                type:
                  type: string
                  description: Type
                  example: contrabus
                  nullable: false
                is_active:
                  type: string
                  description: 'Is active'
                  example: true
                  nullable: false
                payment_methods:
                  type: string
                  description: 'Payment methods'
                  example:
                    - 1
                    - 2
                    - 3
                  nullable: false
                send_passenger_notifications:
                  type: string
                  description: 'Send passenger notifications'
                  example: true
                  nullable: false
                excluded_carriers:
                  type: string
                  description: 'Excluded carriers'
                  example: carrier1|carrier2
                  nullable: false
                price_adjustment_percent:
                  type: string
                  description: 'Price adjustment percent'
                  example: 10
                  nullable: false
              required:
                - name
                - type
                - is_active
                - send_passenger_notifications
  '/api/external-sources/{externalSource_id}':
    patch:
      summary: 'Update external source'
      operationId: updateExternalSource
      description: 'Update external source'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 51
                    name: Ullrich-Skiles
                    type: fake
                    is_active: true
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                    send_passenger_notifications: false
                    excluded_carriers: null
                    price_adjustment_percent: '0.00'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 51
                      name:
                        type: string
                        example: Ullrich-Skiles
                      type:
                        type: string
                        example: fake
                      is_active:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      send_passenger_notifications:
                        type: boolean
                        example: false
                      excluded_carriers:
                        type: string
                        example: null
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: 'ContraBus API'
                  nullable: false
                type:
                  type: string
                  description: Type
                  example: contrabus
                  nullable: false
                is_active:
                  type: string
                  description: 'Is active'
                  example: true
                  nullable: false
                payment_methods:
                  type: string
                  description: 'Payment methods'
                  example:
                    - 1
                    - 2
                    - 3
                  nullable: false
                send_passenger_notifications:
                  type: string
                  description: 'Send passenger notifications'
                  example: true
                  nullable: false
                excluded_carriers:
                  type: string
                  description: 'Excluded carriers'
                  example:
                    - carrier1|carrier2
                  nullable: false
                price_adjustment_percent:
                  type: string
                  description: 'Price adjustment percent'
                  example: 10
                  nullable: false
              required:
                - name
                - type
                - is_active
                - payment_methods
                - send_passenger_notifications
                - excluded_carriers
                - price_adjustment_percent
    delete:
      summary: 'Delete external source'
      operationId: deleteExternalSource
      description: 'Delete external source'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: externalSource_id
        description: 'The ID of the externalSource.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/languages/{language_id}':
    patch:
      summary: 'Update language'
      operationId: updateLanguage
      description: 'Update language'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 69
                    display_name: Djibouti
                    code: UY
                    is_active: true
                    is_default: false
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 69
                      display_name:
                        type: string
                        example: Djibouti
                      code:
                        type: string
                        example: UY
                      is_active:
                        type: boolean
                        example: true
                      is_default:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                display_name:
                  type: string
                  description: 'Display name'
                  example: Ukrainian
                  nullable: false
                code:
                  type: string
                  description: Code
                  example: ua
                  nullable: false
                is_active:
                  type: string
                  description: 'Is active'
                  example: true
                  nullable: false
                is_default:
                  type: string
                  description: 'Is default'
                  example: true
                  nullable: false
              required:
                - display_name
                - code
                - is_active
                - is_default
    delete:
      summary: 'Delete language'
      operationId: deleteLanguage
      description: 'Delete language'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: language_id
        description: 'The ID of the language.'
        example: 5
        required: true
        schema:
          type: integer
  /api/bus-services:
    get:
      summary: 'Get all bus services'
      operationId: getAllBusServices
      description: 'Get all bus services'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 174
                      name: 'Faustino Batz Sr.'
                      translations:
                        name:
                          ua: 'Karolann Wunsch'
                          en: 'Faustino Batz Sr.'
                      icon_name: 'Dudley Wuckert'
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    -
                      id: 175
                      name: 'Ms. Margret Hackett'
                      translations:
                        name:
                          ua: 'Oren DuBuque'
                          en: 'Ms. Margret Hackett'
                      icon_name: 'Dr. Maeve Gusikowski MD'
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 174
                        name: 'Faustino Batz Sr.'
                        translations:
                          name:
                            ua: 'Karolann Wunsch'
                            en: 'Faustino Batz Sr.'
                        icon_name: 'Dudley Wuckert'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                      -
                        id: 175
                        name: 'Ms. Margret Hackett'
                        translations:
                          name:
                            ua: 'Oren DuBuque'
                            en: 'Ms. Margret Hackett'
                        icon_name: 'Dr. Maeve Gusikowski MD'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 174
                        name:
                          type: string
                          example: 'Faustino Batz Sr.'
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                ua:
                                  type: string
                                  example: 'Karolann Wunsch'
                                en:
                                  type: string
                                  example: 'Faustino Batz Sr.'
                        icon_name:
                          type: string
                          example: 'Dudley Wuckert'
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
    post:
      summary: 'Create bus service'
      operationId: createBusService
      description: 'Create bus service'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 176
                    name: 'Daron Towne'
                    translations:
                      name:
                        ua: 'Mr. Davin Friesen PhD'
                        en: 'Daron Towne'
                    icon_name: 'Reinhold Huels'
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 176
                      name:
                        type: string
                        example: 'Daron Towne'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              ua:
                                type: string
                                example: 'Mr. Davin Friesen PhD'
                              en:
                                type: string
                                example: 'Daron Towne'
                      icon_name:
                        type: string
                        example: 'Reinhold Huels'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'Bus service name'
                  example:
                    ua: Назва
                    en: Name
                  items:
                    type: string
                icon_name:
                  type: string
                  description: 'Bus service icon name'
                  example: repudiandae
                  nullable: false
              required:
                - name
  '/api/bus-services/{service_id}':
    patch:
      summary: 'Update bus service'
      operationId: updateBusService
      description: 'Update bus service'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 177
                    name: 'Jay West'
                    translations:
                      name:
                        ua: 'Clare Purdy'
                        en: 'Jay West'
                    icon_name: 'Oliver Spencer PhD'
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 177
                      name:
                        type: string
                        example: 'Jay West'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              ua:
                                type: string
                                example: 'Clare Purdy'
                              en:
                                type: string
                                example: 'Jay West'
                      icon_name:
                        type: string
                        example: 'Oliver Spencer PhD'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'Bus service name'
                  example:
                    ua: Назва
                    en: Name
                  items:
                    type: string
                icon_name:
                  type: string
                  description: 'Bus service icon name'
                  example: in
                  nullable: false
              required:
                - name
    delete:
      summary: 'Delete bus service'
      operationId: deleteBusService
      description: 'Delete bus service'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: service_id
        description: 'The ID of the service.'
        example: 15
        required: true
        schema:
          type: integer
  /api/bus-schemas:
    get:
      summary: 'Get bus schemes'
      operationId: getBusSchemes
      description: 'Get list of bus schemas'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1423
                      name: 'Deangelo Mayer'
                      mark: 'Betty Hickle'
                      model: 'Tobin Osinski'
                      number_of_seats: 1
                      number_of_floors: 1
                      services:
                        -
                          id: 178
                          name: 'Prof. Enrico Predovic IV'
                          translations:
                            name:
                              ua: 'Prof. Felipe Padberg'
                              en: 'Prof. Enrico Predovic IV'
                          icon_name: 'Patience Effertz'
                          created_at: '2025-12-09T14:41:09.000000Z'
                          updated_at: '2025-12-09T14:41:09.000000Z'
                      rows: 2
                      columns: 2
                      items:
                        -
                          id: 41207
                          type: seat
                          name: 'Prof. Nicholaus Pouros'
                          translations:
                            name:
                              en: 'Prof. Nicholaus Pouros'
                          seat_number: 631630
                          row_number: 186141105
                          column_number: 3541336
                          floor_number: 1
                        -
                          id: 41208
                          type: seat
                          name: 'Seat 1'
                          translations:
                            name:
                              en: 'Seat 1'
                          seat_number: 1
                          row_number: 1
                          column_number: 1
                          floor_number: 1
                        -
                          id: 41209
                          type: seat
                          name: 'Seat 2'
                          translations:
                            name:
                              en: 'Seat 2'
                          seat_number: 2
                          row_number: 1
                          column_number: 2
                          floor_number: 1
                        -
                          id: 41210
                          type: seat
                          name: 'Seat 3'
                          translations:
                            name:
                              en: 'Seat 3'
                          seat_number: 3
                          row_number: 2
                          column_number: 1
                          floor_number: 1
                        -
                          id: 41211
                          type: seat
                          name: 'Seat 4'
                          translations:
                            name:
                              en: 'Seat 4'
                          seat_number: 4
                          row_number: 2
                          column_number: 2
                          floor_number: 1
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    -
                      id: 1425
                      name: 'Max Cole DDS'
                      mark: 'Shaun Feeney'
                      model: 'Dr. Stan Strosin I'
                      number_of_seats: 1
                      number_of_floors: 1
                      services:
                        -
                          id: 179
                          name: 'Dameon Crist V'
                          translations:
                            name:
                              ua: 'Anya Shanahan'
                              en: 'Dameon Crist V'
                          icon_name: 'Gene Gibson'
                          created_at: '2025-12-09T14:41:09.000000Z'
                          updated_at: '2025-12-09T14:41:09.000000Z'
                      rows: 1
                      columns: 1
                      items:
                        -
                          id: 41214
                          type: seat
                          name: 'Louisa Cole'
                          translations:
                            name:
                              en: 'Louisa Cole'
                          seat_number: 260277
                          row_number: 43
                          column_number: 30488
                          floor_number: 1
                        -
                          id: 41215
                          type: seat
                          name: 'Seat 1'
                          translations:
                            name:
                              en: 'Seat 1'
                          seat_number: 1
                          row_number: 1
                          column_number: 1
                          floor_number: 1
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1423
                        name: 'Deangelo Mayer'
                        mark: 'Betty Hickle'
                        model: 'Tobin Osinski'
                        number_of_seats: 1
                        number_of_floors: 1
                        services:
                          -
                            id: 178
                            name: 'Prof. Enrico Predovic IV'
                            translations:
                              name:
                                ua: 'Prof. Felipe Padberg'
                                en: 'Prof. Enrico Predovic IV'
                            icon_name: 'Patience Effertz'
                            created_at: '2025-12-09T14:41:09.000000Z'
                            updated_at: '2025-12-09T14:41:09.000000Z'
                        rows: 2
                        columns: 2
                        items:
                          -
                            id: 41207
                            type: seat
                            name: 'Prof. Nicholaus Pouros'
                            translations:
                              name:
                                en: 'Prof. Nicholaus Pouros'
                            seat_number: 631630
                            row_number: 186141105
                            column_number: 3541336
                            floor_number: 1
                          -
                            id: 41208
                            type: seat
                            name: 'Seat 1'
                            translations:
                              name:
                                en: 'Seat 1'
                            seat_number: 1
                            row_number: 1
                            column_number: 1
                            floor_number: 1
                          -
                            id: 41209
                            type: seat
                            name: 'Seat 2'
                            translations:
                              name:
                                en: 'Seat 2'
                            seat_number: 2
                            row_number: 1
                            column_number: 2
                            floor_number: 1
                          -
                            id: 41210
                            type: seat
                            name: 'Seat 3'
                            translations:
                              name:
                                en: 'Seat 3'
                            seat_number: 3
                            row_number: 2
                            column_number: 1
                            floor_number: 1
                          -
                            id: 41211
                            type: seat
                            name: 'Seat 4'
                            translations:
                              name:
                                en: 'Seat 4'
                            seat_number: 4
                            row_number: 2
                            column_number: 2
                            floor_number: 1
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                      -
                        id: 1425
                        name: 'Max Cole DDS'
                        mark: 'Shaun Feeney'
                        model: 'Dr. Stan Strosin I'
                        number_of_seats: 1
                        number_of_floors: 1
                        services:
                          -
                            id: 179
                            name: 'Dameon Crist V'
                            translations:
                              name:
                                ua: 'Anya Shanahan'
                                en: 'Dameon Crist V'
                            icon_name: 'Gene Gibson'
                            created_at: '2025-12-09T14:41:09.000000Z'
                            updated_at: '2025-12-09T14:41:09.000000Z'
                        rows: 1
                        columns: 1
                        items:
                          -
                            id: 41214
                            type: seat
                            name: 'Louisa Cole'
                            translations:
                              name:
                                en: 'Louisa Cole'
                            seat_number: 260277
                            row_number: 43
                            column_number: 30488
                            floor_number: 1
                          -
                            id: 41215
                            type: seat
                            name: 'Seat 1'
                            translations:
                              name:
                                en: 'Seat 1'
                            seat_number: 1
                            row_number: 1
                            column_number: 1
                            floor_number: 1
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1423
                        name:
                          type: string
                          example: 'Deangelo Mayer'
                        mark:
                          type: string
                          example: 'Betty Hickle'
                        model:
                          type: string
                          example: 'Tobin Osinski'
                        number_of_seats:
                          type: integer
                          example: 1
                        number_of_floors:
                          type: integer
                          example: 1
                        services:
                          type: array
                          example:
                            -
                              id: 178
                              name: 'Prof. Enrico Predovic IV'
                              translations:
                                name:
                                  ua: 'Prof. Felipe Padberg'
                                  en: 'Prof. Enrico Predovic IV'
                              icon_name: 'Patience Effertz'
                              created_at: '2025-12-09T14:41:09.000000Z'
                              updated_at: '2025-12-09T14:41:09.000000Z'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 178
                              name:
                                type: string
                                example: 'Prof. Enrico Predovic IV'
                              translations:
                                type: object
                                properties:
                                  name:
                                    type: object
                                    properties:
                                      ua: { type: string, example: 'Prof. Felipe Padberg' }
                                      en: { type: string, example: 'Prof. Enrico Predovic IV' }
                              icon_name:
                                type: string
                                example: 'Patience Effertz'
                              created_at:
                                type: string
                                example: '2025-12-09T14:41:09.000000Z'
                              updated_at:
                                type: string
                                example: '2025-12-09T14:41:09.000000Z'
                        rows:
                          type: integer
                          example: 2
                        columns:
                          type: integer
                          example: 2
                        items:
                          type: array
                          example:
                            -
                              id: 41207
                              type: seat
                              name: 'Prof. Nicholaus Pouros'
                              translations:
                                name:
                                  en: 'Prof. Nicholaus Pouros'
                              seat_number: 631630
                              row_number: 186141105
                              column_number: 3541336
                              floor_number: 1
                            -
                              id: 41208
                              type: seat
                              name: 'Seat 1'
                              translations:
                                name:
                                  en: 'Seat 1'
                              seat_number: 1
                              row_number: 1
                              column_number: 1
                              floor_number: 1
                            -
                              id: 41209
                              type: seat
                              name: 'Seat 2'
                              translations:
                                name:
                                  en: 'Seat 2'
                              seat_number: 2
                              row_number: 1
                              column_number: 2
                              floor_number: 1
                            -
                              id: 41210
                              type: seat
                              name: 'Seat 3'
                              translations:
                                name:
                                  en: 'Seat 3'
                              seat_number: 3
                              row_number: 2
                              column_number: 1
                              floor_number: 1
                            -
                              id: 41211
                              type: seat
                              name: 'Seat 4'
                              translations:
                                name:
                                  en: 'Seat 4'
                              seat_number: 4
                              row_number: 2
                              column_number: 2
                              floor_number: 1
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 41207
                              type:
                                type: string
                                example: seat
                              name:
                                type: string
                                example: 'Prof. Nicholaus Pouros'
                              translations:
                                type: object
                                properties:
                                  name:
                                    type: object
                                    properties:
                                      en: { type: string, example: 'Prof. Nicholaus Pouros' }
                              seat_number:
                                type: integer
                                example: 631630
                              row_number:
                                type: integer
                                example: 186141105
                              column_number:
                                type: integer
                                example: 3541336
                              floor_number:
                                type: integer
                                example: 1
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'System settings'
    post:
      summary: 'Create bus schema'
      operationId: createBusSchema
      description: 'Create new bus schema'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1427
                    name: 'Sister Williamson'
                    mark: 'Prof. Oran Sipes V'
                    model: 'Lea Durgan PhD'
                    number_of_seats: 2
                    number_of_floors: 1
                    rows: 1
                    columns: 1
                    items:
                      -
                        id: 41220
                        type: seat
                        name: 'Ellie Harris'
                        translations:
                          name:
                            en: 'Ellie Harris'
                        seat_number: 154880237
                        row_number: 11187853
                        column_number: 8836254
                        floor_number: 1
                      -
                        id: 41221
                        type: seat
                        name: 'Seat 1'
                        translations:
                          name:
                            en: 'Seat 1'
                        seat_number: 1
                        row_number: 1
                        column_number: 1
                        floor_number: 1
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1427
                      name:
                        type: string
                        example: 'Sister Williamson'
                      mark:
                        type: string
                        example: 'Prof. Oran Sipes V'
                      model:
                        type: string
                        example: 'Lea Durgan PhD'
                      number_of_seats:
                        type: integer
                        example: 2
                      number_of_floors:
                        type: integer
                        example: 1
                      rows:
                        type: integer
                        example: 1
                      columns:
                        type: integer
                        example: 1
                      items:
                        type: array
                        example:
                          -
                            id: 41220
                            type: seat
                            name: 'Ellie Harris'
                            translations:
                              name:
                                en: 'Ellie Harris'
                            seat_number: 154880237
                            row_number: 11187853
                            column_number: 8836254
                            floor_number: 1
                          -
                            id: 41221
                            type: seat
                            name: 'Seat 1'
                            translations:
                              name:
                                en: 'Seat 1'
                            seat_number: 1
                            row_number: 1
                            column_number: 1
                            floor_number: 1
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 41220
                            type:
                              type: string
                              example: seat
                            name:
                              type: string
                              example: 'Ellie Harris'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    en:
                                      type: string
                                      example: 'Ellie Harris'
                            seat_number:
                              type: integer
                              example: 154880237
                            row_number:
                              type: integer
                              example: 11187853
                            column_number:
                              type: integer
                              example: 8836254
                            floor_number:
                              type: integer
                              example: 1
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Name of bus schema'
                  example: 'Bus 1'
                  nullable: false
                rows:
                  type: string
                  description: 'Number of rows'
                  example: 5
                  nullable: false
                columns:
                  type: string
                  description: 'Number of columns'
                  example: 5
                  nullable: false
                mark:
                  type: string
                  description: 'Mark of bus schema'
                  example: Mercedes
                  nullable: false
                model:
                  type: string
                  description: 'Model of bus schema'
                  example: Sprinter
                  nullable: false
                number_of_seats:
                  type: string
                  description: 'Number of seats'
                  example: 20
                  nullable: false
                number_of_floors:
                  type: string
                  description: 'Number of seats'
                  example: 20
                  nullable: false
              required:
                - name
                - rows
                - columns
                - mark
                - model
                - number_of_seats
                - number_of_floors
  '/api/bus-schemas/{schema_id}':
    get:
      summary: 'Show bus schema'
      operationId: showBusSchema
      description: 'Get bus schema by id'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1429
                    name: 'Wilfredo Gleason Jr.'
                    mark: 'Dr. Ephraim Collins'
                    model: "Johann O'Reilly IV"
                    number_of_seats: 2
                    number_of_floors: 1
                    services:
                      -
                        id: 180
                        name: 'Chadd Schiller'
                        translations:
                          name:
                            ua: 'Dr. Loraine Jerde'
                            en: 'Chadd Schiller'
                        icon_name: 'Georgianna Turner'
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    rows: 1
                    columns: 1
                    items:
                      -
                        id: 41223
                        type: seat
                        name: 'Clemmie McKenzie'
                        translations:
                          name:
                            en: 'Clemmie McKenzie'
                        seat_number: 49499477
                        row_number: 5
                        column_number: 9
                        floor_number: 1
                      -
                        id: 41224
                        type: seat
                        name: 'Seat 1'
                        translations:
                          name:
                            en: 'Seat 1'
                        seat_number: 1
                        row_number: 1
                        column_number: 1
                        floor_number: 1
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1429
                      name:
                        type: string
                        example: 'Wilfredo Gleason Jr.'
                      mark:
                        type: string
                        example: 'Dr. Ephraim Collins'
                      model:
                        type: string
                        example: "Johann O'Reilly IV"
                      number_of_seats:
                        type: integer
                        example: 2
                      number_of_floors:
                        type: integer
                        example: 1
                      services:
                        type: array
                        example:
                          -
                            id: 180
                            name: 'Chadd Schiller'
                            translations:
                              name:
                                ua: 'Dr. Loraine Jerde'
                                en: 'Chadd Schiller'
                            icon_name: 'Georgianna Turner'
                            created_at: '2025-12-09T14:41:09.000000Z'
                            updated_at: '2025-12-09T14:41:09.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 180
                            name:
                              type: string
                              example: 'Chadd Schiller'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Dr. Loraine Jerde'
                                    en:
                                      type: string
                                      example: 'Chadd Schiller'
                            icon_name:
                              type: string
                              example: 'Georgianna Turner'
                            created_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-09T14:41:09.000000Z'
                      rows:
                        type: integer
                        example: 1
                      columns:
                        type: integer
                        example: 1
                      items:
                        type: array
                        example:
                          -
                            id: 41223
                            type: seat
                            name: 'Clemmie McKenzie'
                            translations:
                              name:
                                en: 'Clemmie McKenzie'
                            seat_number: 49499477
                            row_number: 5
                            column_number: 9
                            floor_number: 1
                          -
                            id: 41224
                            type: seat
                            name: 'Seat 1'
                            translations:
                              name:
                                en: 'Seat 1'
                            seat_number: 1
                            row_number: 1
                            column_number: 1
                            floor_number: 1
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 41223
                            type:
                              type: string
                              example: seat
                            name:
                              type: string
                              example: 'Clemmie McKenzie'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    en:
                                      type: string
                                      example: 'Clemmie McKenzie'
                            seat_number:
                              type: integer
                              example: 49499477
                            row_number:
                              type: integer
                              example: 5
                            column_number:
                              type: integer
                              example: 9
                            floor_number:
                              type: integer
                              example: 1
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
    patch:
      summary: 'Update bus schema'
      operationId: updateBusSchema
      description: 'Update bus schema by id'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1431
                    name: "Gerry O'Hara MD"
                    mark: 'Mr. Moriah Effertz'
                    model: 'Prof. Terence Littel DDS'
                    number_of_seats: 1
                    number_of_floors: 1
                    rows: 1
                    columns: 2
                    items:
                      -
                        id: 41227
                        type: seat
                        name: 'Michel Ernser'
                        translations:
                          name:
                            en: 'Michel Ernser'
                        seat_number: 878
                        row_number: 578867470
                        column_number: 45720
                        floor_number: 1
                      -
                        id: 41228
                        type: seat
                        name: 'Seat 1'
                        translations:
                          name:
                            en: 'Seat 1'
                        seat_number: 1
                        row_number: 1
                        column_number: 1
                        floor_number: 1
                      -
                        id: 41229
                        type: seat
                        name: 'Seat 2'
                        translations:
                          name:
                            en: 'Seat 2'
                        seat_number: 2
                        row_number: 1
                        column_number: 2
                        floor_number: 1
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1431
                      name:
                        type: string
                        example: "Gerry O'Hara MD"
                      mark:
                        type: string
                        example: 'Mr. Moriah Effertz'
                      model:
                        type: string
                        example: 'Prof. Terence Littel DDS'
                      number_of_seats:
                        type: integer
                        example: 1
                      number_of_floors:
                        type: integer
                        example: 1
                      rows:
                        type: integer
                        example: 1
                      columns:
                        type: integer
                        example: 2
                      items:
                        type: array
                        example:
                          -
                            id: 41227
                            type: seat
                            name: 'Michel Ernser'
                            translations:
                              name:
                                en: 'Michel Ernser'
                            seat_number: 878
                            row_number: 578867470
                            column_number: 45720
                            floor_number: 1
                          -
                            id: 41228
                            type: seat
                            name: 'Seat 1'
                            translations:
                              name:
                                en: 'Seat 1'
                            seat_number: 1
                            row_number: 1
                            column_number: 1
                            floor_number: 1
                          -
                            id: 41229
                            type: seat
                            name: 'Seat 2'
                            translations:
                              name:
                                en: 'Seat 2'
                            seat_number: 2
                            row_number: 1
                            column_number: 2
                            floor_number: 1
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 41227
                            type:
                              type: string
                              example: seat
                            name:
                              type: string
                              example: 'Michel Ernser'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    en:
                                      type: string
                                      example: 'Michel Ernser'
                            seat_number:
                              type: integer
                              example: 878
                            row_number:
                              type: integer
                              example: 578867470
                            column_number:
                              type: integer
                              example: 45720
                            floor_number:
                              type: integer
                              example: 1
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Name of bus schema'
                  example: 'Bus 1'
                  nullable: false
                rows:
                  type: string
                  description: 'Number of rows'
                  example: 5
                  nullable: false
                columns:
                  type: string
                  description: 'Number of columns'
                  example: 5
                  nullable: false
                items:
                  type: array
                  description: Seats
                  example:
                    -
                      type: seat
                      name:
                        en: 'Seat 1'
                      seat_number: 1
                      row_number: 1
                      column_number: 1
                  items:
                    type: string
                mark:
                  type: string
                  description: 'Mark of bus schema'
                  example: Mercedes
                  nullable: false
                model:
                  type: string
                  description: 'Model of bus schema'
                  example: Sprinter
                  nullable: false
                number_of_seats:
                  type: string
                  description: 'Number of seats'
                  example: 20
                  nullable: false
                number_of_floors:
                  type: string
                  description: 'Number of seats'
                  example: 1
                  nullable: false
                services:
                  type: array
                  description: 'Bus services'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
              required:
                - name
                - rows
                - columns
                - items
                - mark
                - model
                - number_of_seats
                - number_of_floors
                - services
    delete:
      summary: 'Delete bus schema'
      operationId: deleteBusSchema
      description: 'Delete bus schema by id'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: schema_id
        description: 'The ID of the schema.'
        example: 173
        required: true
        schema:
          type: integer
  /api/return-conditionals:
    get:
      summary: 'Get return conditionals'
      operationId: getReturnConditionals
      description: ''
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 43705
                      departure_start: 9
                      departure_end: 8
                      retention_percentage: 8
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    -
                      id: 43706
                      departure_start: 2
                      departure_end: 5
                      retention_percentage: 5
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 43705
                        departure_start: 9
                        departure_end: 8
                        retention_percentage: 8
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                      -
                        id: 43706
                        departure_start: 2
                        departure_end: 5
                        retention_percentage: 5
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 43705
                        departure_start:
                          type: integer
                          example: 9
                        departure_end:
                          type: integer
                          example: 8
                        retention_percentage:
                          type: integer
                          example: 8
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
    post:
      summary: 'Create return conditional'
      operationId: createReturnConditional
      description: ''
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 43707
                    departure_start: 9
                    departure_end: 2
                    retention_percentage: 10
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 43707
                      departure_start:
                        type: integer
                        example: 9
                      departure_end:
                        type: integer
                        example: 2
                      retention_percentage:
                        type: integer
                        example: 10
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                departure_start:
                  type: string
                  description: 'Departure start'
                  example: 1
                  nullable: false
                departure_end:
                  type: string
                  description: 'Departure end'
                  example: 2
                  nullable: false
                retention_percentage:
                  type: string
                  description: 'Retention percentage'
                  example: 10
                  nullable: false
              required:
                - departure_start
                - retention_percentage
  '/api/return-conditionals/{conditional_id}':
    patch:
      summary: 'Update return conditional'
      operationId: updateReturnConditional
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 43708
                    departure_start: 8
                    departure_end: 7
                    retention_percentage: 2
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 43708
                      departure_start:
                        type: integer
                        example: 8
                      departure_end:
                        type: integer
                        example: 7
                      retention_percentage:
                        type: integer
                        example: 2
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                departure_start:
                  type: string
                  description: 'Departure start'
                  example: 1
                  nullable: false
                departure_end:
                  type: string
                  description: 'Departure end'
                  example: 2
                  nullable: false
                retention_percentage:
                  type: string
                  description: 'Retention percentage'
                  example: 10
                  nullable: false
              required:
                - departure_start
                - departure_end
                - retention_percentage
    delete:
      summary: 'Delete return conditional'
      operationId: deleteReturnConditional
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: conditional_id
        description: 'The ID of the conditional.'
        example: 14
        required: true
        schema:
          type: integer
  '/api/discount-types/{discount_id}':
    patch:
      summary: 'Update discount type'
      operationId: updateDiscountType
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 101
                    name: ut
                    translations:
                      name:
                        en: ut
                        ar: ab
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 101
                      name:
                        type: string
                        example: ut
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: ut
                              ar:
                                type: string
                                example: ab
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'City name'
                  example:
                    en: Child
                    ar: نيويورك
                  items:
                    type: string
              required:
                - name
    delete:
      summary: 'Delete discount type'
      operationId: deleteDiscountType
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: discount_id
        description: 'The ID of the discount.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/notification-templates/{notificationTemplate_id}':
    patch:
      summary: 'Update notification template'
      operationId: updateNotificationTemplate
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 62
                    title: laudantium
                    content: 'Ipsa quod ut sapiente sed id laudantium.'
                    translations:
                      content:
                        en: 'Ipsa quod ut sapiente sed id laudantium.'
                        es: 'Culpa architecto nihil rerum similique.'
                      App\Enums\NotificationTemplateEnum: []
                    slug: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 62
                      title:
                        type: string
                        example: laudantium
                      content:
                        type: string
                        example: 'Ipsa quod ut sapiente sed id laudantium.'
                      translations:
                        type: object
                        properties:
                          content:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Ipsa quod ut sapiente sed id laudantium.'
                              es:
                                type: string
                                example: 'Culpa architecto nihil rerum similique.'
                          App\Enums\NotificationTemplateEnum:
                            type: array
                            example: []
                      slug:
                        type: string
                        example: null
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: 'New template'
                  nullable: false
                content:
                  type: array
                  description: 'Message content'
                  example:
                    en: Child
                    ar: نيويورك
                  items:
                    type: string
                slug:
                  type: string
                  description: Slug
                  example: new-template
                  nullable: false
              required:
                - name
                - content
    delete:
      summary: 'Delete notification template'
      operationId: deleteNotificationTemplate
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: notificationTemplate_id
        description: 'The ID of the notificationTemplate.'
        example: 1
        required: true
        schema:
          type: integer
  /api/baggage-transportation-conditions:
    get:
      summary: 'Get all baggage transportation conditions'
      operationId: getAllBaggageTransportationConditions
      description: ''
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 16276
                      name: Baggage
                      translations:
                        name:
                          en: Baggage
                      prices:
                        -
                          currency_id: 827
                          price: 100
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                    -
                      id: 16277
                      name: Baggage
                      translations:
                        name:
                          en: Baggage
                      prices:
                        -
                          currency_id: 828
                          price: 100
                      created_at: '2025-12-09T14:41:09.000000Z'
                      updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 16276
                        name: Baggage
                        translations:
                          name:
                            en: Baggage
                        prices:
                          -
                            currency_id: 827
                            price: 100
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                      -
                        id: 16277
                        name: Baggage
                        translations:
                          name:
                            en: Baggage
                        prices:
                          -
                            currency_id: 828
                            price: 100
                        created_at: '2025-12-09T14:41:09.000000Z'
                        updated_at: '2025-12-09T14:41:09.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 16276
                        name:
                          type: string
                          example: Baggage
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: Baggage
                        prices:
                          type: array
                          example:
                            -
                              currency_id: 827
                              price: 100
                          items:
                            type: object
                            properties:
                              currency_id:
                                type: integer
                                example: 827
                              price:
                                type: integer
                                example: 100
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create a baggage transportation condition'
      operationId: createABaggageTransportationCondition
      description: ''
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 16278
                    name: Baggage
                    translations:
                      name:
                        en: Baggage
                    prices:
                      -
                        currency_id: 829
                        price: 100
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 16278
                      name:
                        type: string
                        example: Baggage
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: Baggage
                      prices:
                        type: array
                        example:
                          -
                            currency_id: 829
                            price: 100
                        items:
                          type: object
                          properties:
                            currency_id:
                              type: integer
                              example: 829
                            price:
                              type: integer
                              example: 100
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'Name of baggage transportation condition'
                  example:
                    en: 'Baggage transportation condition name'
                  items:
                    type: string
                prices:
                  type: array
                  description: 'Prices of baggage transportation condition'
                  example:
                    -
                      price: 100
                      currency_id: 1
                  items:
                    type: string
              required:
                - name
                - prices
      security: []
  '/api/baggage-transportation-conditions/{condition_id}':
    patch:
      summary: 'Update a baggage transportation condition'
      operationId: updateABaggageTransportationCondition
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 16279
                    name: Baggage
                    translations:
                      name:
                        en: Baggage
                    prices:
                      -
                        currency_id: 830
                        price: 100
                    created_at: '2025-12-09T14:41:09.000000Z'
                    updated_at: '2025-12-09T14:41:09.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 16279
                      name:
                        type: string
                        example: Baggage
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: Baggage
                      prices:
                        type: array
                        example:
                          -
                            currency_id: 830
                            price: 100
                        items:
                          type: object
                          properties:
                            currency_id:
                              type: integer
                              example: 830
                            price:
                              type: integer
                              example: 100
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:09.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'Name of baggage transportation condition'
                  example:
                    en: 'Baggage transportation condition name'
                  items:
                    type: string
                prices:
                  type: array
                  description: 'Prices of baggage transportation condition'
                  example:
                    -
                      price: 100
                      currency_id: 1
                  items:
                    type: string
              required:
                - name
                - prices
      security: []
    delete:
      summary: 'Delete a baggage transportation condition'
      operationId: deleteABaggageTransportationCondition
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
      security: []
    parameters:
      -
        in: path
        name: condition_id
        description: 'The ID of the condition.'
        example: 10
        required: true
        schema:
          type: integer
  /api/baggage-additional-information:
    get:
      summary: 'Get all baggage additional information'
      operationId: getAllBaggageAdditionalInformation
      description: ''
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 13881
                      name: 'Quia eos fuga tenetur autem ut tenetur.'
                      content: 'Aut et aut sit assumenda blanditiis ullam qui. Vel quam aliquam sit voluptates ut illum repudiandae repudiandae. Exercitationem maxime sunt quasi suscipit nihil nulla ipsa.'
                      translations:
                        name:
                          en: 'Quia eos fuga tenetur autem ut tenetur.'
                        content:
                          en: 'Aut et aut sit assumenda blanditiis ullam qui. Vel quam aliquam sit voluptates ut illum repudiandae repudiandae. Exercitationem maxime sunt quasi suscipit nihil nulla ipsa.'
                      created_at: '2025-12-09T14:41:10.000000Z'
                      updated_at: '2025-12-09T14:41:10.000000Z'
                    -
                      id: 13882
                      name: 'Ad quis nam aspernatur nemo at ut maiores.'
                      content: 'Veniam sed eos vero ut voluptatum corrupti aut. Nam tenetur voluptas commodi autem est itaque ipsam deleniti. Sint inventore quidem veritatis ea et. Nihil quisquam quis beatae.'
                      translations:
                        name:
                          en: 'Ad quis nam aspernatur nemo at ut maiores.'
                        content:
                          en: 'Veniam sed eos vero ut voluptatum corrupti aut. Nam tenetur voluptas commodi autem est itaque ipsam deleniti. Sint inventore quidem veritatis ea et. Nihil quisquam quis beatae.'
                      created_at: '2025-12-09T14:41:10.000000Z'
                      updated_at: '2025-12-09T14:41:10.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 13881
                        name: 'Quia eos fuga tenetur autem ut tenetur.'
                        content: 'Aut et aut sit assumenda blanditiis ullam qui. Vel quam aliquam sit voluptates ut illum repudiandae repudiandae. Exercitationem maxime sunt quasi suscipit nihil nulla ipsa.'
                        translations:
                          name:
                            en: 'Quia eos fuga tenetur autem ut tenetur.'
                          content:
                            en: 'Aut et aut sit assumenda blanditiis ullam qui. Vel quam aliquam sit voluptates ut illum repudiandae repudiandae. Exercitationem maxime sunt quasi suscipit nihil nulla ipsa.'
                        created_at: '2025-12-09T14:41:10.000000Z'
                        updated_at: '2025-12-09T14:41:10.000000Z'
                      -
                        id: 13882
                        name: 'Ad quis nam aspernatur nemo at ut maiores.'
                        content: 'Veniam sed eos vero ut voluptatum corrupti aut. Nam tenetur voluptas commodi autem est itaque ipsam deleniti. Sint inventore quidem veritatis ea et. Nihil quisquam quis beatae.'
                        translations:
                          name:
                            en: 'Ad quis nam aspernatur nemo at ut maiores.'
                          content:
                            en: 'Veniam sed eos vero ut voluptatum corrupti aut. Nam tenetur voluptas commodi autem est itaque ipsam deleniti. Sint inventore quidem veritatis ea et. Nihil quisquam quis beatae.'
                        created_at: '2025-12-09T14:41:10.000000Z'
                        updated_at: '2025-12-09T14:41:10.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 13881
                        name:
                          type: string
                          example: 'Quia eos fuga tenetur autem ut tenetur.'
                        content:
                          type: string
                          example: 'Aut et aut sit assumenda blanditiis ullam qui. Vel quam aliquam sit voluptates ut illum repudiandae repudiandae. Exercitationem maxime sunt quasi suscipit nihil nulla ipsa.'
                        translations:
                          type: object
                          properties:
                            name:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 'Quia eos fuga tenetur autem ut tenetur.'
                            content:
                              type: object
                              properties:
                                en:
                                  type: string
                                  example: 'Aut et aut sit assumenda blanditiis ullam qui. Vel quam aliquam sit voluptates ut illum repudiandae repudiandae. Exercitationem maxime sunt quasi suscipit nihil nulla ipsa.'
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:10.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:10.000000Z'
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create baggage additional information'
      operationId: createBaggageAdditionalInformation
      description: ''
      parameters:
        -
          in: query
          name: entity_type
          description: '(bus_flight, bus_route)'
          example: bus_flight
          required: true
          schema:
            type: string
            description: '(bus_flight, bus_route)'
            example: bus_flight
            nullable: false
        -
          in: query
          name: entity_id
          description: 'Entity ID'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Entity ID'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 13883
                    name: 'Magni est soluta accusantium et facere velit.'
                    content: 'Non et excepturi beatae non inventore dolorem aspernatur. Temporibus esse omnis tempora atque soluta.'
                    translations:
                      name:
                        en: 'Magni est soluta accusantium et facere velit.'
                      content:
                        en: 'Non et excepturi beatae non inventore dolorem aspernatur. Temporibus esse omnis tempora atque soluta.'
                    created_at: '2025-12-09T14:41:10.000000Z'
                    updated_at: '2025-12-09T14:41:10.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 13883
                      name:
                        type: string
                        example: 'Magni est soluta accusantium et facere velit.'
                      content:
                        type: string
                        example: 'Non et excepturi beatae non inventore dolorem aspernatur. Temporibus esse omnis tempora atque soluta.'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Magni est soluta accusantium et facere velit.'
                          content:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Non et excepturi beatae non inventore dolorem aspernatur. Temporibus esse omnis tempora atque soluta.'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:10.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:10.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'Name of baggage additional information'
                  example:
                    en: 'Baggage additional information'
                  items:
                    type: string
                content:
                  type: array
                  description: 'Content of baggage additional information'
                  example:
                    en: 'Baggage additional information'
                  items:
                    type: string
              required:
                - name
                - content
      security: []
  '/api/baggage-additional-information/{information_id}':
    get:
      summary: 'Get baggage additional information'
      operationId: getBaggageAdditionalInformation
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 13884
                    name: 'Saepe fugit voluptates porro non quia molestiae.'
                    content: 'Dolorum eveniet recusandae rem debitis repellat quia. Laborum et quasi vitae alias sequi. Illo at laboriosam excepturi fugiat in. Tenetur commodi autem asperiores et.'
                    translations:
                      name:
                        en: 'Saepe fugit voluptates porro non quia molestiae.'
                      content:
                        en: 'Dolorum eveniet recusandae rem debitis repellat quia. Laborum et quasi vitae alias sequi. Illo at laboriosam excepturi fugiat in. Tenetur commodi autem asperiores et.'
                    created_at: '2025-12-09T14:41:10.000000Z'
                    updated_at: '2025-12-09T14:41:10.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 13884
                      name:
                        type: string
                        example: 'Saepe fugit voluptates porro non quia molestiae.'
                      content:
                        type: string
                        example: 'Dolorum eveniet recusandae rem debitis repellat quia. Laborum et quasi vitae alias sequi. Illo at laboriosam excepturi fugiat in. Tenetur commodi autem asperiores et.'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Saepe fugit voluptates porro non quia molestiae.'
                          content:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Dolorum eveniet recusandae rem debitis repellat quia. Laborum et quasi vitae alias sequi. Illo at laboriosam excepturi fugiat in. Tenetur commodi autem asperiores et.'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:10.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:10.000000Z'
      tags:
        - 'System settings'
      security: []
    patch:
      summary: 'Update baggage additional information'
      operationId: updateBaggageAdditionalInformation
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 13885
                    name: 'Amet quis exercitationem omnis dicta odio magni.'
                    content: 'Nihil nesciunt vero ut pariatur explicabo laudantium mollitia inventore. Veniam ut laboriosam omnis omnis laborum. Corrupti amet optio inventore dicta in et.'
                    translations:
                      name:
                        en: 'Amet quis exercitationem omnis dicta odio magni.'
                      content:
                        en: 'Nihil nesciunt vero ut pariatur explicabo laudantium mollitia inventore. Veniam ut laboriosam omnis omnis laborum. Corrupti amet optio inventore dicta in et.'
                    created_at: '2025-12-09T14:41:10.000000Z'
                    updated_at: '2025-12-09T14:41:10.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 13885
                      name:
                        type: string
                        example: 'Amet quis exercitationem omnis dicta odio magni.'
                      content:
                        type: string
                        example: 'Nihil nesciunt vero ut pariatur explicabo laudantium mollitia inventore. Veniam ut laboriosam omnis omnis laborum. Corrupti amet optio inventore dicta in et.'
                      translations:
                        type: object
                        properties:
                          name:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Amet quis exercitationem omnis dicta odio magni.'
                          content:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Nihil nesciunt vero ut pariatur explicabo laudantium mollitia inventore. Veniam ut laboriosam omnis omnis laborum. Corrupti amet optio inventore dicta in et.'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:10.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:10.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: array
                  description: 'Name of baggage additional information'
                  example:
                    en: 'Baggage additional information'
                  items:
                    type: string
                content:
                  type: array
                  description: 'Content of baggage additional information'
                  example:
                    en: 'Baggage additional information'
                  items:
                    type: string
              required:
                - name
                - content
      security: []
    delete:
      summary: 'Delete baggage additional information'
      operationId: deleteBaggageAdditionalInformation
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
      security: []
    parameters:
      -
        in: path
        name: information_id
        description: 'The ID of the information.'
        example: 6
        required: true
        schema:
          type: integer
  '/api/text-pages/{id}':
    patch:
      summary: 'Update text page'
      operationId: updateTextPage
      description: 'Update a bus schema'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 82
                    slug: sed-esse-aperiam-dolorem-perspiciatis-inventore-corrupti
                    title: 'Iure aut eaque molestias dolorem.'
                    content: 'Alias veniam temporibus cumque. Impedit aut minima optio alias ullam magnam repellat. Rem suscipit quia soluta eum velit recusandae. Magni autem omnis repellat aliquid iusto ut sint.'
                    is_active: false
                    translations:
                      title:
                        en: 'Iure aut eaque molestias dolorem.'
                      content:
                        en: 'Alias veniam temporibus cumque. Impedit aut minima optio alias ullam magnam repellat. Rem suscipit quia soluta eum velit recusandae. Magni autem omnis repellat aliquid iusto ut sint.'
                    created_at: '2025-12-09T14:41:16.000000Z'
                    updated_at: '2025-12-09T14:41:16.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 82
                      slug:
                        type: string
                        example: sed-esse-aperiam-dolorem-perspiciatis-inventore-corrupti
                      title:
                        type: string
                        example: 'Iure aut eaque molestias dolorem.'
                      content:
                        type: string
                        example: 'Alias veniam temporibus cumque. Impedit aut minima optio alias ullam magnam repellat. Rem suscipit quia soluta eum velit recusandae. Magni autem omnis repellat aliquid iusto ut sint.'
                      is_active:
                        type: boolean
                        example: false
                      translations:
                        type: object
                        properties:
                          title:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Iure aut eaque molestias dolorem.'
                          content:
                            type: object
                            properties:
                              en:
                                type: string
                                example: 'Alias veniam temporibus cumque. Impedit aut minima optio alias ullam magnam repellat. Rem suscipit quia soluta eum velit recusandae. Magni autem omnis repellat aliquid iusto ut sint.'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                slug:
                  type: string
                  description: 'Slug of the text page'
                  example: about-us
                  nullable: false
                title:
                  type: array
                  description: 'Title of the text page'
                  example:
                    en: 'About us'
                  items:
                    type: string
                content:
                  type: array
                  description: 'Content of the text page'
                  example:
                    en: 'About us content'
                  items:
                    type: string
                is_active:
                  type: boolean
                  description: 'Whether the text page is active'
                  example: true
                  nullable: false
    delete:
      summary: 'Delete text page'
      operationId: deleteTextPage
      description: 'Delete a bus schema'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the text page.'
        example: 67
        required: true
        schema:
          type: integer
  /api/payment-methods:
    get:
      summary: 'Get all payment methods'
      operationId: getAllPaymentMethods
      description: 'Get all payment methods'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 154
                      name: cash
                      display_name: 'Cordia Kshlerin'
                      logo_path: 'Art Tillman'
                      created_at: '2025-12-09T14:41:16.000000Z'
                      updated_at: '2025-12-09T14:41:16.000000Z'
                    -
                      id: 155
                      name: spot
                      display_name: 'Prof. Florine Boyer'
                      logo_path: 'Damon Hand'
                      created_at: '2025-12-09T14:41:16.000000Z'
                      updated_at: '2025-12-09T14:41:16.000000Z'
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 154
                        name: cash
                        display_name: 'Cordia Kshlerin'
                        logo_path: 'Art Tillman'
                        created_at: '2025-12-09T14:41:16.000000Z'
                        updated_at: '2025-12-09T14:41:16.000000Z'
                      -
                        id: 155
                        name: spot
                        display_name: 'Prof. Florine Boyer'
                        logo_path: 'Damon Hand'
                        created_at: '2025-12-09T14:41:16.000000Z'
                        updated_at: '2025-12-09T14:41:16.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 154
                        name:
                          type: string
                          example: cash
                        display_name:
                          type: string
                          example: 'Cordia Kshlerin'
                        logo_path:
                          type: string
                          example: 'Art Tillman'
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:16.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:16.000000Z'
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create a payment method'
      operationId: createAPaymentMethod
      description: 'Create a payment method'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 156
                    name: stripe
                    display_name: 'Miss Meta Zboncak V'
                    logo_path: 'Giles Ryan'
                    created_at: '2025-12-09T14:41:16.000000Z'
                    updated_at: '2025-12-09T14:41:16.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 156
                      name:
                        type: string
                        example: stripe
                      display_name:
                        type: string
                        example: 'Miss Meta Zboncak V'
                      logo_path:
                        type: string
                        example: 'Giles Ryan'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Name of the payment method'
                  example: stripe
                  nullable: false
                display_name:
                  type: string
                  description: 'Display name of the payment method'
                  example: Stripe
                  nullable: false
                logo_path:
                  type: string
                  description: 'Logo path of the payment method'
                  example: 'https://example.com/logo.png'
                  nullable: false
                config:
                  type: array
                  description: 'Config of the payment method'
                  example:
                    success_url: 'https://example.com/success'
                    cancel_url: 'https://example.com/cancel'
                    secret_key: sk_test_1234567890
                    public_key: pk_test_1234567890
                    webhook_secret: whsec_1234567890
                  items:
                    type: string
                is_active:
                  type: string
                  description: 'Is the payment method active'
                  example: true
                  nullable: false
              required:
                - name
                - display_name
                - config
      security: []
  '/api/payment-methods/{method_id}':
    patch:
      summary: 'Update a payment method'
      operationId: updateAPaymentMethod
      description: 'Update a payment method'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 157
                    name: spot
                    display_name: 'Dulce Keeling'
                    logo_path: 'Blanca Gaylord'
                    created_at: '2025-12-09T14:41:16.000000Z'
                    updated_at: '2025-12-09T14:41:16.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 157
                      name:
                        type: string
                        example: spot
                      display_name:
                        type: string
                        example: 'Dulce Keeling'
                      logo_path:
                        type: string
                        example: 'Blanca Gaylord'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Name of the payment method'
                  example: stripe
                  nullable: false
                display_name:
                  type: string
                  description: 'Display name of the payment method'
                  example: Stripe
                  nullable: false
                logo_path:
                  type: string
                  description: 'Logo path of the payment method'
                  example: 'https://example.com/logo.png'
                  nullable: false
                config:
                  type: array
                  description: 'Config of the payment method'
                  example:
                    success_url: 'https://example.com/success'
                    cancel_url: 'https://example.com/cancel'
                    secret_key: sk_test_1234567890
                    public_key: pk_test_1234567890
                    webhook_secret: whsec_1234567890
                  items:
                    type: string
                is_active:
                  type: string
                  description: 'Is the payment method active'
                  example: 1
                  nullable: false
              required:
                - name
                - display_name
                - logo_path
                - config
                - is_active
      security: []
    delete:
      summary: 'Delete a payment method'
      operationId: deleteAPaymentMethod
      description: 'Delete a payment method'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
      security: []
    parameters:
      -
        in: path
        name: method_id
        description: 'The ID of the method.'
        example: 1
        required: true
        schema:
          type: integer
  /api/activity-logs:
    get:
      summary: 'Get all activity logs'
      operationId: getAllActivityLogs
      description: ''
      parameters:
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 2613007
                      log_name: default
                      description: 'Vel sint qui dignissimos eaque assumenda temporibus id.'
                      subject_id: 1443
                      subject_type: App\Models\BusSchema
                      causer_id: 5905
                      causer_type: App\Models\User
                      user:
                        id: 5905
                        first_name: Nicolas
                        last_name: Harvey
                        middle_name: Trinity
                        full_name: 'Nicolas Harvey Trinity'
                        work_phone: null
                        gender: null
                        birthday: null
                        name: 'Beatrice Corwin Jr.'
                        phone: '+1 (561) 288-3446'
                        email: clint65@example.net
                        subscribe_to_newsletter: false
                        status: new
                        need_change_password: true
                        percent_of_withdrawal: 0
                        percent_of_discount: 0
                        send_sms_order_post_payment_link: true
                        created_at: '2025-12-09T14:41:16.000000Z'
                        updated_at: '2025-12-09T14:41:16.000000Z'
                      properties:
                        attributes:
                          name: 'Mr. Moises Upton'
                          status: active
                      event: created
                      created_at: '2025-12-09T14:41:16.000000Z'
                      updated_at: '2025-12-09T14:41:16.000000Z'
                    -
                      id: 2613011
                      log_name: default
                      description: 'Repellendus sed voluptatem quaerat.'
                      subject_id: 1444
                      subject_type: App\Models\BusSchema
                      causer_id: 5906
                      causer_type: App\Models\User
                      user:
                        id: 5906
                        first_name: Dell
                        last_name: Smith
                        middle_name: Elody
                        full_name: 'Dell Smith Elody'
                        work_phone: null
                        gender: null
                        birthday: null
                        name: 'Lia Hodkiewicz DVM'
                        phone: 1-952-330-1201
                        email: boehm.jon@example.net
                        subscribe_to_newsletter: false
                        status: new
                        need_change_password: true
                        percent_of_withdrawal: 0
                        percent_of_discount: 0
                        send_sms_order_post_payment_link: true
                        created_at: '2025-12-09T14:41:16.000000Z'
                        updated_at: '2025-12-09T14:41:16.000000Z'
                      properties:
                        attributes:
                          name: 'Mr. Ryder Mertz'
                          status: active
                      event: created
                      created_at: '2025-12-09T14:41:16.000000Z'
                      updated_at: '2025-12-09T14:41:16.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 2613007
                        log_name: default
                        description: 'Vel sint qui dignissimos eaque assumenda temporibus id.'
                        subject_id: 1443
                        subject_type: App\Models\BusSchema
                        causer_id: 5905
                        causer_type: App\Models\User
                        user:
                          id: 5905
                          first_name: Nicolas
                          last_name: Harvey
                          middle_name: Trinity
                          full_name: 'Nicolas Harvey Trinity'
                          work_phone: null
                          gender: null
                          birthday: null
                          name: 'Beatrice Corwin Jr.'
                          phone: '+1 (561) 288-3446'
                          email: clint65@example.net
                          subscribe_to_newsletter: false
                          status: new
                          need_change_password: true
                          percent_of_withdrawal: 0
                          percent_of_discount: 0
                          send_sms_order_post_payment_link: true
                          created_at: '2025-12-09T14:41:16.000000Z'
                          updated_at: '2025-12-09T14:41:16.000000Z'
                        properties:
                          attributes:
                            name: 'Mr. Moises Upton'
                            status: active
                        event: created
                        created_at: '2025-12-09T14:41:16.000000Z'
                        updated_at: '2025-12-09T14:41:16.000000Z'
                      -
                        id: 2613011
                        log_name: default
                        description: 'Repellendus sed voluptatem quaerat.'
                        subject_id: 1444
                        subject_type: App\Models\BusSchema
                        causer_id: 5906
                        causer_type: App\Models\User
                        user:
                          id: 5906
                          first_name: Dell
                          last_name: Smith
                          middle_name: Elody
                          full_name: 'Dell Smith Elody'
                          work_phone: null
                          gender: null
                          birthday: null
                          name: 'Lia Hodkiewicz DVM'
                          phone: 1-952-330-1201
                          email: boehm.jon@example.net
                          subscribe_to_newsletter: false
                          status: new
                          need_change_password: true
                          percent_of_withdrawal: 0
                          percent_of_discount: 0
                          send_sms_order_post_payment_link: true
                          created_at: '2025-12-09T14:41:16.000000Z'
                          updated_at: '2025-12-09T14:41:16.000000Z'
                        properties:
                          attributes:
                            name: 'Mr. Ryder Mertz'
                            status: active
                        event: created
                        created_at: '2025-12-09T14:41:16.000000Z'
                        updated_at: '2025-12-09T14:41:16.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 2613007
                        log_name:
                          type: string
                          example: default
                        description:
                          type: string
                          example: 'Vel sint qui dignissimos eaque assumenda temporibus id.'
                        subject_id:
                          type: integer
                          example: 1443
                        subject_type:
                          type: string
                          example: App\Models\BusSchema
                        causer_id:
                          type: integer
                          example: 5905
                        causer_type:
                          type: string
                          example: App\Models\User
                        user:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 5905
                            first_name:
                              type: string
                              example: Nicolas
                            last_name:
                              type: string
                              example: Harvey
                            middle_name:
                              type: string
                              example: Trinity
                            full_name:
                              type: string
                              example: 'Nicolas Harvey Trinity'
                            work_phone:
                              type: string
                              example: null
                            gender:
                              type: string
                              example: null
                            birthday:
                              type: string
                              example: null
                            name:
                              type: string
                              example: 'Beatrice Corwin Jr.'
                            phone:
                              type: string
                              example: '+1 (561) 288-3446'
                            email:
                              type: string
                              example: clint65@example.net
                            subscribe_to_newsletter:
                              type: boolean
                              example: false
                            status:
                              type: string
                              example: new
                            need_change_password:
                              type: boolean
                              example: true
                            percent_of_withdrawal:
                              type: integer
                              example: 0
                            percent_of_discount:
                              type: integer
                              example: 0
                            send_sms_order_post_payment_link:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2025-12-09T14:41:16.000000Z'
                            updated_at:
                              type: string
                              example: '2025-12-09T14:41:16.000000Z'
                        properties:
                          type: object
                          properties:
                            attributes:
                              type: object
                              properties:
                                name:
                                  type: string
                                  example: 'Mr. Moises Upton'
                                status:
                                  type: string
                                  example: active
                        event:
                          type: string
                          example: created
                        created_at:
                          type: string
                          example: '2025-12-09T14:41:16.000000Z'
                        updated_at:
                          type: string
                          example: '2025-12-09T14:41:16.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'System settings'
      security: []
  /api/activity-logs/general-data:
    get:
      summary: 'Get all activity log subjects and types'
      operationId: getAllActivityLogSubjectsAndTypes
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - 'System settings'
      security: []
  /api/system-settings/seat-settings:
    get:
      summary: 'Get seat settings'
      operationId: getSeatSettings
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    seat_selection_allowed: boolean
                    seat_selection_not_allowed_date_from: date
                    seat_selection_not_allowed_date_to: date
                    without_companion: boolean
                    without_companion_price: integer
                    selected_seats_prices: array
                properties:
                  data:
                    type: object
                    properties:
                      seat_selection_allowed:
                        type: string
                        example: boolean
                      seat_selection_not_allowed_date_from:
                        type: string
                        example: date
                      seat_selection_not_allowed_date_to:
                        type: string
                        example: date
                      without_companion:
                        type: string
                        example: boolean
                      without_companion_price:
                        type: string
                        example: integer
                      selected_seats_prices:
                        type: string
                        example: array
      tags:
        - 'System settings'
    patch:
      summary: 'Update seat settings'
      operationId: updateSeatSettings
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    seat_selection_allowed: boolean
                    seat_selection_not_allowed_date_from: date
                    seat_selection_not_allowed_date_to: date
                    without_companion: boolean
                    without_companion_price: integer
                properties:
                  data:
                    type: object
                    properties:
                      seat_selection_allowed:
                        type: string
                        example: boolean
                      seat_selection_not_allowed_date_from:
                        type: string
                        example: date
                      seat_selection_not_allowed_date_to:
                        type: string
                        example: date
                      without_companion:
                        type: string
                        example: boolean
                      without_companion_price:
                        type: string
                        example: integer
      tags:
        - 'System settings'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                seat_selection_allowed:
                  type: string
                  description: 'Whether seat selection is allowed'
                  example: true
                  nullable: false
                seat_selection_not_allowed_date_from:
                  type: string
                  description: 'Whether seat selection is allowed'
                  example: '2021-01-01'
                  nullable: false
                seat_selection_not_allowed_date_to:
                  type: string
                  description: 'Whether seat selection is allowed'
                  example: '2021-01-01'
                  nullable: false
                without_companion:
                  type: string
                  description: 'Whether seat selection is allowed'
                  example: true
                  nullable: false
                without_companion_price:
                  type: string
                  description: 'Whether seat selection is allowed'
                  example: 100
                  nullable: false
  /api/system-settings/payment-settings:
    get:
      summary: 'Get payment settings'
      operationId: getPaymentSettings
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    payment_time: integer
                    sale_depth: integer
                properties:
                  data:
                    type: object
                    properties:
                      payment_time:
                        type: string
                        example: integer
                      sale_depth:
                        type: string
                        example: integer
      tags:
        - 'System settings'
    patch:
      summary: 'Update payment settings'
      operationId: updatePaymentSettings
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    payment_time: integer
                    sale_depth: integer
                properties:
                  data:
                    type: object
                    properties:
                      payment_time:
                        type: string
                        example: integer
                      sale_depth:
                        type: string
                        example: integer
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                payment_time:
                  type: integer
                  description: 'Payment time in minutes'
                  example: 30
                  nullable: false
                sale_depth:
                  type: integer
                  description: 'Sale depth in days'
                  example: 30
                  nullable: false
              required:
                - payment_time
                - sale_depth
  /api/system-settings/translations:
    post:
      summary: 'Store or update translation'
      operationId: storeOrUpdateTranslation
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 670
                    group: qui
                    key: unde
                    text:
                      en: 'Perspiciatis aut quisquam quaerat exercitationem nisi.'
                      ru: 'Nostrum doloribus tempora qui consequatur qui nam porro.'
                    created_at: '2025-12-09T14:41:16.000000Z'
                    updated_at: '2025-12-09T14:41:16.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 670
                      group:
                        type: string
                        example: qui
                      key:
                        type: string
                        example: unde
                      text:
                        type: object
                        properties:
                          en:
                            type: string
                            example: 'Perspiciatis aut quisquam quaerat exercitationem nisi.'
                          ru:
                            type: string
                            example: 'Nostrum doloribus tempora qui consequatur qui nam porro.'
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:16.000000Z'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                group:
                  type: string
                  description: 'translation group'
                  example: validation
                  nullable: false
                key:
                  type: string
                  description: 'translation key'
                  example: required
                  nullable: false
                text:
                  type: array
                  description: 'translation text'
                  example:
                    en: required
                    ru: обязательно
                  items:
                    type: string
              required:
                - group
                - key
                - text
      security: []
  '/api/system-settings/translations/{translation_id}':
    delete:
      summary: 'Delete translation'
      operationId: deleteTranslation
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
      security: []
    parameters:
      -
        in: path
        name: translation_id
        description: 'The ID of the translation.'
        example: 1
        required: true
        schema:
          type: integer
  /api/system-settings/social-media-links:
    post:
      summary: 'Create social media link'
      operationId: createSocialMediaLink
      description: 'Create social media link'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 63
                    url: 'https://runolfsson.com/iure-dolor-asperiores-animi-quisquam-eligendi-adipisci.html'
                    icon_name: 'Anna Ondricka'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 63
                      url:
                        type: string
                        example: 'https://runolfsson.com/iure-dolor-asperiores-animi-quisquam-eligendi-adipisci.html'
                      icon_name:
                        type: string
                        example: 'Anna Ondricka'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  description: 'Social media link url'
                  example: 'https://www.facebook.com/'
                  nullable: false
                icon_name:
                  type: string
                  description: 'Social media link icon name'
                  example: facebook
                  nullable: false
              required:
                - url
                - icon_name
      security: []
  '/api/system-settings/social-media-links/{socialMediaLink_id}':
    patch:
      summary: 'Update social media link'
      operationId: updateSocialMediaLink
      description: 'Update social media link'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 64
                    url: 'http://www.dibbert.net/consectetur-fuga-ut-odit-autem'
                    icon_name: 'Rachelle Wiza'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 64
                      url:
                        type: string
                        example: 'http://www.dibbert.net/consectetur-fuga-ut-odit-autem'
                      icon_name:
                        type: string
                        example: 'Rachelle Wiza'
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  description: 'Social media link url'
                  example: 'https://www.facebook.com/'
                  nullable: false
                icon_name:
                  type: string
                  description: 'Social media link icon name'
                  example: facebook
                  nullable: false
              required:
                - url
                - icon_name
      security: []
    delete:
      summary: 'Delete social media link'
      operationId: deleteSocialMediaLink
      description: 'Delete social media link'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
      security: []
    parameters:
      -
        in: path
        name: socialMediaLink_id
        description: 'The ID of the socialMediaLink.'
        example: 8
        required: true
        schema:
          type: integer
  /api/system-settings/carriers:
    get:
      summary: 'Get all carriers'
      operationId: getAllCarriers
      description: ''
      parameters:
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 91
                      name: 'Darrion Ferry'
                      hotline_phone: null
                      edrpou: null
                      disclaimer: null
                      logo_url: null
                      translations:
                        disclaimer: []
                    -
                      id: 92
                      name: 'Rosamond Hansen'
                      hotline_phone: null
                      edrpou: null
                      disclaimer: null
                      logo_url: null
                      translations:
                        disclaimer: []
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 91
                        name: 'Darrion Ferry'
                        hotline_phone: null
                        edrpou: null
                        disclaimer: null
                        logo_url: null
                        translations:
                          disclaimer: []
                      -
                        id: 92
                        name: 'Rosamond Hansen'
                        hotline_phone: null
                        edrpou: null
                        disclaimer: null
                        logo_url: null
                        translations:
                          disclaimer: []
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 91
                        name:
                          type: string
                          example: 'Darrion Ferry'
                        hotline_phone:
                          type: string
                          example: null
                        edrpou:
                          type: string
                          example: null
                        disclaimer:
                          type: string
                          example: null
                        logo_url:
                          type: string
                          example: null
                        translations:
                          type: object
                          properties:
                            disclaimer:
                              type: array
                              example: []
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create carrier'
      operationId: createCarrier
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 93
                    name: 'Prof. Kiel Fahey'
                    hotline_phone: null
                    edrpou: null
                    disclaimer: null
                    logo_url: null
                    translations:
                      disclaimer: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 93
                      name:
                        type: string
                        example: 'Prof. Kiel Fahey'
                      hotline_phone:
                        type: string
                        example: null
                      edrpou:
                        type: string
                        example: null
                      disclaimer:
                        type: string
                        example: null
                      logo_url:
                        type: string
                        example: null
                      translations:
                        type: object
                        properties:
                          disclaimer:
                            type: array
                            example: []
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: USPS
                  nullable: false
              required:
                - name
      security: []
  '/api/system-settings/carriers/{carrier_id}':
    patch:
      summary: 'Update carrier'
      operationId: updateCarrier
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 94
                    name: 'Aubrey Mayert'
                    hotline_phone: null
                    edrpou: null
                    disclaimer: null
                    logo_url: null
                    translations:
                      disclaimer: []
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 94
                      name:
                        type: string
                        example: 'Aubrey Mayert'
                      hotline_phone:
                        type: string
                        example: null
                      edrpou:
                        type: string
                        example: null
                      disclaimer:
                        type: string
                        example: null
                      logo_url:
                        type: string
                        example: null
                      translations:
                        type: object
                        properties:
                          disclaimer:
                            type: array
                            example: []
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: USPS
                  nullable: false
              required:
                - name
      security: []
    delete:
      summary: 'Delete carrier'
      operationId: deleteCarrier
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
      security: []
    parameters:
      -
        in: path
        name: carrier_id
        description: 'The ID of the carrier.'
        example: 1
        required: true
        schema:
          type: integer
  /api/system-settings/cancel-reasons:
    get:
      summary: 'Get all cancel reasons'
      operationId: getAllCancelReasons
      description: ''
      parameters:
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 92
                      name: 'Violet McKenzie'
                      slug: null
                    -
                      id: 93
                      name: 'Mr. Markus Labadie DDS'
                      slug: null
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 92
                        name: 'Violet McKenzie'
                        slug: null
                      -
                        id: 93
                        name: 'Mr. Markus Labadie DDS'
                        slug: null
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 92
                        name:
                          type: string
                          example: 'Violet McKenzie'
                        slug:
                          type: string
                          example: null
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - 'System settings'
      security: []
    post:
      summary: 'Create cancel reason'
      operationId: createCancelReason
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 94
                    name: 'Prof. Ibrahim Jacobi Sr.'
                    slug: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 94
                      name:
                        type: string
                        example: 'Prof. Ibrahim Jacobi Sr.'
                      slug:
                        type: string
                        example: null
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: some
                  nullable: false
              required:
                - name
      security: []
  '/api/system-settings/cancel-reasons/{cancelReason_id}':
    patch:
      summary: 'Update cancel reason'
      operationId: updateCancelReason
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 95
                    name: 'Dr. Malachi Braun'
                    slug: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 95
                      name:
                        type: string
                        example: 'Dr. Malachi Braun'
                      slug:
                        type: string
                        example: null
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name
                  example: some
                  nullable: false
              required:
                - name
      security: []
    delete:
      summary: 'Delete cancel reason'
      operationId: deleteCancelReason
      description: ''
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
      security: []
    parameters:
      -
        in: path
        name: cancelReason_id
        description: 'The ID of the cancelReason.'
        example: 1
        required: true
        schema:
          type: integer
  /api/external-mappings:
    get:
      summary: 'Get all external mappings'
      operationId: getAllExternalMappings
      description: 'Get all external mappings with filtering and search'
      parameters:
        -
          in: query
          name: search
          description: 'Search by external_name'
          example: ContraBus
          required: false
          schema:
            type: string
            description: 'Search by external_name'
            example: ContraBus
            nullable: false
        -
          in: query
          name: external_source_id
          description: 'Filter by external source ID'
          example: '1'
          required: false
          schema:
            type: string
            description: 'Filter by external source ID'
            example: '1'
            nullable: false
        -
          in: query
          name: mappable_type
          description: 'Filter by mappable type (entity class)'
          example: App\Models\City
          required: false
          schema:
            type: string
            description: 'Filter by mappable type (entity class)'
            example: App\Models\City
            nullable: false
        -
          in: query
          name: has_mapping
          description: 'Filter by presence of mapping (true/false)'
          example: 'true'
          required: false
          schema:
            type: string
            description: 'Filter by presence of mapping (true/false)'
            example: 'true'
            nullable: false
        -
          in: query
          name: external_id
          description: 'Filter by external ID'
          example: ext123
          required: false
          schema:
            type: string
            description: 'Filter by external ID'
            example: ext123
            nullable: false
        -
          in: query
          name: page
          description: 'Page number for pagination'
          example: '1'
          required: false
          schema:
            type: string
            description: 'Page number for pagination'
            example: '1'
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 1
                      external_source_id: 1
                      mappable_type: App\Models\City
                      mappable_id: null
                      external_id: '1'
                      external_name: Августів
                      created_at: '2025-07-17T07:10:20.000000Z'
                      updated_at: '2025-09-04T06:46:24.000000Z'
                      is_mapped: false
                      entity_type_short: City
                      extra_data:
                        id: 1
                        name: Августів
                        lat_lon: '53.8440,22.9784'
                        country_code: PL
                    -
                      id: 1
                      external_source_id: 1
                      mappable_type: App\Models\City
                      mappable_id: null
                      external_id: '1'
                      external_name: Августів
                      created_at: '2025-07-17T07:10:20.000000Z'
                      updated_at: '2025-09-04T06:46:24.000000Z'
                      is_mapped: false
                      entity_type_short: City
                      extra_data:
                        id: 1
                        name: Августів
                        lat_lon: '53.8440,22.9784'
                        country_code: PL
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 1
                        external_source_id: 1
                        mappable_type: App\Models\City
                        mappable_id: null
                        external_id: '1'
                        external_name: Августів
                        created_at: '2025-07-17T07:10:20.000000Z'
                        updated_at: '2025-09-04T06:46:24.000000Z'
                        is_mapped: false
                        entity_type_short: City
                        extra_data:
                          id: 1
                          name: Августів
                          lat_lon: '53.8440,22.9784'
                          country_code: PL
                      -
                        id: 1
                        external_source_id: 1
                        mappable_type: App\Models\City
                        mappable_id: null
                        external_id: '1'
                        external_name: Августів
                        created_at: '2025-07-17T07:10:20.000000Z'
                        updated_at: '2025-09-04T06:46:24.000000Z'
                        is_mapped: false
                        entity_type_short: City
                        extra_data:
                          id: 1
                          name: Августів
                          lat_lon: '53.8440,22.9784'
                          country_code: PL
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 1
                        external_source_id:
                          type: integer
                          example: 1
                        mappable_type:
                          type: string
                          example: App\Models\City
                        mappable_id:
                          type: string
                          example: null
                        external_id:
                          type: string
                          example: '1'
                        external_name:
                          type: string
                          example: Августів
                        created_at:
                          type: string
                          example: '2025-07-17T07:10:20.000000Z'
                        updated_at:
                          type: string
                          example: '2025-09-04T06:46:24.000000Z'
                        is_mapped:
                          type: boolean
                          example: false
                        entity_type_short:
                          type: string
                          example: City
                        extra_data:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: Августів
                            lat_lon:
                              type: string
                              example: '53.8440,22.9784'
                            country_code:
                              type: string
                              example: PL
      tags:
        - 'System settings'
    post:
      summary: 'Create external mapping'
      operationId: createExternalMapping
      description: 'Create external mapping'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    external_source_id: 1
                    mappable_type: App\Models\City
                    mappable_id: null
                    external_id: '1'
                    external_name: Августів
                    created_at: '2025-07-17T07:10:20.000000Z'
                    updated_at: '2025-09-04T06:46:24.000000Z'
                    is_mapped: false
                    entity_type_short: City
                    extra_data:
                      id: 1
                      name: Августів
                      lat_lon: '53.8440,22.9784'
                      country_code: PL
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      external_source_id:
                        type: integer
                        example: 1
                      mappable_type:
                        type: string
                        example: App\Models\City
                      mappable_id:
                        type: string
                        example: null
                      external_id:
                        type: string
                        example: '1'
                      external_name:
                        type: string
                        example: Августів
                      created_at:
                        type: string
                        example: '2025-07-17T07:10:20.000000Z'
                      updated_at:
                        type: string
                        example: '2025-09-04T06:46:24.000000Z'
                      is_mapped:
                        type: boolean
                        example: false
                      entity_type_short:
                        type: string
                        example: City
                      extra_data:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: Августів
                          lat_lon:
                            type: string
                            example: '53.8440,22.9784'
                          country_code:
                            type: string
                            example: PL
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                external_source_id:
                  type: string
                  description: 'External source ID'
                  example: 1
                  nullable: false
                mappable_type:
                  type: string
                  description: 'Mappable entity type (class)'
                  example: App\Models\City
                  nullable: false
                mappable_id:
                  type: string
                  description: 'Mappable entity ID'
                  example: 1
                  nullable: false
                external_id:
                  type: string
                  description: 'External ID'
                  example: ext123
                  nullable: false
                external_name:
                  type: string
                  description: 'External name'
                  example: 'ContraBus City'
                  nullable: false
              required:
                - external_source_id
                - mappable_type
                - external_name
  /api/external-mappings/statistics:
    get:
      summary: 'Get mapping statistics'
      operationId: getMappingStatistics
      description: 'Get statistics about external mappings'
      parameters:
        -
          in: query
          name: external_source_id
          description: 'Filter by external source ID'
          example: '1'
          required: false
          schema:
            type: string
            description: 'Filter by external source ID'
            example: '1'
            nullable: false
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - 'System settings'
  /api/external-mappings/auto-mapping:
    post:
      summary: 'Run auto mapping'
      operationId: runAutoMapping
      description: 'Run automatic mapping for external entities'
      parameters: []
      responses:
        200:
          description: 'Auto mapping completed successfully'
          content:
            application/json:
              schema:
                type: integer
                example: 200
      tags:
        - 'System settings'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                types:
                  type: string
                  description: 'Array of entity types to process (city, departure_point, carrier). If empty, all types will be processed.'
                  example: '["city", "carrier"]'
                  nullable: false
                threshold:
                  type: string
                  description: 'Minimum similarity threshold (0.0 to 1.0)'
                  example: '0.85'
                  nullable: false
                dry_run:
                  type: boolean
                  description: ''
                  example: false
                  nullable: true
  '/api/external-mappings/{externalMapping_id}':
    get:
      summary: 'Get external mapping'
      operationId: getExternalMapping
      description: 'Get specific external mapping by ID'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    external_source_id: 1
                    mappable_type: App\Models\City
                    mappable_id: null
                    external_id: '1'
                    external_name: Августів
                    created_at: '2025-07-17T07:10:20.000000Z'
                    updated_at: '2025-09-04T06:46:24.000000Z'
                    is_mapped: false
                    entity_type_short: City
                    extra_data:
                      id: 1
                      name: Августів
                      lat_lon: '53.8440,22.9784'
                      country_code: PL
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      external_source_id:
                        type: integer
                        example: 1
                      mappable_type:
                        type: string
                        example: App\Models\City
                      mappable_id:
                        type: string
                        example: null
                      external_id:
                        type: string
                        example: '1'
                      external_name:
                        type: string
                        example: Августів
                      created_at:
                        type: string
                        example: '2025-07-17T07:10:20.000000Z'
                      updated_at:
                        type: string
                        example: '2025-09-04T06:46:24.000000Z'
                      is_mapped:
                        type: boolean
                        example: false
                      entity_type_short:
                        type: string
                        example: City
                      extra_data:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: Августів
                          lat_lon:
                            type: string
                            example: '53.8440,22.9784'
                          country_code:
                            type: string
                            example: PL
      tags:
        - 'System settings'
    patch:
      summary: 'Update external mapping'
      operationId: updateExternalMapping
      description: 'Update external mapping'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 1
                    external_source_id: 1
                    mappable_type: App\Models\City
                    mappable_id: null
                    external_id: '1'
                    external_name: Августів
                    created_at: '2025-07-17T07:10:20.000000Z'
                    updated_at: '2025-09-04T06:46:24.000000Z'
                    is_mapped: false
                    entity_type_short: City
                    extra_data:
                      id: 1
                      name: Августів
                      lat_lon: '53.8440,22.9784'
                      country_code: PL
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      external_source_id:
                        type: integer
                        example: 1
                      mappable_type:
                        type: string
                        example: App\Models\City
                      mappable_id:
                        type: string
                        example: null
                      external_id:
                        type: string
                        example: '1'
                      external_name:
                        type: string
                        example: Августів
                      created_at:
                        type: string
                        example: '2025-07-17T07:10:20.000000Z'
                      updated_at:
                        type: string
                        example: '2025-09-04T06:46:24.000000Z'
                      is_mapped:
                        type: boolean
                        example: false
                      entity_type_short:
                        type: string
                        example: City
                      extra_data:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 1
                          name:
                            type: string
                            example: Августів
                          lat_lon:
                            type: string
                            example: '53.8440,22.9784'
                          country_code:
                            type: string
                            example: PL
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                external_source_id:
                  type: string
                  description: 'External source ID'
                  example: 1
                  nullable: false
                mappable_type:
                  type: string
                  description: 'Mappable entity type (class)'
                  example: App\Models\City
                  nullable: false
                mappable_id:
                  type: string
                  description: 'Mappable entity ID'
                  example: 1
                  nullable: false
                external_id:
                  type: string
                  description: 'External ID'
                  example: ext123
                  nullable: false
                external_name:
                  type: string
                  description: 'External name'
                  example: 'ContraBus City'
                  nullable: false
              required:
                - external_source_id
                - mappable_type
                - mappable_id
                - external_id
                - external_name
    delete:
      summary: 'Delete external mapping'
      operationId: deleteExternalMapping
      description: 'Delete external mapping'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: externalMapping_id
        description: 'The ID of the externalMapping.'
        example: 1
        required: true
        schema:
          type: integer
  /api/external-mappings/bulk-assign:
    post:
      summary: 'Bulk assign mappings'
      operationId: bulkAssignMappings
      description: 'Bulk assign mappable entities to external mappings'
      parameters: []
      responses:
        200:
          description: Success
          content:
            application/json:
              schema:
                type: integer
                example: 200
      tags:
        - 'System settings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mappings:
                  type: string
                  description: 'Array of mapping assignments'
                  example: '[{"external_mapping_id": 1, "mappable_id": 2}]'
                  nullable: false
              required:
                - mappings
  /api/auto-mapping-tasks:
    get:
      summary: 'List auto-mapping tasks'
      operationId: listAutoMappingTasks
      description: 'Get list of auto-mapping tasks'
      parameters:
        -
          in: query
          name: page
          description: 'Page number for pagination'
          example: '1'
          required: false
          schema:
            type: string
            description: 'Page number for pagination'
            example: '1'
            nullable: false
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - 'System settings'
  '/api/auto-mapping-tasks/{task_id}':
    get:
      summary: 'Get auto-mapping task'
      operationId: getAutoMappingTask
      description: 'Get a specific auto-mapping task'
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: task_id
        description: 'The ID of the task.'
        example: 1
        required: true
        schema:
          type: integer
  '/api/auto-mapping-tasks/{task_id}/logs':
    get:
      summary: 'Get logs for auto-mapping task'
      operationId: getLogsForAutoMappingTask
      description: 'Get logs for a specific auto-mapping task'
      parameters:
        -
          in: query
          name: page
          description: 'Page number for pagination'
          example: '1'
          required: false
          schema:
            type: string
            description: 'Page number for pagination'
            example: '1'
            nullable: false
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - 'System settings'
    parameters:
      -
        in: path
        name: task_id
        description: 'The ID of the task.'
        example: 1
        required: true
        schema:
          type: integer
  /api/tickets/search:
    get:
      summary: 'Search free tickets'
      operationId: searchFreeTickets
      description: 'Search free tickets'
      parameters:
        -
          in: query
          name: from_city_id
          description: 'From city id'
          example: 1
          required: false
          schema:
            type: integer
            description: 'From city id'
            example: 1
            nullable: false
        -
          in: query
          name: to_city_id
          description: 'To city id'
          example: 2
          required: false
          schema:
            type: integer
            description: 'To city id'
            example: 2
            nullable: false
        -
          in: query
          name: from_departure_point_id
          description: 'From departure point id'
          example: 1
          required: false
          schema:
            type: string
            description: 'From departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: to_departure_point_id
          description: 'To departure point id'
          example: 2
          required: false
          schema:
            type: string
            description: 'To departure point id'
            example: 2
            nullable: false
        -
          in: query
          name: departure_date
          description: 'Departure date'
          example: '2021-10-10'
          required: true
          schema:
            type: string
            description: 'Departure date'
            example: '2021-10-10'
            nullable: false
        -
          in: query
          name: date_range
          description: 'Date range'
          example:
            from: '2021-10-10'
            to: '2021-10-20'
          required: true
          schema:
            type: array
            description: 'Date range'
            example:
              from: '2021-10-10'
              to: '2021-10-20'
            items:
              type: string
        -
          in: query
          name: date_range.from
          description: 'Date range from'
          example: '2021-10-10'
          required: true
          schema:
            type: string
            description: 'Date range from'
            example: '2021-10-10'
            nullable: false
        -
          in: query
          name: date_range.to
          description: 'Date range to'
          example: '2021-10-20'
          required: true
          schema:
            type: string
            description: 'Date range to'
            example: '2021-10-20'
            nullable: false
        -
          in: query
          name: number_of_passengers
          description: 'Number of passengers'
          example: 1
          required: true
          schema:
            type: string
            description: 'Number of passengers'
            example: 1
            nullable: false
        -
          in: query
          name: return_date
          description: 'Return date'
          example: '2021-10-10'
          required: true
          schema:
            type: string
            description: 'Return date'
            example: '2021-10-10'
            nullable: false
        -
          in: query
          name: bus_route_id
          description: 'Filter by bus route id'
          example: 1
          required: true
          schema:
            type: string
            description: 'Filter by bus route id'
            example: 1
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 207
                      target_departure_date: null
                      target_arrival_date: null
                      target_minutes_in_travel: null
                      target_from_departure_point_id: 0
                      target_to_departure_point_id: 0
                      sale_end_time_before_departure: 0
                      status: open
                      payment_time: 15
                      sale_depth: 15
                      number_of_seats: 15
                      route_name: Киев-Чернигов
                      route_number: '1111'
                      route_ticket_hint: null
                      carrier_name: test
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      without_companion_price_percent: 0
                      selected_seats_prices: null
                      bus:
                        id: 148
                        name: Автобус
                        number: 'WK 77296'
                        status: active
                        schema:
                          id: 179
                          name: Автобус
                          mark: VANHOOL
                          model: 'Astron T917'
                          number_of_seats: 59
                          number_of_floors: 1
                          rows: 5
                          columns: 17
                          items:
                            -
                              id: 40093
                              type: seat
                              name: 'Seat 1'
                              translations:
                                name:
                                  en: 'Seat 1'
                              seat_number: 55
                              row_number: 1
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40094
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 53
                              row_number: 1
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40095
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 49
                              row_number: 1
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40096
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 45
                              row_number: 1
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40097
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 41
                              row_number: 1
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40098
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 37
                              row_number: 1
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40099
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 33
                              row_number: 1
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40100
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 31
                              row_number: 1
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40101
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 29
                              row_number: 1
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40102
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 25
                              row_number: 1
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40103
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 21
                              row_number: 1
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40104
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 17
                              row_number: 1
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40105
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 13
                              row_number: 1
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40106
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 9
                              row_number: 1
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40107
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 5
                              row_number: 1
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40108
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 1
                              row_number: 1
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40109
                              type: driver_seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 1
                              column_number: 17
                              floor_number: 1
                            -
                              id: 40110
                              type: seat
                              name: 'Seat 18'
                              translations:
                                name:
                                  en: 'Seat 18'
                              seat_number: 56
                              row_number: 2
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40111
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 54
                              row_number: 2
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40112
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 50
                              row_number: 2
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40113
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 46
                              row_number: 2
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40114
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 42
                              row_number: 2
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40115
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 38
                              row_number: 2
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40116
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 34
                              row_number: 2
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40117
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 32
                              row_number: 2
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40118
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 30
                              row_number: 2
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40119
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 26
                              row_number: 2
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40120
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 22
                              row_number: 2
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40121
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 18
                              row_number: 2
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40122
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 14
                              row_number: 2
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40123
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 10
                              row_number: 2
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40124
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 6
                              row_number: 2
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40125
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 2
                              row_number: 2
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40126
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 2
                              column_number: 17
                              floor_number: 1
                            -
                              id: 40127
                              type: seat
                              name: 'Seat 35'
                              translations:
                                name:
                                  en: 'Seat 35'
                              seat_number: 57
                              row_number: 3
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40128
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40129
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40130
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40131
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40132
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40133
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40134
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40135
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40136
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40137
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40138
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40139
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40140
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40141
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40142
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40143
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 17
                              floor_number: 1
                            -
                              id: 40144
                              type: seat
                              name: 'Seat 52'
                              translations:
                                name:
                                  en: 'Seat 52'
                              seat_number: 58
                              row_number: 4
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40145
                              type: none
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 4
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40146
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 51
                              row_number: 4
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40147
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 47
                              row_number: 4
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40148
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 43
                              row_number: 4
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40149
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 39
                              row_number: 4
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40150
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 35
                              row_number: 4
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40151
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 4
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40152
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 4
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40153
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 27
                              row_number: 4
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40154
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 23
                              row_number: 4
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40155
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 19
                              row_number: 4
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40156
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 15
                              row_number: 4
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40157
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 11
                              row_number: 4
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40158
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 7
                              row_number: 4
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40159
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 3
                              row_number: 4
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40160
                              type: special
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 4
                              column_number: 17
                              floor_number: 1
                            -
                              id: 40161
                              type: seat
                              name: 'Seat 69'
                              translations:
                                name:
                                  en: 'Seat 69'
                              seat_number: 59
                              row_number: 5
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40162
                              type: none
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 5
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40163
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 52
                              row_number: 5
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40164
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 48
                              row_number: 5
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40165
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 44
                              row_number: 5
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40166
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 40
                              row_number: 5
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40167
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 36
                              row_number: 5
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40168
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 5
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40169
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 5
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40170
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 28
                              row_number: 5
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40171
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 24
                              row_number: 5
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40172
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 20
                              row_number: 5
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40173
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 16
                              row_number: 5
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40174
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 12
                              row_number: 5
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40175
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 8
                              row_number: 5
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40176
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 4
                              row_number: 5
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40177
                              type: special
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 5
                              column_number: 17
                              floor_number: 1
                          created_at: '2024-02-16T19:06:33.000000Z'
                          updated_at: '2025-06-11T11:21:31.000000Z'
                        services:
                          -
                            id: 15
                            name: wi-fi
                            translations:
                              name:
                                ua: wi-fi
                                pl: wi-fi
                                en: wi-fi
                            icon_name: wifi
                            created_at: '2023-11-02T12:08:09.000000Z'
                            updated_at: '2025-11-25T10:40:48.000000Z'
                          -
                            id: 16
                            name: USB-зарядки
                            translations:
                              name:
                                ua: 'Індивідуальні  USB-зарядки'
                                pl: USB-зарядки
                                en: USB-зарядки
                            icon_name: 'индивидуальные  USB-зарядки'
                            created_at: '2024-01-20T10:58:51.000000Z'
                            updated_at: '2024-04-11T11:51:19.000000Z'
                        created_at: '2024-02-16T19:04:00.000000Z'
                        updated_at: '2024-05-17T18:26:50.000000Z'
                      driver:
                        id: 519
                        first_name: Петро
                        last_name: Шевченко
                        middle_name: Петрович
                        full_name: 'Петро Шевченко Петрович'
                        work_phone: '38063999999'
                        gender: null
                        birthday: null
                      dispatcher: null
                      occupiedSeats:
                        -
                          id: 22
                          bus_flight_id: 207
                          from_departure_point_id: 87
                          to_departure_point_id: 88
                          seat_number: 9
                          type: reserved
                          created_at: '2024-01-25T07:57:29.000000Z'
                          updated_at: '2024-02-19T12:32:03.000000Z'
                      baggage_transportation_conditions:
                        -
                          id: 164
                          name: 'Hand baggage (free)'
                          translations:
                            name:
                              ua: 'Ручна поклажа (безкоштовно)'
                              pl: 'Bagaż podręczny (bezpłatny)'
                              en: 'Hand baggage (free)'
                          prices:
                            -
                              currency_id: 88
                              price: 0
                            -
                              currency_id: 89
                              price: 0
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-01-19T11:59:02.000000Z'
                      schedules:
                        -
                          id: 1631
                          departure_point_id: 87
                          departure_point:
                            id: 87
                            name: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              name:
                                ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                en: 'Bus station "Kyiv",S.Petlury 32 street'
                                ru: 'Автостанция "Киев",улица С.Петлюры 32'
                            city:
                              id: 267
                              name: Киев
                              translations:
                                name:
                                  ua: Київ
                                  pl: Kijów
                                  en: Kyiv
                                  ru: Киев
                              population: null
                              number_of_bus_routes: 0
                              visibility: true
                              country_id: 6
                              created_at: '2023-11-02T11:51:05.000000Z'
                              updated_at: '2024-02-18T14:28:39.000000Z'
                            visibility: true
                            created_at: '2023-11-02T11:52:18.000000Z'
                            updated_at: '2024-03-23T12:23:48.000000Z'
                          arrival_time: '12:00'
                          departure_time: '12:00'
                          days_in_road: 0
                          platform: null
                          has_landing: true
                          has_disembarkation: false
                          is_connecting: false
                          is_connecting_start_endpoint: false
                          position: 0
                          sale_status: open
                          is_active: true
                          has_transfer: false
                          hint: ''
                          translations:
                            hint: []
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:39:22.000000Z'
                        -
                          id: 1632
                          departure_point_id: 88
                          departure_point:
                            id: 88
                            name: Голливуд
                            translations:
                              name:
                                ua: Голливуд
                                pl: Голливуд
                                en: Голливуд
                            city:
                              id: 268
                              name: Чернигов
                              translations:
                                name:
                                  ua: Чернігів
                                  en: Chernihiv
                                  pl: Czernihów
                                  ru: Чернигов
                              population: null
                              number_of_bus_routes: 0
                              visibility: true
                              country_id: 6
                              created_at: '2023-11-02T11:51:37.000000Z'
                              updated_at: '2025-07-17T06:32:14.000000Z'
                            visibility: true
                            created_at: '2023-11-02T11:53:33.000000Z'
                            updated_at: '2023-11-02T11:53:33.000000Z'
                          arrival_time: '15:00'
                          departure_time: '15:00'
                          days_in_road: 0
                          platform: null
                          has_landing: false
                          has_disembarkation: true
                          is_connecting: false
                          is_connecting_start_endpoint: false
                          position: 1
                          sale_status: open
                          is_active: true
                          has_transfer: false
                          hint: ''
                          translations:
                            hint: []
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:39:22.000000Z'
                      payment_methods:
                        -
                          id: 1
                          name: stripe
                          display_name: 'Оплата через Stripe'
                          logo_path: null
                          created_at: '2023-10-27T07:44:26.000000Z'
                          updated_at: '2023-11-03T07:53:11.000000Z'
                        -
                          id: 2
                          name: liqpay
                          display_name: 'Оплата через LiqPay'
                          logo_path: null
                          created_at: '2023-10-27T07:44:26.000000Z'
                          updated_at: '2023-11-03T07:53:11.000000Z'
                        -
                          id: 3
                          name: spot
                          display_name: 'Оплата на месте'
                          logo_path: null
                          created_at: '2023-10-27T07:44:26.000000Z'
                          updated_at: '2023-11-03T07:53:11.000000Z'
                      discounts: []
                      carrier:
                        id: 1
                        name: test
                        hotline_phone: null
                        edrpou: null
                        disclaimer: null
                        logo_url: null
                        translations:
                          disclaimer: []
                      prices:
                        -
                          id: 20172
                          from_departure_point_id: 87
                          to_departure_point_id: 88
                          price:
                            -
                              amount: 10
                              currency_id: 88
                            -
                              amount: 10
                              currency_id: 89
                            -
                              amount: 0
                              currency_id: 90
                            -
                              amount: 0
                              currency_id: 91
                          is_active: true
                          is_forbidden: false
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:40:52.000000Z'
                    -
                      id: 207
                      target_departure_date: null
                      target_arrival_date: null
                      target_minutes_in_travel: null
                      target_from_departure_point_id: 0
                      target_to_departure_point_id: 0
                      sale_end_time_before_departure: 0
                      status: open
                      payment_time: 15
                      sale_depth: 15
                      number_of_seats: 15
                      route_name: Киев-Чернигов
                      route_number: '1111'
                      route_ticket_hint: null
                      carrier_name: test
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      without_companion_price_percent: 0
                      selected_seats_prices: null
                      bus:
                        id: 148
                        name: Автобус
                        number: 'WK 77296'
                        status: active
                        schema:
                          id: 179
                          name: Автобус
                          mark: VANHOOL
                          model: 'Astron T917'
                          number_of_seats: 59
                          number_of_floors: 1
                          rows: 5
                          columns: 17
                          items:
                            -
                              id: 40093
                              type: seat
                              name: 'Seat 1'
                              translations:
                                name:
                                  en: 'Seat 1'
                              seat_number: 55
                              row_number: 1
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40094
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 53
                              row_number: 1
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40095
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 49
                              row_number: 1
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40096
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 45
                              row_number: 1
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40097
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 41
                              row_number: 1
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40098
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 37
                              row_number: 1
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40099
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 33
                              row_number: 1
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40100
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 31
                              row_number: 1
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40101
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 29
                              row_number: 1
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40102
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 25
                              row_number: 1
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40103
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 21
                              row_number: 1
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40104
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 17
                              row_number: 1
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40105
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 13
                              row_number: 1
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40106
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 9
                              row_number: 1
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40107
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 5
                              row_number: 1
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40108
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 1
                              row_number: 1
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40109
                              type: driver_seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 1
                              column_number: 17
                              floor_number: 1
                            -
                              id: 40110
                              type: seat
                              name: 'Seat 18'
                              translations:
                                name:
                                  en: 'Seat 18'
                              seat_number: 56
                              row_number: 2
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40111
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 54
                              row_number: 2
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40112
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 50
                              row_number: 2
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40113
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 46
                              row_number: 2
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40114
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 42
                              row_number: 2
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40115
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 38
                              row_number: 2
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40116
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 34
                              row_number: 2
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40117
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 32
                              row_number: 2
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40118
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 30
                              row_number: 2
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40119
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 26
                              row_number: 2
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40120
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 22
                              row_number: 2
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40121
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 18
                              row_number: 2
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40122
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 14
                              row_number: 2
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40123
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 10
                              row_number: 2
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40124
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 6
                              row_number: 2
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40125
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 2
                              row_number: 2
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40126
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 2
                              column_number: 17
                              floor_number: 1
                            -
                              id: 40127
                              type: seat
                              name: 'Seat 35'
                              translations:
                                name:
                                  en: 'Seat 35'
                              seat_number: 57
                              row_number: 3
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40128
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40129
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40130
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40131
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40132
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40133
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40134
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40135
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40136
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40137
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40138
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40139
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40140
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40141
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40142
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40143
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 3
                              column_number: 17
                              floor_number: 1
                            -
                              id: 40144
                              type: seat
                              name: 'Seat 52'
                              translations:
                                name:
                                  en: 'Seat 52'
                              seat_number: 58
                              row_number: 4
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40145
                              type: none
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 4
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40146
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 51
                              row_number: 4
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40147
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 47
                              row_number: 4
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40148
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 43
                              row_number: 4
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40149
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 39
                              row_number: 4
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40150
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 35
                              row_number: 4
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40151
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 4
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40152
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 4
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40153
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 27
                              row_number: 4
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40154
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 23
                              row_number: 4
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40155
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 19
                              row_number: 4
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40156
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 15
                              row_number: 4
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40157
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 11
                              row_number: 4
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40158
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 7
                              row_number: 4
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40159
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 3
                              row_number: 4
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40160
                              type: special
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 4
                              column_number: 17
                              floor_number: 1
                            -
                              id: 40161
                              type: seat
                              name: 'Seat 69'
                              translations:
                                name:
                                  en: 'Seat 69'
                              seat_number: 59
                              row_number: 5
                              column_number: 1
                              floor_number: 1
                            -
                              id: 40162
                              type: none
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 5
                              column_number: 2
                              floor_number: 1
                            -
                              id: 40163
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 52
                              row_number: 5
                              column_number: 3
                              floor_number: 1
                            -
                              id: 40164
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 48
                              row_number: 5
                              column_number: 4
                              floor_number: 1
                            -
                              id: 40165
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 44
                              row_number: 5
                              column_number: 5
                              floor_number: 1
                            -
                              id: 40166
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 40
                              row_number: 5
                              column_number: 6
                              floor_number: 1
                            -
                              id: 40167
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 36
                              row_number: 5
                              column_number: 7
                              floor_number: 1
                            -
                              id: 40168
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 5
                              column_number: 8
                              floor_number: 1
                            -
                              id: 40169
                              type: aisle
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 5
                              column_number: 9
                              floor_number: 1
                            -
                              id: 40170
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 28
                              row_number: 5
                              column_number: 10
                              floor_number: 1
                            -
                              id: 40171
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 24
                              row_number: 5
                              column_number: 11
                              floor_number: 1
                            -
                              id: 40172
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 20
                              row_number: 5
                              column_number: 12
                              floor_number: 1
                            -
                              id: 40173
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 16
                              row_number: 5
                              column_number: 13
                              floor_number: 1
                            -
                              id: 40174
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 12
                              row_number: 5
                              column_number: 14
                              floor_number: 1
                            -
                              id: 40175
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 8
                              row_number: 5
                              column_number: 15
                              floor_number: 1
                            -
                              id: 40176
                              type: seat
                              name: ''
                              translations:
                                name: []
                              seat_number: 4
                              row_number: 5
                              column_number: 16
                              floor_number: 1
                            -
                              id: 40177
                              type: special
                              name: ''
                              translations:
                                name: []
                              seat_number: 0
                              row_number: 5
                              column_number: 17
                              floor_number: 1
                          created_at: '2024-02-16T19:06:33.000000Z'
                          updated_at: '2025-06-11T11:21:31.000000Z'
                        services:
                          -
                            id: 15
                            name: wi-fi
                            translations:
                              name:
                                ua: wi-fi
                                pl: wi-fi
                                en: wi-fi
                            icon_name: wifi
                            created_at: '2023-11-02T12:08:09.000000Z'
                            updated_at: '2025-11-25T10:40:48.000000Z'
                          -
                            id: 16
                            name: USB-зарядки
                            translations:
                              name:
                                ua: 'Індивідуальні  USB-зарядки'
                                pl: USB-зарядки
                                en: USB-зарядки
                            icon_name: 'индивидуальные  USB-зарядки'
                            created_at: '2024-01-20T10:58:51.000000Z'
                            updated_at: '2024-04-11T11:51:19.000000Z'
                        created_at: '2024-02-16T19:04:00.000000Z'
                        updated_at: '2024-05-17T18:26:50.000000Z'
                      driver:
                        id: 519
                        first_name: Петро
                        last_name: Шевченко
                        middle_name: Петрович
                        full_name: 'Петро Шевченко Петрович'
                        work_phone: '38063999999'
                        gender: null
                        birthday: null
                      dispatcher: null
                      occupiedSeats:
                        -
                          id: 22
                          bus_flight_id: 207
                          from_departure_point_id: 87
                          to_departure_point_id: 88
                          seat_number: 9
                          type: reserved
                          created_at: '2024-01-25T07:57:29.000000Z'
                          updated_at: '2024-02-19T12:32:03.000000Z'
                      baggage_transportation_conditions:
                        -
                          id: 164
                          name: 'Hand baggage (free)'
                          translations:
                            name:
                              ua: 'Ручна поклажа (безкоштовно)'
                              pl: 'Bagaż podręczny (bezpłatny)'
                              en: 'Hand baggage (free)'
                          prices:
                            -
                              currency_id: 88
                              price: 0
                            -
                              currency_id: 89
                              price: 0
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-01-19T11:59:02.000000Z'
                      schedules:
                        -
                          id: 1631
                          departure_point_id: 87
                          departure_point:
                            id: 87
                            name: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              name:
                                ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                en: 'Bus station "Kyiv",S.Petlury 32 street'
                                ru: 'Автостанция "Киев",улица С.Петлюры 32'
                            city:
                              id: 267
                              name: Киев
                              translations:
                                name:
                                  ua: Київ
                                  pl: Kijów
                                  en: Kyiv
                                  ru: Киев
                              population: null
                              number_of_bus_routes: 0
                              visibility: true
                              country_id: 6
                              created_at: '2023-11-02T11:51:05.000000Z'
                              updated_at: '2024-02-18T14:28:39.000000Z'
                            visibility: true
                            created_at: '2023-11-02T11:52:18.000000Z'
                            updated_at: '2024-03-23T12:23:48.000000Z'
                          arrival_time: '12:00'
                          departure_time: '12:00'
                          days_in_road: 0
                          platform: null
                          has_landing: true
                          has_disembarkation: false
                          is_connecting: false
                          is_connecting_start_endpoint: false
                          position: 0
                          sale_status: open
                          is_active: true
                          has_transfer: false
                          hint: ''
                          translations:
                            hint: []
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:39:22.000000Z'
                        -
                          id: 1632
                          departure_point_id: 88
                          departure_point:
                            id: 88
                            name: Голливуд
                            translations:
                              name:
                                ua: Голливуд
                                pl: Голливуд
                                en: Голливуд
                            city:
                              id: 268
                              name: Чернигов
                              translations:
                                name:
                                  ua: Чернігів
                                  en: Chernihiv
                                  pl: Czernihów
                                  ru: Чернигов
                              population: null
                              number_of_bus_routes: 0
                              visibility: true
                              country_id: 6
                              created_at: '2023-11-02T11:51:37.000000Z'
                              updated_at: '2025-07-17T06:32:14.000000Z'
                            visibility: true
                            created_at: '2023-11-02T11:53:33.000000Z'
                            updated_at: '2023-11-02T11:53:33.000000Z'
                          arrival_time: '15:00'
                          departure_time: '15:00'
                          days_in_road: 0
                          platform: null
                          has_landing: false
                          has_disembarkation: true
                          is_connecting: false
                          is_connecting_start_endpoint: false
                          position: 1
                          sale_status: open
                          is_active: true
                          has_transfer: false
                          hint: ''
                          translations:
                            hint: []
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:39:22.000000Z'
                      payment_methods:
                        -
                          id: 1
                          name: stripe
                          display_name: 'Оплата через Stripe'
                          logo_path: null
                          created_at: '2023-10-27T07:44:26.000000Z'
                          updated_at: '2023-11-03T07:53:11.000000Z'
                        -
                          id: 2
                          name: liqpay
                          display_name: 'Оплата через LiqPay'
                          logo_path: null
                          created_at: '2023-10-27T07:44:26.000000Z'
                          updated_at: '2023-11-03T07:53:11.000000Z'
                        -
                          id: 3
                          name: spot
                          display_name: 'Оплата на месте'
                          logo_path: null
                          created_at: '2023-10-27T07:44:26.000000Z'
                          updated_at: '2023-11-03T07:53:11.000000Z'
                      discounts: []
                      carrier:
                        id: 1
                        name: test
                        hotline_phone: null
                        edrpou: null
                        disclaimer: null
                        logo_url: null
                        translations:
                          disclaimer: []
                      prices:
                        -
                          id: 20172
                          from_departure_point_id: 87
                          to_departure_point_id: 88
                          price:
                            -
                              amount: 10
                              currency_id: 88
                            -
                              amount: 10
                              currency_id: 89
                            -
                              amount: 0
                              currency_id: 90
                            -
                              amount: 0
                              currency_id: 91
                          is_active: true
                          is_forbidden: false
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:40:52.000000Z'
                  return_flights_data: []
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 207
                        target_departure_date: null
                        target_arrival_date: null
                        target_minutes_in_travel: null
                        target_from_departure_point_id: 0
                        target_to_departure_point_id: 0
                        sale_end_time_before_departure: 0
                        status: open
                        payment_time: 15
                        sale_depth: 15
                        number_of_seats: 15
                        route_name: Киев-Чернигов
                        route_number: '1111'
                        route_ticket_hint: null
                        carrier_name: test
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        without_companion_price_percent: 0
                        selected_seats_prices: null
                        bus:
                          id: 148
                          name: Автобус
                          number: 'WK 77296'
                          status: active
                          schema:
                            id: 179
                            name: Автобус
                            mark: VANHOOL
                            model: 'Astron T917'
                            number_of_seats: 59
                            number_of_floors: 1
                            rows: 5
                            columns: 17
                            items:
                              -
                                id: 40093
                                type: seat
                                name: 'Seat 1'
                                translations:
                                  name:
                                    en: 'Seat 1'
                                seat_number: 55
                                row_number: 1
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40094
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 53
                                row_number: 1
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40095
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 49
                                row_number: 1
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40096
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 45
                                row_number: 1
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40097
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 41
                                row_number: 1
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40098
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 37
                                row_number: 1
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40099
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 33
                                row_number: 1
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40100
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 31
                                row_number: 1
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40101
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 29
                                row_number: 1
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40102
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 25
                                row_number: 1
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40103
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 21
                                row_number: 1
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40104
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 17
                                row_number: 1
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40105
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 13
                                row_number: 1
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40106
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 9
                                row_number: 1
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40107
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 5
                                row_number: 1
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40108
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 1
                                row_number: 1
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40109
                                type: driver_seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 1
                                column_number: 17
                                floor_number: 1
                              -
                                id: 40110
                                type: seat
                                name: 'Seat 18'
                                translations:
                                  name:
                                    en: 'Seat 18'
                                seat_number: 56
                                row_number: 2
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40111
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 54
                                row_number: 2
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40112
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 50
                                row_number: 2
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40113
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 46
                                row_number: 2
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40114
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 42
                                row_number: 2
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40115
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 38
                                row_number: 2
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40116
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 34
                                row_number: 2
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40117
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 32
                                row_number: 2
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40118
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 30
                                row_number: 2
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40119
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 26
                                row_number: 2
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40120
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 22
                                row_number: 2
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40121
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 18
                                row_number: 2
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40122
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 14
                                row_number: 2
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40123
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 10
                                row_number: 2
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40124
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 6
                                row_number: 2
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40125
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 2
                                row_number: 2
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40126
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 2
                                column_number: 17
                                floor_number: 1
                              -
                                id: 40127
                                type: seat
                                name: 'Seat 35'
                                translations:
                                  name:
                                    en: 'Seat 35'
                                seat_number: 57
                                row_number: 3
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40128
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40129
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40130
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40131
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40132
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40133
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40134
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40135
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40136
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40137
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40138
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40139
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40140
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40141
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40142
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40143
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 17
                                floor_number: 1
                              -
                                id: 40144
                                type: seat
                                name: 'Seat 52'
                                translations:
                                  name:
                                    en: 'Seat 52'
                                seat_number: 58
                                row_number: 4
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40145
                                type: none
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 4
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40146
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 51
                                row_number: 4
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40147
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 47
                                row_number: 4
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40148
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 43
                                row_number: 4
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40149
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 39
                                row_number: 4
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40150
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 35
                                row_number: 4
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40151
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 4
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40152
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 4
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40153
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 27
                                row_number: 4
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40154
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 23
                                row_number: 4
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40155
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 19
                                row_number: 4
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40156
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 15
                                row_number: 4
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40157
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 11
                                row_number: 4
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40158
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 7
                                row_number: 4
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40159
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 3
                                row_number: 4
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40160
                                type: special
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 4
                                column_number: 17
                                floor_number: 1
                              -
                                id: 40161
                                type: seat
                                name: 'Seat 69'
                                translations:
                                  name:
                                    en: 'Seat 69'
                                seat_number: 59
                                row_number: 5
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40162
                                type: none
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 5
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40163
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 52
                                row_number: 5
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40164
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 48
                                row_number: 5
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40165
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 44
                                row_number: 5
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40166
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 40
                                row_number: 5
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40167
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 36
                                row_number: 5
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40168
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 5
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40169
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 5
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40170
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 28
                                row_number: 5
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40171
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 24
                                row_number: 5
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40172
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 20
                                row_number: 5
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40173
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 16
                                row_number: 5
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40174
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 12
                                row_number: 5
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40175
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 8
                                row_number: 5
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40176
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 4
                                row_number: 5
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40177
                                type: special
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 5
                                column_number: 17
                                floor_number: 1
                            created_at: '2024-02-16T19:06:33.000000Z'
                            updated_at: '2025-06-11T11:21:31.000000Z'
                          services:
                            -
                              id: 15
                              name: wi-fi
                              translations:
                                name:
                                  ua: wi-fi
                                  pl: wi-fi
                                  en: wi-fi
                              icon_name: wifi
                              created_at: '2023-11-02T12:08:09.000000Z'
                              updated_at: '2025-11-25T10:40:48.000000Z'
                            -
                              id: 16
                              name: USB-зарядки
                              translations:
                                name:
                                  ua: 'Індивідуальні  USB-зарядки'
                                  pl: USB-зарядки
                                  en: USB-зарядки
                              icon_name: 'индивидуальные  USB-зарядки'
                              created_at: '2024-01-20T10:58:51.000000Z'
                              updated_at: '2024-04-11T11:51:19.000000Z'
                          created_at: '2024-02-16T19:04:00.000000Z'
                          updated_at: '2024-05-17T18:26:50.000000Z'
                        driver:
                          id: 519
                          first_name: Петро
                          last_name: Шевченко
                          middle_name: Петрович
                          full_name: 'Петро Шевченко Петрович'
                          work_phone: '38063999999'
                          gender: null
                          birthday: null
                        dispatcher: null
                        occupiedSeats:
                          -
                            id: 22
                            bus_flight_id: 207
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            seat_number: 9
                            type: reserved
                            created_at: '2024-01-25T07:57:29.000000Z'
                            updated_at: '2024-02-19T12:32:03.000000Z'
                        baggage_transportation_conditions:
                          -
                            id: 164
                            name: 'Hand baggage (free)'
                            translations:
                              name:
                                ua: 'Ручна поклажа (безкоштовно)'
                                pl: 'Bagaż podręczny (bezpłatny)'
                                en: 'Hand baggage (free)'
                            prices:
                              -
                                currency_id: 88
                                price: 0
                              -
                                currency_id: 89
                                price: 0
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-01-19T11:59:02.000000Z'
                        schedules:
                          -
                            id: 1631
                            departure_point_id: 87
                            departure_point:
                              id: 87
                              name: 'Автостанция "Киев",улица С.Петлюры 32'
                              translations:
                                name:
                                  ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                  pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                  en: 'Bus station "Kyiv",S.Petlury 32 street'
                                  ru: 'Автостанция "Киев",улица С.Петлюры 32'
                              city:
                                id: 267
                                name: Киев
                                translations:
                                  name:
                                    ua: Київ
                                    pl: Kijów
                                    en: Kyiv
                                    ru: Киев
                                population: null
                                number_of_bus_routes: 0
                                visibility: true
                                country_id: 6
                                created_at: '2023-11-02T11:51:05.000000Z'
                                updated_at: '2024-02-18T14:28:39.000000Z'
                              visibility: true
                              created_at: '2023-11-02T11:52:18.000000Z'
                              updated_at: '2024-03-23T12:23:48.000000Z'
                            arrival_time: '12:00'
                            departure_time: '12:00'
                            days_in_road: 0
                            platform: null
                            has_landing: true
                            has_disembarkation: false
                            is_connecting: false
                            is_connecting_start_endpoint: false
                            position: 0
                            sale_status: open
                            is_active: true
                            has_transfer: false
                            hint: ''
                            translations:
                              hint: []
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-04-22T06:39:22.000000Z'
                          -
                            id: 1632
                            departure_point_id: 88
                            departure_point:
                              id: 88
                              name: Голливуд
                              translations:
                                name:
                                  ua: Голливуд
                                  pl: Голливуд
                                  en: Голливуд
                              city:
                                id: 268
                                name: Чернигов
                                translations:
                                  name:
                                    ua: Чернігів
                                    en: Chernihiv
                                    pl: Czernihów
                                    ru: Чернигов
                                population: null
                                number_of_bus_routes: 0
                                visibility: true
                                country_id: 6
                                created_at: '2023-11-02T11:51:37.000000Z'
                                updated_at: '2025-07-17T06:32:14.000000Z'
                              visibility: true
                              created_at: '2023-11-02T11:53:33.000000Z'
                              updated_at: '2023-11-02T11:53:33.000000Z'
                            arrival_time: '15:00'
                            departure_time: '15:00'
                            days_in_road: 0
                            platform: null
                            has_landing: false
                            has_disembarkation: true
                            is_connecting: false
                            is_connecting_start_endpoint: false
                            position: 1
                            sale_status: open
                            is_active: true
                            has_transfer: false
                            hint: ''
                            translations:
                              hint: []
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-04-22T06:39:22.000000Z'
                        payment_methods:
                          -
                            id: 1
                            name: stripe
                            display_name: 'Оплата через Stripe'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 2
                            name: liqpay
                            display_name: 'Оплата через LiqPay'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 3
                            name: spot
                            display_name: 'Оплата на месте'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                        discounts: []
                        carrier:
                          id: 1
                          name: test
                          hotline_phone: null
                          edrpou: null
                          disclaimer: null
                          logo_url: null
                          translations:
                            disclaimer: []
                        prices:
                          -
                            id: 20172
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            price:
                              -
                                amount: 10
                                currency_id: 88
                              -
                                amount: 10
                                currency_id: 89
                              -
                                amount: 0
                                currency_id: 90
                              -
                                amount: 0
                                currency_id: 91
                            is_active: true
                            is_forbidden: false
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:40:52.000000Z'
                      -
                        id: 207
                        target_departure_date: null
                        target_arrival_date: null
                        target_minutes_in_travel: null
                        target_from_departure_point_id: 0
                        target_to_departure_point_id: 0
                        sale_end_time_before_departure: 0
                        status: open
                        payment_time: 15
                        sale_depth: 15
                        number_of_seats: 15
                        route_name: Киев-Чернигов
                        route_number: '1111'
                        route_ticket_hint: null
                        carrier_name: test
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        without_companion_price_percent: 0
                        selected_seats_prices: null
                        bus:
                          id: 148
                          name: Автобус
                          number: 'WK 77296'
                          status: active
                          schema:
                            id: 179
                            name: Автобус
                            mark: VANHOOL
                            model: 'Astron T917'
                            number_of_seats: 59
                            number_of_floors: 1
                            rows: 5
                            columns: 17
                            items:
                              -
                                id: 40093
                                type: seat
                                name: 'Seat 1'
                                translations:
                                  name:
                                    en: 'Seat 1'
                                seat_number: 55
                                row_number: 1
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40094
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 53
                                row_number: 1
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40095
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 49
                                row_number: 1
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40096
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 45
                                row_number: 1
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40097
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 41
                                row_number: 1
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40098
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 37
                                row_number: 1
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40099
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 33
                                row_number: 1
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40100
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 31
                                row_number: 1
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40101
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 29
                                row_number: 1
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40102
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 25
                                row_number: 1
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40103
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 21
                                row_number: 1
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40104
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 17
                                row_number: 1
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40105
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 13
                                row_number: 1
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40106
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 9
                                row_number: 1
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40107
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 5
                                row_number: 1
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40108
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 1
                                row_number: 1
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40109
                                type: driver_seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 1
                                column_number: 17
                                floor_number: 1
                              -
                                id: 40110
                                type: seat
                                name: 'Seat 18'
                                translations:
                                  name:
                                    en: 'Seat 18'
                                seat_number: 56
                                row_number: 2
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40111
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 54
                                row_number: 2
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40112
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 50
                                row_number: 2
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40113
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 46
                                row_number: 2
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40114
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 42
                                row_number: 2
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40115
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 38
                                row_number: 2
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40116
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 34
                                row_number: 2
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40117
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 32
                                row_number: 2
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40118
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 30
                                row_number: 2
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40119
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 26
                                row_number: 2
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40120
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 22
                                row_number: 2
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40121
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 18
                                row_number: 2
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40122
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 14
                                row_number: 2
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40123
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 10
                                row_number: 2
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40124
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 6
                                row_number: 2
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40125
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 2
                                row_number: 2
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40126
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 2
                                column_number: 17
                                floor_number: 1
                              -
                                id: 40127
                                type: seat
                                name: 'Seat 35'
                                translations:
                                  name:
                                    en: 'Seat 35'
                                seat_number: 57
                                row_number: 3
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40128
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40129
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40130
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40131
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40132
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40133
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40134
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40135
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40136
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40137
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40138
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40139
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40140
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40141
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40142
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40143
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 3
                                column_number: 17
                                floor_number: 1
                              -
                                id: 40144
                                type: seat
                                name: 'Seat 52'
                                translations:
                                  name:
                                    en: 'Seat 52'
                                seat_number: 58
                                row_number: 4
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40145
                                type: none
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 4
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40146
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 51
                                row_number: 4
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40147
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 47
                                row_number: 4
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40148
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 43
                                row_number: 4
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40149
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 39
                                row_number: 4
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40150
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 35
                                row_number: 4
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40151
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 4
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40152
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 4
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40153
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 27
                                row_number: 4
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40154
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 23
                                row_number: 4
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40155
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 19
                                row_number: 4
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40156
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 15
                                row_number: 4
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40157
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 11
                                row_number: 4
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40158
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 7
                                row_number: 4
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40159
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 3
                                row_number: 4
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40160
                                type: special
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 4
                                column_number: 17
                                floor_number: 1
                              -
                                id: 40161
                                type: seat
                                name: 'Seat 69'
                                translations:
                                  name:
                                    en: 'Seat 69'
                                seat_number: 59
                                row_number: 5
                                column_number: 1
                                floor_number: 1
                              -
                                id: 40162
                                type: none
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 5
                                column_number: 2
                                floor_number: 1
                              -
                                id: 40163
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 52
                                row_number: 5
                                column_number: 3
                                floor_number: 1
                              -
                                id: 40164
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 48
                                row_number: 5
                                column_number: 4
                                floor_number: 1
                              -
                                id: 40165
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 44
                                row_number: 5
                                column_number: 5
                                floor_number: 1
                              -
                                id: 40166
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 40
                                row_number: 5
                                column_number: 6
                                floor_number: 1
                              -
                                id: 40167
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 36
                                row_number: 5
                                column_number: 7
                                floor_number: 1
                              -
                                id: 40168
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 5
                                column_number: 8
                                floor_number: 1
                              -
                                id: 40169
                                type: aisle
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 5
                                column_number: 9
                                floor_number: 1
                              -
                                id: 40170
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 28
                                row_number: 5
                                column_number: 10
                                floor_number: 1
                              -
                                id: 40171
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 24
                                row_number: 5
                                column_number: 11
                                floor_number: 1
                              -
                                id: 40172
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 20
                                row_number: 5
                                column_number: 12
                                floor_number: 1
                              -
                                id: 40173
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 16
                                row_number: 5
                                column_number: 13
                                floor_number: 1
                              -
                                id: 40174
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 12
                                row_number: 5
                                column_number: 14
                                floor_number: 1
                              -
                                id: 40175
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 8
                                row_number: 5
                                column_number: 15
                                floor_number: 1
                              -
                                id: 40176
                                type: seat
                                name: ''
                                translations:
                                  name: []
                                seat_number: 4
                                row_number: 5
                                column_number: 16
                                floor_number: 1
                              -
                                id: 40177
                                type: special
                                name: ''
                                translations:
                                  name: []
                                seat_number: 0
                                row_number: 5
                                column_number: 17
                                floor_number: 1
                            created_at: '2024-02-16T19:06:33.000000Z'
                            updated_at: '2025-06-11T11:21:31.000000Z'
                          services:
                            -
                              id: 15
                              name: wi-fi
                              translations:
                                name:
                                  ua: wi-fi
                                  pl: wi-fi
                                  en: wi-fi
                              icon_name: wifi
                              created_at: '2023-11-02T12:08:09.000000Z'
                              updated_at: '2025-11-25T10:40:48.000000Z'
                            -
                              id: 16
                              name: USB-зарядки
                              translations:
                                name:
                                  ua: 'Індивідуальні  USB-зарядки'
                                  pl: USB-зарядки
                                  en: USB-зарядки
                              icon_name: 'индивидуальные  USB-зарядки'
                              created_at: '2024-01-20T10:58:51.000000Z'
                              updated_at: '2024-04-11T11:51:19.000000Z'
                          created_at: '2024-02-16T19:04:00.000000Z'
                          updated_at: '2024-05-17T18:26:50.000000Z'
                        driver:
                          id: 519
                          first_name: Петро
                          last_name: Шевченко
                          middle_name: Петрович
                          full_name: 'Петро Шевченко Петрович'
                          work_phone: '38063999999'
                          gender: null
                          birthday: null
                        dispatcher: null
                        occupiedSeats:
                          -
                            id: 22
                            bus_flight_id: 207
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            seat_number: 9
                            type: reserved
                            created_at: '2024-01-25T07:57:29.000000Z'
                            updated_at: '2024-02-19T12:32:03.000000Z'
                        baggage_transportation_conditions:
                          -
                            id: 164
                            name: 'Hand baggage (free)'
                            translations:
                              name:
                                ua: 'Ручна поклажа (безкоштовно)'
                                pl: 'Bagaż podręczny (bezpłatny)'
                                en: 'Hand baggage (free)'
                            prices:
                              -
                                currency_id: 88
                                price: 0
                              -
                                currency_id: 89
                                price: 0
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-01-19T11:59:02.000000Z'
                        schedules:
                          -
                            id: 1631
                            departure_point_id: 87
                            departure_point:
                              id: 87
                              name: 'Автостанция "Киев",улица С.Петлюры 32'
                              translations:
                                name:
                                  ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                  pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                  en: 'Bus station "Kyiv",S.Petlury 32 street'
                                  ru: 'Автостанция "Киев",улица С.Петлюры 32'
                              city:
                                id: 267
                                name: Киев
                                translations:
                                  name:
                                    ua: Київ
                                    pl: Kijów
                                    en: Kyiv
                                    ru: Киев
                                population: null
                                number_of_bus_routes: 0
                                visibility: true
                                country_id: 6
                                created_at: '2023-11-02T11:51:05.000000Z'
                                updated_at: '2024-02-18T14:28:39.000000Z'
                              visibility: true
                              created_at: '2023-11-02T11:52:18.000000Z'
                              updated_at: '2024-03-23T12:23:48.000000Z'
                            arrival_time: '12:00'
                            departure_time: '12:00'
                            days_in_road: 0
                            platform: null
                            has_landing: true
                            has_disembarkation: false
                            is_connecting: false
                            is_connecting_start_endpoint: false
                            position: 0
                            sale_status: open
                            is_active: true
                            has_transfer: false
                            hint: ''
                            translations:
                              hint: []
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-04-22T06:39:22.000000Z'
                          -
                            id: 1632
                            departure_point_id: 88
                            departure_point:
                              id: 88
                              name: Голливуд
                              translations:
                                name:
                                  ua: Голливуд
                                  pl: Голливуд
                                  en: Голливуд
                              city:
                                id: 268
                                name: Чернигов
                                translations:
                                  name:
                                    ua: Чернігів
                                    en: Chernihiv
                                    pl: Czernihów
                                    ru: Чернигов
                                population: null
                                number_of_bus_routes: 0
                                visibility: true
                                country_id: 6
                                created_at: '2023-11-02T11:51:37.000000Z'
                                updated_at: '2025-07-17T06:32:14.000000Z'
                              visibility: true
                              created_at: '2023-11-02T11:53:33.000000Z'
                              updated_at: '2023-11-02T11:53:33.000000Z'
                            arrival_time: '15:00'
                            departure_time: '15:00'
                            days_in_road: 0
                            platform: null
                            has_landing: false
                            has_disembarkation: true
                            is_connecting: false
                            is_connecting_start_endpoint: false
                            position: 1
                            sale_status: open
                            is_active: true
                            has_transfer: false
                            hint: ''
                            translations:
                              hint: []
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-04-22T06:39:22.000000Z'
                        payment_methods:
                          -
                            id: 1
                            name: stripe
                            display_name: 'Оплата через Stripe'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 2
                            name: liqpay
                            display_name: 'Оплата через LiqPay'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                          -
                            id: 3
                            name: spot
                            display_name: 'Оплата на месте'
                            logo_path: null
                            created_at: '2023-10-27T07:44:26.000000Z'
                            updated_at: '2023-11-03T07:53:11.000000Z'
                        discounts: []
                        carrier:
                          id: 1
                          name: test
                          hotline_phone: null
                          edrpou: null
                          disclaimer: null
                          logo_url: null
                          translations:
                            disclaimer: []
                        prices:
                          -
                            id: 20172
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            price:
                              -
                                amount: 10
                                currency_id: 88
                              -
                                amount: 10
                                currency_id: 89
                              -
                                amount: 0
                                currency_id: 90
                              -
                                amount: 0
                                currency_id: 91
                            is_active: true
                            is_forbidden: false
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:40:52.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 207
                        target_departure_date:
                          type: string
                          example: null
                        target_arrival_date:
                          type: string
                          example: null
                        target_minutes_in_travel:
                          type: string
                          example: null
                        target_from_departure_point_id:
                          type: integer
                          example: 0
                        target_to_departure_point_id:
                          type: integer
                          example: 0
                        sale_end_time_before_departure:
                          type: integer
                          example: 0
                        status:
                          type: string
                          example: open
                        payment_time:
                          type: integer
                          example: 15
                        sale_depth:
                          type: integer
                          example: 15
                        number_of_seats:
                          type: integer
                          example: 15
                        route_name:
                          type: string
                          example: Киев-Чернигов
                        route_number:
                          type: string
                          example: '1111'
                        route_ticket_hint:
                          type: string
                          example: null
                        carrier_name:
                          type: string
                          example: test
                        seat_selection_allowed:
                          type: boolean
                          example: true
                        seat_selection_not_allowed_date_from:
                          type: string
                          example: null
                        seat_selection_not_allowed_date_to:
                          type: string
                          example: null
                        without_companion:
                          type: boolean
                          example: true
                        without_companion_price_percent:
                          type: integer
                          example: 0
                        selected_seats_prices:
                          type: string
                          example: null
                        bus:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 148
                            name:
                              type: string
                              example: Автобус
                            number:
                              type: string
                              example: 'WK 77296'
                            status:
                              type: string
                              example: active
                            schema:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 179
                                name:
                                  type: string
                                  example: Автобус
                                mark:
                                  type: string
                                  example: VANHOOL
                                model:
                                  type: string
                                  example: 'Astron T917'
                                number_of_seats:
                                  type: integer
                                  example: 59
                                number_of_floors:
                                  type: integer
                                  example: 1
                                rows:
                                  type: integer
                                  example: 5
                                columns:
                                  type: integer
                                  example: 17
                                items:
                                  type: array
                                  example:
                                    -
                                      id: 40093
                                      type: seat
                                      name: 'Seat 1'
                                      translations: { name: { en: 'Seat 1' } }
                                      seat_number: 55
                                      row_number: 1
                                      column_number: 1
                                      floor_number: 1
                                    -
                                      id: 40094
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 53
                                      row_number: 1
                                      column_number: 2
                                      floor_number: 1
                                    -
                                      id: 40095
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 49
                                      row_number: 1
                                      column_number: 3
                                      floor_number: 1
                                    -
                                      id: 40096
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 45
                                      row_number: 1
                                      column_number: 4
                                      floor_number: 1
                                    -
                                      id: 40097
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 41
                                      row_number: 1
                                      column_number: 5
                                      floor_number: 1
                                    -
                                      id: 40098
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 37
                                      row_number: 1
                                      column_number: 6
                                      floor_number: 1
                                    -
                                      id: 40099
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 33
                                      row_number: 1
                                      column_number: 7
                                      floor_number: 1
                                    -
                                      id: 40100
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 31
                                      row_number: 1
                                      column_number: 8
                                      floor_number: 1
                                    -
                                      id: 40101
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 29
                                      row_number: 1
                                      column_number: 9
                                      floor_number: 1
                                    -
                                      id: 40102
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 25
                                      row_number: 1
                                      column_number: 10
                                      floor_number: 1
                                    -
                                      id: 40103
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 21
                                      row_number: 1
                                      column_number: 11
                                      floor_number: 1
                                    -
                                      id: 40104
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 17
                                      row_number: 1
                                      column_number: 12
                                      floor_number: 1
                                    -
                                      id: 40105
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 13
                                      row_number: 1
                                      column_number: 13
                                      floor_number: 1
                                    -
                                      id: 40106
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 9
                                      row_number: 1
                                      column_number: 14
                                      floor_number: 1
                                    -
                                      id: 40107
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 5
                                      row_number: 1
                                      column_number: 15
                                      floor_number: 1
                                    -
                                      id: 40108
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 1
                                      row_number: 1
                                      column_number: 16
                                      floor_number: 1
                                    -
                                      id: 40109
                                      type: driver_seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 1
                                      column_number: 17
                                      floor_number: 1
                                    -
                                      id: 40110
                                      type: seat
                                      name: 'Seat 18'
                                      translations: { name: { en: 'Seat 18' } }
                                      seat_number: 56
                                      row_number: 2
                                      column_number: 1
                                      floor_number: 1
                                    -
                                      id: 40111
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 54
                                      row_number: 2
                                      column_number: 2
                                      floor_number: 1
                                    -
                                      id: 40112
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 50
                                      row_number: 2
                                      column_number: 3
                                      floor_number: 1
                                    -
                                      id: 40113
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 46
                                      row_number: 2
                                      column_number: 4
                                      floor_number: 1
                                    -
                                      id: 40114
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 42
                                      row_number: 2
                                      column_number: 5
                                      floor_number: 1
                                    -
                                      id: 40115
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 38
                                      row_number: 2
                                      column_number: 6
                                      floor_number: 1
                                    -
                                      id: 40116
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 34
                                      row_number: 2
                                      column_number: 7
                                      floor_number: 1
                                    -
                                      id: 40117
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 32
                                      row_number: 2
                                      column_number: 8
                                      floor_number: 1
                                    -
                                      id: 40118
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 30
                                      row_number: 2
                                      column_number: 9
                                      floor_number: 1
                                    -
                                      id: 40119
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 26
                                      row_number: 2
                                      column_number: 10
                                      floor_number: 1
                                    -
                                      id: 40120
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 22
                                      row_number: 2
                                      column_number: 11
                                      floor_number: 1
                                    -
                                      id: 40121
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 18
                                      row_number: 2
                                      column_number: 12
                                      floor_number: 1
                                    -
                                      id: 40122
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 14
                                      row_number: 2
                                      column_number: 13
                                      floor_number: 1
                                    -
                                      id: 40123
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 10
                                      row_number: 2
                                      column_number: 14
                                      floor_number: 1
                                    -
                                      id: 40124
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 6
                                      row_number: 2
                                      column_number: 15
                                      floor_number: 1
                                    -
                                      id: 40125
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 2
                                      row_number: 2
                                      column_number: 16
                                      floor_number: 1
                                    -
                                      id: 40126
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 2
                                      column_number: 17
                                      floor_number: 1
                                    -
                                      id: 40127
                                      type: seat
                                      name: 'Seat 35'
                                      translations: { name: { en: 'Seat 35' } }
                                      seat_number: 57
                                      row_number: 3
                                      column_number: 1
                                      floor_number: 1
                                    -
                                      id: 40128
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 2
                                      floor_number: 1
                                    -
                                      id: 40129
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 3
                                      floor_number: 1
                                    -
                                      id: 40130
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 4
                                      floor_number: 1
                                    -
                                      id: 40131
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 5
                                      floor_number: 1
                                    -
                                      id: 40132
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 6
                                      floor_number: 1
                                    -
                                      id: 40133
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 7
                                      floor_number: 1
                                    -
                                      id: 40134
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 8
                                      floor_number: 1
                                    -
                                      id: 40135
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 9
                                      floor_number: 1
                                    -
                                      id: 40136
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 10
                                      floor_number: 1
                                    -
                                      id: 40137
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 11
                                      floor_number: 1
                                    -
                                      id: 40138
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 12
                                      floor_number: 1
                                    -
                                      id: 40139
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 13
                                      floor_number: 1
                                    -
                                      id: 40140
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 14
                                      floor_number: 1
                                    -
                                      id: 40141
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 15
                                      floor_number: 1
                                    -
                                      id: 40142
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 16
                                      floor_number: 1
                                    -
                                      id: 40143
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 3
                                      column_number: 17
                                      floor_number: 1
                                    -
                                      id: 40144
                                      type: seat
                                      name: 'Seat 52'
                                      translations: { name: { en: 'Seat 52' } }
                                      seat_number: 58
                                      row_number: 4
                                      column_number: 1
                                      floor_number: 1
                                    -
                                      id: 40145
                                      type: none
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 4
                                      column_number: 2
                                      floor_number: 1
                                    -
                                      id: 40146
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 51
                                      row_number: 4
                                      column_number: 3
                                      floor_number: 1
                                    -
                                      id: 40147
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 47
                                      row_number: 4
                                      column_number: 4
                                      floor_number: 1
                                    -
                                      id: 40148
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 43
                                      row_number: 4
                                      column_number: 5
                                      floor_number: 1
                                    -
                                      id: 40149
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 39
                                      row_number: 4
                                      column_number: 6
                                      floor_number: 1
                                    -
                                      id: 40150
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 35
                                      row_number: 4
                                      column_number: 7
                                      floor_number: 1
                                    -
                                      id: 40151
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 4
                                      column_number: 8
                                      floor_number: 1
                                    -
                                      id: 40152
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 4
                                      column_number: 9
                                      floor_number: 1
                                    -
                                      id: 40153
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 27
                                      row_number: 4
                                      column_number: 10
                                      floor_number: 1
                                    -
                                      id: 40154
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 23
                                      row_number: 4
                                      column_number: 11
                                      floor_number: 1
                                    -
                                      id: 40155
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 19
                                      row_number: 4
                                      column_number: 12
                                      floor_number: 1
                                    -
                                      id: 40156
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 15
                                      row_number: 4
                                      column_number: 13
                                      floor_number: 1
                                    -
                                      id: 40157
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 11
                                      row_number: 4
                                      column_number: 14
                                      floor_number: 1
                                    -
                                      id: 40158
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 7
                                      row_number: 4
                                      column_number: 15
                                      floor_number: 1
                                    -
                                      id: 40159
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 3
                                      row_number: 4
                                      column_number: 16
                                      floor_number: 1
                                    -
                                      id: 40160
                                      type: special
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 4
                                      column_number: 17
                                      floor_number: 1
                                    -
                                      id: 40161
                                      type: seat
                                      name: 'Seat 69'
                                      translations: { name: { en: 'Seat 69' } }
                                      seat_number: 59
                                      row_number: 5
                                      column_number: 1
                                      floor_number: 1
                                    -
                                      id: 40162
                                      type: none
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 5
                                      column_number: 2
                                      floor_number: 1
                                    -
                                      id: 40163
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 52
                                      row_number: 5
                                      column_number: 3
                                      floor_number: 1
                                    -
                                      id: 40164
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 48
                                      row_number: 5
                                      column_number: 4
                                      floor_number: 1
                                    -
                                      id: 40165
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 44
                                      row_number: 5
                                      column_number: 5
                                      floor_number: 1
                                    -
                                      id: 40166
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 40
                                      row_number: 5
                                      column_number: 6
                                      floor_number: 1
                                    -
                                      id: 40167
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 36
                                      row_number: 5
                                      column_number: 7
                                      floor_number: 1
                                    -
                                      id: 40168
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 5
                                      column_number: 8
                                      floor_number: 1
                                    -
                                      id: 40169
                                      type: aisle
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 5
                                      column_number: 9
                                      floor_number: 1
                                    -
                                      id: 40170
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 28
                                      row_number: 5
                                      column_number: 10
                                      floor_number: 1
                                    -
                                      id: 40171
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 24
                                      row_number: 5
                                      column_number: 11
                                      floor_number: 1
                                    -
                                      id: 40172
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 20
                                      row_number: 5
                                      column_number: 12
                                      floor_number: 1
                                    -
                                      id: 40173
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 16
                                      row_number: 5
                                      column_number: 13
                                      floor_number: 1
                                    -
                                      id: 40174
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 12
                                      row_number: 5
                                      column_number: 14
                                      floor_number: 1
                                    -
                                      id: 40175
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 8
                                      row_number: 5
                                      column_number: 15
                                      floor_number: 1
                                    -
                                      id: 40176
                                      type: seat
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 4
                                      row_number: 5
                                      column_number: 16
                                      floor_number: 1
                                    -
                                      id: 40177
                                      type: special
                                      name: ''
                                      translations: { name: [] }
                                      seat_number: 0
                                      row_number: 5
                                      column_number: 17
                                      floor_number: 1
                                  items:
                                    type: object
                                    properties:
                                      id: { type: integer, example: 40093 }
                                      type: { type: string, example: seat }
                                      name: { type: string, example: 'Seat 1' }
                                      translations: { type: object, properties: { name: { type: object, properties: { en: { type: string, example: 'Seat 1' } } } } }
                                      seat_number: { type: integer, example: 55 }
                                      row_number: { type: integer, example: 1 }
                                      column_number: { type: integer, example: 1 }
                                      floor_number: { type: integer, example: 1 }
                                created_at:
                                  type: string
                                  example: '2024-02-16T19:06:33.000000Z'
                                updated_at:
                                  type: string
                                  example: '2025-06-11T11:21:31.000000Z'
                            services:
                              type: array
                              example:
                                -
                                  id: 15
                                  name: wi-fi
                                  translations:
                                    name:
                                      ua: wi-fi
                                      pl: wi-fi
                                      en: wi-fi
                                  icon_name: wifi
                                  created_at: '2023-11-02T12:08:09.000000Z'
                                  updated_at: '2025-11-25T10:40:48.000000Z'
                                -
                                  id: 16
                                  name: USB-зарядки
                                  translations:
                                    name:
                                      ua: 'Індивідуальні  USB-зарядки'
                                      pl: USB-зарядки
                                      en: USB-зарядки
                                  icon_name: 'индивидуальные  USB-зарядки'
                                  created_at: '2024-01-20T10:58:51.000000Z'
                                  updated_at: '2024-04-11T11:51:19.000000Z'
                              items:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 15
                                  name:
                                    type: string
                                    example: wi-fi
                                  translations:
                                    type: object
                                    properties:
                                      name: { type: object, properties: { ua: { type: string, example: wi-fi }, pl: { type: string, example: wi-fi }, en: { type: string, example: wi-fi } } }
                                  icon_name:
                                    type: string
                                    example: wifi
                                  created_at:
                                    type: string
                                    example: '2023-11-02T12:08:09.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2025-11-25T10:40:48.000000Z'
                            created_at:
                              type: string
                              example: '2024-02-16T19:04:00.000000Z'
                            updated_at:
                              type: string
                              example: '2024-05-17T18:26:50.000000Z'
                        driver:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 519
                            first_name:
                              type: string
                              example: Петро
                            last_name:
                              type: string
                              example: Шевченко
                            middle_name:
                              type: string
                              example: Петрович
                            full_name:
                              type: string
                              example: 'Петро Шевченко Петрович'
                            work_phone:
                              type: string
                              example: '38063999999'
                            gender:
                              type: string
                              example: null
                            birthday:
                              type: string
                              example: null
                        dispatcher:
                          type: string
                          example: null
                        occupiedSeats:
                          type: array
                          example:
                            -
                              id: 22
                              bus_flight_id: 207
                              from_departure_point_id: 87
                              to_departure_point_id: 88
                              seat_number: 9
                              type: reserved
                              created_at: '2024-01-25T07:57:29.000000Z'
                              updated_at: '2024-02-19T12:32:03.000000Z'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 22
                              bus_flight_id:
                                type: integer
                                example: 207
                              from_departure_point_id:
                                type: integer
                                example: 87
                              to_departure_point_id:
                                type: integer
                                example: 88
                              seat_number:
                                type: integer
                                example: 9
                              type:
                                type: string
                                example: reserved
                              created_at:
                                type: string
                                example: '2024-01-25T07:57:29.000000Z'
                              updated_at:
                                type: string
                                example: '2024-02-19T12:32:03.000000Z'
                        baggage_transportation_conditions:
                          type: array
                          example:
                            -
                              id: 164
                              name: 'Hand baggage (free)'
                              translations:
                                name:
                                  ua: 'Ручна поклажа (безкоштовно)'
                                  pl: 'Bagaż podręczny (bezpłatny)'
                                  en: 'Hand baggage (free)'
                              prices:
                                -
                                  currency_id: 88
                                  price: 0
                                -
                                  currency_id: 89
                                  price: 0
                              created_at: '2024-01-19T11:59:02.000000Z'
                              updated_at: '2024-01-19T11:59:02.000000Z'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 164
                              name:
                                type: string
                                example: 'Hand baggage (free)'
                              translations:
                                type: object
                                properties:
                                  name:
                                    type: object
                                    properties:
                                      ua: { type: string, example: 'Ручна поклажа (безкоштовно)' }
                                      pl: { type: string, example: 'Bagaż podręczny (bezpłatny)' }
                                      en: { type: string, example: 'Hand baggage (free)' }
                              prices:
                                type: array
                                example:
                                  -
                                    currency_id: 88
                                    price: 0
                                  -
                                    currency_id: 89
                                    price: 0
                                items:
                                  type: object
                                  properties:
                                    currency_id:
                                      type: integer
                                      example: 88
                                    price:
                                      type: integer
                                      example: 0
                              created_at:
                                type: string
                                example: '2024-01-19T11:59:02.000000Z'
                              updated_at:
                                type: string
                                example: '2024-01-19T11:59:02.000000Z'
                        schedules:
                          type: array
                          example:
                            -
                              id: 1631
                              departure_point_id: 87
                              departure_point:
                                id: 87
                                name: 'Автостанция "Киев",улица С.Петлюры 32'
                                translations:
                                  name:
                                    ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                    pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                    en: 'Bus station "Kyiv",S.Petlury 32 street'
                                    ru: 'Автостанция "Киев",улица С.Петлюры 32'
                                city:
                                  id: 267
                                  name: Киев
                                  translations:
                                    name:
                                      ua: Київ
                                      pl: Kijów
                                      en: Kyiv
                                      ru: Киев
                                  population: null
                                  number_of_bus_routes: 0
                                  visibility: true
                                  country_id: 6
                                  created_at: '2023-11-02T11:51:05.000000Z'
                                  updated_at: '2024-02-18T14:28:39.000000Z'
                                visibility: true
                                created_at: '2023-11-02T11:52:18.000000Z'
                                updated_at: '2024-03-23T12:23:48.000000Z'
                              arrival_time: '12:00'
                              departure_time: '12:00'
                              days_in_road: 0
                              platform: null
                              has_landing: true
                              has_disembarkation: false
                              is_connecting: false
                              is_connecting_start_endpoint: false
                              position: 0
                              sale_status: open
                              is_active: true
                              has_transfer: false
                              hint: ''
                              translations:
                                hint: []
                              created_at: '2024-01-19T11:59:02.000000Z'
                              updated_at: '2024-04-22T06:39:22.000000Z'
                            -
                              id: 1632
                              departure_point_id: 88
                              departure_point:
                                id: 88
                                name: Голливуд
                                translations:
                                  name:
                                    ua: Голливуд
                                    pl: Голливуд
                                    en: Голливуд
                                city:
                                  id: 268
                                  name: Чернигов
                                  translations:
                                    name:
                                      ua: Чернігів
                                      en: Chernihiv
                                      pl: Czernihów
                                      ru: Чернигов
                                  population: null
                                  number_of_bus_routes: 0
                                  visibility: true
                                  country_id: 6
                                  created_at: '2023-11-02T11:51:37.000000Z'
                                  updated_at: '2025-07-17T06:32:14.000000Z'
                                visibility: true
                                created_at: '2023-11-02T11:53:33.000000Z'
                                updated_at: '2023-11-02T11:53:33.000000Z'
                              arrival_time: '15:00'
                              departure_time: '15:00'
                              days_in_road: 0
                              platform: null
                              has_landing: false
                              has_disembarkation: true
                              is_connecting: false
                              is_connecting_start_endpoint: false
                              position: 1
                              sale_status: open
                              is_active: true
                              has_transfer: false
                              hint: ''
                              translations:
                                hint: []
                              created_at: '2024-01-19T11:59:02.000000Z'
                              updated_at: '2024-04-22T06:39:22.000000Z'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 1631
                              departure_point_id:
                                type: integer
                                example: 87
                              departure_point:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 87
                                  name:
                                    type: string
                                    example: 'Автостанция "Киев",улица С.Петлюры 32'
                                  translations:
                                    type: object
                                    properties:
                                      name: { type: object, properties: { ua: { type: string, example: 'Автостанція "Київ", вул. С. Петлюри 32' }, pl: { type: string, example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32' }, en: { type: string, example: 'Bus station "Kyiv",S.Petlury 32 street' }, ru: { type: string, example: 'Автостанция "Киев",улица С.Петлюры 32' } } }
                                  city:
                                    type: object
                                    properties:
                                      id: { type: integer, example: 267 }
                                      name: { type: string, example: Киев }
                                      translations: { type: object, properties: { name: { type: object, properties: { ua: { type: string, example: Київ }, pl: { type: string, example: Kijów }, en: { type: string, example: Kyiv }, ru: { type: string, example: Киев } } } } }
                                      population: { type: string, example: null }
                                      number_of_bus_routes: { type: integer, example: 0 }
                                      visibility: { type: boolean, example: true }
                                      country_id: { type: integer, example: 6 }
                                      created_at: { type: string, example: '2023-11-02T11:51:05.000000Z' }
                                      updated_at: { type: string, example: '2024-02-18T14:28:39.000000Z' }
                                  visibility:
                                    type: boolean
                                    example: true
                                  created_at:
                                    type: string
                                    example: '2023-11-02T11:52:18.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2024-03-23T12:23:48.000000Z'
                              arrival_time:
                                type: string
                                example: '12:00'
                              departure_time:
                                type: string
                                example: '12:00'
                              days_in_road:
                                type: integer
                                example: 0
                              platform:
                                type: string
                                example: null
                              has_landing:
                                type: boolean
                                example: true
                              has_disembarkation:
                                type: boolean
                                example: false
                              is_connecting:
                                type: boolean
                                example: false
                              is_connecting_start_endpoint:
                                type: boolean
                                example: false
                              position:
                                type: integer
                                example: 0
                              sale_status:
                                type: string
                                example: open
                              is_active:
                                type: boolean
                                example: true
                              has_transfer:
                                type: boolean
                                example: false
                              hint:
                                type: string
                                example: ''
                              translations:
                                type: object
                                properties:
                                  hint:
                                    type: array
                                    example: []
                              created_at:
                                type: string
                                example: '2024-01-19T11:59:02.000000Z'
                              updated_at:
                                type: string
                                example: '2024-04-22T06:39:22.000000Z'
                        payment_methods:
                          type: array
                          example:
                            -
                              id: 1
                              name: stripe
                              display_name: 'Оплата через Stripe'
                              logo_path: null
                              created_at: '2023-10-27T07:44:26.000000Z'
                              updated_at: '2023-11-03T07:53:11.000000Z'
                            -
                              id: 2
                              name: liqpay
                              display_name: 'Оплата через LiqPay'
                              logo_path: null
                              created_at: '2023-10-27T07:44:26.000000Z'
                              updated_at: '2023-11-03T07:53:11.000000Z'
                            -
                              id: 3
                              name: spot
                              display_name: 'Оплата на месте'
                              logo_path: null
                              created_at: '2023-10-27T07:44:26.000000Z'
                              updated_at: '2023-11-03T07:53:11.000000Z'
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 1
                              name:
                                type: string
                                example: stripe
                              display_name:
                                type: string
                                example: 'Оплата через Stripe'
                              logo_path:
                                type: string
                                example: null
                              created_at:
                                type: string
                                example: '2023-10-27T07:44:26.000000Z'
                              updated_at:
                                type: string
                                example: '2023-11-03T07:53:11.000000Z'
                        discounts:
                          type: array
                          example: []
                        carrier:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: test
                            hotline_phone:
                              type: string
                              example: null
                            edrpou:
                              type: string
                              example: null
                            disclaimer:
                              type: string
                              example: null
                            logo_url:
                              type: string
                              example: null
                            translations:
                              type: object
                              properties:
                                disclaimer:
                                  type: array
                                  example: []
                        prices:
                          type: array
                          example:
                            -
                              id: 20172
                              from_departure_point_id: 87
                              to_departure_point_id: 88
                              price:
                                -
                                  amount: 10
                                  currency_id: 88
                                -
                                  amount: 10
                                  currency_id: 89
                                -
                                  amount: 0
                                  currency_id: 90
                                -
                                  amount: 0
                                  currency_id: 91
                              is_active: true
                              is_forbidden: false
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 20172
                              from_departure_point_id:
                                type: integer
                                example: 87
                              to_departure_point_id:
                                type: integer
                                example: 88
                              price:
                                type: array
                                example:
                                  -
                                    amount: 10
                                    currency_id: 88
                                  -
                                    amount: 10
                                    currency_id: 89
                                  -
                                    amount: 0
                                    currency_id: 90
                                  -
                                    amount: 0
                                    currency_id: 91
                                items:
                                  type: object
                                  properties:
                                    amount:
                                      type: integer
                                      example: 10
                                    currency_id:
                                      type: integer
                                      example: 88
                              is_active:
                                type: boolean
                                example: true
                              is_forbidden:
                                type: boolean
                                example: false
                        created_at:
                          type: string
                          example: '2024-01-19T11:59:02.000000Z'
                        updated_at:
                          type: string
                          example: '2024-04-22T06:40:52.000000Z'
                  return_flights_data:
                    type: array
                    example: []
      tags:
        - Tickets
      security: []
  /api/tickets/search-by-email:
    get:
      summary: 'Search ticket by email/phone and order id for guest'
      operationId: searchTicketByEmailphoneAndOrderIdForGuest
      description: 'Search ticket by email and order id'
      parameters:
        -
          in: query
          name: email
          description: 'Email or phone'
          example: some@some.com
          required: true
          schema:
            type: string
            description: 'Email or phone'
            example: some@some.com
            nullable: false
        -
          in: query
          name: order_id
          description: 'Order id'
          example: z2zcwP3Z
          required: true
          schema:
            type: string
            description: 'Order id'
            example: z2zcwP3Z
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data: []
                  message: null
                properties:
                  data:
                    type: array
                    example: []
                  message:
                    type: string
                    example: null
      tags:
        - Tickets
      security: []
  '/api/tickets/flight-details/{id}/{fromDeparturePointId}/{toDeparturePointId}':
    get:
      summary: 'Get single flight details'
      operationId: getSingleFlightDetails
      description: 'Get flight details'
      parameters: []
      responses:
        404:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'No query results for model [App\Models\BusFlight] 1'
                  exception: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
                  file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
                  line: 487
                  trace:
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
                      line: 463
                      function: prepareException
                      class: Illuminate\Foundation\Exceptions\Handler
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/nunomaduro/collision/src/Adapters/Laravel/ExceptionHandler.php
                      line: 54
                      function: render
                      class: Illuminate\Foundation\Exceptions\Handler
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                      line: 51
                      function: render
                      class: NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 146
                      function: handleException
                      class: Illuminate\Routing\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/app/Http/Middleware/RequestLogMiddleware.php
                      line: 48
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: App\Http\Middleware\RequestLogMiddleware
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/app/Http/Middleware/CheckNumberPerPageMiddleware.php
                      line: 22
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: App\Http\Middleware\CheckNumberPerPageMiddleware
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/app/Http/Middleware/LanguageSwitcher.php
                      line: 23
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: App\Http\Middleware\LanguageSwitcher
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
                      line: 50
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: Illuminate\Routing\Middleware\SubstituteBindings
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                      line: 159
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                      line: 125
                      function: handleRequest
                      class: Illuminate\Routing\Middleware\ThrottleRequests
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                      line: 87
                      function: handleRequestUsingNamedLimiter
                      class: Illuminate\Routing\Middleware\ThrottleRequests
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: Illuminate\Routing\Middleware\ThrottleRequests
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 119
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 805
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 784
                      function: runRouteWithinStack
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 748
                      function: runRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 737
                      function: dispatchToRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 200
                      function: dispatch
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 144
                      function: 'Illuminate\Foundation\Http\{closure}'
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                      line: 31
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                      line: 40
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TrimStrings
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                      line: 27
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                      line: 99
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                      line: 62
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: Illuminate\Http\Middleware\HandleCors
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                      line: 39
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 183
                      function: handle
                      class: Illuminate\Http\Middleware\TrustProxies
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 119
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 175
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 144
                      function: sendRequestThroughRouter
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 310
                      function: handle
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 298
                      function: callLaravelOrLumenRoute
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 91
                      function: makeApiCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 44
                      function: makeResponseCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 35
                      function: makeResponseCallIfConditionsPass
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 237
                      function: __invoke
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 163
                      function: iterateThroughStrategies
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 95
                      function: fetchResponses
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 125
                      function: processRoute
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 72
                      function: extractEndpointsInfoFromLaravelApp
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 50
                      function: extractEndpointsInfoAndWriteToDisk
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                      line: 53
                      function: get
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 36
                      function: handle
                      class: Knuckles\Scribe\Commands\GenerateDocumentation
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/Util.php
                      line: 41
                      function: 'Illuminate\Container\{closure}'
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 93
                      function: unwrapIfClosure
                      class: Illuminate\Container\Util
                      type: '::'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 35
                      function: callBoundMethod
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/Container.php
                      line: 662
                      function: call
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 211
                      function: call
                      class: Illuminate\Container\Container
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/symfony/console/Command/Command.php
                      line: 326
                      function: execute
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 180
                      function: run
                      class: Symfony\Component\Console\Command\Command
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/symfony/console/Application.php
                      line: 1096
                      function: run
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/symfony/console/Application.php
                      line: 324
                      function: doRunCommand
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/symfony/console/Application.php
                      line: 175
                      function: doRun
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                      line: 201
                      function: run
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /var/www/testapi.ticketbus365.com/artisan
                      line: 35
                      function: handle
                      class: Illuminate\Foundation\Console\Kernel
                      type: '->'
                properties:
                  message:
                    type: string
                    example: 'No query results for model [App\Models\BusFlight] 1'
                  exception:
                    type: string
                    example: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
                  file:
                    type: string
                    example: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
                  line:
                    type: integer
                    example: 487
                  trace:
                    type: array
                    example:
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
                        line: 463
                        function: prepareException
                        class: Illuminate\Foundation\Exceptions\Handler
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/nunomaduro/collision/src/Adapters/Laravel/ExceptionHandler.php
                        line: 54
                        function: render
                        class: Illuminate\Foundation\Exceptions\Handler
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                        line: 51
                        function: render
                        class: NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 146
                        function: handleException
                        class: Illuminate\Routing\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/app/Http/Middleware/RequestLogMiddleware.php
                        line: 48
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: App\Http\Middleware\RequestLogMiddleware
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/app/Http/Middleware/CheckNumberPerPageMiddleware.php
                        line: 22
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: App\Http\Middleware\CheckNumberPerPageMiddleware
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/app/Http/Middleware/LanguageSwitcher.php
                        line: 23
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: App\Http\Middleware\LanguageSwitcher
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
                        line: 50
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: Illuminate\Routing\Middleware\SubstituteBindings
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                        line: 159
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                        line: 125
                        function: handleRequest
                        class: Illuminate\Routing\Middleware\ThrottleRequests
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                        line: 87
                        function: handleRequestUsingNamedLimiter
                        class: Illuminate\Routing\Middleware\ThrottleRequests
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: Illuminate\Routing\Middleware\ThrottleRequests
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 119
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 805
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 784
                        function: runRouteWithinStack
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 748
                        function: runRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 737
                        function: dispatchToRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 200
                        function: dispatch
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 144
                        function: 'Illuminate\Foundation\Http\{closure}'
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                        line: 31
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                        line: 40
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TrimStrings
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                        line: 27
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                        line: 99
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                        line: 62
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: Illuminate\Http\Middleware\HandleCors
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                        line: 39
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 183
                        function: handle
                        class: Illuminate\Http\Middleware\TrustProxies
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 119
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 175
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 144
                        function: sendRequestThroughRouter
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 310
                        function: handle
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 298
                        function: callLaravelOrLumenRoute
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 91
                        function: makeApiCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 44
                        function: makeResponseCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 35
                        function: makeResponseCallIfConditionsPass
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 237
                        function: __invoke
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 163
                        function: iterateThroughStrategies
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 95
                        function: fetchResponses
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 125
                        function: processRoute
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 72
                        function: extractEndpointsInfoFromLaravelApp
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 50
                        function: extractEndpointsInfoAndWriteToDisk
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                        line: 53
                        function: get
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 36
                        function: handle
                        class: Knuckles\Scribe\Commands\GenerateDocumentation
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/Util.php
                        line: 41
                        function: 'Illuminate\Container\{closure}'
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 93
                        function: unwrapIfClosure
                        class: Illuminate\Container\Util
                        type: '::'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 35
                        function: callBoundMethod
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Container/Container.php
                        line: 662
                        function: call
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 211
                        function: call
                        class: Illuminate\Container\Container
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/symfony/console/Command/Command.php
                        line: 326
                        function: execute
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 180
                        function: run
                        class: Symfony\Component\Console\Command\Command
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/symfony/console/Application.php
                        line: 1096
                        function: run
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/symfony/console/Application.php
                        line: 324
                        function: doRunCommand
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/symfony/console/Application.php
                        line: 175
                        function: doRun
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                        line: 201
                        function: run
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /var/www/testapi.ticketbus365.com/artisan
                        line: 35
                        function: handle
                        class: Illuminate\Foundation\Console\Kernel
                        type: '->'
                    items:
                      type: object
                      properties:
                        file:
                          type: string
                          example: /var/www/testapi.ticketbus365.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
                        line:
                          type: integer
                          example: 463
                        function:
                          type: string
                          example: prepareException
                        class:
                          type: string
                          example: Illuminate\Foundation\Exceptions\Handler
                        type:
                          type: string
                          example: '->'
      tags:
        - Tickets
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'Bus flight id'
        example: 1
        required: true
        schema:
          type: string
      -
        in: path
        name: fromDeparturePointId
        description: 'From departure point id'
        example: 1
        required: true
        schema:
          type: string
      -
        in: path
        name: toDeparturePointId
        description: 'To departure point id'
        example: 2
        required: true
        schema:
          type: string
  /api/tickets:
    post:
      summary: 'Buy ticket'
      operationId: buyTicket
      description: "Buy ticket\n<aside class=\"warning\">If use in integration api payment_method_id = id of payment method \"cash\" (System settings -> Get all payment methods)</aside>"
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: null
                    public_id: ''
                    paid_at: null
                    agent_id: null
                    status: null
                    total_price: 40.71
                    payment_on_the_spot: null
                    expired_at: null
                    created_at: null
                    updated_at: null
                  payment_method_data:
                    data: array
                    type: string
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: null
                      public_id:
                        type: string
                        example: ''
                      paid_at:
                        type: string
                        example: null
                      agent_id:
                        type: string
                        example: null
                      status:
                        type: string
                        example: null
                      total_price:
                        type: number
                        example: 40.71
                      payment_on_the_spot:
                        type: string
                        example: null
                      expired_at:
                        type: string
                        example: null
                      created_at:
                        type: string
                        example: null
                      updated_at:
                        type: string
                        example: null
                  payment_method_data:
                    type: object
                    properties:
                      data:
                        type: string
                        example: array
                      type:
                        type: string
                        example: string
      tags:
        - Tickets
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                there:
                  type: array
                  description: 'Bus flight id'
                  example:
                    agent_id: 1
                    bus_flight_id: 1
                    from_departure_point_id: 1
                    to_departure_point_id: 2
                    passengers:
                      -
                        first_name: John
                        last_name: Doe
                        phone_number: '123456789'
                        email: example@example.com
                        birthday: '1990-10-10'
                        passenger_type: adult
                        baggage:
                          -
                            id: 1
                            quantity: 1
                    seat_numbers:
                      - 1
                      - 2
                    without_companion: true
                  items:
                    type: string
                back:
                  type: array
                  description: 'Bus flight id. Structure equal "there"'
                  example:
                    bus_flight_id: 1
                    from_departure_point_id: 1
                    to_departure_point_id: 2
                    passengers:
                      -
                        first_name: John
                        last_name: Doe
                        phone_number: '123456789'
                        email: example@example.com
                        birthday: '1990-10-10'
                        passenger_type: adult
                        comment: 'Some comment'
                        discount_id: 1
                        baggage:
                          -
                            id: 1
                            quantity: 1
                    seat_numbers:
                      - 1
                      - 2
                    without_companion: true
                  items:
                    type: string
                payment_method_id:
                  type: string
                  description: 'Payment method id'
                  example: 1
                  nullable: false
                currency_id:
                  type: string
                  description: 'Currency id. Required for integration'
                  example: 1
                  nullable: false
                send_tickets_to_email:
                  type: string
                  description: 'Send tickets to email'
                  example: true
                  nullable: false
              required:
                - there
                - payment_method_id
      security: []
    get:
      summary: 'Get my tickets'
      operationId: getMyTickets
      description: 'Get my ticket'
      parameters:
        -
          in: query
          name: from_departure_point_id
          description: 'Filter by from bus flight departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Filter by from bus flight departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: to_departure_point_id
          description: 'Filter by to bus flight departure point id'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Filter by to bus flight departure point id'
            example: 1
            nullable: false
        -
          in: query
          name: order_status
          description: 'Filter by order status'
          example: paid
          required: true
          schema:
            type: string
            description: 'Filter by order status'
            example: paid
            nullable: false
        -
          in: query
          name: status
          description: 'Filter by order status'
          example: pending
          required: true
          schema:
            type: string
            description: 'Filter by order status'
            example: pending
            nullable: false
        -
          in: query
          name: created_at
          description: 'Filter by created at'
          example: '2021-01-01'
          required: true
          schema:
            type: string
            description: 'Filter by created at'
            example: '2021-01-01'
            nullable: false
        -
          in: query
          name: search
          description: 'Search by name, email, phone'
          example: John
          required: true
          schema:
            type: string
            description: 'Search by name, email, phone'
            example: John
            nullable: false
        -
          in: query
          name: departure_date
          description: 'Filter by departure date'
          example: '2021-01-01'
          required: true
          schema:
            type: string
            description: 'Filter by departure date'
            example: '2021-01-01'
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 22
                      type: internal
                      public_id: YHETxCGlb0NmnHK
                      price: '10.00'
                      price_adjustment_percent: '0.00'
                      currency:
                        id: 88
                        display_name: Гривня
                        code: UAH
                        symbol: ₴
                        is_active: true
                        created_at: '2023-11-02T11:57:10.000000Z'
                        updated_at: '2023-11-02T11:57:10.000000Z'
                      order:
                        id: 25
                        public_id: kOKT9MVfb048GOi
                        paid_at: null
                        agent_id: null
                        status: pending
                        total_price: '10.00'
                        payment_on_the_spot: true
                        expired_at: '2024-01-25T08:12:29.000000Z'
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2024-01-25T07:57:29.000000Z'
                      order_id: 25
                      bus_flight:
                        id: 207
                        departure_date: '2024-01-25T10:00:00.000000Z'
                        sale_end_time_before_departure: 0
                        arrival_date: '2024-01-25T13:00:00.000000Z'
                        hours_in_travel: 3
                        status: open
                        payment_time: 15
                        sale_depth: 15
                        number_of_seats: 15
                        carrier_name: тест
                        seat_selection_allowed: true
                        seat_selection_not_allowed_date_from: null
                        seat_selection_not_allowed_date_to: null
                        without_companion: true
                        min_price:
                          -
                            currency_id: 89
                            price: '10'
                          -
                            currency_id: 88
                            price: '10'
                        schedules:
                          -
                            id: 1631
                            departure_point_id: 87
                            departure_point:
                              id: 87
                              name: 'Автостанция "Киев",улица С.Петлюры 32'
                              translations:
                                name:
                                  ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                  pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                  en: 'Bus station "Kyiv",S.Petlury 32 street'
                                  ru: 'Автостанция "Киев",улица С.Петлюры 32'
                              visibility: true
                              created_at: '2023-11-02T11:52:18.000000Z'
                              updated_at: '2024-03-23T12:23:48.000000Z'
                            arrival_time: '12:00'
                            departure_time: '12:00'
                            days_in_road: 0
                            platform: null
                            has_landing: true
                            has_disembarkation: false
                            is_connecting: false
                            is_connecting_start_endpoint: false
                            position: 0
                            sale_status: open
                            is_active: true
                            has_transfer: false
                            hint: ''
                            translations:
                              hint: []
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-04-22T06:39:22.000000Z'
                          -
                            id: 1632
                            departure_point_id: 88
                            departure_point:
                              id: 88
                              name: Голливуд
                              translations:
                                name:
                                  ua: Голливуд
                                  pl: Голливуд
                                  en: Голливуд
                              visibility: true
                              created_at: '2023-11-02T11:53:33.000000Z'
                              updated_at: '2023-11-02T11:53:33.000000Z'
                            arrival_time: '15:00'
                            departure_time: '15:00'
                            days_in_road: 0
                            platform: null
                            has_landing: false
                            has_disembarkation: true
                            is_connecting: false
                            is_connecting_start_endpoint: false
                            position: 1
                            sale_status: open
                            is_active: true
                            has_transfer: false
                            hint: ''
                            translations:
                              hint: []
                            created_at: '2024-01-19T11:59:02.000000Z'
                            updated_at: '2024-04-22T06:39:22.000000Z'
                        forbidden_sale_date_from: null
                        forbidden_sale_date_to: null
                        created_at: '2024-01-19T11:59:02.000000Z'
                        updated_at: '2024-04-22T06:40:52.000000Z'
                      from_departure_point:
                        id: 87
                        name: 'Автостанция "Киев",улица С.Петлюры 32'
                        translations:
                          name:
                            ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                            pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                            en: 'Bus station "Kyiv",S.Petlury 32 street'
                            ru: 'Автостанция "Киев",улица С.Петлюры 32'
                        visibility: true
                        created_at: '2023-11-02T11:52:18.000000Z'
                        updated_at: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        id: 88
                        name: Голливуд
                        translations:
                          name:
                            ua: Голливуд
                            pl: Голливуд
                            en: Голливуд
                        visibility: true
                        created_at: '2023-11-02T11:53:33.000000Z'
                        updated_at: '2023-11-02T11:53:33.000000Z'
                      first_name: test
                      last_name: test
                      phone: '11111111111'
                      email: null
                      birthday: null
                      passenger_type: adult
                      departure_date: '2024-01-25T09:00:00.000000Z'
                      bus_flight_id: 207
                      canceled_at: null
                      cancel_comment: null
                      status: pending
                      seat_change_allowed: true
                      comment: null
                      is_processed: false
                      external_route_name: null
                      external_ticket_id: null
                      external_discount_name: null
                      external_from_departure_point_name: null
                      external_to_departure_point_name: null
                      is_external: false
                      created_at: '2024-01-25T07:57:29.000000Z'
                      updated_at: '2025-08-06T06:32:46.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=2'
                    prev: null
                    next: '/?page=2'
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 2
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: '/?page=2'
                        label: '2'
                        active: false
                      -
                        url: '/?page=2'
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 1
                    to: 1
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 22
                        type: internal
                        public_id: YHETxCGlb0NmnHK
                        price: '10.00'
                        price_adjustment_percent: '0.00'
                        currency:
                          id: 88
                          display_name: Гривня
                          code: UAH
                          symbol: ₴
                          is_active: true
                          created_at: '2023-11-02T11:57:10.000000Z'
                          updated_at: '2023-11-02T11:57:10.000000Z'
                        order:
                          id: 25
                          public_id: kOKT9MVfb048GOi
                          paid_at: null
                          agent_id: null
                          status: pending
                          total_price: '10.00'
                          payment_on_the_spot: true
                          expired_at: '2024-01-25T08:12:29.000000Z'
                          created_at: '2024-01-25T07:57:29.000000Z'
                          updated_at: '2024-01-25T07:57:29.000000Z'
                        order_id: 25
                        bus_flight:
                          id: 207
                          departure_date: '2024-01-25T10:00:00.000000Z'
                          sale_end_time_before_departure: 0
                          arrival_date: '2024-01-25T13:00:00.000000Z'
                          hours_in_travel: 3
                          status: open
                          payment_time: 15
                          sale_depth: 15
                          number_of_seats: 15
                          carrier_name: тест
                          seat_selection_allowed: true
                          seat_selection_not_allowed_date_from: null
                          seat_selection_not_allowed_date_to: null
                          without_companion: true
                          min_price:
                            -
                              currency_id: 89
                              price: '10'
                            -
                              currency_id: 88
                              price: '10'
                          schedules:
                            -
                              id: 1631
                              departure_point_id: 87
                              departure_point:
                                id: 87
                                name: 'Автостанция "Киев",улица С.Петлюры 32'
                                translations:
                                  name:
                                    ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                    pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                    en: 'Bus station "Kyiv",S.Petlury 32 street'
                                    ru: 'Автостанция "Киев",улица С.Петлюры 32'
                                visibility: true
                                created_at: '2023-11-02T11:52:18.000000Z'
                                updated_at: '2024-03-23T12:23:48.000000Z'
                              arrival_time: '12:00'
                              departure_time: '12:00'
                              days_in_road: 0
                              platform: null
                              has_landing: true
                              has_disembarkation: false
                              is_connecting: false
                              is_connecting_start_endpoint: false
                              position: 0
                              sale_status: open
                              is_active: true
                              has_transfer: false
                              hint: ''
                              translations:
                                hint: []
                              created_at: '2024-01-19T11:59:02.000000Z'
                              updated_at: '2024-04-22T06:39:22.000000Z'
                            -
                              id: 1632
                              departure_point_id: 88
                              departure_point:
                                id: 88
                                name: Голливуд
                                translations:
                                  name:
                                    ua: Голливуд
                                    pl: Голливуд
                                    en: Голливуд
                                visibility: true
                                created_at: '2023-11-02T11:53:33.000000Z'
                                updated_at: '2023-11-02T11:53:33.000000Z'
                              arrival_time: '15:00'
                              departure_time: '15:00'
                              days_in_road: 0
                              platform: null
                              has_landing: false
                              has_disembarkation: true
                              is_connecting: false
                              is_connecting_start_endpoint: false
                              position: 1
                              sale_status: open
                              is_active: true
                              has_transfer: false
                              hint: ''
                              translations:
                                hint: []
                              created_at: '2024-01-19T11:59:02.000000Z'
                              updated_at: '2024-04-22T06:39:22.000000Z'
                          forbidden_sale_date_from: null
                          forbidden_sale_date_to: null
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:40:52.000000Z'
                        from_departure_point:
                          id: 87
                          name: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            name:
                              ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                              pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                              en: 'Bus station "Kyiv",S.Petlury 32 street'
                              ru: 'Автостанция "Киев",улица С.Петлюры 32'
                          visibility: true
                          created_at: '2023-11-02T11:52:18.000000Z'
                          updated_at: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          id: 88
                          name: Голливуд
                          translations:
                            name:
                              ua: Голливуд
                              pl: Голливуд
                              en: Голливуд
                          visibility: true
                          created_at: '2023-11-02T11:53:33.000000Z'
                          updated_at: '2023-11-02T11:53:33.000000Z'
                        first_name: test
                        last_name: test
                        phone: '11111111111'
                        email: null
                        birthday: null
                        passenger_type: adult
                        departure_date: '2024-01-25T09:00:00.000000Z'
                        bus_flight_id: 207
                        canceled_at: null
                        cancel_comment: null
                        status: pending
                        seat_change_allowed: true
                        comment: null
                        is_processed: false
                        external_route_name: null
                        external_ticket_id: null
                        external_discount_name: null
                        external_from_departure_point_name: null
                        external_to_departure_point_name: null
                        is_external: false
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2025-08-06T06:32:46.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 22
                        type:
                          type: string
                          example: internal
                        public_id:
                          type: string
                          example: YHETxCGlb0NmnHK
                        price:
                          type: string
                          example: '10.00'
                        price_adjustment_percent:
                          type: string
                          example: '0.00'
                        currency:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 88
                            display_name:
                              type: string
                              example: Гривня
                            code:
                              type: string
                              example: UAH
                            symbol:
                              type: string
                              example: ₴
                            is_active:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:57:10.000000Z'
                        order:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 25
                            public_id:
                              type: string
                              example: kOKT9MVfb048GOi
                            paid_at:
                              type: string
                              example: null
                            agent_id:
                              type: string
                              example: null
                            status:
                              type: string
                              example: pending
                            total_price:
                              type: string
                              example: '10.00'
                            payment_on_the_spot:
                              type: boolean
                              example: true
                            expired_at:
                              type: string
                              example: '2024-01-25T08:12:29.000000Z'
                            created_at:
                              type: string
                              example: '2024-01-25T07:57:29.000000Z'
                            updated_at:
                              type: string
                              example: '2024-01-25T07:57:29.000000Z'
                        order_id:
                          type: integer
                          example: 25
                        bus_flight:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 207
                            departure_date:
                              type: string
                              example: '2024-01-25T10:00:00.000000Z'
                            sale_end_time_before_departure:
                              type: integer
                              example: 0
                            arrival_date:
                              type: string
                              example: '2024-01-25T13:00:00.000000Z'
                            hours_in_travel:
                              type: integer
                              example: 3
                            status:
                              type: string
                              example: open
                            payment_time:
                              type: integer
                              example: 15
                            sale_depth:
                              type: integer
                              example: 15
                            number_of_seats:
                              type: integer
                              example: 15
                            carrier_name:
                              type: string
                              example: тест
                            seat_selection_allowed:
                              type: boolean
                              example: true
                            seat_selection_not_allowed_date_from:
                              type: string
                              example: null
                            seat_selection_not_allowed_date_to:
                              type: string
                              example: null
                            without_companion:
                              type: boolean
                              example: true
                            min_price:
                              type: array
                              example:
                                -
                                  currency_id: 89
                                  price: '10'
                                -
                                  currency_id: 88
                                  price: '10'
                              items:
                                type: object
                                properties:
                                  currency_id:
                                    type: integer
                                    example: 89
                                  price:
                                    type: string
                                    example: '10'
                            schedules:
                              type: array
                              example:
                                -
                                  id: 1631
                                  departure_point_id: 87
                                  departure_point:
                                    id: 87
                                    name: 'Автостанция "Киев",улица С.Петлюры 32'
                                    translations:
                                      name: { ua: 'Автостанція "Київ", вул. С. Петлюри 32', pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32', en: 'Bus station "Kyiv",S.Petlury 32 street', ru: 'Автостанция "Киев",улица С.Петлюры 32' }
                                    visibility: true
                                    created_at: '2023-11-02T11:52:18.000000Z'
                                    updated_at: '2024-03-23T12:23:48.000000Z'
                                  arrival_time: '12:00'
                                  departure_time: '12:00'
                                  days_in_road: 0
                                  platform: null
                                  has_landing: true
                                  has_disembarkation: false
                                  is_connecting: false
                                  is_connecting_start_endpoint: false
                                  position: 0
                                  sale_status: open
                                  is_active: true
                                  has_transfer: false
                                  hint: ''
                                  translations:
                                    hint: []
                                  created_at: '2024-01-19T11:59:02.000000Z'
                                  updated_at: '2024-04-22T06:39:22.000000Z'
                                -
                                  id: 1632
                                  departure_point_id: 88
                                  departure_point:
                                    id: 88
                                    name: Голливуд
                                    translations:
                                      name: { ua: Голливуд, pl: Голливуд, en: Голливуд }
                                    visibility: true
                                    created_at: '2023-11-02T11:53:33.000000Z'
                                    updated_at: '2023-11-02T11:53:33.000000Z'
                                  arrival_time: '15:00'
                                  departure_time: '15:00'
                                  days_in_road: 0
                                  platform: null
                                  has_landing: false
                                  has_disembarkation: true
                                  is_connecting: false
                                  is_connecting_start_endpoint: false
                                  position: 1
                                  sale_status: open
                                  is_active: true
                                  has_transfer: false
                                  hint: ''
                                  translations:
                                    hint: []
                                  created_at: '2024-01-19T11:59:02.000000Z'
                                  updated_at: '2024-04-22T06:39:22.000000Z'
                              items:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 1631
                                  departure_point_id:
                                    type: integer
                                    example: 87
                                  departure_point:
                                    type: object
                                    properties:
                                      id: { type: integer, example: 87 }
                                      name: { type: string, example: 'Автостанция "Киев",улица С.Петлюры 32' }
                                      translations: { type: object, properties: { name: { type: object, properties: { ua: { type: string, example: 'Автостанція "Київ", вул. С. Петлюри 32' }, pl: { type: string, example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32' }, en: { type: string, example: 'Bus station "Kyiv",S.Petlury 32 street' }, ru: { type: string, example: 'Автостанция "Киев",улица С.Петлюры 32' } } } } }
                                      visibility: { type: boolean, example: true }
                                      created_at: { type: string, example: '2023-11-02T11:52:18.000000Z' }
                                      updated_at: { type: string, example: '2024-03-23T12:23:48.000000Z' }
                                  arrival_time:
                                    type: string
                                    example: '12:00'
                                  departure_time:
                                    type: string
                                    example: '12:00'
                                  days_in_road:
                                    type: integer
                                    example: 0
                                  platform:
                                    type: string
                                    example: null
                                  has_landing:
                                    type: boolean
                                    example: true
                                  has_disembarkation:
                                    type: boolean
                                    example: false
                                  is_connecting:
                                    type: boolean
                                    example: false
                                  is_connecting_start_endpoint:
                                    type: boolean
                                    example: false
                                  position:
                                    type: integer
                                    example: 0
                                  sale_status:
                                    type: string
                                    example: open
                                  is_active:
                                    type: boolean
                                    example: true
                                  has_transfer:
                                    type: boolean
                                    example: false
                                  hint:
                                    type: string
                                    example: ''
                                  translations:
                                    type: object
                                    properties:
                                      hint: { type: array, example: [] }
                                  created_at:
                                    type: string
                                    example: '2024-01-19T11:59:02.000000Z'
                                  updated_at:
                                    type: string
                                    example: '2024-04-22T06:39:22.000000Z'
                            forbidden_sale_date_from:
                              type: string
                              example: null
                            forbidden_sale_date_to:
                              type: string
                              example: null
                            created_at:
                              type: string
                              example: '2024-01-19T11:59:02.000000Z'
                            updated_at:
                              type: string
                              example: '2024-04-22T06:40:52.000000Z'
                        from_departure_point:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 87
                            name:
                              type: string
                              example: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                    pl:
                                      type: string
                                      example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                    en:
                                      type: string
                                      example: 'Bus station "Kyiv",S.Petlury 32 street'
                                    ru:
                                      type: string
                                      example: 'Автостанция "Киев",улица С.Петлюры 32'
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:52:18.000000Z'
                            updated_at:
                              type: string
                              example: '2024-03-23T12:23:48.000000Z'
                        to_departure_point:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 88
                            name:
                              type: string
                              example: Голливуд
                            translations:
                              type: object
                              properties:
                                name:
                                  type: object
                                  properties:
                                    ua:
                                      type: string
                                      example: Голливуд
                                    pl:
                                      type: string
                                      example: Голливуд
                                    en:
                                      type: string
                                      example: Голливуд
                            visibility:
                              type: boolean
                              example: true
                            created_at:
                              type: string
                              example: '2023-11-02T11:53:33.000000Z'
                            updated_at:
                              type: string
                              example: '2023-11-02T11:53:33.000000Z'
                        first_name:
                          type: string
                          example: test
                        last_name:
                          type: string
                          example: test
                        phone:
                          type: string
                          example: '11111111111'
                        email:
                          type: string
                          example: null
                        birthday:
                          type: string
                          example: null
                        passenger_type:
                          type: string
                          example: adult
                        departure_date:
                          type: string
                          example: '2024-01-25T09:00:00.000000Z'
                        bus_flight_id:
                          type: integer
                          example: 207
                        canceled_at:
                          type: string
                          example: null
                        cancel_comment:
                          type: string
                          example: null
                        status:
                          type: string
                          example: pending
                        seat_change_allowed:
                          type: boolean
                          example: true
                        comment:
                          type: string
                          example: null
                        is_processed:
                          type: boolean
                          example: false
                        external_route_name:
                          type: string
                          example: null
                        external_ticket_id:
                          type: string
                          example: null
                        external_discount_name:
                          type: string
                          example: null
                        external_from_departure_point_name:
                          type: string
                          example: null
                        external_to_departure_point_name:
                          type: string
                          example: null
                        is_external:
                          type: boolean
                          example: false
                        created_at:
                          type: string
                          example: '2024-01-25T07:57:29.000000Z'
                        updated_at:
                          type: string
                          example: '2025-08-06T06:32:46.000000Z'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=2'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: '/?page=2'
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 2
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: '/?page=2'
                            label: '2'
                            active: false
                          -
                            url: '/?page=2'
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 1
                      to:
                        type: integer
                        example: 1
                      total:
                        type: integer
                        example: 2
      tags:
        - Tickets
      security: []
  '/api/tickets/{id}':
    get:
      summary: 'Show my ticket'
      operationId: showMyTicket
      description: 'Get ticket by id'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    type: internal
                    public_id: YHETxCGlb0NmnHK
                    price: '10.00'
                    price_adjustment_percent: '0.00'
                    currency:
                      id: 88
                      display_name: Гривня
                      code: UAH
                      symbol: ₴
                      is_active: true
                      created_at: '2023-11-02T11:57:10.000000Z'
                      updated_at: '2023-11-02T11:57:10.000000Z'
                    order:
                      id: 25
                      public_id: kOKT9MVfb048GOi
                      paid_at: null
                      agent_id: null
                      status: pending
                      total_price: '10.00'
                      payment_on_the_spot: true
                      expired_at: '2024-01-25T08:12:29.000000Z'
                      created_at: '2024-01-25T07:57:29.000000Z'
                      updated_at: '2024-01-25T07:57:29.000000Z'
                    order_id: 25
                    bus_flight:
                      id: 207
                      departure_date: '2024-01-25T10:00:00.000000Z'
                      sale_end_time_before_departure: 0
                      arrival_date: '2024-01-25T13:00:00.000000Z'
                      hours_in_travel: 3
                      bus:
                        id: 148
                        name: Автобус
                        number: 'WK 77296'
                        status: active
                        created_at: '2024-02-16T19:04:00.000000Z'
                        updated_at: '2024-05-17T18:26:50.000000Z'
                      status: open
                      payment_time: 15
                      sale_depth: 15
                      number_of_seats: 15
                      carrier_name: тест
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      min_price:
                        -
                          currency_id: 89
                          price: '10'
                        -
                          currency_id: 88
                          price: '10'
                      schedules:
                        -
                          id: 1631
                          departure_point_id: 87
                          departure_point:
                            id: 87
                            name: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              name:
                                ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                en: 'Bus station "Kyiv",S.Petlury 32 street'
                                ru: 'Автостанция "Киев",улица С.Петлюры 32'
                            visibility: true
                            created_at: '2023-11-02T11:52:18.000000Z'
                            updated_at: '2024-03-23T12:23:48.000000Z'
                          arrival_time: '12:00'
                          departure_time: '12:00'
                          days_in_road: 0
                          platform: null
                          has_landing: true
                          has_disembarkation: false
                          is_connecting: false
                          is_connecting_start_endpoint: false
                          connecting_bus_flight: null
                          position: 0
                          sale_status: open
                          is_active: true
                          has_transfer: false
                          hint: ''
                          translations:
                            hint: []
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:39:22.000000Z'
                        -
                          id: 1632
                          departure_point_id: 88
                          departure_point:
                            id: 88
                            name: Голливуд
                            translations:
                              name:
                                ua: Голливуд
                                pl: Голливуд
                                en: Голливуд
                            visibility: true
                            created_at: '2023-11-02T11:53:33.000000Z'
                            updated_at: '2023-11-02T11:53:33.000000Z'
                          arrival_time: '15:00'
                          departure_time: '15:00'
                          days_in_road: 0
                          platform: null
                          has_landing: false
                          has_disembarkation: true
                          is_connecting: false
                          is_connecting_start_endpoint: false
                          connecting_bus_flight: null
                          position: 1
                          sale_status: open
                          is_active: true
                          has_transfer: false
                          hint: ''
                          translations:
                            hint: []
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:39:22.000000Z'
                      forbidden_sale_date_from: null
                      forbidden_sale_date_to: null
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:40:52.000000Z'
                    from_departure_point:
                      id: 87
                      name: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        name:
                          ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                          pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                          en: 'Bus station "Kyiv",S.Petlury 32 street'
                          ru: 'Автостанция "Киев",улица С.Петлюры 32'
                      visibility: true
                      created_at: '2023-11-02T11:52:18.000000Z'
                      updated_at: '2024-03-23T12:23:48.000000Z'
                    to_departure_point:
                      id: 88
                      name: Голливуд
                      translations:
                        name:
                          ua: Голливуд
                          pl: Голливуд
                          en: Голливуд
                      visibility: true
                      created_at: '2023-11-02T11:53:33.000000Z'
                      updated_at: '2023-11-02T11:53:33.000000Z'
                    first_name: test
                    last_name: test
                    phone: '11111111111'
                    email: null
                    birthday: null
                    passenger_type: adult
                    departure_date: '2024-01-25T09:00:00.000000Z'
                    occupied_seats:
                      -
                        id: 22
                        bus_flight_id: 207
                        from_departure_point_id: 87
                        to_departure_point_id: 88
                        seat_number: 9
                        type: reserved
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2024-02-19T12:32:03.000000Z'
                    bus_flight_id: 207
                    canceled_at: null
                    cancel_comment: null
                    status: pending
                    seat_change_allowed: true
                    comment: null
                    prepayments: []
                    prepayments_amount: 0
                    is_processed: false
                    external_route_name: null
                    external_ticket_id: null
                    external_discount_name: null
                    external_from_departure_point_name: null
                    external_to_departure_point_name: null
                    is_external: false
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2025-08-06T06:32:46.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      type:
                        type: string
                        example: internal
                      public_id:
                        type: string
                        example: YHETxCGlb0NmnHK
                      price:
                        type: string
                        example: '10.00'
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
                      currency:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 88
                          display_name:
                            type: string
                            example: Гривня
                          code:
                            type: string
                            example: UAH
                          symbol:
                            type: string
                            example: ₴
                          is_active:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                          updated_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                      order:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 25
                          public_id:
                            type: string
                            example: kOKT9MVfb048GOi
                          paid_at:
                            type: string
                            example: null
                          agent_id:
                            type: string
                            example: null
                          status:
                            type: string
                            example: pending
                          total_price:
                            type: string
                            example: '10.00'
                          payment_on_the_spot:
                            type: boolean
                            example: true
                          expired_at:
                            type: string
                            example: '2024-01-25T08:12:29.000000Z'
                          created_at:
                            type: string
                            example: '2024-01-25T07:57:29.000000Z'
                          updated_at:
                            type: string
                            example: '2024-01-25T07:57:29.000000Z'
                      order_id:
                        type: integer
                        example: 25
                      bus_flight:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 207
                          departure_date:
                            type: string
                            example: '2024-01-25T10:00:00.000000Z'
                          sale_end_time_before_departure:
                            type: integer
                            example: 0
                          arrival_date:
                            type: string
                            example: '2024-01-25T13:00:00.000000Z'
                          hours_in_travel:
                            type: integer
                            example: 3
                          bus:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 148
                              name:
                                type: string
                                example: Автобус
                              number:
                                type: string
                                example: 'WK 77296'
                              status:
                                type: string
                                example: active
                              created_at:
                                type: string
                                example: '2024-02-16T19:04:00.000000Z'
                              updated_at:
                                type: string
                                example: '2024-05-17T18:26:50.000000Z'
                          status:
                            type: string
                            example: open
                          payment_time:
                            type: integer
                            example: 15
                          sale_depth:
                            type: integer
                            example: 15
                          number_of_seats:
                            type: integer
                            example: 15
                          carrier_name:
                            type: string
                            example: тест
                          seat_selection_allowed:
                            type: boolean
                            example: true
                          seat_selection_not_allowed_date_from:
                            type: string
                            example: null
                          seat_selection_not_allowed_date_to:
                            type: string
                            example: null
                          without_companion:
                            type: boolean
                            example: true
                          min_price:
                            type: array
                            example:
                              -
                                currency_id: 89
                                price: '10'
                              -
                                currency_id: 88
                                price: '10'
                            items:
                              type: object
                              properties:
                                currency_id:
                                  type: integer
                                  example: 89
                                price:
                                  type: string
                                  example: '10'
                          schedules:
                            type: array
                            example:
                              -
                                id: 1631
                                departure_point_id: 87
                                departure_point:
                                  id: 87
                                  name: 'Автостанция "Киев",улица С.Петлюры 32'
                                  translations:
                                    name:
                                      ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                      pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                      en: 'Bus station "Kyiv",S.Petlury 32 street'
                                      ru: 'Автостанция "Киев",улица С.Петлюры 32'
                                  visibility: true
                                  created_at: '2023-11-02T11:52:18.000000Z'
                                  updated_at: '2024-03-23T12:23:48.000000Z'
                                arrival_time: '12:00'
                                departure_time: '12:00'
                                days_in_road: 0
                                platform: null
                                has_landing: true
                                has_disembarkation: false
                                is_connecting: false
                                is_connecting_start_endpoint: false
                                connecting_bus_flight: null
                                position: 0
                                sale_status: open
                                is_active: true
                                has_transfer: false
                                hint: ''
                                translations:
                                  hint: []
                                created_at: '2024-01-19T11:59:02.000000Z'
                                updated_at: '2024-04-22T06:39:22.000000Z'
                              -
                                id: 1632
                                departure_point_id: 88
                                departure_point:
                                  id: 88
                                  name: Голливуд
                                  translations:
                                    name:
                                      ua: Голливуд
                                      pl: Голливуд
                                      en: Голливуд
                                  visibility: true
                                  created_at: '2023-11-02T11:53:33.000000Z'
                                  updated_at: '2023-11-02T11:53:33.000000Z'
                                arrival_time: '15:00'
                                departure_time: '15:00'
                                days_in_road: 0
                                platform: null
                                has_landing: false
                                has_disembarkation: true
                                is_connecting: false
                                is_connecting_start_endpoint: false
                                connecting_bus_flight: null
                                position: 1
                                sale_status: open
                                is_active: true
                                has_transfer: false
                                hint: ''
                                translations:
                                  hint: []
                                created_at: '2024-01-19T11:59:02.000000Z'
                                updated_at: '2024-04-22T06:39:22.000000Z'
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 1631
                                departure_point_id:
                                  type: integer
                                  example: 87
                                departure_point:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 87
                                    name:
                                      type: string
                                      example: 'Автостанция "Киев",улица С.Петлюры 32'
                                    translations:
                                      type: object
                                      properties: { name: { type: object, properties: { ua: { type: string, example: 'Автостанція "Київ", вул. С. Петлюри 32' }, pl: { type: string, example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32' }, en: { type: string, example: 'Bus station "Kyiv",S.Petlury 32 street' }, ru: { type: string, example: 'Автостанция "Киев",улица С.Петлюры 32' } } } }
                                    visibility:
                                      type: boolean
                                      example: true
                                    created_at:
                                      type: string
                                      example: '2023-11-02T11:52:18.000000Z'
                                    updated_at:
                                      type: string
                                      example: '2024-03-23T12:23:48.000000Z'
                                arrival_time:
                                  type: string
                                  example: '12:00'
                                departure_time:
                                  type: string
                                  example: '12:00'
                                days_in_road:
                                  type: integer
                                  example: 0
                                platform:
                                  type: string
                                  example: null
                                has_landing:
                                  type: boolean
                                  example: true
                                has_disembarkation:
                                  type: boolean
                                  example: false
                                is_connecting:
                                  type: boolean
                                  example: false
                                is_connecting_start_endpoint:
                                  type: boolean
                                  example: false
                                connecting_bus_flight:
                                  type: string
                                  example: null
                                position:
                                  type: integer
                                  example: 0
                                sale_status:
                                  type: string
                                  example: open
                                is_active:
                                  type: boolean
                                  example: true
                                has_transfer:
                                  type: boolean
                                  example: false
                                hint:
                                  type: string
                                  example: ''
                                translations:
                                  type: object
                                  properties:
                                    hint:
                                      type: array
                                      example: []
                                created_at:
                                  type: string
                                  example: '2024-01-19T11:59:02.000000Z'
                                updated_at:
                                  type: string
                                  example: '2024-04-22T06:39:22.000000Z'
                          forbidden_sale_date_from:
                            type: string
                            example: null
                          forbidden_sale_date_to:
                            type: string
                            example: null
                          created_at:
                            type: string
                            example: '2024-01-19T11:59:02.000000Z'
                          updated_at:
                            type: string
                            example: '2024-04-22T06:40:52.000000Z'
                      from_departure_point:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 87
                          name:
                            type: string
                            example: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                  pl:
                                    type: string
                                    example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                  en:
                                    type: string
                                    example: 'Bus station "Kyiv",S.Petlury 32 street'
                                  ru:
                                    type: string
                                    example: 'Автостанция "Киев",улица С.Петлюры 32'
                          visibility:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:52:18.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 88
                          name:
                            type: string
                            example: Голливуд
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Голливуд
                                  pl:
                                    type: string
                                    example: Голливуд
                                  en:
                                    type: string
                                    example: Голливуд
                          visibility:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:53:33.000000Z'
                          updated_at:
                            type: string
                            example: '2023-11-02T11:53:33.000000Z'
                      first_name:
                        type: string
                        example: test
                      last_name:
                        type: string
                        example: test
                      phone:
                        type: string
                        example: '11111111111'
                      email:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      passenger_type:
                        type: string
                        example: adult
                      departure_date:
                        type: string
                        example: '2024-01-25T09:00:00.000000Z'
                      occupied_seats:
                        type: array
                        example:
                          -
                            id: 22
                            bus_flight_id: 207
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            seat_number: 9
                            type: reserved
                            created_at: '2024-01-25T07:57:29.000000Z'
                            updated_at: '2024-02-19T12:32:03.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 22
                            bus_flight_id:
                              type: integer
                              example: 207
                            from_departure_point_id:
                              type: integer
                              example: 87
                            to_departure_point_id:
                              type: integer
                              example: 88
                            seat_number:
                              type: integer
                              example: 9
                            type:
                              type: string
                              example: reserved
                            created_at:
                              type: string
                              example: '2024-01-25T07:57:29.000000Z'
                            updated_at:
                              type: string
                              example: '2024-02-19T12:32:03.000000Z'
                      bus_flight_id:
                        type: integer
                        example: 207
                      canceled_at:
                        type: string
                        example: null
                      cancel_comment:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      seat_change_allowed:
                        type: boolean
                        example: true
                      comment:
                        type: string
                        example: null
                      prepayments:
                        type: array
                        example: []
                      prepayments_amount:
                        type: integer
                        example: 0
                      is_processed:
                        type: boolean
                        example: false
                      external_route_name:
                        type: string
                        example: null
                      external_ticket_id:
                        type: string
                        example: null
                      external_discount_name:
                        type: string
                        example: null
                      external_from_departure_point_name:
                        type: string
                        example: null
                      external_to_departure_point_name:
                        type: string
                        example: null
                      is_external:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2025-08-06T06:32:46.000000Z'
      tags:
        - Tickets
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'Ticket public id'
        example: z2zcwP3Z
        required: true
        schema:
          type: string
  '/api/tickets/{id}/change-bus-flight':
    patch:
      summary: 'Change ticket bus flight'
      operationId: changeTicketBusFlight
      description: 'Change ticket bus flight'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 22
                    type: internal
                    public_id: YHETxCGlb0NmnHK
                    price: '10.00'
                    price_adjustment_percent: '0.00'
                    currency:
                      id: 88
                      display_name: Гривня
                      code: UAH
                      symbol: ₴
                      is_active: true
                      created_at: '2023-11-02T11:57:10.000000Z'
                      updated_at: '2023-11-02T11:57:10.000000Z'
                    order:
                      id: 25
                      public_id: kOKT9MVfb048GOi
                      paid_at: null
                      agent_id: null
                      status: pending
                      total_price: '10.00'
                      payment_on_the_spot: true
                      expired_at: '2024-01-25T08:12:29.000000Z'
                      created_at: '2024-01-25T07:57:29.000000Z'
                      updated_at: '2024-01-25T07:57:29.000000Z'
                    order_id: 25
                    bus_flight:
                      id: 207
                      departure_date: '2024-01-25T10:00:00.000000Z'
                      sale_end_time_before_departure: 0
                      arrival_date: '2024-01-25T13:00:00.000000Z'
                      hours_in_travel: 3
                      bus:
                        id: 148
                        name: Автобус
                        number: 'WK 77296'
                        status: active
                        created_at: '2024-02-16T19:04:00.000000Z'
                        updated_at: '2024-05-17T18:26:50.000000Z'
                      status: open
                      payment_time: 15
                      sale_depth: 15
                      number_of_seats: 15
                      carrier_name: тест
                      seat_selection_allowed: true
                      seat_selection_not_allowed_date_from: null
                      seat_selection_not_allowed_date_to: null
                      without_companion: true
                      min_price:
                        -
                          currency_id: 89
                          price: '10'
                        -
                          currency_id: 88
                          price: '10'
                      schedules:
                        -
                          id: 1631
                          departure_point_id: 87
                          departure_point:
                            id: 87
                            name: 'Автостанция "Киев",улица С.Петлюры 32'
                            translations:
                              name:
                                ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                en: 'Bus station "Kyiv",S.Petlury 32 street'
                                ru: 'Автостанция "Киев",улица С.Петлюры 32'
                            visibility: true
                            created_at: '2023-11-02T11:52:18.000000Z'
                            updated_at: '2024-03-23T12:23:48.000000Z'
                          arrival_time: '12:00'
                          departure_time: '12:00'
                          days_in_road: 0
                          platform: null
                          has_landing: true
                          has_disembarkation: false
                          is_connecting: false
                          is_connecting_start_endpoint: false
                          connecting_bus_flight: null
                          position: 0
                          sale_status: open
                          is_active: true
                          has_transfer: false
                          hint: ''
                          translations:
                            hint: []
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:39:22.000000Z'
                        -
                          id: 1632
                          departure_point_id: 88
                          departure_point:
                            id: 88
                            name: Голливуд
                            translations:
                              name:
                                ua: Голливуд
                                pl: Голливуд
                                en: Голливуд
                            visibility: true
                            created_at: '2023-11-02T11:53:33.000000Z'
                            updated_at: '2023-11-02T11:53:33.000000Z'
                          arrival_time: '15:00'
                          departure_time: '15:00'
                          days_in_road: 0
                          platform: null
                          has_landing: false
                          has_disembarkation: true
                          is_connecting: false
                          is_connecting_start_endpoint: false
                          connecting_bus_flight: null
                          position: 1
                          sale_status: open
                          is_active: true
                          has_transfer: false
                          hint: ''
                          translations:
                            hint: []
                          created_at: '2024-01-19T11:59:02.000000Z'
                          updated_at: '2024-04-22T06:39:22.000000Z'
                      forbidden_sale_date_from: null
                      forbidden_sale_date_to: null
                      created_at: '2024-01-19T11:59:02.000000Z'
                      updated_at: '2024-04-22T06:40:52.000000Z'
                    from_departure_point:
                      id: 87
                      name: 'Автостанция "Киев",улица С.Петлюры 32'
                      translations:
                        name:
                          ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                          pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                          en: 'Bus station "Kyiv",S.Petlury 32 street'
                          ru: 'Автостанция "Киев",улица С.Петлюры 32'
                      visibility: true
                      created_at: '2023-11-02T11:52:18.000000Z'
                      updated_at: '2024-03-23T12:23:48.000000Z'
                    to_departure_point:
                      id: 88
                      name: Голливуд
                      translations:
                        name:
                          ua: Голливуд
                          pl: Голливуд
                          en: Голливуд
                      visibility: true
                      created_at: '2023-11-02T11:53:33.000000Z'
                      updated_at: '2023-11-02T11:53:33.000000Z'
                    first_name: test
                    last_name: test
                    phone: '11111111111'
                    email: null
                    birthday: null
                    passenger_type: adult
                    departure_date: '2024-01-25T09:00:00.000000Z'
                    occupied_seats:
                      -
                        id: 22
                        bus_flight_id: 207
                        from_departure_point_id: 87
                        to_departure_point_id: 88
                        seat_number: 9
                        type: reserved
                        created_at: '2024-01-25T07:57:29.000000Z'
                        updated_at: '2024-02-19T12:32:03.000000Z'
                    bus_flight_id: 207
                    canceled_at: null
                    cancel_comment: null
                    status: pending
                    seat_change_allowed: true
                    comment: null
                    is_processed: false
                    external_route_name: null
                    external_ticket_id: null
                    external_discount_name: null
                    external_from_departure_point_name: null
                    external_to_departure_point_name: null
                    is_external: false
                    created_at: '2024-01-25T07:57:29.000000Z'
                    updated_at: '2025-08-06T06:32:46.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 22
                      type:
                        type: string
                        example: internal
                      public_id:
                        type: string
                        example: YHETxCGlb0NmnHK
                      price:
                        type: string
                        example: '10.00'
                      price_adjustment_percent:
                        type: string
                        example: '0.00'
                      currency:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 88
                          display_name:
                            type: string
                            example: Гривня
                          code:
                            type: string
                            example: UAH
                          symbol:
                            type: string
                            example: ₴
                          is_active:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                          updated_at:
                            type: string
                            example: '2023-11-02T11:57:10.000000Z'
                      order:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 25
                          public_id:
                            type: string
                            example: kOKT9MVfb048GOi
                          paid_at:
                            type: string
                            example: null
                          agent_id:
                            type: string
                            example: null
                          status:
                            type: string
                            example: pending
                          total_price:
                            type: string
                            example: '10.00'
                          payment_on_the_spot:
                            type: boolean
                            example: true
                          expired_at:
                            type: string
                            example: '2024-01-25T08:12:29.000000Z'
                          created_at:
                            type: string
                            example: '2024-01-25T07:57:29.000000Z'
                          updated_at:
                            type: string
                            example: '2024-01-25T07:57:29.000000Z'
                      order_id:
                        type: integer
                        example: 25
                      bus_flight:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 207
                          departure_date:
                            type: string
                            example: '2024-01-25T10:00:00.000000Z'
                          sale_end_time_before_departure:
                            type: integer
                            example: 0
                          arrival_date:
                            type: string
                            example: '2024-01-25T13:00:00.000000Z'
                          hours_in_travel:
                            type: integer
                            example: 3
                          bus:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 148
                              name:
                                type: string
                                example: Автобус
                              number:
                                type: string
                                example: 'WK 77296'
                              status:
                                type: string
                                example: active
                              created_at:
                                type: string
                                example: '2024-02-16T19:04:00.000000Z'
                              updated_at:
                                type: string
                                example: '2024-05-17T18:26:50.000000Z'
                          status:
                            type: string
                            example: open
                          payment_time:
                            type: integer
                            example: 15
                          sale_depth:
                            type: integer
                            example: 15
                          number_of_seats:
                            type: integer
                            example: 15
                          carrier_name:
                            type: string
                            example: тест
                          seat_selection_allowed:
                            type: boolean
                            example: true
                          seat_selection_not_allowed_date_from:
                            type: string
                            example: null
                          seat_selection_not_allowed_date_to:
                            type: string
                            example: null
                          without_companion:
                            type: boolean
                            example: true
                          min_price:
                            type: array
                            example:
                              -
                                currency_id: 89
                                price: '10'
                              -
                                currency_id: 88
                                price: '10'
                            items:
                              type: object
                              properties:
                                currency_id:
                                  type: integer
                                  example: 89
                                price:
                                  type: string
                                  example: '10'
                          schedules:
                            type: array
                            example:
                              -
                                id: 1631
                                departure_point_id: 87
                                departure_point:
                                  id: 87
                                  name: 'Автостанция "Киев",улица С.Петлюры 32'
                                  translations:
                                    name:
                                      ua: 'Автостанція "Київ", вул. С. Петлюри 32'
                                      pl: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                      en: 'Bus station "Kyiv",S.Petlury 32 street'
                                      ru: 'Автостанция "Киев",улица С.Петлюры 32'
                                  visibility: true
                                  created_at: '2023-11-02T11:52:18.000000Z'
                                  updated_at: '2024-03-23T12:23:48.000000Z'
                                arrival_time: '12:00'
                                departure_time: '12:00'
                                days_in_road: 0
                                platform: null
                                has_landing: true
                                has_disembarkation: false
                                is_connecting: false
                                is_connecting_start_endpoint: false
                                connecting_bus_flight: null
                                position: 0
                                sale_status: open
                                is_active: true
                                has_transfer: false
                                hint: ''
                                translations:
                                  hint: []
                                created_at: '2024-01-19T11:59:02.000000Z'
                                updated_at: '2024-04-22T06:39:22.000000Z'
                              -
                                id: 1632
                                departure_point_id: 88
                                departure_point:
                                  id: 88
                                  name: Голливуд
                                  translations:
                                    name:
                                      ua: Голливуд
                                      pl: Голливуд
                                      en: Голливуд
                                  visibility: true
                                  created_at: '2023-11-02T11:53:33.000000Z'
                                  updated_at: '2023-11-02T11:53:33.000000Z'
                                arrival_time: '15:00'
                                departure_time: '15:00'
                                days_in_road: 0
                                platform: null
                                has_landing: false
                                has_disembarkation: true
                                is_connecting: false
                                is_connecting_start_endpoint: false
                                connecting_bus_flight: null
                                position: 1
                                sale_status: open
                                is_active: true
                                has_transfer: false
                                hint: ''
                                translations:
                                  hint: []
                                created_at: '2024-01-19T11:59:02.000000Z'
                                updated_at: '2024-04-22T06:39:22.000000Z'
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 1631
                                departure_point_id:
                                  type: integer
                                  example: 87
                                departure_point:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 87
                                    name:
                                      type: string
                                      example: 'Автостанция "Киев",улица С.Петлюры 32'
                                    translations:
                                      type: object
                                      properties: { name: { type: object, properties: { ua: { type: string, example: 'Автостанція "Київ", вул. С. Петлюри 32' }, pl: { type: string, example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32' }, en: { type: string, example: 'Bus station "Kyiv",S.Petlury 32 street' }, ru: { type: string, example: 'Автостанция "Киев",улица С.Петлюры 32' } } } }
                                    visibility:
                                      type: boolean
                                      example: true
                                    created_at:
                                      type: string
                                      example: '2023-11-02T11:52:18.000000Z'
                                    updated_at:
                                      type: string
                                      example: '2024-03-23T12:23:48.000000Z'
                                arrival_time:
                                  type: string
                                  example: '12:00'
                                departure_time:
                                  type: string
                                  example: '12:00'
                                days_in_road:
                                  type: integer
                                  example: 0
                                platform:
                                  type: string
                                  example: null
                                has_landing:
                                  type: boolean
                                  example: true
                                has_disembarkation:
                                  type: boolean
                                  example: false
                                is_connecting:
                                  type: boolean
                                  example: false
                                is_connecting_start_endpoint:
                                  type: boolean
                                  example: false
                                connecting_bus_flight:
                                  type: string
                                  example: null
                                position:
                                  type: integer
                                  example: 0
                                sale_status:
                                  type: string
                                  example: open
                                is_active:
                                  type: boolean
                                  example: true
                                has_transfer:
                                  type: boolean
                                  example: false
                                hint:
                                  type: string
                                  example: ''
                                translations:
                                  type: object
                                  properties:
                                    hint:
                                      type: array
                                      example: []
                                created_at:
                                  type: string
                                  example: '2024-01-19T11:59:02.000000Z'
                                updated_at:
                                  type: string
                                  example: '2024-04-22T06:39:22.000000Z'
                          forbidden_sale_date_from:
                            type: string
                            example: null
                          forbidden_sale_date_to:
                            type: string
                            example: null
                          created_at:
                            type: string
                            example: '2024-01-19T11:59:02.000000Z'
                          updated_at:
                            type: string
                            example: '2024-04-22T06:40:52.000000Z'
                      from_departure_point:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 87
                          name:
                            type: string
                            example: 'Автостанция "Киев",улица С.Петлюры 32'
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: 'Автостанція "Київ", вул. С. Петлюри 32'
                                  pl:
                                    type: string
                                    example: 'Dworzec autobusowy "Kyiv",ulica S.Petlyury 32'
                                  en:
                                    type: string
                                    example: 'Bus station "Kyiv",S.Petlury 32 street'
                                  ru:
                                    type: string
                                    example: 'Автостанция "Киев",улица С.Петлюры 32'
                          visibility:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:52:18.000000Z'
                          updated_at:
                            type: string
                            example: '2024-03-23T12:23:48.000000Z'
                      to_departure_point:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 88
                          name:
                            type: string
                            example: Голливуд
                          translations:
                            type: object
                            properties:
                              name:
                                type: object
                                properties:
                                  ua:
                                    type: string
                                    example: Голливуд
                                  pl:
                                    type: string
                                    example: Голливуд
                                  en:
                                    type: string
                                    example: Голливуд
                          visibility:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2023-11-02T11:53:33.000000Z'
                          updated_at:
                            type: string
                            example: '2023-11-02T11:53:33.000000Z'
                      first_name:
                        type: string
                        example: test
                      last_name:
                        type: string
                        example: test
                      phone:
                        type: string
                        example: '11111111111'
                      email:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      passenger_type:
                        type: string
                        example: adult
                      departure_date:
                        type: string
                        example: '2024-01-25T09:00:00.000000Z'
                      occupied_seats:
                        type: array
                        example:
                          -
                            id: 22
                            bus_flight_id: 207
                            from_departure_point_id: 87
                            to_departure_point_id: 88
                            seat_number: 9
                            type: reserved
                            created_at: '2024-01-25T07:57:29.000000Z'
                            updated_at: '2024-02-19T12:32:03.000000Z'
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 22
                            bus_flight_id:
                              type: integer
                              example: 207
                            from_departure_point_id:
                              type: integer
                              example: 87
                            to_departure_point_id:
                              type: integer
                              example: 88
                            seat_number:
                              type: integer
                              example: 9
                            type:
                              type: string
                              example: reserved
                            created_at:
                              type: string
                              example: '2024-01-25T07:57:29.000000Z'
                            updated_at:
                              type: string
                              example: '2024-02-19T12:32:03.000000Z'
                      bus_flight_id:
                        type: integer
                        example: 207
                      canceled_at:
                        type: string
                        example: null
                      cancel_comment:
                        type: string
                        example: null
                      status:
                        type: string
                        example: pending
                      seat_change_allowed:
                        type: boolean
                        example: true
                      comment:
                        type: string
                        example: null
                      is_processed:
                        type: boolean
                        example: false
                      external_route_name:
                        type: string
                        example: null
                      external_ticket_id:
                        type: string
                        example: null
                      external_discount_name:
                        type: string
                        example: null
                      external_from_departure_point_name:
                        type: string
                        example: null
                      external_to_departure_point_name:
                        type: string
                        example: null
                      is_external:
                        type: boolean
                        example: false
                      created_at:
                        type: string
                        example: '2024-01-25T07:57:29.000000Z'
                      updated_at:
                        type: string
                        example: '2025-08-06T06:32:46.000000Z'
      tags:
        - Tickets
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bus_flight_id:
                  type: string
                  description: 'Bus flight id'
                  example: 1
                  nullable: false
              required:
                - bus_flight_id
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the ticket.'
        example: 22
        required: true
        schema:
          type: integer
  /api/my-orders:
    get:
      summary: 'Get my orders'
      operationId: getMyOrders
      description: 'Get my orders'
      parameters:
        -
          in: query
          name: state
          description: 'State of orders. Possible values: active, archived'
          example: active
          required: true
          schema:
            type: string
            description: 'State of orders. Possible values: active, archived'
            example: active
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: null
                      public_id: ''
                      paid_at: null
                      agent_id: null
                      status: null
                      total_price: 656.54
                      payment_on_the_spot: null
                      expired_at: null
                      created_at: null
                      updated_at: null
                  links:
                    first: '/?page=1'
                    last: '/?page=2'
                    prev: null
                    next: '/?page=2'
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 2
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: '/?page=2'
                        label: '2'
                        active: false
                      -
                        url: '/?page=2'
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 1
                    to: 1
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: null
                        public_id: ''
                        paid_at: null
                        agent_id: null
                        status: null
                        total_price: 656.54
                        payment_on_the_spot: null
                        expired_at: null
                        created_at: null
                        updated_at: null
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: null
                        public_id:
                          type: string
                          example: ''
                        paid_at:
                          type: string
                          example: null
                        agent_id:
                          type: string
                          example: null
                        status:
                          type: string
                          example: null
                        total_price:
                          type: number
                          example: 656.54
                        payment_on_the_spot:
                          type: string
                          example: null
                        expired_at:
                          type: string
                          example: null
                        created_at:
                          type: string
                          example: null
                        updated_at:
                          type: string
                          example: null
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=2'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: '/?page=2'
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 2
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: '/?page=2'
                            label: '2'
                            active: false
                          -
                            url: '/?page=2'
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 1
                      to:
                        type: integer
                        example: 1
                      total:
                        type: integer
                        example: 2
      tags:
        - Tickets
      security: []
  /api/cancel-tickets:
    patch:
      summary: 'Cancel my tickets'
      operationId: cancelMyTickets
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Tickets
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ticket_ids:
                  type: array
                  description: 'Tickets ids'
                  example:
                    - 1
                    - 2
                  items:
                    type: string
              required:
                - ticket_ids
  /api/users:
    get:
      summary: 'Get all users'
      operationId: getAllUsers
      description: 'Get all users'
      parameters:
        -
          in: query
          name: page
          description: 'Page number'
          example: 1
          required: true
          schema:
            type: integer
            description: 'Page number'
            example: 1
            nullable: false
        -
          in: query
          name: statuses
          description: Statuses
          example:
            - active
          required: true
          schema:
            type: array
            description: Statuses
            example:
              - active
            items:
              type: string
        -
          in: query
          name: roles
          description: Roles
          example:
            - admin
            - dispatcher
          required: true
          schema:
            type: array
            description: Roles
            example:
              - admin
              - dispatcher
            items:
              type: string
        -
          in: query
          name: search
          description: Search
          example: John
          required: true
          schema:
            type: string
            description: Search
            example: John
            nullable: false
        -
          in: query
          name: per_page
          description: 'Items per page'
          example: 10
          required: true
          schema:
            type: integer
            description: 'Items per page'
            example: 10
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 5742
                      first_name: Chaya
                      last_name: Cummings
                      middle_name: Wilfred
                      full_name: 'Chaya Cummings Wilfred'
                      work_phone: null
                      gender: null
                      birthday: null
                    -
                      id: 5744
                      first_name: Travon
                      last_name: Towne
                      middle_name: Velva
                      full_name: 'Travon Towne Velva'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Miss Myah Crona'
                      phone: 689.217.9628
                      email: ferry.ena@example.net
                      subscribe_to_newsletter: false
                      roles:
                        -
                          id: 314
                          name: 'Flo Schowalter'
                          display_name: 'Wendy Ankunding II'
                          guard_name: sanctum
                      status: new
                      need_change_password: true
                      created_by:
                        id: 5743
                        first_name: Clark
                        last_name: Upton
                        middle_name: Ebony
                        full_name: 'Clark Upton Ebony'
                        work_phone: null
                        gender: null
                        birthday: null
                        name: 'Mrs. Lacey Gottlieb'
                        phone: 1-479-918-1704
                        email: vidal46@example.org
                        subscribe_to_newsletter: false
                        roles:
                          -
                            id: 313
                            name: 'Tavares Kulas'
                            display_name: 'Georgiana Russel'
                            guard_name: sanctum
                        status: new
                        need_change_password: true
                        percent_of_withdrawal: 0
                        percent_of_discount: 0
                        send_sms_order_post_payment_link: true
                        created_at: '2025-12-09T14:41:07.000000Z'
                        updated_at: '2025-12-09T14:41:07.000000Z'
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                  links:
                    first: '/?page=1'
                    last: '/?page=1'
                    prev: null
                    next: null
                  meta:
                    current_page: 1
                    from: 1
                    last_page: 1
                    links:
                      -
                        url: null
                        label: '&laquo; Назад'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Вперед &raquo;'
                        active: false
                    path: /
                    per_page: 10
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 5742
                        first_name: Chaya
                        last_name: Cummings
                        middle_name: Wilfred
                        full_name: 'Chaya Cummings Wilfred'
                        work_phone: null
                        gender: null
                        birthday: null
                      -
                        id: 5744
                        first_name: Travon
                        last_name: Towne
                        middle_name: Velva
                        full_name: 'Travon Towne Velva'
                        work_phone: null
                        gender: null
                        birthday: null
                        name: 'Miss Myah Crona'
                        phone: 689.217.9628
                        email: ferry.ena@example.net
                        subscribe_to_newsletter: false
                        roles:
                          -
                            id: 314
                            name: 'Flo Schowalter'
                            display_name: 'Wendy Ankunding II'
                            guard_name: sanctum
                        status: new
                        need_change_password: true
                        created_by:
                          id: 5743
                          first_name: Clark
                          last_name: Upton
                          middle_name: Ebony
                          full_name: 'Clark Upton Ebony'
                          work_phone: null
                          gender: null
                          birthday: null
                          name: 'Mrs. Lacey Gottlieb'
                          phone: 1-479-918-1704
                          email: vidal46@example.org
                          subscribe_to_newsletter: false
                          roles:
                            -
                              id: 313
                              name: 'Tavares Kulas'
                              display_name: 'Georgiana Russel'
                              guard_name: sanctum
                          status: new
                          need_change_password: true
                          percent_of_withdrawal: 0
                          percent_of_discount: 0
                          send_sms_order_post_payment_link: true
                          created_at: '2025-12-09T14:41:07.000000Z'
                          updated_at: '2025-12-09T14:41:07.000000Z'
                        percent_of_withdrawal: 0
                        percent_of_discount: 0
                        send_sms_order_post_payment_link: true
                        created_at: '2025-12-09T14:41:07.000000Z'
                        updated_at: '2025-12-09T14:41:07.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 5742
                        first_name:
                          type: string
                          example: Chaya
                        last_name:
                          type: string
                          example: Cummings
                        middle_name:
                          type: string
                          example: Wilfred
                        full_name:
                          type: string
                          example: 'Chaya Cummings Wilfred'
                        work_phone:
                          type: string
                          example: null
                        gender:
                          type: string
                          example: null
                        birthday:
                          type: string
                          example: null
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                        example: '/?page=1'
                      last:
                        type: string
                        example: '/?page=1'
                      prev:
                        type: string
                        example: null
                      next:
                        type: string
                        example: null
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      from:
                        type: integer
                        example: 1
                      last_page:
                        type: integer
                        example: 1
                      links:
                        type: array
                        example:
                          -
                            url: null
                            label: '&laquo; Назад'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Вперед &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Назад'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 10
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
      tags:
        - User
    post:
      summary: 'Store user'
      operationId: storeUser
      description: 'Store user'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 5748
                    first_name: Lizeth
                    last_name: Weimann
                    middle_name: Bernie
                    full_name: 'Lizeth Weimann Bernie'
                    work_phone: null
                    gender: null
                    birthday: null
                    name: 'Hassan Gulgowski'
                    phone: 820-208-2606
                    email: braden42@example.net
                    subscribe_to_newsletter: false
                    roles:
                      -
                        id: 318
                        name: 'Lea Bauch'
                        display_name: 'Juanita Johnson'
                        guard_name: sanctum
                    status: new
                    need_change_password: true
                    created_by:
                      id: 5747
                      first_name: Addie
                      last_name: Bashirian
                      middle_name: Cornell
                      full_name: 'Addie Bashirian Cornell'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Prof. Logan Bergnaum'
                      phone: '+19254653826'
                      email: lilla.leffler@example.com
                      subscribe_to_newsletter: false
                      roles:
                        -
                          id: 317
                          name: 'Mathilde Leannon V'
                          display_name: 'Harmony Heller'
                          guard_name: sanctum
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                    percent_of_withdrawal: 0
                    percent_of_discount: 0
                    send_sms_order_post_payment_link: true
                    created_at: '2025-12-09T14:41:07.000000Z'
                    updated_at: '2025-12-09T14:41:07.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 5748
                      first_name:
                        type: string
                        example: Lizeth
                      last_name:
                        type: string
                        example: Weimann
                      middle_name:
                        type: string
                        example: Bernie
                      full_name:
                        type: string
                        example: 'Lizeth Weimann Bernie'
                      work_phone:
                        type: string
                        example: null
                      gender:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      name:
                        type: string
                        example: 'Hassan Gulgowski'
                      phone:
                        type: string
                        example: 820-208-2606
                      email:
                        type: string
                        example: braden42@example.net
                      subscribe_to_newsletter:
                        type: boolean
                        example: false
                      roles:
                        type: array
                        example:
                          -
                            id: 318
                            name: 'Lea Bauch'
                            display_name: 'Juanita Johnson'
                            guard_name: sanctum
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 318
                            name:
                              type: string
                              example: 'Lea Bauch'
                            display_name:
                              type: string
                              example: 'Juanita Johnson'
                            guard_name:
                              type: string
                              example: sanctum
                      status:
                        type: string
                        example: new
                      need_change_password:
                        type: boolean
                        example: true
                      created_by:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 5747
                          first_name:
                            type: string
                            example: Addie
                          last_name:
                            type: string
                            example: Bashirian
                          middle_name:
                            type: string
                            example: Cornell
                          full_name:
                            type: string
                            example: 'Addie Bashirian Cornell'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Prof. Logan Bergnaum'
                          phone:
                            type: string
                            example: '+19254653826'
                          email:
                            type: string
                            example: lilla.leffler@example.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          roles:
                            type: array
                            example:
                              -
                                id: 317
                                name: 'Mathilde Leannon V'
                                display_name: 'Harmony Heller'
                                guard_name: sanctum
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 317
                                name:
                                  type: string
                                  example: 'Mathilde Leannon V'
                                display_name:
                                  type: string
                                  example: 'Harmony Heller'
                                guard_name:
                                  type: string
                                  example: sanctum
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2025-12-09T14:41:07.000000Z'
                          updated_at:
                            type: string
                            example: '2025-12-09T14:41:07.000000Z'
                      percent_of_withdrawal:
                        type: integer
                        example: 0
                      percent_of_discount:
                        type: integer
                        example: 0
                      send_sms_order_post_payment_link:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
      tags:
        - User
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  description: 'First name'
                  example: John
                  nullable: false
                last_name:
                  type: string
                  description: 'Last name'
                  example: Doe
                  nullable: false
                middle_name:
                  type: string
                  description: 'Middle name'
                  example: Middle
                  nullable: false
                phone:
                  type: string
                  description: Phone
                  example: '+380123456789'
                  nullable: false
                work_phone:
                  type: string
                  description: Phone
                  example: '+380123456789'
                  nullable: false
                email:
                  type: string
                  description: Email
                  example: john.doe@example
                  nullable: false
                role:
                  type: string
                  description: Role
                  example: admin
                  nullable: false
                password:
                  type: string
                  description: Password
                  example: password
                  nullable: false
                send_email:
                  type: string
                  description: 'Send email'
                  example: true
                  nullable: false
                status:
                  type: string
                  description: Status
                  example: active
                  nullable: false
                name:
                  type: string
                  description: 'Required if role is agent'
                  example: 'Agent name'
                  nullable: false
                percent_of_withdrawal:
                  type: string
                  description: 'Percent of withdrawal'
                  example: 10
                  nullable: false
                percent_of_discount:
                  type: string
                  description: 'Percent of discount'
                  example: 10
                  nullable: false
              required:
                - first_name
                - last_name
                - middle_name
                - phone
                - work_phone
                - email
                - role
                - password
                - send_email
                - status
                - name
                - percent_of_withdrawal
                - percent_of_discount
  '/api/users/{user_id}':
    get:
      summary: 'Get user by id'
      operationId: getUserById
      description: 'Get user by id'
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 5746
                    first_name: Darlene
                    last_name: Runte
                    middle_name: Karelle
                    full_name: 'Darlene Runte Karelle'
                    work_phone: null
                    gender: null
                    birthday: null
                    name: 'Lizeth Huel MD'
                    phone: 434-552-4276
                    email: ksauer@example.com
                    subscribe_to_newsletter: false
                    roles:
                      -
                        id: 316
                        name: 'Mr. Logan Trantow'
                        display_name: 'Sage Russel DVM'
                        guard_name: sanctum
                    status: new
                    need_change_password: true
                    created_by:
                      id: 5745
                      first_name: Albert
                      last_name: Mertz
                      middle_name: Oswald
                      full_name: 'Albert Mertz Oswald'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Santiago Hermiston'
                      phone: 1-234-617-7440
                      email: orie44@example.com
                      subscribe_to_newsletter: false
                      roles:
                        -
                          id: 315
                          name: 'Ms. Christy Christiansen II'
                          display_name: 'Ewald Kris'
                          guard_name: sanctum
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                    percent_of_withdrawal: 0
                    percent_of_discount: 0
                    send_sms_order_post_payment_link: true
                    created_at: '2025-12-09T14:41:07.000000Z'
                    updated_at: '2025-12-09T14:41:07.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 5746
                      first_name:
                        type: string
                        example: Darlene
                      last_name:
                        type: string
                        example: Runte
                      middle_name:
                        type: string
                        example: Karelle
                      full_name:
                        type: string
                        example: 'Darlene Runte Karelle'
                      work_phone:
                        type: string
                        example: null
                      gender:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      name:
                        type: string
                        example: 'Lizeth Huel MD'
                      phone:
                        type: string
                        example: 434-552-4276
                      email:
                        type: string
                        example: ksauer@example.com
                      subscribe_to_newsletter:
                        type: boolean
                        example: false
                      roles:
                        type: array
                        example:
                          -
                            id: 316
                            name: 'Mr. Logan Trantow'
                            display_name: 'Sage Russel DVM'
                            guard_name: sanctum
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 316
                            name:
                              type: string
                              example: 'Mr. Logan Trantow'
                            display_name:
                              type: string
                              example: 'Sage Russel DVM'
                            guard_name:
                              type: string
                              example: sanctum
                      status:
                        type: string
                        example: new
                      need_change_password:
                        type: boolean
                        example: true
                      created_by:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 5745
                          first_name:
                            type: string
                            example: Albert
                          last_name:
                            type: string
                            example: Mertz
                          middle_name:
                            type: string
                            example: Oswald
                          full_name:
                            type: string
                            example: 'Albert Mertz Oswald'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Santiago Hermiston'
                          phone:
                            type: string
                            example: 1-234-617-7440
                          email:
                            type: string
                            example: orie44@example.com
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          roles:
                            type: array
                            example:
                              -
                                id: 315
                                name: 'Ms. Christy Christiansen II'
                                display_name: 'Ewald Kris'
                                guard_name: sanctum
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 315
                                name:
                                  type: string
                                  example: 'Ms. Christy Christiansen II'
                                display_name:
                                  type: string
                                  example: 'Ewald Kris'
                                guard_name:
                                  type: string
                                  example: sanctum
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2025-12-09T14:41:07.000000Z'
                          updated_at:
                            type: string
                            example: '2025-12-09T14:41:07.000000Z'
                      percent_of_withdrawal:
                        type: integer
                        example: 0
                      percent_of_discount:
                        type: integer
                        example: 0
                      send_sms_order_post_payment_link:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
      tags:
        - User
    patch:
      summary: 'Update user'
      operationId: updateUser
      description: 'Update user'
      parameters:
        -
          in: query
          name: send_sms_order_post_payment_link
          description: 'Send SMS with order post payment link'
          example: true
          required: true
          schema:
            type: boolean
            description: 'Send SMS with order post payment link'
            example: true
            nullable: false
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 5750
                    first_name: Grover
                    last_name: Kuhlman
                    middle_name: Olen
                    full_name: 'Grover Kuhlman Olen'
                    work_phone: null
                    gender: null
                    birthday: null
                    name: 'Mr. Brendon Klocko Jr.'
                    phone: 318-412-5492
                    email: elissa.bosco@example.org
                    subscribe_to_newsletter: false
                    roles:
                      -
                        id: 320
                        name: 'Dr. Adonis King DVM'
                        display_name: 'Dr. Donald Gibson'
                        guard_name: sanctum
                    status: new
                    need_change_password: true
                    created_by:
                      id: 5749
                      first_name: Laurie
                      last_name: Carroll
                      middle_name: Gaetano
                      full_name: 'Laurie Carroll Gaetano'
                      work_phone: null
                      gender: null
                      birthday: null
                      name: 'Eliane Mitchell I'
                      phone: 229.644.6503
                      email: sienna.hoeger@example.net
                      subscribe_to_newsletter: false
                      roles:
                        -
                          id: 319
                          name: 'Margarett VonRueden'
                          display_name: 'Tyrel Wyman'
                          guard_name: sanctum
                      status: new
                      need_change_password: true
                      percent_of_withdrawal: 0
                      percent_of_discount: 0
                      send_sms_order_post_payment_link: true
                      created_at: '2025-12-09T14:41:07.000000Z'
                      updated_at: '2025-12-09T14:41:07.000000Z'
                    percent_of_withdrawal: 0
                    percent_of_discount: 0
                    send_sms_order_post_payment_link: true
                    created_at: '2025-12-09T14:41:07.000000Z'
                    updated_at: '2025-12-09T14:41:07.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 5750
                      first_name:
                        type: string
                        example: Grover
                      last_name:
                        type: string
                        example: Kuhlman
                      middle_name:
                        type: string
                        example: Olen
                      full_name:
                        type: string
                        example: 'Grover Kuhlman Olen'
                      work_phone:
                        type: string
                        example: null
                      gender:
                        type: string
                        example: null
                      birthday:
                        type: string
                        example: null
                      name:
                        type: string
                        example: 'Mr. Brendon Klocko Jr.'
                      phone:
                        type: string
                        example: 318-412-5492
                      email:
                        type: string
                        example: elissa.bosco@example.org
                      subscribe_to_newsletter:
                        type: boolean
                        example: false
                      roles:
                        type: array
                        example:
                          -
                            id: 320
                            name: 'Dr. Adonis King DVM'
                            display_name: 'Dr. Donald Gibson'
                            guard_name: sanctum
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 320
                            name:
                              type: string
                              example: 'Dr. Adonis King DVM'
                            display_name:
                              type: string
                              example: 'Dr. Donald Gibson'
                            guard_name:
                              type: string
                              example: sanctum
                      status:
                        type: string
                        example: new
                      need_change_password:
                        type: boolean
                        example: true
                      created_by:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 5749
                          first_name:
                            type: string
                            example: Laurie
                          last_name:
                            type: string
                            example: Carroll
                          middle_name:
                            type: string
                            example: Gaetano
                          full_name:
                            type: string
                            example: 'Laurie Carroll Gaetano'
                          work_phone:
                            type: string
                            example: null
                          gender:
                            type: string
                            example: null
                          birthday:
                            type: string
                            example: null
                          name:
                            type: string
                            example: 'Eliane Mitchell I'
                          phone:
                            type: string
                            example: 229.644.6503
                          email:
                            type: string
                            example: sienna.hoeger@example.net
                          subscribe_to_newsletter:
                            type: boolean
                            example: false
                          roles:
                            type: array
                            example:
                              -
                                id: 319
                                name: 'Margarett VonRueden'
                                display_name: 'Tyrel Wyman'
                                guard_name: sanctum
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 319
                                name:
                                  type: string
                                  example: 'Margarett VonRueden'
                                display_name:
                                  type: string
                                  example: 'Tyrel Wyman'
                                guard_name:
                                  type: string
                                  example: sanctum
                          status:
                            type: string
                            example: new
                          need_change_password:
                            type: boolean
                            example: true
                          percent_of_withdrawal:
                            type: integer
                            example: 0
                          percent_of_discount:
                            type: integer
                            example: 0
                          send_sms_order_post_payment_link:
                            type: boolean
                            example: true
                          created_at:
                            type: string
                            example: '2025-12-09T14:41:07.000000Z'
                          updated_at:
                            type: string
                            example: '2025-12-09T14:41:07.000000Z'
                      percent_of_withdrawal:
                        type: integer
                        example: 0
                      percent_of_discount:
                        type: integer
                        example: 0
                      send_sms_order_post_payment_link:
                        type: boolean
                        example: true
                      created_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
                      updated_at:
                        type: string
                        example: '2025-12-09T14:41:07.000000Z'
      tags:
        - User
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  description: 'First name'
                  example: John
                  nullable: false
                last_name:
                  type: string
                  description: 'Last name'
                  example: Doe
                  nullable: false
                middle_name:
                  type: string
                  description: 'Middle name'
                  example: Middle
                  nullable: false
                phone:
                  type: string
                  description: Phone
                  example: '+380123456789'
                  nullable: false
                work_phone:
                  type: string
                  description: Phone
                  example: '+380123456789'
                  nullable: false
                email:
                  type: string
                  description: Email
                  example: john.doe@example
                  nullable: false
                role:
                  type: string
                  description: Role
                  example: admin
                  nullable: false
                password:
                  type: string
                  description: Password
                  example: password
                  nullable: false
                send_email:
                  type: string
                  description: 'Send email'
                  example: true
                  nullable: false
                status:
                  type: string
                  description: Status
                  example: active
                  nullable: false
                name:
                  type: string
                  description: 'If role is agent'
                  example: 'Agent name'
                  nullable: false
                percent_of_withdrawal:
                  type: string
                  description: 'Percent of withdrawal'
                  example: 10
                  nullable: false
                percent_of_discount:
                  type: string
                  description: 'Percent of discount'
                  example: 10
                  nullable: false
              required:
                - first_name
                - last_name
                - middle_name
                - phone
                - work_phone
                - email
                - role
                - password
                - send_email
                - status
                - name
                - percent_of_withdrawal
                - percent_of_discount
    delete:
      summary: 'Delete user'
      operationId: deleteUser
      description: 'Delete user'
      parameters: []
      responses:
        200:
          description: 'No content'
          content:
            application/json:
              schema:
                type: integer
                example: 204
      tags:
        - User
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 1
        required: true
        schema:
          type: integer
tags:
  -
    name: Auth
    description: Authentication
  -
    name: 'Baggage Shipment'
    description: ''
  -
    name: Bus
    description: 'Bus routes'
  -
    name: 'Bus flight'
    description: 'Bus flights'
  -
    name: 'Bus route'
    description: 'Bus routes'
  -
    name: Driver
    description: ''
  -
    name: Endpoints
    description: ''
  -
    name: 'External tickets'
    description: 'External source tickets'
  -
    name: Faq
    description: 'Faq management'
  -
    name: Geo
    description: 'Geo data'
  -
    name: Notifications
    description: 'Notifications management'
  -
    name: Orders
    description: ''
  -
    name: Passengers
    description: Passengers
  -
    name: Profile
    description: Profile
  -
    name: Reports
    description: reports
  -
    name: 'Return Request'
    description: ''
  -
    name: 'Roles and permissions'
    description: ''
  -
    name: 'System settings'
    description: 'System Setting'
  -
    name: Tickets
    description: Tickets
  -
    name: User
    description: 'User management'
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: 'You can retrieve your token by visiting your dashboard and clicking <b>Generate API token</b>.'
security:
  -
    default: []
