openapi: 3.0.3
info:
  title: PrivetAPI
  description: ''
  version: 1.0.0
servers:
  -
    url: 'https://api.privet.gg'
paths:
  /api/v1/auth/signup:
    post:
      summary: Signup
      operationId: signup
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 894
                    email: 19736701obruen@example.net
                    phone: '(959) 585-8464'
                    name: 'Muhammad Sporer'
                    nickname: 'Brandt Herman'
                    description: null
                    role: 2
                    price: 10420718.8865
                    invite: JQSs1P0e
                    media:
                      -
                        id: 257
                        user_id: 895
                        preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                        path_url: 'https://api.privet.gg/storage/media/image.png'
                        type: 2
                    categories:
                      -
                        category: 2
                    firebase_token: bwWX4X7xHbxGgupqxoBHd88mfHMHJt31LsIynil2j4JtDADbJsaNT8otAIeFosQ6aathgNAvQ21jNWudSFUF4JsGUjiaGSEQooFGDLiQ2o70pYwBDl3ckVBEk5lgxzHB0CyKrWrQLypKnH9LmtHKSotO7QzmxPGZ
                    updated_at: '2024-04-30T10:28:23.000000Z'
                    created_at: '2024-04-30T10:28:23.000000Z'
                  token: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 894
                      email:
                        type: string
                        example: 19736701obruen@example.net
                      phone:
                        type: string
                        example: '(959) 585-8464'
                      name:
                        type: string
                        example: 'Muhammad Sporer'
                      nickname:
                        type: string
                        example: 'Brandt Herman'
                      description:
                        type: string
                        example: null
                      role:
                        type: integer
                        example: 2
                      price:
                        type: number
                        example: 10420718.8865
                      invite:
                        type: string
                        example: JQSs1P0e
                      media:
                        type: array
                        example:
                          -
                            id: 257
                            user_id: 895
                            preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 2
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 257
                            user_id:
                              type: integer
                              example: 895
                            preview_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            type:
                              type: integer
                              example: 2
                      categories:
                        type: array
                        example:
                          -
                            category: 2
                        items:
                          type: object
                          properties:
                            category:
                              type: integer
                              example: 2
                      firebase_token:
                        type: string
                        example: bwWX4X7xHbxGgupqxoBHd88mfHMHJt31LsIynil2j4JtDADbJsaNT8otAIeFosQ6aathgNAvQ21jNWudSFUF4JsGUjiaGSEQooFGDLiQ2o70pYwBDl3ckVBEk5lgxzHB0CyKrWrQLypKnH9LmtHKSotO7QzmxPGZ
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:23.000000Z'
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:23.000000Z'
                  token:
                    type: string
                    example: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The email field is required. (and 9 more errors)'
                  errors:
                    email:
                      - 'The email field is required.'
                    password:
                      - 'The password field is required.'
                    password_confirmation:
                      - 'The password confirmation field is required.'
                    phone:
                      - 'The phone field is required.'
                    name:
                      - 'The name field is required.'
                    nickname:
                      - 'The nickname field is required.'
                    role:
                      - 'The role field is required.'
                    price:
                      - 'The price field is required.'
                    category_ids:
                      - 'The category ids field is required.'
                    media:
                      - 'The media field is required.'
                properties:
                  message:
                    type: string
                    example: 'The email field is required. (and 9 more errors)'
                  errors:
                    type: object
                    properties:
                      email:
                        type: array
                        example:
                          - 'The email field is required.'
                        items:
                          type: string
                      password:
                        type: array
                        example:
                          - 'The password field is required.'
                        items:
                          type: string
                      password_confirmation:
                        type: array
                        example:
                          - 'The password confirmation field is required.'
                        items:
                          type: string
                      phone:
                        type: array
                        example:
                          - 'The phone field is required.'
                        items:
                          type: string
                      name:
                        type: array
                        example:
                          - 'The name field is required.'
                        items:
                          type: string
                      nickname:
                        type: array
                        example:
                          - 'The nickname field is required.'
                        items:
                          type: string
                      role:
                        type: array
                        example:
                          - 'The role field is required.'
                        items:
                          type: string
                      price:
                        type: array
                        example:
                          - 'The price field is required.'
                        items:
                          type: string
                      category_ids:
                        type: array
                        example:
                          - 'The category ids field is required.'
                        items:
                          type: string
                      media:
                        type: array
                        example:
                          - 'The media field is required.'
                        items:
                          type: string
      tags:
        - 'Auth management'
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'Email. Must be a valid email address.'
                  example: email@email.com
                password:
                  type: string
                  description: 'Password. Must be at least 6 characters.'
                  example: password
                phone:
                  type: string
                  description: 'Phone. Must not be greater than 255 characters.'
                  example: '+79000000000'
                name:
                  type: string
                  description: 'Name. Must not be greater than 255 characters.'
                  example: 'Ivan Ivanov'
                nickname:
                  type: string
                  description: 'Nickname. Must not be greater than 255 characters.'
                  example: Ivan99
                description:
                  type: string
                  description: Description.
                  example: 'Cool user'
                role:
                  type: integer
                  description: 'Role of user. Client is 1. Performer is 2. .'
                  example: 2
                  enum:
                    - '1'
                    - '2'
                price:
                  type: number
                  description: 'Price. Must be at least 0. Must not be greater than 999999999.'
                  example: 2.99
                category_ids:
                  type: array
                  description: 'Category Streamer is 1. Comedian is 2. .'
                  example:
                    - 2
                  items:
                    type: integer
                media:
                  type: string
                  format: binary
                  description: 'Media. Must be a file. Must not be greater than 599999 kilobytes.'
                device_id:
                  type: string
                  description: 'User device id.'
                  example: commodi
                firebase_token:
                  type: string
                  description: 'Firebase token.'
                  example: id
              required:
                - email
                - password
                - nickname
                - role
                - media
      security: []
  /api/v1/auth/login:
    post:
      summary: Login
      operationId: login
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 896
                    email: 42221792lurline.wilkinson@example.org
                    phone: 773.883.6194
                    name: 'Betty Koss'
                    nickname: 'Allen Roob'
                    description: null
                    role: 2
                    price: 579179.5239788
                    invite: N7LOjC0F
                    media:
                      -
                        id: 258
                        user_id: 897
                        preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                        path_url: 'https://api.privet.gg/storage/media/image.png'
                        type: 2
                    categories:
                      -
                        category: 2
                    firebase_token: igTnDMRUeqtZupf1FyG2LUC04NMfDJKBSnyjeqDJZhowU0aXylvCjvkLVXXgJqvKCbF9GP6M13QJu2TvY3lBkQ1gICUdE1ajnRaomMPuh7rapj6sICMu2pjSsJoyV2uK8cN0xYl7xzWGtMkFbNNfQ7oXLwgHO54m
                    updated_at: '2024-04-30T10:28:24.000000Z'
                    created_at: '2024-04-30T10:28:24.000000Z'
                  token: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 896
                      email:
                        type: string
                        example: 42221792lurline.wilkinson@example.org
                      phone:
                        type: string
                        example: 773.883.6194
                      name:
                        type: string
                        example: 'Betty Koss'
                      nickname:
                        type: string
                        example: 'Allen Roob'
                      description:
                        type: string
                        example: null
                      role:
                        type: integer
                        example: 2
                      price:
                        type: number
                        example: 579179.5239788
                      invite:
                        type: string
                        example: N7LOjC0F
                      media:
                        type: array
                        example:
                          -
                            id: 258
                            user_id: 897
                            preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 2
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 258
                            user_id:
                              type: integer
                              example: 897
                            preview_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            type:
                              type: integer
                              example: 2
                      categories:
                        type: array
                        example:
                          -
                            category: 2
                        items:
                          type: object
                          properties:
                            category:
                              type: integer
                              example: 2
                      firebase_token:
                        type: string
                        example: igTnDMRUeqtZupf1FyG2LUC04NMfDJKBSnyjeqDJZhowU0aXylvCjvkLVXXgJqvKCbF9GP6M13QJu2TvY3lBkQ1gICUdE1ajnRaomMPuh7rapj6sICMu2pjSsJoyV2uK8cN0xYl7xzWGtMkFbNNfQ7oXLwgHO54m
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:24.000000Z'
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:24.000000Z'
                  token:
                    type: string
                    example: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The email field is required. (and 1 more error)'
                  errors:
                    email:
                      - 'The email field is required.'
                    password:
                      - 'The password field is required.'
                properties:
                  message:
                    type: string
                    example: 'The email field is required. (and 1 more error)'
                  errors:
                    type: object
                    properties:
                      email:
                        type: array
                        example:
                          - 'The email field is required.'
                        items:
                          type: string
                      password:
                        type: array
                        example:
                          - 'The password field is required.'
                        items:
                          type: string
      tags:
        - 'Auth management'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'Email. Must be a valid email address.'
                  example: email@email.com
                password:
                  type: string
                  description: Password.
                  example: password
                device_id:
                  type: string
                  description: 'User device id.'
                  example: ABCDEF12-34567890ABCDEF12
                firebase_token:
                  type: string
                  description: 'Firebase token.'
                  example: xxxyyy...
              required:
                - email
                - password
      security: []
  /api/v1/auth/social/signup:
    post:
      summary: 'Social Signup'
      operationId: socialSignup
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 898
                    email: 64580623marina.denesik@example.com
                    phone: 458-982-5557
                    name: 'Vesta Medhurst'
                    nickname: 'Mrs. Loyce Romaguera'
                    description: null
                    role: 1
                    price: 341513749.1
                    invite: PSgPKMCr
                    media:
                      -
                        id: 259
                        user_id: 899
                        preview_url: 'https://api.privet.gg/storage/media/image.png'
                        path_url: 'https://api.privet.gg/storage/media/image.png'
                        type: 1
                    categories:
                      -
                        category: 1
                    firebase_token: gYofKyQLfdBpgC3bqvp0m7aMCuRi9Uh90nwMdXXhOXPhPGhLwrdNpul5zusoYf0fbe3BAK20pZZiKf8sQ7Q4FUK1O0gB5XmIwLaU97bJTjSBqQMq1cQqVfR0RqIVBZlCf0KaUHadlLi9MaG2VFhZ2ll5OioJo264
                    updated_at: '2024-04-30T10:28:24.000000Z'
                    created_at: '2024-04-30T10:28:24.000000Z'
                  token: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 898
                      email:
                        type: string
                        example: 64580623marina.denesik@example.com
                      phone:
                        type: string
                        example: 458-982-5557
                      name:
                        type: string
                        example: 'Vesta Medhurst'
                      nickname:
                        type: string
                        example: 'Mrs. Loyce Romaguera'
                      description:
                        type: string
                        example: null
                      role:
                        type: integer
                        example: 1
                      price:
                        type: number
                        example: 341513749.1
                      invite:
                        type: string
                        example: PSgPKMCr
                      media:
                        type: array
                        example:
                          -
                            id: 259
                            user_id: 899
                            preview_url: 'https://api.privet.gg/storage/media/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 1
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 259
                            user_id:
                              type: integer
                              example: 899
                            preview_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            path_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            type:
                              type: integer
                              example: 1
                      categories:
                        type: array
                        example:
                          -
                            category: 1
                        items:
                          type: object
                          properties:
                            category:
                              type: integer
                              example: 1
                      firebase_token:
                        type: string
                        example: gYofKyQLfdBpgC3bqvp0m7aMCuRi9Uh90nwMdXXhOXPhPGhLwrdNpul5zusoYf0fbe3BAK20pZZiKf8sQ7Q4FUK1O0gB5XmIwLaU97bJTjSBqQMq1cQqVfR0RqIVBZlCf0KaUHadlLi9MaG2VFhZ2ll5OioJo264
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:24.000000Z'
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:24.000000Z'
                  token:
                    type: string
                    example: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
        400:
          description: 'User already exists'
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: 'User already exists'
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: 'User already exists'
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The token field is required. (and 5 more errors)'
                  errors:
                    token:
                      - 'The token field is required.'
                    social_type:
                      - 'The social type field is required.'
                    role:
                      - 'The role field is required.'
                    price:
                      - 'The price field is required.'
                    phone:
                      - 'The phone field is required.'
                    email:
                      - 'The email field is required.'
                properties:
                  message:
                    type: string
                    example: 'The token field is required. (and 5 more errors)'
                  errors:
                    type: object
                    properties:
                      token:
                        type: array
                        example:
                          - 'The token field is required.'
                        items:
                          type: string
                      social_type:
                        type: array
                        example:
                          - 'The social type field is required.'
                        items:
                          type: string
                      role:
                        type: array
                        example:
                          - 'The role field is required.'
                        items:
                          type: string
                      price:
                        type: array
                        example:
                          - 'The price field is required.'
                        items:
                          type: string
                      phone:
                        type: array
                        example:
                          - 'The phone field is required.'
                        items:
                          type: string
                      email:
                        type: array
                        example:
                          - 'The email field is required.'
                        items:
                          type: string
      tags:
        - 'Auth management'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: 'Token of social network.'
                  example: vk1.a.Y3Yd1FxZELA-Yd2cwJRPSma8MM4v6d4fDbm4ZfbRkRXt44mKO4kxhX7iLluKATBmrwC30gjTdZ8ctfI9UYOTn6VKGBeHl-MWlINbhAxCGZth94OrIHbswFryJSDrE4_g_KsmnCaHiyPHlPOldlxzG4EV77dDp6Et7lxAnWn24_A_2Ose9vt8n7c4Iney-NPzrbpEYBvsb1soEIJuYGuEnw
                social_type:
                  type: string
                  description: 'Type of social network Google is 1. Vk is 2. .'
                  example: 2
                  enum:
                    - '1'
                    - '2'
                role:
                  type: integer
                  description: 'Role of user. Client is 1. Performer is 2. .'
                  example: 2
                  enum:
                    - '1'
                    - '2'
                price:
                  type: number
                  description: 'Price. Must be at least 0. Must not be greater than 999999999.'
                  example: 2.99
                phone:
                  type: string
                  description: 'Phone. Must not be greater than 255 characters.'
                  example: '+79000000000'
                email:
                  type: string
                  description: 'Email. Must be a valid email address.'
                  example: socialemail@email.com
              required:
                - token
                - social_type
                - role
                - price
                - phone
                - email
      security: []
  /api/v1/auth/social/sign-in:
    post:
      summary: 'Social SignIn'
      operationId: socialSignIn
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 900
                    email: 22346913doris.carroll@example.net
                    phone: 949-372-1368
                    name: 'Herta Hermiston'
                    nickname: 'Trudie Reichel III'
                    description: null
                    role: 1
                    price: 500.47731617
                    invite: cPjob7KK
                    media:
                      -
                        id: 260
                        user_id: 901
                        preview_url: 'https://api.privet.gg/storage/media/image.png'
                        path_url: 'https://api.privet.gg/storage/media/image.png'
                        type: 1
                    categories:
                      -
                        category: 1
                    firebase_token: 48Ln9FInkqoFmYriiItxr3dzdMfUKQY2wj7Ijw3l0TyABXEDZFgEt3JpeitpqOxaazSEz2X4TtNDqPX1BQPbSshk18zOWzToeZCO5MWXNUUEkEjdoSyXv6B4ZQZLfr01UYKDI3ZVYi8rCGj8Dgx6cligZH8Py1Fe
                    updated_at: '2024-04-30T10:28:24.000000Z'
                    created_at: '2024-04-30T10:28:24.000000Z'
                  token: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 900
                      email:
                        type: string
                        example: 22346913doris.carroll@example.net
                      phone:
                        type: string
                        example: 949-372-1368
                      name:
                        type: string
                        example: 'Herta Hermiston'
                      nickname:
                        type: string
                        example: 'Trudie Reichel III'
                      description:
                        type: string
                        example: null
                      role:
                        type: integer
                        example: 1
                      price:
                        type: number
                        example: 500.47731617
                      invite:
                        type: string
                        example: cPjob7KK
                      media:
                        type: array
                        example:
                          -
                            id: 260
                            user_id: 901
                            preview_url: 'https://api.privet.gg/storage/media/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 1
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 260
                            user_id:
                              type: integer
                              example: 901
                            preview_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            path_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            type:
                              type: integer
                              example: 1
                      categories:
                        type: array
                        example:
                          -
                            category: 1
                        items:
                          type: object
                          properties:
                            category:
                              type: integer
                              example: 1
                      firebase_token:
                        type: string
                        example: 48Ln9FInkqoFmYriiItxr3dzdMfUKQY2wj7Ijw3l0TyABXEDZFgEt3JpeitpqOxaazSEz2X4TtNDqPX1BQPbSshk18zOWzToeZCO5MWXNUUEkEjdoSyXv6B4ZQZLfr01UYKDI3ZVYi8rCGj8Dgx6cligZH8Py1Fe
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:24.000000Z'
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:24.000000Z'
                  token:
                    type: string
                    example: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
        400:
          description: 'User not exists'
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: 'User not exists'
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: 'User not exists'
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The token field is required. (and 1 more error)'
                  errors:
                    token:
                      - 'The token field is required.'
                    social_type:
                      - 'The social type field is required.'
                properties:
                  message:
                    type: string
                    example: 'The token field is required. (and 1 more error)'
                  errors:
                    type: object
                    properties:
                      token:
                        type: array
                        example:
                          - 'The token field is required.'
                        items:
                          type: string
                      social_type:
                        type: array
                        example:
                          - 'The social type field is required.'
                        items:
                          type: string
      tags:
        - 'Auth management'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: 'Token of social network.'
                  example: vk1.a.Y3Yd1FxZELA-Yd2cwJRPSma8MM4v6d4fDbm4ZfbRkRXt44mKO4kxhX7iLluKATBmrwC30gjTdZ8ctfI9UYOTn6VKGBeHl-MWlINbhAxCGZth94OrIHbswFryJSDrE4_g_KsmnCaHiyPHlPOldlxzG4EV77dDp6Et7lxAnWn24_A_2Ose9vt8n7c4Iney-NPzrbpEYBvsb1soEIJuYGuEnw
                social_type:
                  type: string
                  description: 'Type of social network Google is 1. Vk is 2. .'
                  example: 1
                  enum:
                    - '1'
                    - '2'
              required:
                - token
                - social_type
      security: []
  /api/v1/auth/social/connect:
    post:
      summary: 'Social Connect'
      operationId: socialConnect
      description: ''
      parameters: []
      responses:
        201:
          description: Updated
          content:
            application/json:
              schema:
                type: object
                example: {  }
                properties: {  }
        400:
          description: 'User already exists'
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: 'User already exists'
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: 'User already exists'
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The token field is required. (and 1 more error)'
                  errors:
                    token:
                      - 'The token field is required.'
                    social_type:
                      - 'The social type field is required.'
                properties:
                  message:
                    type: string
                    example: 'The token field is required. (and 1 more error)'
                  errors:
                    type: object
                    properties:
                      token:
                        type: array
                        example:
                          - 'The token field is required.'
                        items:
                          type: string
                      social_type:
                        type: array
                        example:
                          - 'The social type field is required.'
                        items:
                          type: string
      tags:
        - 'Auth management'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: 'Token of social network.'
                  example: vk1.a.Y3Yd1FxZELA-Yd2cwJRPSma8MM4v6d4fDbm4ZfbRkRXt44mKO4kxhX7iLluKATBmrwC30gjTdZ8ctfI9UYOTn6VKGBeHl-MWlINbhAxCGZth94OrIHbswFryJSDrE4_g_KsmnCaHiyPHlPOldlxzG4EV77dDp6Et7lxAnWn24_A_2Ose9vt8n7c4Iney-NPzrbpEYBvsb1soEIJuYGuEnw
                social_type:
                  type: string
                  description: 'Type of social network Google is 1. Vk is 2. .'
                  example: 2
                  enum:
                    - '1'
                    - '2'
              required:
                - token
                - social_type
  /api/v1/auth/social/disconnect:
    post:
      summary: 'Social Disconnect'
      operationId: socialDisconnect
      description: ''
      parameters: []
      responses:
        201:
          description: Updated
          content:
            application/json:
              schema:
                type: object
                example: {  }
                properties: {  }
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The social type field is required.'
                  errors:
                    social_type:
                      - 'The social type field is required.'
                properties:
                  message:
                    type: string
                    example: 'The social type field is required.'
                  errors:
                    type: object
                    properties:
                      social_type:
                        type: array
                        example:
                          - 'The social type field is required.'
                        items:
                          type: string
      tags:
        - 'Auth management'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                social_type:
                  type: string
                  description: 'Type of social network Google is 1. Vk is 2. .'
                  example: 2
                  enum:
                    - '1'
                    - '2'
              required:
                - social_type
  /api/v1/push:
    get:
      summary: ''
      operationId: getApiV1Push
      description: ''
      parameters: []
      responses:
        500:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: "Invalid service account: The file at '/home/admin/web/api.privet.gg/public_html/app/Http/Controllers/../../../storage/app/firebase_credentials.json' is not readable"
                  exception: Kreait\Firebase\Exception\InvalidArgumentException
                  file: /home/admin/web/api.privet.gg/public_html/vendor/kreait/firebase-php/src/Firebase/Factory.php
                  line: 163
                  trace:
                    -
                      file: /home/admin/web/api.privet.gg/public_html/app/Http/Controllers/PushNotificationController.php
                      line: 17
                      function: withServiceAccount
                      class: Kreait\Firebase\Factory
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
                      line: 54
                      function: sendPushNotification
                      class: App\Http\Controllers\PushNotificationController
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
                      line: 43
                      function: callAction
                      class: Illuminate\Routing\Controller
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
                      line: 259
                      function: dispatch
                      class: Illuminate\Routing\ControllerDispatcher
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
                      line: 205
                      function: runController
                      class: Illuminate\Routing\Route
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 799
                      function: run
                      class: Illuminate\Routing\Route
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 141
                      function: 'Illuminate\Routing\{closure}'
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
                      line: 50
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Routing\Middleware\SubstituteBindings
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                      line: 159
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                      line: 125
                      function: handleRequest
                      class: Illuminate\Routing\Middleware\ThrottleRequests
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                      line: 87
                      function: handleRequestUsingNamedLimiter
                      class: Illuminate\Routing\Middleware\ThrottleRequests
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Routing\Middleware\ThrottleRequests
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/app/Http/Middleware/ForceJsonResponse.php
                      line: 19
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: App\Http\Middleware\ForceJsonResponse
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 116
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 798
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 777
                      function: runRouteWithinStack
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 741
                      function: runRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 730
                      function: dispatchToRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 200
                      function: dispatch
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 141
                      function: 'Illuminate\Foundation\Http\{closure}'
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                      line: 31
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                      line: 40
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TrimStrings
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                      line: 27
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                      line: 99
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                      line: 62
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\HandleCors
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                      line: 39
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 180
                      function: handle
                      class: Illuminate\Http\Middleware\TrustProxies
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 116
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 175
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 144
                      function: sendRequestThroughRouter
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 299
                      function: handle
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 287
                      function: callLaravelOrLumenRoute
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 92
                      function: makeApiCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 45
                      function: makeResponseCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 35
                      function: makeResponseCallIfConditionsPass
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 209
                      function: __invoke
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 163
                      function: iterateThroughStrategies
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 95
                      function: fetchResponses
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 124
                      function: processRoute
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 71
                      function: extractEndpointsInfoFromLaravelApp
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 49
                      function: extractEndpointsInfoAndWriteToDisk
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                      line: 51
                      function: get
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 36
                      function: handle
                      class: Knuckles\Scribe\Commands\GenerateDocumentation
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/Util.php
                      line: 41
                      function: 'Illuminate\Container\{closure}'
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 93
                      function: unwrapIfClosure
                      class: Illuminate\Container\Util
                      type: '::'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 35
                      function: callBoundMethod
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php
                      line: 662
                      function: call
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 211
                      function: call
                      class: Illuminate\Container\Container
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/symfony/console/Command/Command.php
                      line: 326
                      function: execute
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 180
                      function: run
                      class: Symfony\Component\Console\Command\Command
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/symfony/console/Application.php
                      line: 1081
                      function: run
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/symfony/console/Application.php
                      line: 320
                      function: doRunCommand
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/symfony/console/Application.php
                      line: 174
                      function: doRun
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                      line: 201
                      function: run
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /home/admin/web/api.privet.gg/public_html/artisan
                      line: 35
                      function: handle
                      class: Illuminate\Foundation\Console\Kernel
                      type: '->'
                properties:
                  message:
                    type: string
                    example: "Invalid service account: The file at '/home/admin/web/api.privet.gg/public_html/app/Http/Controllers/../../../storage/app/firebase_credentials.json' is not readable"
                  exception:
                    type: string
                    example: Kreait\Firebase\Exception\InvalidArgumentException
                  file:
                    type: string
                    example: /home/admin/web/api.privet.gg/public_html/vendor/kreait/firebase-php/src/Firebase/Factory.php
                  line:
                    type: integer
                    example: 163
                  trace:
                    type: array
                    example:
                      -
                        file: /home/admin/web/api.privet.gg/public_html/app/Http/Controllers/PushNotificationController.php
                        line: 17
                        function: withServiceAccount
                        class: Kreait\Firebase\Factory
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
                        line: 54
                        function: sendPushNotification
                        class: App\Http\Controllers\PushNotificationController
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
                        line: 43
                        function: callAction
                        class: Illuminate\Routing\Controller
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
                        line: 259
                        function: dispatch
                        class: Illuminate\Routing\ControllerDispatcher
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
                        line: 205
                        function: runController
                        class: Illuminate\Routing\Route
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 799
                        function: run
                        class: Illuminate\Routing\Route
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 141
                        function: 'Illuminate\Routing\{closure}'
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
                        line: 50
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Routing\Middleware\SubstituteBindings
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                        line: 159
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                        line: 125
                        function: handleRequest
                        class: Illuminate\Routing\Middleware\ThrottleRequests
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
                        line: 87
                        function: handleRequestUsingNamedLimiter
                        class: Illuminate\Routing\Middleware\ThrottleRequests
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Routing\Middleware\ThrottleRequests
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/app/Http/Middleware/ForceJsonResponse.php
                        line: 19
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: App\Http\Middleware\ForceJsonResponse
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 116
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 798
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 777
                        function: runRouteWithinStack
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 741
                        function: runRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 730
                        function: dispatchToRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 200
                        function: dispatch
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 141
                        function: 'Illuminate\Foundation\Http\{closure}'
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                        line: 31
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                        line: 40
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TrimStrings
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                        line: 27
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                        line: 99
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
                        line: 62
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\HandleCors
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                        line: 39
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 180
                        function: handle
                        class: Illuminate\Http\Middleware\TrustProxies
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 116
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 175
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 144
                        function: sendRequestThroughRouter
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 299
                        function: handle
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 287
                        function: callLaravelOrLumenRoute
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 92
                        function: makeApiCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 45
                        function: makeResponseCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 35
                        function: makeResponseCallIfConditionsPass
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 209
                        function: __invoke
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 163
                        function: iterateThroughStrategies
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 95
                        function: fetchResponses
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 124
                        function: processRoute
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 71
                        function: extractEndpointsInfoFromLaravelApp
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 49
                        function: extractEndpointsInfoAndWriteToDisk
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                        line: 51
                        function: get
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 36
                        function: handle
                        class: Knuckles\Scribe\Commands\GenerateDocumentation
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/Util.php
                        line: 41
                        function: 'Illuminate\Container\{closure}'
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 93
                        function: unwrapIfClosure
                        class: Illuminate\Container\Util
                        type: '::'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 35
                        function: callBoundMethod
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php
                        line: 662
                        function: call
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 211
                        function: call
                        class: Illuminate\Container\Container
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/symfony/console/Command/Command.php
                        line: 326
                        function: execute
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 180
                        function: run
                        class: Symfony\Component\Console\Command\Command
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/symfony/console/Application.php
                        line: 1081
                        function: run
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/symfony/console/Application.php
                        line: 320
                        function: doRunCommand
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/symfony/console/Application.php
                        line: 174
                        function: doRun
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                        line: 201
                        function: run
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /home/admin/web/api.privet.gg/public_html/artisan
                        line: 35
                        function: handle
                        class: Illuminate\Foundation\Console\Kernel
                        type: '->'
                    items:
                      type: object
                      properties:
                        file:
                          type: string
                          example: /home/admin/web/api.privet.gg/public_html/app/Http/Controllers/PushNotificationController.php
                        line:
                          type: integer
                          example: 17
                        function:
                          type: string
                          example: withServiceAccount
                        class:
                          type: string
                          example: Kreait\Firebase\Factory
                        type:
                          type: string
                          example: '->'
      tags:
        - Endpoints
      security: []
  /api/v1/order/create:
    post:
      summary: 'Create order'
      operationId: createOrder
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 129
                    client_id: 912
                    performer_id: 913
                    occasion_id: 2
                    description: "King said, for about the crumbs,' said the King and the whole thing very absurd, but they all spoke at once, while all the things between whiles.' 'Then you keep moving round, I suppose?' 'Yes,'."
                    date_till: '0018-04-18 05:29:35'
                    status: 4
                    cancel_text: "King, 'that saves a world of trouble, you know, upon the other end of the Lobster Quadrille?' the Gryphon replied very politely, 'for I can't get out of a water-well,' said the March Hare. 'It was."
                    cancel_date: '0023-02-11 11:53:01'
                    rating_rate: 2
                    rating_text: "Alice, as she passed; it was YOUR table,' said Alice; 'all I know who I am! But I'd better take him his fan and a fan! Quick, now!' And Alice was not much surprised at her as hard as she spoke."
                    created_at: '2024-04-30T10:28:25.000000Z'
                    updated_at: '2024-04-30T10:28:25.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 129
                      client_id:
                        type: integer
                        example: 912
                      performer_id:
                        type: integer
                        example: 913
                      occasion_id:
                        type: integer
                        example: 2
                      description:
                        type: string
                        example: "King said, for about the crumbs,' said the King and the whole thing very absurd, but they all spoke at once, while all the things between whiles.' 'Then you keep moving round, I suppose?' 'Yes,'."
                      date_till:
                        type: string
                        example: '0018-04-18 05:29:35'
                      status:
                        type: integer
                        example: 4
                      cancel_text:
                        type: string
                        example: "King, 'that saves a world of trouble, you know, upon the other end of the Lobster Quadrille?' the Gryphon replied very politely, 'for I can't get out of a water-well,' said the March Hare. 'It was."
                      cancel_date:
                        type: string
                        example: '0023-02-11 11:53:01'
                      rating_rate:
                        type: integer
                        example: 2
                      rating_text:
                        type: string
                        example: "Alice, as she passed; it was YOUR table,' said Alice; 'all I know who I am! But I'd better take him his fan and a fan! Quick, now!' And Alice was not much surprised at her as hard as she spoke."
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The performer id field is required. (and 2 more errors)'
                  errors:
                    performer_id:
                      - 'The performer id field is required.'
                    description:
                      - 'The description field is required.'
                    date_till:
                      - 'The date till field is required.'
                properties:
                  message:
                    type: string
                    example: 'The performer id field is required. (and 2 more errors)'
                  errors:
                    type: object
                    properties:
                      performer_id:
                        type: array
                        example:
                          - 'The performer id field is required.'
                        items:
                          type: string
                      description:
                        type: array
                        example:
                          - 'The description field is required.'
                        items:
                          type: string
                      date_till:
                        type: array
                        example:
                          - 'The date till field is required.'
                        items:
                          type: string
      tags:
        - 'Order management'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                performer_id:
                  type: integer
                  description: 'Id of performer.'
                  example: 1
                occasion_id:
                  type: integer
                  description: 'Id of occasion Birthday is 1. Just is 2. Advice is 3. Congratulation is 4. .'
                  example: 4
                  enum:
                    - '1'
                    - '2'
                    - '3'
                    - '4'
                description:
                  type: string
                  description: Description.
                  example: 'Description of order'
                date_till:
                  type: string
                  description: 'Date till. Must be a valid date. Must be a valid date in the format <code>Y-m-d H:i:s</code>.'
                  example: '2023-10-02 12:36:51'
              required:
                - performer_id
                - description
                - date_till
  '/api/v1/order/update/{order_id}':
    post:
      summary: 'Update order'
      operationId: updateOrder
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 130
                    client_id: 914
                    performer_id: 915
                    occasion_id: 1
                    description: "By the use of repeating all that green stuff be?' said Alice. 'Why?' 'IT DOES THE BOOTS AND SHOES.' the Gryphon went on in a twinkling! Half-past one, time for dinner!' ('I only wish they COULD! I'm."
                    date_till: '0006-04-10 15:14:01'
                    status: 3
                    cancel_text: "I wonder what Latitude was, or Longitude I've got to the Mock Turtle sighed deeply, and drew the back of one flapper across his eyes. 'I wasn't asleep,' he said in an offended tone, 'was, that the."
                    cancel_date: '0015-06-09 22:28:52'
                    rating_rate: null
                    rating_text: "Alice: 'I don't know what to do, and in THAT direction,' waving the other side of the wood--(she considered him to be a very good height indeed!' said Alice, as she could. The next witness was the."
                    media:
                      -
                        id: 266
                        user_id: 916
                        preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                        path_url: 'https://api.privet.gg/storage/media/image.png'
                        type: 2
                    created_at: '2024-04-30T10:28:25.000000Z'
                    updated_at: '2024-04-30T10:28:25.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 130
                      client_id:
                        type: integer
                        example: 914
                      performer_id:
                        type: integer
                        example: 915
                      occasion_id:
                        type: integer
                        example: 1
                      description:
                        type: string
                        example: "By the use of repeating all that green stuff be?' said Alice. 'Why?' 'IT DOES THE BOOTS AND SHOES.' the Gryphon went on in a twinkling! Half-past one, time for dinner!' ('I only wish they COULD! I'm."
                      date_till:
                        type: string
                        example: '0006-04-10 15:14:01'
                      status:
                        type: integer
                        example: 3
                      cancel_text:
                        type: string
                        example: "I wonder what Latitude was, or Longitude I've got to the Mock Turtle sighed deeply, and drew the back of one flapper across his eyes. 'I wasn't asleep,' he said in an offended tone, 'was, that the."
                      cancel_date:
                        type: string
                        example: '0015-06-09 22:28:52'
                      rating_rate:
                        type: string
                        example: null
                      rating_text:
                        type: string
                        example: "Alice: 'I don't know what to do, and in THAT direction,' waving the other side of the wood--(she considered him to be a very good height indeed!' said Alice, as she could. The next witness was the."
                      media:
                        type: array
                        example:
                          -
                            id: 266
                            user_id: 916
                            preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 2
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 266
                            user_id:
                              type: integer
                              example: 916
                            preview_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            type:
                              type: integer
                              example: 2
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The selected status is invalid. (and 1 more error)'
                  errors:
                    status:
                      - 'The selected status is invalid.'
                    rating_rate:
                      - 'The rating rate field must not be greater than 5.'
                properties:
                  message:
                    type: string
                    example: 'The selected status is invalid. (and 1 more error)'
                  errors:
                    type: object
                    properties:
                      status:
                        type: array
                        example:
                          - 'The selected status is invalid.'
                        items:
                          type: string
                      rating_rate:
                        type: array
                        example:
                          - 'The rating rate field must not be greater than 5.'
                        items:
                          type: string
      tags:
        - 'Order management'
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                status:
                  type: integer
                  description: 'Status of order New is 1. Done is 2. Cancel is 3. DoneWithReview is 4. .'
                  example: 2
                  enum:
                    - '1'
                    - '2'
                    - '3'
                    - '4'
                media:
                  type: string
                  format: binary
                  description: 'Media file. Must be a file. Must not be greater than 599999 kilobytes.'
                rating_rate:
                  type: number
                  description: 'Rating of order in points. Must be at least 1. Must not be greater than 5.'
                  example: 5.0
                rating_text:
                  type: string
                  description: 'Rating of order in text.'
                  example: 'All right'
    parameters:
      -
        in: path
        name: order_id
        description: 'The ID of the order.'
        example: 96
        required: true
        schema:
          type: integer
  '/api/v1/order/view/{order_id}':
    get:
      summary: 'View order'
      operationId: viewOrder
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 131
                    client_id: 917
                    performer_id: 919
                    occasion_id: 4
                    description: "Dodo solemnly presented the thimble, saying 'We beg your pardon!' cried Alice hastily, afraid that it felt quite relieved to see what was on the floor, as it left no mark on the other bit. Her chin."
                    date_till: '0031-08-30 02:55:22'
                    status: 4
                    cancel_text: null
                    cancel_date: '0009-05-30 21:50:08'
                    rating_rate: null
                    rating_text: null
                    media:
                      -
                        id: 269
                        user_id: 921
                        preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                        path_url: 'https://api.privet.gg/storage/media/image.png'
                        type: 2
                    performer:
                      id: 919
                      email: 55041168mcglynn.shania@example.com
                      phone: '+1 (502) 225-1180'
                      name: 'Alysha Graham'
                      nickname: 'Timmy Graham'
                      description: null
                      role: 2
                      price: 507.86
                      invite: S6BfIUsr
                      media:
                        -
                          id: 268
                          user_id: 920
                          preview_url: 'https://api.privet.gg/storage/media/image.png'
                          path_url: 'https://api.privet.gg/storage/media/image.png'
                          type: 1
                      firebase_token: rs7kfH2NWQziUCYUCxEuZYWwbhsF0eT9PCI58w7zK4xko3j5SQlSfAn5jt2MFRcAp80s7g3iDsV16x9Iz2vGpUlwP06oOE2JR7GVEakKSwvuoM0lTVPgN6CUg2BzkC1TjvJxxla91ommz4duHnrAgsU6XlybM0iN
                      updated_at: '2024-04-30T10:28:25.000000Z'
                      created_at: '2024-04-30T10:28:25.000000Z'
                    client:
                      id: 917
                      email: 52966141ray24@example.com
                      phone: +1-225-426-1899
                      name: 'Bettye Prosacco'
                      nickname: 'Arnaldo Prohaska'
                      description: null
                      role: 1
                      price: 6305.19
                      invite: TRdZt0tB
                      media:
                        -
                          id: 267
                          user_id: 918
                          preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                          path_url: 'https://api.privet.gg/storage/media/image.png'
                          type: 2
                      firebase_token: oD85Qy4IWXk7TuTPYlu241YkahmaBba46dWpXjZ2ppYsgFuoM5rYH2AT7qaRuXbEoXsurpPNlGx0Il24CKDLrgiHpwqJ31jeEUAoh4smuFcT5di6M860REsX5gl5B1QKevN7DwKHYAPUsUICqBhklcT9WHcxY43N
                      updated_at: '2024-04-30T10:28:25.000000Z'
                      created_at: '2024-04-30T10:28:25.000000Z'
                    created_at: '2024-04-30T10:28:25.000000Z'
                    updated_at: '2024-04-30T10:28:25.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 131
                      client_id:
                        type: integer
                        example: 917
                      performer_id:
                        type: integer
                        example: 919
                      occasion_id:
                        type: integer
                        example: 4
                      description:
                        type: string
                        example: "Dodo solemnly presented the thimble, saying 'We beg your pardon!' cried Alice hastily, afraid that it felt quite relieved to see what was on the floor, as it left no mark on the other bit. Her chin."
                      date_till:
                        type: string
                        example: '0031-08-30 02:55:22'
                      status:
                        type: integer
                        example: 4
                      cancel_text:
                        type: string
                        example: null
                      cancel_date:
                        type: string
                        example: '0009-05-30 21:50:08'
                      rating_rate:
                        type: string
                        example: null
                      rating_text:
                        type: string
                        example: null
                      media:
                        type: array
                        example:
                          -
                            id: 269
                            user_id: 921
                            preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 2
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 269
                            user_id:
                              type: integer
                              example: 921
                            preview_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            type:
                              type: integer
                              example: 2
                      performer:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 919
                          email:
                            type: string
                            example: 55041168mcglynn.shania@example.com
                          phone:
                            type: string
                            example: '+1 (502) 225-1180'
                          name:
                            type: string
                            example: 'Alysha Graham'
                          nickname:
                            type: string
                            example: 'Timmy Graham'
                          description:
                            type: string
                            example: null
                          role:
                            type: integer
                            example: 2
                          price:
                            type: number
                            example: 507.86
                          invite:
                            type: string
                            example: S6BfIUsr
                          media:
                            type: array
                            example:
                              -
                                id: 268
                                user_id: 920
                                preview_url: 'https://api.privet.gg/storage/media/image.png'
                                path_url: 'https://api.privet.gg/storage/media/image.png'
                                type: 1
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 268
                                user_id:
                                  type: integer
                                  example: 920
                                preview_url:
                                  type: string
                                  example: 'https://api.privet.gg/storage/media/image.png'
                                path_url:
                                  type: string
                                  example: 'https://api.privet.gg/storage/media/image.png'
                                type:
                                  type: integer
                                  example: 1
                          firebase_token:
                            type: string
                            example: rs7kfH2NWQziUCYUCxEuZYWwbhsF0eT9PCI58w7zK4xko3j5SQlSfAn5jt2MFRcAp80s7g3iDsV16x9Iz2vGpUlwP06oOE2JR7GVEakKSwvuoM0lTVPgN6CUg2BzkC1TjvJxxla91ommz4duHnrAgsU6XlybM0iN
                          updated_at:
                            type: string
                            example: '2024-04-30T10:28:25.000000Z'
                          created_at:
                            type: string
                            example: '2024-04-30T10:28:25.000000Z'
                      client:
                        type: object
                        properties:
                          id:
                            type: integer
                            example: 917
                          email:
                            type: string
                            example: 52966141ray24@example.com
                          phone:
                            type: string
                            example: +1-225-426-1899
                          name:
                            type: string
                            example: 'Bettye Prosacco'
                          nickname:
                            type: string
                            example: 'Arnaldo Prohaska'
                          description:
                            type: string
                            example: null
                          role:
                            type: integer
                            example: 1
                          price:
                            type: number
                            example: 6305.19
                          invite:
                            type: string
                            example: TRdZt0tB
                          media:
                            type: array
                            example:
                              -
                                id: 267
                                user_id: 918
                                preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                                path_url: 'https://api.privet.gg/storage/media/image.png'
                                type: 2
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  example: 267
                                user_id:
                                  type: integer
                                  example: 918
                                preview_url:
                                  type: string
                                  example: 'https://api.privet.gg/storage/media/preview/image.png'
                                path_url:
                                  type: string
                                  example: 'https://api.privet.gg/storage/media/image.png'
                                type:
                                  type: integer
                                  example: 2
                          firebase_token:
                            type: string
                            example: oD85Qy4IWXk7TuTPYlu241YkahmaBba46dWpXjZ2ppYsgFuoM5rYH2AT7qaRuXbEoXsurpPNlGx0Il24CKDLrgiHpwqJ31jeEUAoh4smuFcT5di6M860REsX5gl5B1QKevN7DwKHYAPUsUICqBhklcT9WHcxY43N
                          updated_at:
                            type: string
                            example: '2024-04-30T10:28:25.000000Z'
                          created_at:
                            type: string
                            example: '2024-04-30T10:28:25.000000Z'
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
        404:
          description: 'Not found'
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: 'Not found'
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: 'Not found'
      tags:
        - 'Order management'
    parameters:
      -
        in: path
        name: order_id
        description: 'The ID of the order.'
        example: 96
        required: true
        schema:
          type: integer
  /api/v1/order/search:
    get:
      summary: 'Search order'
      operationId: searchOrder
      description: ''
      parameters:
        -
          in: query
          name: status
          description: 'Status of order New is 1. Done is 2. Cancel is 3. DoneWithReview is 4. .'
          example: 1
          required: false
          schema:
            type: string
            description: 'Status of order New is 1. Done is 2. Cancel is 3. DoneWithReview is 4. .'
            example: 1
        -
          in: query
          name: page
          description: 'The page number.'
          example: 18
          required: false
          schema:
            type: integer
            description: 'The page number.'
            example: 18
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 132
                      client_id: 922
                      performer_id: 923
                      occasion_id: 3
                      description: "Shakespeare, in the last word two or three times over to the beginning of the Lobster Quadrille, that she wasn't a really good school,' said the Queen, who was passing at the frontispiece if you."
                      date_till: '0026-06-01 20:01:26'
                      status: 3
                      cancel_text: null
                      cancel_date: '0031-07-02 16:48:38'
                      rating_rate: 4
                      rating_text: "Queen. 'It proves nothing of the house down!' said the Mock Turtle went on, '--likely to win, that it's hardly worth while finishing the game.' The Queen had ordered. They very soon finished off the."
                      media:
                        -
                          id: 271
                          user_id: 925
                          preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                          path_url: 'https://api.privet.gg/storage/media/image.png'
                          type: 2
                      performer:
                        id: 923
                        email: 47521824gschneider@example.org
                        phone: 469-853-6482
                        name: 'Meda Graham DVM'
                        nickname: 'Jazmyne Trantow'
                        description: null
                        role: 2
                        price: 37698.8
                        invite: L8xrSL9F
                        media:
                          -
                            id: 270
                            user_id: 924
                            preview_url: 'https://api.privet.gg/storage/media/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 1
                        firebase_token: IW4n8bS2kqiotbyVqbZEgTov4VVyg3nVFa2nfevry4zlHcfkSwx9EtXgqBYLxIv2wMnNRw168mR413ov6xpVh9ysyNOgPSfENv1CHE6w74iZNZWGImLwDEtbvwNNTVRqO9bWMWH0dzVdIfOQQ99REDdUKVrrnOsg
                        updated_at: '2024-04-30T10:28:26.000000Z'
                        created_at: '2024-04-30T10:28:26.000000Z'
                      created_at: '2024-04-30T10:28:26.000000Z'
                      updated_at: '2024-04-30T10:28:26.000000Z'
                    -
                      id: 133
                      client_id: 926
                      performer_id: 927
                      occasion_id: 3
                      description: "There was no 'One, two, three, and away,' but they were mine before. If I or she should meet the real Mary Ann, what ARE you talking to?' said one of the treat. When the procession moved on, three."
                      date_till: '0021-11-04 04:26:58'
                      status: 2
                      cancel_text: null
                      cancel_date: '0009-12-01 01:14:10'
                      rating_rate: 1
                      rating_text: "Mock Turtle sang this, very slowly and sadly:-- '\"Will you walk a little bit of the right-hand bit to try the first verse,' said the youth, 'as I mentioned before, And have grown most uncommonly."
                      media:
                        -
                          id: 273
                          user_id: 929
                          preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                          path_url: 'https://api.privet.gg/storage/media/image.png'
                          type: 2
                      performer:
                        id: 927
                        email: 14657890vortiz@example.com
                        phone: 484.756.1535
                        name: 'Gunner Friesen'
                        nickname: 'Theresa Baumbach'
                        description: null
                        role: 2
                        price: 351.89
                        invite: PhW5niKP
                        media:
                          -
                            id: 272
                            user_id: 928
                            preview_url: 'https://api.privet.gg/storage/media/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 1
                        firebase_token: Fo1DOKSooxU07aNPHPAu0ZetVk23GH5KfuiXS1PfXHhHbQw7aURvkDbRD308AshJZxmMj8Suukwq1d9kKIQoffMB4fqdvAtvRCh4wqd7ydfHxVPm9pdJKY7I9bSstvwZOtblyFXssMXOthwlgOkO399gXm2S9txe
                        updated_at: '2024-04-30T10:28:26.000000Z'
                        created_at: '2024-04-30T10:28:26.000000Z'
                      created_at: '2024-04-30T10:28:26.000000Z'
                      updated_at: '2024-04-30T10:28:26.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; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 15
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 132
                        client_id: 922
                        performer_id: 923
                        occasion_id: 3
                        description: "Shakespeare, in the last word two or three times over to the beginning of the Lobster Quadrille, that she wasn't a really good school,' said the Queen, who was passing at the frontispiece if you."
                        date_till: '0026-06-01 20:01:26'
                        status: 3
                        cancel_text: null
                        cancel_date: '0031-07-02 16:48:38'
                        rating_rate: 4
                        rating_text: "Queen. 'It proves nothing of the house down!' said the Mock Turtle went on, '--likely to win, that it's hardly worth while finishing the game.' The Queen had ordered. They very soon finished off the."
                        media:
                          -
                            id: 271
                            user_id: 925
                            preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 2
                        performer:
                          id: 923
                          email: 47521824gschneider@example.org
                          phone: 469-853-6482
                          name: 'Meda Graham DVM'
                          nickname: 'Jazmyne Trantow'
                          description: null
                          role: 2
                          price: 37698.8
                          invite: L8xrSL9F
                          media:
                            -
                              id: 270
                              user_id: 924
                              preview_url: 'https://api.privet.gg/storage/media/image.png'
                              path_url: 'https://api.privet.gg/storage/media/image.png'
                              type: 1
                          firebase_token: IW4n8bS2kqiotbyVqbZEgTov4VVyg3nVFa2nfevry4zlHcfkSwx9EtXgqBYLxIv2wMnNRw168mR413ov6xpVh9ysyNOgPSfENv1CHE6w74iZNZWGImLwDEtbvwNNTVRqO9bWMWH0dzVdIfOQQ99REDdUKVrrnOsg
                          updated_at: '2024-04-30T10:28:26.000000Z'
                          created_at: '2024-04-30T10:28:26.000000Z'
                        created_at: '2024-04-30T10:28:26.000000Z'
                        updated_at: '2024-04-30T10:28:26.000000Z'
                      -
                        id: 133
                        client_id: 926
                        performer_id: 927
                        occasion_id: 3
                        description: "There was no 'One, two, three, and away,' but they were mine before. If I or she should meet the real Mary Ann, what ARE you talking to?' said one of the treat. When the procession moved on, three."
                        date_till: '0021-11-04 04:26:58'
                        status: 2
                        cancel_text: null
                        cancel_date: '0009-12-01 01:14:10'
                        rating_rate: 1
                        rating_text: "Mock Turtle sang this, very slowly and sadly:-- '\"Will you walk a little bit of the right-hand bit to try the first verse,' said the youth, 'as I mentioned before, And have grown most uncommonly."
                        media:
                          -
                            id: 273
                            user_id: 929
                            preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 2
                        performer:
                          id: 927
                          email: 14657890vortiz@example.com
                          phone: 484.756.1535
                          name: 'Gunner Friesen'
                          nickname: 'Theresa Baumbach'
                          description: null
                          role: 2
                          price: 351.89
                          invite: PhW5niKP
                          media:
                            -
                              id: 272
                              user_id: 928
                              preview_url: 'https://api.privet.gg/storage/media/image.png'
                              path_url: 'https://api.privet.gg/storage/media/image.png'
                              type: 1
                          firebase_token: Fo1DOKSooxU07aNPHPAu0ZetVk23GH5KfuiXS1PfXHhHbQw7aURvkDbRD308AshJZxmMj8Suukwq1d9kKIQoffMB4fqdvAtvRCh4wqd7ydfHxVPm9pdJKY7I9bSstvwZOtblyFXssMXOthwlgOkO399gXm2S9txe
                          updated_at: '2024-04-30T10:28:26.000000Z'
                          created_at: '2024-04-30T10:28:26.000000Z'
                        created_at: '2024-04-30T10:28:26.000000Z'
                        updated_at: '2024-04-30T10:28:26.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 132
                        client_id:
                          type: integer
                          example: 922
                        performer_id:
                          type: integer
                          example: 923
                        occasion_id:
                          type: integer
                          example: 3
                        description:
                          type: string
                          example: "Shakespeare, in the last word two or three times over to the beginning of the Lobster Quadrille, that she wasn't a really good school,' said the Queen, who was passing at the frontispiece if you."
                        date_till:
                          type: string
                          example: '0026-06-01 20:01:26'
                        status:
                          type: integer
                          example: 3
                        cancel_text:
                          type: string
                          example: null
                        cancel_date:
                          type: string
                          example: '0031-07-02 16:48:38'
                        rating_rate:
                          type: integer
                          example: 4
                        rating_text:
                          type: string
                          example: "Queen. 'It proves nothing of the house down!' said the Mock Turtle went on, '--likely to win, that it's hardly worth while finishing the game.' The Queen had ordered. They very soon finished off the."
                        media:
                          type: array
                          example:
                            -
                              id: 271
                              user_id: 925
                              preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                              path_url: 'https://api.privet.gg/storage/media/image.png'
                              type: 2
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 271
                              user_id:
                                type: integer
                                example: 925
                              preview_url:
                                type: string
                                example: 'https://api.privet.gg/storage/media/preview/image.png'
                              path_url:
                                type: string
                                example: 'https://api.privet.gg/storage/media/image.png'
                              type:
                                type: integer
                                example: 2
                        performer:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 923
                            email:
                              type: string
                              example: 47521824gschneider@example.org
                            phone:
                              type: string
                              example: 469-853-6482
                            name:
                              type: string
                              example: 'Meda Graham DVM'
                            nickname:
                              type: string
                              example: 'Jazmyne Trantow'
                            description:
                              type: string
                              example: null
                            role:
                              type: integer
                              example: 2
                            price:
                              type: number
                              example: 37698.8
                            invite:
                              type: string
                              example: L8xrSL9F
                            media:
                              type: array
                              example:
                                -
                                  id: 270
                                  user_id: 924
                                  preview_url: 'https://api.privet.gg/storage/media/image.png'
                                  path_url: 'https://api.privet.gg/storage/media/image.png'
                                  type: 1
                              items:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 270
                                  user_id:
                                    type: integer
                                    example: 924
                                  preview_url:
                                    type: string
                                    example: 'https://api.privet.gg/storage/media/image.png'
                                  path_url:
                                    type: string
                                    example: 'https://api.privet.gg/storage/media/image.png'
                                  type:
                                    type: integer
                                    example: 1
                            firebase_token:
                              type: string
                              example: IW4n8bS2kqiotbyVqbZEgTov4VVyg3nVFa2nfevry4zlHcfkSwx9EtXgqBYLxIv2wMnNRw168mR413ov6xpVh9ysyNOgPSfENv1CHE6w74iZNZWGImLwDEtbvwNNTVRqO9bWMWH0dzVdIfOQQ99REDdUKVrrnOsg
                            updated_at:
                              type: string
                              example: '2024-04-30T10:28:26.000000Z'
                            created_at:
                              type: string
                              example: '2024-04-30T10:28:26.000000Z'
                        created_at:
                          type: string
                          example: '2024-04-30T10:28:26.000000Z'
                        updated_at:
                          type: string
                          example: '2024-04-30T10:28:26.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; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 15
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
      tags:
        - 'Order management'
  /api/v1/user/get-by-invite:
    post:
      summary: 'Get user by invite'
      operationId: getUserByInvite
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 902
                    email: 4865991alexandrine.langosh@example.net
                    phone: '(760) 418-4380'
                    name: 'Garret Bradtke'
                    nickname: 'Orval VonRueden'
                    description: null
                    role: 1
                    price: 100019050.1
                    invite: slbejqKV
                    media:
                      -
                        id: 261
                        user_id: 903
                        preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                        path_url: 'https://api.privet.gg/storage/media/image.png'
                        type: 2
                    categories:
                      -
                        category: 1
                    firebase_token: uFPpebxSbK0NY9Xhh68QCoDWLOitkBUyCHI1iKkBQVpS2yDmKNfCgawJDpaPKEZsQr3rMLYvARjuCwiCxUgAmCxFw27Yr7LahJKtdAfM3toiILlojuJAWg0GAWlAOfC5qcFyS0UjsmrjoJWBtYwJWtw4MkhlB4C1
                    updated_at: '2024-04-30T10:28:24.000000Z'
                    created_at: '2024-04-30T10:28:24.000000Z'
                  token: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 902
                      email:
                        type: string
                        example: 4865991alexandrine.langosh@example.net
                      phone:
                        type: string
                        example: '(760) 418-4380'
                      name:
                        type: string
                        example: 'Garret Bradtke'
                      nickname:
                        type: string
                        example: 'Orval VonRueden'
                      description:
                        type: string
                        example: null
                      role:
                        type: integer
                        example: 1
                      price:
                        type: number
                        example: 100019050.1
                      invite:
                        type: string
                        example: slbejqKV
                      media:
                        type: array
                        example:
                          -
                            id: 261
                            user_id: 903
                            preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 2
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 261
                            user_id:
                              type: integer
                              example: 903
                            preview_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            type:
                              type: integer
                              example: 2
                      categories:
                        type: array
                        example:
                          -
                            category: 1
                        items:
                          type: object
                          properties:
                            category:
                              type: integer
                              example: 1
                      firebase_token:
                        type: string
                        example: uFPpebxSbK0NY9Xhh68QCoDWLOitkBUyCHI1iKkBQVpS2yDmKNfCgawJDpaPKEZsQr3rMLYvARjuCwiCxUgAmCxFw27Yr7LahJKtdAfM3toiILlojuJAWg0GAWlAOfC5qcFyS0UjsmrjoJWBtYwJWtw4MkhlB4C1
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:24.000000Z'
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:24.000000Z'
                  token:
                    type: string
                    example: 1|spByWaJSn4f3zS79ujVX5jYvsnj2CaPjziQmI9CKbc720ef9
        404:
          description: 'User not found'
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: 'User not found'
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: 'User not found'
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The invite field is required.'
                  errors:
                    invite:
                      - 'The invite field is required.'
                properties:
                  message:
                    type: string
                    example: 'The invite field is required.'
                  errors:
                    type: object
                    properties:
                      invite:
                        type: array
                        example:
                          - 'The invite field is required.'
                        items:
                          type: string
      tags:
        - 'User management'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                invite:
                  type: string
                  description: 'Invite of user. Must be 8 characters.'
                  example: daSdiOdU
              required:
                - invite
      security: []
  /api/v1/user/check-free:
    post:
      summary: 'Check is free email'
      operationId: checkIsFreeEmail
      description: ''
      parameters: []
      responses:
        200:
          description: 'Result false'
          content:
            application/json:
              schema:
                type: object
                example:
                  free: false
                properties:
                  free:
                    type: boolean
                    example: false
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The email field is required.'
                  errors:
                    email:
                      - 'The email field is required.'
                properties:
                  message:
                    type: string
                    example: 'The email field is required.'
                  errors:
                    type: object
                    properties:
                      email:
                        type: array
                        example:
                          - 'The email field is required.'
                        items:
                          type: string
      tags:
        - 'User management'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'Email. Must be a valid email address.'
                  example: email@email.com
              required:
                - email
      security: []
  /api/v1/user/update:
    post:
      summary: 'Update user'
      operationId: updateUser
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 904
                    email: 5674269jordan57@example.org
                    phone: +1-929-956-7742
                    name: 'Mrs. Hosea Haag'
                    nickname: 'Hulda Torp'
                    description: null
                    role: 2
                    price: 4
                    invite: Cw1WHTlB
                    media:
                      -
                        id: 262
                        user_id: 905
                        preview_url: 'https://api.privet.gg/storage/media/image.png'
                        path_url: 'https://api.privet.gg/storage/media/image.png'
                        type: 1
                    categories:
                      -
                        category: 1
                    firebase_token: x3yQzbKtsNjr23X51rX7aR01M8IhVSTOF86YSjjXXWIgXCRrO1noLhv9zTjZxedpHXH0YcOheCujjK82BkyXOBOYjzV7ZshhAoPAzw6ukzpVo7Z2P6nF2paxaDnopLEpxCyp2EE5HimA1JrhHcFujAYV66a7Ot2g
                    updated_at: '2024-04-30T10:28:25.000000Z'
                    created_at: '2024-04-30T10:28:25.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 904
                      email:
                        type: string
                        example: 5674269jordan57@example.org
                      phone:
                        type: string
                        example: +1-929-956-7742
                      name:
                        type: string
                        example: 'Mrs. Hosea Haag'
                      nickname:
                        type: string
                        example: 'Hulda Torp'
                      description:
                        type: string
                        example: null
                      role:
                        type: integer
                        example: 2
                      price:
                        type: integer
                        example: 4
                      invite:
                        type: string
                        example: Cw1WHTlB
                      media:
                        type: array
                        example:
                          -
                            id: 262
                            user_id: 905
                            preview_url: 'https://api.privet.gg/storage/media/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 1
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 262
                            user_id:
                              type: integer
                              example: 905
                            preview_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            path_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            type:
                              type: integer
                              example: 1
                      categories:
                        type: array
                        example:
                          -
                            category: 1
                        items:
                          type: object
                          properties:
                            category:
                              type: integer
                              example: 1
                      firebase_token:
                        type: string
                        example: x3yQzbKtsNjr23X51rX7aR01M8IhVSTOF86YSjjXXWIgXCRrO1noLhv9zTjZxedpHXH0YcOheCujjK82BkyXOBOYjzV7ZshhAoPAzw6ukzpVo7Z2P6nF2paxaDnopLEpxCyp2EE5HimA1JrhHcFujAYV66a7Ot2g
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
        201:
          description: Updated
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Updated
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Updated
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
        429:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The email has already been taken.'
                  errors:
                    email:
                      - 'The email has already been taken.'
                properties:
                  message:
                    type: string
                    example: 'The email has already been taken.'
                  errors:
                    type: object
                    properties:
                      email:
                        type: array
                        example:
                          - 'The email has already been taken.'
                        items:
                          type: string
      tags:
        - 'User management'
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'Email. Must be a valid email address.'
                  example: email@email.com
                password:
                  type: string
                  description: 'Password. Must be at least 6 characters.'
                  example: password
                password_confirmation:
                  type: string
                  description: 'Password confirmation. The value and <code>password</code> must match. Must be at least 6 characters.'
                  example: password
                phone:
                  type: string
                  description: 'Phone. Must not be greater than 255 characters.'
                  example: '+79000000000'
                name:
                  type: string
                  description: 'Name. Must not be greater than 255 characters.'
                  example: 'Ivan Ivanov'
                nickname:
                  type: string
                  description: 'Nickname. Must not be greater than 255 characters.'
                  example: Ivan99
                description:
                  type: string
                  description: Description.
                  example: 'Cool user'
                role:
                  type: integer
                  description: 'Role of user. Client is 1. Performer is 2. .'
                  example: 1
                  enum:
                    - '1'
                    - '2'
                price:
                  type: number
                  description: 'Price. Must be at least 0. Must not be greater than 999999999.'
                  example: 2.99
                firebase_token:
                  type: string
                  description: 'Firebase token.'
                  example: 'eHWhVTRATZ-EZ-JBaD2Huf:APA91bFlzBIssyo-tn7QsYTnRxSlUV3EZrnrdI02-b3gcWcFf8LpBykjt4WCLnDcoIIY4MJU3SybtUSRAKupzkSbZEf9A3THtA6KO9AbskZPu3NKpoohLhxNi0ywg5Z5kwT7kauhMeNK'
                category_ids:
                  type: array
                  description: 'Category Streamer is 1. Comedian is 2. .'
                  example:
                    - 1
                  items:
                    type: integer
                media:
                  type: string
                  format: binary
                  description: 'Media. Must be a file. Must not be greater than 599999 kilobytes.'
  /api/v1/user/search:
    get:
      summary: 'Search users'
      operationId: searchUsers
      description: ''
      parameters:
        -
          in: query
          name: category_id
          description: 'Category ID Streamer is 1. Comedian is 2. .'
          example: 2
          required: false
          schema:
            type: string
            description: 'Category ID Streamer is 1. Comedian is 2. .'
            example: 2
        -
          in: query
          name: text
          description: ''
          example: 'some text'
          required: false
          schema:
            type: string
            description: ''
            example: 'some text'
        -
          in: query
          name: role
          description: ''
          example: '2'
          required: false
          schema:
            type: string
            description: ''
            example: '2'
        -
          in: query
          name: page
          description: 'The page number.'
          example: 14
          required: false
          schema:
            type: integer
            description: 'The page number.'
            example: 14
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    -
                      id: 906
                      email: 45948921obergnaum@example.net
                      phone: '(283) 628-7324'
                      name: 'Helmer Fisher'
                      nickname: 'Lila Dach'
                      description: null
                      role: 2
                      price: 550
                      invite: rS7B7iMx
                      media:
                        -
                          id: 263
                          user_id: 907
                          preview_url: 'https://api.privet.gg/storage/media/image.png'
                          path_url: 'https://api.privet.gg/storage/media/image.png'
                          type: 1
                      categories:
                        -
                          category: 1
                      firebase_token: AgIVT2ZgjKKnRWrHayLX6h56YFCEfTzNNaucE9iBad6yPsjDGG806xmceGbrhP0g8iYX2PO2u8zXmX97dRJNQl9CJdXtvIaFgRJwP6GjE0vrxJQ3EoGiSnSWPiTp2Rav9XjL4LWrIb9WQTdsduCnhiipyv4qTboK
                      updated_at: '2024-04-30T10:28:25.000000Z'
                      created_at: '2024-04-30T10:28:25.000000Z'
                    -
                      id: 908
                      email: 17473670carmen08@example.net
                      phone: '(859) 913-9729'
                      name: 'Mr. Sid King Jr.'
                      nickname: 'Dessie Abernathy'
                      description: null
                      role: 2
                      price: 1583.4121506
                      invite: muCXFLyy
                      media:
                        -
                          id: 264
                          user_id: 909
                          preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                          path_url: 'https://api.privet.gg/storage/media/image.png'
                          type: 2
                      categories:
                        -
                          category: 2
                      firebase_token: SWq2I1rBwvGyeQlB6zvHXpS8HwFsWkTwEI1uW7j5pjNJFzgKDEdTGC3jumjYqEfIcYsJBDBNi2EpRNCItUu3bRrpSoHdSEfIMgJ4raCIzd9x0t9dbh2XfGZVf8ZuWs24jJp3aIl2qMMhKIQGKs3HagzJuNQGlvEe
                      updated_at: '2024-04-30T10:28:25.000000Z'
                      created_at: '2024-04-30T10:28:25.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; Previous'
                        active: false
                      -
                        url: '/?page=1'
                        label: '1'
                        active: true
                      -
                        url: null
                        label: 'Next &raquo;'
                        active: false
                    path: /
                    per_page: 15
                    to: 2
                    total: 2
                properties:
                  data:
                    type: array
                    example:
                      -
                        id: 906
                        email: 45948921obergnaum@example.net
                        phone: '(283) 628-7324'
                        name: 'Helmer Fisher'
                        nickname: 'Lila Dach'
                        description: null
                        role: 2
                        price: 550
                        invite: rS7B7iMx
                        media:
                          -
                            id: 263
                            user_id: 907
                            preview_url: 'https://api.privet.gg/storage/media/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 1
                        categories:
                          -
                            category: 1
                        firebase_token: AgIVT2ZgjKKnRWrHayLX6h56YFCEfTzNNaucE9iBad6yPsjDGG806xmceGbrhP0g8iYX2PO2u8zXmX97dRJNQl9CJdXtvIaFgRJwP6GjE0vrxJQ3EoGiSnSWPiTp2Rav9XjL4LWrIb9WQTdsduCnhiipyv4qTboK
                        updated_at: '2024-04-30T10:28:25.000000Z'
                        created_at: '2024-04-30T10:28:25.000000Z'
                      -
                        id: 908
                        email: 17473670carmen08@example.net
                        phone: '(859) 913-9729'
                        name: 'Mr. Sid King Jr.'
                        nickname: 'Dessie Abernathy'
                        description: null
                        role: 2
                        price: 1583.4121506
                        invite: muCXFLyy
                        media:
                          -
                            id: 264
                            user_id: 909
                            preview_url: 'https://api.privet.gg/storage/media/preview/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 2
                        categories:
                          -
                            category: 2
                        firebase_token: SWq2I1rBwvGyeQlB6zvHXpS8HwFsWkTwEI1uW7j5pjNJFzgKDEdTGC3jumjYqEfIcYsJBDBNi2EpRNCItUu3bRrpSoHdSEfIMgJ4raCIzd9x0t9dbh2XfGZVf8ZuWs24jJp3aIl2qMMhKIQGKs3HagzJuNQGlvEe
                        updated_at: '2024-04-30T10:28:25.000000Z'
                        created_at: '2024-04-30T10:28:25.000000Z'
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 906
                        email:
                          type: string
                          example: 45948921obergnaum@example.net
                        phone:
                          type: string
                          example: '(283) 628-7324'
                        name:
                          type: string
                          example: 'Helmer Fisher'
                        nickname:
                          type: string
                          example: 'Lila Dach'
                        description:
                          type: string
                          example: null
                        role:
                          type: integer
                          example: 2
                        price:
                          type: integer
                          example: 550
                        invite:
                          type: string
                          example: rS7B7iMx
                        media:
                          type: array
                          example:
                            -
                              id: 263
                              user_id: 907
                              preview_url: 'https://api.privet.gg/storage/media/image.png'
                              path_url: 'https://api.privet.gg/storage/media/image.png'
                              type: 1
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                                example: 263
                              user_id:
                                type: integer
                                example: 907
                              preview_url:
                                type: string
                                example: 'https://api.privet.gg/storage/media/image.png'
                              path_url:
                                type: string
                                example: 'https://api.privet.gg/storage/media/image.png'
                              type:
                                type: integer
                                example: 1
                        categories:
                          type: array
                          example:
                            -
                              category: 1
                          items:
                            type: object
                            properties:
                              category:
                                type: integer
                                example: 1
                        firebase_token:
                          type: string
                          example: AgIVT2ZgjKKnRWrHayLX6h56YFCEfTzNNaucE9iBad6yPsjDGG806xmceGbrhP0g8iYX2PO2u8zXmX97dRJNQl9CJdXtvIaFgRJwP6GjE0vrxJQ3EoGiSnSWPiTp2Rav9XjL4LWrIb9WQTdsduCnhiipyv4qTboK
                        updated_at:
                          type: string
                          example: '2024-04-30T10:28:25.000000Z'
                        created_at:
                          type: string
                          example: '2024-04-30T10:28:25.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; Previous'
                            active: false
                          -
                            url: '/?page=1'
                            label: '1'
                            active: true
                          -
                            url: null
                            label: 'Next &raquo;'
                            active: false
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              example: null
                            label:
                              type: string
                              example: '&laquo; Previous'
                            active:
                              type: boolean
                              example: false
                      path:
                        type: string
                        example: /
                      per_page:
                        type: integer
                        example: 15
                      to:
                        type: integer
                        example: 2
                      total:
                        type: integer
                        example: 2
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
      tags:
        - 'User management'
  '/api/v1/user/view/{user_id}':
    get:
      summary: 'View user'
      operationId: viewUser
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: 910
                    email: 98660706turcotte.bobbie@example.org
                    phone: '+1 (248) 502-3268'
                    name: 'Louvenia Wunsch'
                    nickname: 'Ms. Annamae Graham'
                    description: null
                    role: 1
                    price: 357699.9977698
                    invite: Y7WAHrEw
                    media:
                      -
                        id: 265
                        user_id: 911
                        preview_url: 'https://api.privet.gg/storage/media/image.png'
                        path_url: 'https://api.privet.gg/storage/media/image.png'
                        type: 1
                    categories:
                      -
                        category: 2
                    firebase_token: xmeaFVBzIAtbocQeSpgj0FXlo6vy7uxFKYqWDFOLrQxc4RmpD0CmXeR4JSoP4q1WoeDHYrnJTY63y5TMIAC4zQTmMYQeans0M5VXsQAOaJfgwrJU9Ah9htDet4CjJ7NSDvzQoqEPSG9SPm0RIzEhrvml1BEZH4P3
                    updated_at: '2024-04-30T10:28:25.000000Z'
                    created_at: '2024-04-30T10:28:25.000000Z'
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 910
                      email:
                        type: string
                        example: 98660706turcotte.bobbie@example.org
                      phone:
                        type: string
                        example: '+1 (248) 502-3268'
                      name:
                        type: string
                        example: 'Louvenia Wunsch'
                      nickname:
                        type: string
                        example: 'Ms. Annamae Graham'
                      description:
                        type: string
                        example: null
                      role:
                        type: integer
                        example: 1
                      price:
                        type: number
                        example: 357699.9977698
                      invite:
                        type: string
                        example: Y7WAHrEw
                      media:
                        type: array
                        example:
                          -
                            id: 265
                            user_id: 911
                            preview_url: 'https://api.privet.gg/storage/media/image.png'
                            path_url: 'https://api.privet.gg/storage/media/image.png'
                            type: 1
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 265
                            user_id:
                              type: integer
                              example: 911
                            preview_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            path_url:
                              type: string
                              example: 'https://api.privet.gg/storage/media/image.png'
                            type:
                              type: integer
                              example: 1
                      categories:
                        type: array
                        example:
                          -
                            category: 2
                        items:
                          type: object
                          properties:
                            category:
                              type: integer
                              example: 2
                      firebase_token:
                        type: string
                        example: xmeaFVBzIAtbocQeSpgj0FXlo6vy7uxFKYqWDFOLrQxc4RmpD0CmXeR4JSoP4q1WoeDHYrnJTY63y5TMIAC4zQTmMYQeans0M5VXsQAOaJfgwrJU9Ah9htDet4CjJ7NSDvzQoqEPSG9SPm0RIzEhrvml1BEZH4P3
                      updated_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
                      created_at:
                        type: string
                        example: '2024-04-30T10:28:25.000000Z'
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
        404:
          description: 'Not found'
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: 'Not found'
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: 'Not found'
      tags:
        - 'User management'
    parameters:
      -
        in: path
        name: user_id
        description: 'The ID of the user.'
        example: 135
        required: true
        schema:
          type: integer
  /api/v1/user/add-firebase-token:
    post:
      summary: 'Update Firebase token'
      operationId: updateFirebaseToken
      description: ''
      parameters: []
      responses:
        201:
          description: 'Token Updated'
          content:
            application/json:
              schema:
                type: object
                example:
                  status: success
                properties:
                  status:
                    type: string
                    example: success
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  status: error
                  message: Unauthorized
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Unauthorized
        422:
          description: 'Validation Errors'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'The firebase token field is required.'
                properties:
                  message:
                    type: string
                    example: 'The firebase token field is required.'
      tags:
        - 'User management'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                firebase_token:
                  type: string
                  description: 'Device firebase token.'
                  example: XXXAAA.....
              required:
                - firebase_token
tags:
  -
    name: 'Auth management'
    description: "\nAPIs for managing auth"
  -
    name: Endpoints
    description: ''
  -
    name: 'Order management'
    description: "\nAPIs for managing orders"
  -
    name: 'User management'
    description: "\nAPIs for managing users"
