openapi: 3.0.0
info:
  title: new-nomenclator-qa.api.lifeishard.ro
  description: Documentatie API nomenclatoare
  contact:
    email: attila.fodor@lifeishard.ro
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: https://nomenclator.api.lifeishard.ro
    description: 'Production server (branch: master)'
  - url: https://nomenclator-qa.api.lifeishard.ro
    description: 'Development server (branch: develop)'
paths:
  /r/adresa-paid/{id}:
    get:
      tags:
        - AdresaPaid
      summary: >-
        Returns the resource with the specified ID from the `AdresaPaid`
        nomenclature
      operationId: getAdresaPaidResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `AdresaPaid` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/AdresaPaidResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/adresa-paid:
    get:
      tags:
        - AdresaPaid
      summary: Returns a collection of resources from `AdresaPaid` nomenclature
      operationId: getAdresaPaidCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/AdresaPaidFilterByJudet'
        - $ref: '#/components/parameters/AdresaPaidFilterByUat'
        - $ref: '#/components/parameters/AdresaPaidFilterByTipUat'
        - $ref: '#/components/parameters/AdresaPaidFilterByLocalitate'
        - $ref: '#/components/parameters/AdresaPaidFilterByTipArtera'
        - $ref: '#/components/parameters/AdresaPaidFilterByDenumireArtera'
        - $ref: '#/components/parameters/AdresaPaidFilterByNumarBloc'
        - $ref: '#/components/parameters/AdresaPaidFilterByCodPostal'
        - $ref: '#/components/parameters/AdresaPaidFilterByMediu'
        - $ref: '#/components/parameters/AdresaPaidFilterByCodSiruta'
        - $ref: '#/components/parameters/AdresaPaidFilterByTipLocalitate'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/AdresaPaidResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/adresa-paid:
    get:
      tags:
        - AdresaPaid
      summary: Paginator for `AdresaPaid` nomenclature
      operationId: getAdresaPaidPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/AdresaPaidFilterByJudet'
        - $ref: '#/components/parameters/AdresaPaidFilterByUat'
        - $ref: '#/components/parameters/AdresaPaidFilterByTipUat'
        - $ref: '#/components/parameters/AdresaPaidFilterByLocalitate'
        - $ref: '#/components/parameters/AdresaPaidFilterByTipArtera'
        - $ref: '#/components/parameters/AdresaPaidFilterByDenumireArtera'
        - $ref: '#/components/parameters/AdresaPaidFilterByNumarBloc'
        - $ref: '#/components/parameters/AdresaPaidFilterByCodPostal'
        - $ref: '#/components/parameters/AdresaPaidFilterByMediu'
        - $ref: '#/components/parameters/AdresaPaidFilterByCodSiruta'
        - $ref: '#/components/parameters/AdresaPaidFilterByTipLocalitate'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/AdresaPaidResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/caen/{id}:
    get:
      tags:
        - Coduri CAEN
      summary: >-
        Returns the resource with the specified ID from the `Coduri CAEN`
        nomenclature
      operationId: getCaenResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Coduri CAEN` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/CaenResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/caen:
    get:
      tags:
        - Coduri CAEN
      summary: Returns a collection of resources from `Coduri CAEN` nomenclature
      operationId: getCaenCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/CaenFilterByCaenCode'
        - $ref: '#/components/parameters/CaenFilterBySection'
        - $ref: '#/components/parameters/CaenFilterBySubSection'
        - $ref: '#/components/parameters/CaenFilterBySubDivision'
        - $ref: '#/components/parameters/CaenFilterByGroup'
        - $ref: '#/components/parameters/CaenFilterByClass'
        - $ref: '#/components/parameters/CaenFilterByNace'
        - $ref: '#/components/parameters/CaenFilterByName'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CaenResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/caen:
    get:
      tags:
        - Coduri CAEN
      summary: Paginator for `Coduri CAEN` nomenclature
      operationId: getCaenPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/CaenFilterByCaenCode'
        - $ref: '#/components/parameters/CaenFilterBySection'
        - $ref: '#/components/parameters/CaenFilterBySubSection'
        - $ref: '#/components/parameters/CaenFilterBySubDivision'
        - $ref: '#/components/parameters/CaenFilterByGroup'
        - $ref: '#/components/parameters/CaenFilterByClass'
        - $ref: '#/components/parameters/CaenFilterByNace'
        - $ref: '#/components/parameters/CaenFilterByName'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CaenResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/categorie-auto-24b/{id}:
    get:
      tags:
        - Categorie Auto 24b
      summary: >-
        Returns the resource with the specified ID from the `Categorie Auto 24b`
        nomenclature
      operationId: getCategorieAuto24bResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Categorie Auto 24b` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/CategorieAuto24bResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/categorie-auto-24b:
    get:
      tags:
        - Categorie Auto 24b
      summary: Returns a collection of resources from `Categorie Auto 24b` nomenclature
      operationId: getCategorieAuto24bCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCategorie'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CategorieAuto24bResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/categorie-auto-24b:
    get:
      tags:
        - Categorie Auto 24b
      summary: Paginator for `Categorie Auto 24b` nomenclature
      operationId: getCategorieAuto24bPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCategorie'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CategorieAuto24bResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/combustibil-auto/{id}:
    get:
      tags:
        - Combustibil Auto
      summary: >-
        Returns the resource with the specified ID from the `Combustibil Auto`
        nomenclature
      operationId: getCombustibilAutoResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Combustibil Auto` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/CombustibilAutoResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/combustibil-auto:
    get:
      tags:
        - Combustibil Auto
      summary: Returns a collection of resources from `Combustibil Auto` nomenclature
      operationId: getCombustibilAutoCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCombustibil'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CombustibilAutoResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/combustibil-auto:
    get:
      tags:
        - Combustibil Auto
      summary: Paginator for `Combustibil Auto` nomenclature
      operationId: getCombustibilAutoPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCombustibil'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CombustibilAutoResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/judet/{id}:
    get:
      tags:
        - Judet
      summary: Returns the resource with the specified ID from the `Judet` nomenclature
      operationId: getJudetResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Judet` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/JudetResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/judet:
    get:
      tags:
        - Judet
      summary: Returns a collection of resources from `Judet` nomenclature
      operationId: getJudetCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/JudetFilterByCodJudet'
        - $ref: '#/components/parameters/JudetFilterByNume'
        - $ref: '#/components/parameters/JudetFilterBySiruta'
        - $ref: '#/components/parameters/JudetFilterByTara'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/JudetResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/judet:
    get:
      tags:
        - Judet
      summary: Paginator for `Judet` nomenclature
      operationId: getJudetPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/JudetFilterByCodJudet'
        - $ref: '#/components/parameters/JudetFilterByNume'
        - $ref: '#/components/parameters/JudetFilterBySiruta'
        - $ref: '#/components/parameters/JudetFilterByTara'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/JudetResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/localitate/{id}:
    get:
      tags:
        - Localitate
      summary: >-
        Returns the resource with the specified ID from the `Localitate`
        nomenclature
      operationId: getLocalitateResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Localitate` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/LocalitateResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /r/localitate/siruta/{codSiruta}:
    get:
      tags:
        - Localitate
      summary: >-
        Returns the resource with the specified SIRUTA code from the
        `Localitate` nomenclature
      operationId: getLocalitateResourceBySirutaCode
      parameters:
        - name: codSiruta
          in: path
          required: true
          schema:
            type: number
          example: '1026'
      responses:
        '200':
          description: Resource from `Localitate` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/LocalitateResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/localitate:
    get:
      tags:
        - Localitate
      summary: Returns a collection of resources from `Localitate` nomenclature
      operationId: getLocalitateCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/LocalitateFilterByTip'
        - $ref: '#/components/parameters/LocalitateFilterByNume'
        - $ref: '#/components/parameters/LocalitateFilterByCodJudet'
        - $ref: '#/components/parameters/LocalitateFilterByCodSiruta'
        - $ref: '#/components/parameters/LocalitateFilterByTara'
        - $ref: '#/components/parameters/LocalitateFilterByRang'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/LocalitateResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/localitate:
    get:
      tags:
        - Localitate
      summary: Paginator for `Localitate` nomenclature
      operationId: getLocalitatePagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/LocalitateFilterByTip'
        - $ref: '#/components/parameters/LocalitateFilterByNume'
        - $ref: '#/components/parameters/LocalitateFilterByCodJudet'
        - $ref: '#/components/parameters/LocalitateFilterByCodSiruta'
        - $ref: '#/components/parameters/LocalitateFilterByTara'
        - $ref: '#/components/parameters/LocalitateFilterByRang'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/LocalitateResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /c/judet/{codJudet}/localitate:
    get:
      tags:
        - Localitate
      summary: Returns a collection of resources from `Localitate` nomenclature
      operationId: getLocalitateByCodJudetCollection
      parameters:
        - name: codJudet
          in: path
          required: true
          schema:
            type: string
          example: CJ
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/LocalitateFilterByTip'
        - $ref: '#/components/parameters/LocalitateFilterByNume'
        - $ref: '#/components/parameters/LocalitateFilterByCodSiruta'
        - $ref: '#/components/parameters/LocalitateFilterByTara'
        - $ref: '#/components/parameters/LocalitateFilterByRang'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/LocalitateResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/marca-auto/{id}:
    get:
      tags:
        - Marca Auto
      summary: >-
        Returns the resource with the specified ID from the `Marca Auto`
        nomenclature
      operationId: getMarcaAutoResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Marca Auto` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/MarcaAutoResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/marca-auto:
    get:
      tags:
        - Marca Auto
      summary: Returns a collection of resources from `Marca Auto` nomenclature
      operationId: getMarcaAutoCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCategorieId'
        - $ref: '#/components/parameters/FilterByMarca'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/MarcaAutoResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/marca-auto:
    get:
      tags:
        - Marca Auto
      summary: Paginator for `Marca Auto` nomenclature
      operationId: getMarcaAutoPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCategorieId'
        - $ref: '#/components/parameters/FilterByMarca'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/MarcaAutoResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/model-auto/{id}:
    get:
      tags:
        - Model Auto
      summary: >-
        Returns the resource with the specified ID from the `Model Auto`
        nomenclature
      operationId: getModelAutoResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Model Auto` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/ModelAutoResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/model-auto:
    get:
      tags:
        - Model Auto
      summary: Returns a collection of resources from `Model Auto` nomenclature
      operationId: getModelAutoCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByMarcaId'
        - $ref: '#/components/parameters/FilterByModel'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelAutoResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/model-auto:
    get:
      tags:
        - Model Auto
      summary: Paginator for `Model Auto` nomenclature
      operationId: getModelAutoPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByMarcaId'
        - $ref: '#/components/parameters/FilterByModel'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelAutoResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/societate-leasing/{id}:
    get:
      tags:
        - Societate Leasing
      summary: >-
        Returns the resource with the specified ID from the `Societate Leasing`
        nomenclature
      operationId: getSocietateLeasingResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Societate Leasing` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/SocietateLeasingResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/societate-leasing:
    get:
      tags:
        - Societate Leasing
      summary: Returns a collection of resources from `Societate Leasing` nomenclature
      operationId: getSocietateLeasingCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCompanie'
        - $ref: '#/components/parameters/FilterByCui'
        - $ref: '#/components/parameters/FilterByRegCom'
        - $ref: '#/components/parameters/FilterByNumar'
        - $ref: '#/components/parameters/FilterByJudet'
        - $ref: '#/components/parameters/FilterByLocalitate'
        - $ref: '#/components/parameters/FilterByStrada'
        - $ref: '#/components/parameters/FilterByBloc'
        - $ref: '#/components/parameters/FilterByScara'
        - $ref: '#/components/parameters/FilterByApartament'
        - $ref: '#/components/parameters/FilterByEtaj'
        - $ref: '#/components/parameters/FilterByCodPostal'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SocietateLeasingResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/societate-leasing:
    get:
      tags:
        - Societate Leasing
      summary: Paginator for `Societate Leasing` nomenclature
      operationId: getSocietateLeasingPagination
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCompanie'
        - $ref: '#/components/parameters/FilterByCui'
        - $ref: '#/components/parameters/FilterByRegCom'
        - $ref: '#/components/parameters/FilterByNumar'
        - $ref: '#/components/parameters/FilterByJudet'
        - $ref: '#/components/parameters/FilterByLocalitate'
        - $ref: '#/components/parameters/FilterByStrada'
        - $ref: '#/components/parameters/FilterByBloc'
        - $ref: '#/components/parameters/FilterByScara'
        - $ref: '#/components/parameters/FilterByApartament'
        - $ref: '#/components/parameters/FilterByEtaj'
        - $ref: '#/components/parameters/FilterByCodPostal'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SocietateLeasingResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/strada/{id}:
    get:
      tags:
        - Strada
      summary: >-
        Returns the resource with the specified ID from the `strada`
        nomenclature
      operationId: getStradaResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Strada` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/StradaResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/strada:
    get:
      tags:
        - Strada
      summary: Returns a collection of resources from `Strada` nomenclature
      operationId: getStradaCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByDenumire'
        - $ref: '#/components/parameters/FilterBySiruta'
        - $ref: '#/components/parameters/FilterByPrefix'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/StradaResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/strada:
    get:
      tags:
        - Strada
      summary: Paginator for `Strada` nomenclature
      operationId: getStradaPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByDenumire'
        - $ref: '#/components/parameters/FilterBySiruta'
        - $ref: '#/components/parameters/FilterByPrefix'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/StradaResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/subcategorie-auto-24b/{id}:
    get:
      tags:
        - Subcategorie Auto 24b
      summary: >-
        Returns the resource with the specified ID from the `Subcategorie Auto
        24b` nomenclature
      operationId: getSubcategorieAuto24bResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Subcategorie Auto 24b` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/SubcategorieAuto24bResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/subcategorie-auto-24b:
    get:
      tags:
        - Subcategorie Auto 24b
      summary: >-
        Returns a collection of resources from `Subcategorie Auto 24b`
        nomenclature
      operationId: getSubcategorieAuto24bCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCategorieId'
        - $ref: '#/components/parameters/FilterBySubcategorie'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SubcategorieAuto24bResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/subcategorie-auto-24b:
    get:
      tags:
        - Subcategorie Auto 24b
      summary: Paginator for `Subcategorie Auto 24b` nomenclature
      operationId: getSubcategorieAuto24bPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCategorieId'
        - $ref: '#/components/parameters/FilterBySubcategorie'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SubcategorieAuto24bResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/tara/{id}:
    get:
      tags:
        - Tara
      summary: Returns the resource with the specified ID from the `tara` nomenclature
      operationId: getTaraResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Tara` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/TaraResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/tara:
    get:
      tags:
        - Tara
      summary: Returns a collection of resources from `Tara` nomenclature
      operationId: getTaraCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/TaraFilterByNume'
        - $ref: '#/components/parameters/TaraFilterByIso2'
        - $ref: '#/components/parameters/TaraFilterByIso3'
        - $ref: '#/components/parameters/TaraFilterByEuMember'
        - $ref: '#/components/parameters/TaraFilterBySchengenMember'
        - $ref: '#/components/parameters/TaraFilterByContinent'
        - $ref: '#/components/parameters/TaraFilterByCapital'
        - $ref: '#/components/parameters/TaraFilterByValuta'
        - $ref: '#/components/parameters/TaraFilterByPhonePrefix'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TaraResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/tara:
    get:
      tags:
        - Tara
      summary: Paginator for `Tara` nomenclature
      operationId: getTaraPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/TaraFilterByNume'
        - $ref: '#/components/parameters/TaraFilterByIso2'
        - $ref: '#/components/parameters/TaraFilterByIso3'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TaraResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /r/tip-utilizare-auto/{id}:
    get:
      tags:
        - Tip Utilizare Auto
      summary: >-
        Returns the resource with the specified ID from the `Tip Utilizare Auto`
        nomenclature
      operationId: getTipUtilizareAutoResourceById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: number
          example: '1'
      responses:
        '200':
          description: Resource from `Tip Utilizare Auto` nomenclature
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/TipUtilizareAutoResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
  /c/tip-utilizare-auto:
    get:
      tags:
        - Tip Utilizare Auto
      summary: Returns a collection of resources from `Tip Utilizare Auto` nomenclature
      operationId: getTipUtilizareAutoCollection
      parameters:
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCod'
        - $ref: '#/components/parameters/FilterByTipUtilizare'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TipUtilizareAutoResource'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /p/tip-utilizare-auto:
    get:
      tags:
        - Tip Utilizare Auto
      summary: Paginator for `Tip Utilizare Auto` nomenclature
      operationId: getTipUtilizareAutoPagination
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/OrderDir'
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/FilterByCod'
        - $ref: '#/components/parameters/FilterByTipUtilizare'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TipUtilizareAutoResource'
                  links:
                    $ref: '#/components/schemas/PaginatorLinks'
                  meta:
                    $ref: '#/components/schemas/PaginatorMeta'
                type: object
        '400':
          $ref: '#/components/responses/BadRequestResponse'
  /auth:
    post:
      tags:
        - Authentication
      summary: Authenticate
      description: Authenticate an account by account/password
      operationId: authPost
      parameters:
        - name: account
          in: query
          description: Account
          required: true
          schema:
            type: string
        - name: password
          in: query
          description: Password
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/ApiCoreLibAuthResponse200'
    delete:
      tags:
        - Authentication
      summary: Deautenticate
      description: Deautenticate an existing and valid auth token
      operationId: authDelete
      responses:
        '202':
          description: Deleted
    patch:
      tags:
        - Authentication
      summary: Renew token
      description: Renew an authentication token
      operationId: authPatch
      parameters:
        - name: Token
          in: header
          description: >-
            The Refresh token received from the `POST /auth` or `PATCH /auth`
            endpoint's response field name `refresh_token`.
          required: true
          schema:
            type: string
            example: Refresh [refresh_token]
          example: Refresh [refresh_token]
      responses:
        '200':
          $ref: '#/components/responses/ApiCoreLibAuthResponse200'
components:
  schemas:
    AdresaPaidResource:
      properties:
        id:
          type: integer
          example: 1
        judet:
          type: string
          example: ALBA
        uat:
          type: string
          example: ALBA IULIA
        tip_uat:
          type: string
          example: MUNICIPIU
        localitate:
          type: string
          example: ALBA IULIA
        tip_artera:
          type: string
          example: BULEVARD
        denumire_artera:
          type: string
          example: 1 DECEMBRIE 1918
        numar_bloc:
          type: string
          example: nr. 1-15; 2-T
        cod_postal:
          type: integer
          example: 510207
        mediu:
          type: integer
          example: 1
        cod_siruta:
          type: string
          example: 1026
        tip_localitate:
          type: integer
          example: 9
        localitate_refacut:
          type: string
          example: Localitate componenta, resedinta de municipiu
        luna_an:
          type: string
          example: M08-2020
        observatii:
          type: string
          example: aliniere la piata asig
      type: object
    CaenResource:
      properties:
        id:
          type: number
          example: '1'
        caen:
          type: number
          example: '5813'
        section:
          type: string
          example: J
        sub_section:
          type: string
          example: 'null'
        division:
          type: string
          example: '58'
        group:
          type: string
          example: '581'
        class:
          type: string
          example: '5813'
        nace:
          type: string
          example: 2212; 7240*
        name:
          type: string
          example: Activităţi de editare a ziarelor
      type: object
    CategorieAuto24bResource:
      properties:
        id:
          type: number
          example: 1
        categorie:
          type: string
          example: Autoturism / Automobil mixt
      type: object
    CombustibilAutoResource:
      properties:
        id:
          type: number
          example: 1
        combustibil:
          type: string
          example: benzina
      type: object
    PaginatorLinks:
      properties:
        first:
          type: string
        last:
          type: string
        prev:
          type: string
        next:
          type: string
      type: object
    PaginatorMeta:
      properties:
        current_page:
          type: number
        from:
          type: number
        last_page:
          type: number
        links:
          type: array
          items:
            properties:
              url:
                type: string
              label:
                type: string
              active:
                type: boolean
            type: object
        path:
          type: string
        per_page:
          type: number
        to:
          type: number
        total:
          type: number
      type: object
    JudetResource:
      properties:
        id:
          type: number
          example: 1
        cod_judet:
          type: string
          example: AB
        nume:
          type: string
          example: ALBA
        siruta:
          type: number
          example: '10'
        tara:
          type: number
          example: RO
      type: object
    LocalitateResource:
      properties:
        id:
          type: number
          example: 1
        tip:
          type: number
          example: 9
        nume:
          type: string
          example: ALBA IULIA
        cod_judet:
          type: string
          example: AB
        cod_siruta:
          type: number
          example: '1026'
        tara:
          type: string
          example: RO
        rang:
          type: number
          example: '3'
      type: object
    MarcaAutoResource:
      properties:
        id:
          type: number
          example: 11
        categorie_id:
          type: number
          example: 1
        marca:
          type: string
          example: AUDI
      type: object
    ModelAutoResource:
      properties:
        id:
          type: number
          example: 3
        marca_id:
          type: number
          example: '4'
        model:
          type: string
          example: Alfa 145 1.6 16V TSL
      type: object
    SocietateLeasingResource:
      properties:
        id:
          type: number
          example: '6'
        companie:
          type: string
          example: AFIN ROMANIA SA
        cui:
          type: string
          example: '13513245'
        reg_com:
          type: string
          example: J40/10306/2000
        iban:
          type: string
          example: RO75 RNCB 5101 0000 0012 0001
        banca:
          type: string
          example: Banca Comerciala Romana
        website:
          type: string
          example: www.afinleasing.com
        tara_cod:
          type: string
          example: R0
        judet:
          type: string
          example: CJ
        localitate:
          type: string
          example: Cluj-Napoca
        localitate_siruta:
          type: integer
          example: 12345
        strada_tip:
          type: string
          example: str
        strada:
          type: string
          example: Muncii
        numar:
          type: string
          example: '19'
        bloc:
          type: string
          example: 2c
        scara:
          type: string
          example: A
        apartament:
          type: string
          example: '17'
        etaj:
          type: string
          example: etaj 1
        cod_postal:
          type: string
          example: '400432'
        is_vat:
          type: number
          example: '1'
        vat_date:
          type: string
          format: date
          example: '2022-08-11'
        vat_collection:
          type: number
          example: '1'
        vat_collection_date:
          type: string
          format: date
          example: '2022-08-11'
        vat_split:
          type: number
          example: '0'
        status_inactive:
          type: number
          example: '0'
        status_inactive_date:
          type: string
          format: date
          example: '0'
        cod_caen:
          type: string
          example: '6201'
        tip_activitate:
          type: string
          example: INTERMEDIAR LEASING
        email:
          type: string
          example: example@test.com
        numar_tel_1:
          type: string
          example: '0700000000'
        numar_tel_2:
          type: string
          example: '0700000000'
        numar_fax:
          type: string
          example: '0258111111'
      type: object
    StradaResource:
      properties:
        id:
          type: number
          example: 3
        prefix:
          type: string
          example: str
        denumire:
          type: string
          example: Gheorghe Doja
        localitate_siruta:
          type: integer
          example: '17174'
      type: object
    SubcategorieAuto24bResource:
      properties:
        id:
          type: number
          example: 1
        categorie_id:
          type: number
          example: 1
        subcategorie:
          type: string
          example: Autoturism
      type: object
    TaraResource:
      properties:
        id:
          type: number
          example: 3
        nume:
          description: Name is romanian
          type: string
          example: Romania
        nume_en:
          description: Name in english
          type: string
          example: Romania
        iso2:
          type: string
          example: RO
        iso3:
          type: string
          example: ROM
        continent:
          description: |2-

             *          OC - Australia (oceania),
             *          AF- Africa,
             *          NA - North America,
             *          SA - South America,
             *          EU - Europe,
             *          AS - Asia
          type: string
          enum:
            - OC
            - AF
            - NA
            - SA
            - EU
            - AS
          example: EU
        capitala:
          description: Capital
          type: string
          example: Bucuresti
        schengen:
          description: Member of Schengen Area (true - Yes, false - No)
          type: boolean
          example: 'false'
        eu:
          description: Member of European Union (true - Yes, false - No)
          type: boolean
          example: 'true'
        valuta:
          description: Currency
          type: string
          example: LEI
        telefon_prefix:
          description: Phone prefix
          type: string
          example: RO
      type: object
    TipUtilizareAutoResource:
      properties:
        id:
          type: number
          example: 1
        cod:
          type: string
          example: P
        tip_utilizare:
          type: string
          example: personal
      type: object
  responses:
    ResourceNotFoundResponse:
      description: Resource not found
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '404'
              message:
                type: string
                example: >-
                  No query results for model [_model_name_]
                  _requested_resource_id_
            type: object
    BadRequestResponse:
      description: Bad request response
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '400'
              message:
                type: string
                example: Order by a non existing column
            type: object
    ApiCoreLibAuthResponse200:
      description: Auth result
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'false'
              status:
                type: number
                example: '200'
              data:
                properties:
                  token:
                    description: >-
                      The JSON Web Token (JWT) to be used as the `Token` header
                      value in all subsequent API requests.
                    example: '---JWT Token---'
                  expires_at:
                    description: >-
                      The expiration date and time of the JWT token, in ISO 8601
                      format.
                    example: '2021-09-03 19:41:27'
                  refresh_token:
                    description: A token used to refresh the JWT token when it expires.
                    type: string
                    example: '---Refresh Token---'
                type: object
            type: object
  parameters:
    AdresaPaidFilterByJudet:
      name: f-judet
      in: query
      description: Filter by `judet`
      required: false
      schema:
        type: string
      examples:
        BUCURESTI-SECTORUL 1:
          summary: >-
            to find all records which `judet` name matches `BUCURESTI-SECTORUL
            1`
          value: BUCURESTI-SECTORUL 1
        BUCURESTI-SECTORUL%:
          summary: >-
            to find all records which `judete` name begins with
            `BUCURESTI-SECTORUL`
          value: BUCURESTI-SECTORUL%
        '%SECTORUL%':
          summary: to find all records which `judete` name contains `SECTORUL`
          value: '%SECTORUL%'
        '%SECTORUL 1':
          summary: to find all records which `judete` name ends with `SECTORUL 1`
          value: '%SECTORUL 1'
    AdresaPaidFilterByUat:
      name: f-uat
      in: query
      description: Filter by `uat`
      required: false
      schema:
        type: string
    AdresaPaidFilterByTipUat:
      name: f-tip_uat
      in: query
      description: Filter by `tip_uat`
      required: false
      schema:
        type: string
    AdresaPaidFilterByLocalitate:
      name: f-localitate
      in: query
      description: Filter by `localitate`
      required: false
      schema:
        type: string
    AdresaPaidFilterByTipArtera:
      name: f-tip_artera
      in: query
      description: Filter by `tip_artera`
      required: false
      schema:
        type: string
    AdresaPaidFilterByDenumireArtera:
      name: f-denumire_artera
      in: query
      description: Filter by `denumire_artera`
      required: false
      schema:
        type: string
    AdresaPaidFilterByNumarBloc:
      name: f-numar_bloc
      in: query
      description: Filter by `numar_bloc`
      required: false
      schema:
        type: string
    AdresaPaidFilterByCodPostal:
      name: f-cod_postal
      in: query
      description: Filter by `cod_postal`
      required: false
      schema:
        type: string
    AdresaPaidFilterByMediu:
      name: f-mediu
      in: query
      description: Filter by `mediu`
      required: false
      schema:
        type: integer
    AdresaPaidFilterByCodSiruta:
      name: f-cod_siruta
      in: query
      description: Filter by `cod_siruta`
      required: false
      schema:
        type: integer
    AdresaPaidFilterByTipLocalitate:
      name: f-tip_localitate
      in: query
      description: Filter by `tip_localitate`
      required: false
      schema:
        type: integer
    CaenFilterByCaenCode:
      name: f-caen
      in: query
      description: Filter by `caen`
      required: false
      schema:
        type: number
    CaenFilterBySection:
      name: f-section
      in: query
      description: Filter by `section`
      required: false
      schema:
        type: string
    CaenFilterBySubSection:
      name: f-sub_section
      in: query
      description: Filter by `sub_section`
      required: false
      schema:
        type: string
    CaenFilterBySubDivision:
      name: f-division
      in: query
      description: Filter by `division`
      required: false
      schema:
        type: string
    CaenFilterByGroup:
      name: f-group
      in: query
      description: Filter by `group`
      required: false
      schema:
        type: string
    CaenFilterByClass:
      name: f-class
      in: query
      description: Filter by `class`
      required: false
      schema:
        type: string
    CaenFilterByNace:
      name: f-nace
      in: query
      description: Filter by `nace`
      required: false
      schema:
        type: string
    CaenFilterByName:
      name: f-name
      in: query
      description: Filter by `name`
      required: false
      schema:
        type: string
    FilterByCategorie:
      name: f-categorie
      in: query
      description: Filter by `categorie`
      required: false
      schema:
        type: string
      examples:
        Autotractor:
          summary: to find all records which `categorie` name matches `Autotractor`
          value: Autotractor
        Auto%:
          summary: to find all records which `categorie` name begins with `Auto`
          value: Auto%
        '%transport%':
          summary: to find all records which `categorie` name contains `transport`
          value: '%transport%'
        '%marfa':
          summary: to find all records which `categorie` name ends with `marfa`
          value: '%marfa'
    FilterByCombustibil:
      name: f-combustibil
      in: query
      description: Filter by `combustibil`
      required: false
      schema:
        type: string
    OrderBy:
      name: order-by
      in: query
      required: false
      schema:
        type: string
      example: id
    OrderDir:
      name: order-dir
      in: query
      required: false
      schema:
        type: string
        enum:
          - asc
          - desc
        default: asc
      example: asc
    Offset:
      name: offset
      in: query
      required: false
      schema:
        type: number
      example: '5'
    Limit:
      name: limit
      in: query
      required: false
      schema:
        type: number
      example: '10'
    PerPage:
      name: per_page
      in: query
      required: false
      schema:
        type: number
      example: '10'
    Page:
      name: page
      in: query
      required: false
      schema:
        type: number
      example: '1'
    FilterByCategorieId:
      name: f-categorie_id
      in: query
      description: Filter by `categorie_id`
      required: false
      schema:
        type: number
      example: '1'
    JudetFilterByCodJudet:
      name: f-cod_judet
      in: query
      description: Filter by `cod_judet`
      required: false
      schema:
        type: string
    JudetFilterByNume:
      name: f-nume
      in: query
      description: Filter by `nume`
      required: false
      schema:
        type: string
    JudetFilterBySiruta:
      name: f-siruta
      in: query
      description: Filter by `siruta`
      required: false
      schema:
        type: number
    JudetFilterByTara:
      name: f-tara
      in: query
      description: Filter by `tara`
      required: false
      schema:
        type: string
    LocalitateFilterByTip:
      name: f-tip
      in: query
      description: Filter by `tip`
      required: false
      schema:
        type: number
    LocalitateFilterByNume:
      name: f-nume
      in: query
      description: Filter by `nume`
      required: false
      schema:
        type: string
    LocalitateFilterByCodJudet:
      name: f-cod_judet
      in: query
      description: Filter by `cod_judet`
      required: false
      schema:
        type: string
    LocalitateFilterByCodSiruta:
      name: f-cod_siruta
      in: query
      description: Filter by `cod_siruta`
      required: false
      schema:
        type: number
    LocalitateFilterByTara:
      name: f-tara
      in: query
      description: Filter by `tara`
      required: false
      schema:
        type: string
    LocalitateFilterByRang:
      name: f-rang
      in: query
      description: Filter by `rang`
      required: false
      schema:
        type: number
    FilterByMarca:
      name: f-marca
      in: query
      description: Filter by `marca`
      required: false
      schema:
        type: string
      examples:
        opel:
          summary: to find all records which `marca` name matches `opel`
          value: opel
        mercedes%:
          summary: to find all records which `marca` name begins with `mercedes`
          value: mercedes%
        '%bmw%':
          summary: to find all records which `marca` name contains `bmw`
          value: '%bmw%'
        '%benz':
          summary: to find all records which `marca` name ends with `benz`
          value: '%benz'
    FilterByMarcaId:
      name: f-marca_id
      in: query
      description: Filter by `marca_id`
      required: false
      schema:
        type: number
    FilterByModel:
      name: f-model
      in: query
      description: Filter by `model`
      required: false
      schema:
        type: string
    FilterByCompanie:
      name: f-companie
      in: query
      description: Filter by `companie`
      required: false
      schema:
        type: string
      examples:
        AFIN ROMANIA SA:
          summary: to find all records which `companie` name matches `AFIN ROMANIA SA`
          value: AFIN ROMANIA SA
        AFIN%:
          summary: to find all records which `companie` name begins with `AFIN`
          value: AFIN%
        '%ROMANIA%':
          summary: to find all records which `companie` name contains `ROMANIA`
          value: '%ROMANIA%'
        '%ROMANIA SA':
          summary: to find all records which `companie` name ends with `ROMANIA SA`
          value: '%ROMANIA SA'
    FilterByCui:
      name: f-cui
      in: query
      description: Filter by `cui`
      required: false
      schema:
        type: string
      examples:
        RO 13513245:
          summary: to find all records which `cui` value matches `RO 13513245`
          value: RO 13513245
        RO 135%:
          summary: to find all records which `cui` value begins with `RO 135`
          value: RO 135%
        '%1351%':
          summary: to find all records which `cui` value contains `1351`
          value: '%1351%'
        '%13245':
          summary: to find all records which `cui` value ends with `13245`
          value: '%13245'
    FilterByRegCom:
      name: f-reg_com
      in: query
      description: Filter by `reg_com`
      required: false
      schema:
        type: string
      examples:
        J40/10306/2000:
          summary: to find all records which `reg_com` value matches `J40/10306/2000`
          value: J40/10306/2000
        J40%:
          summary: to find all records which `reg_com` value begins with `J40`
          value: J40%
        '%10306%':
          summary: to find all records which `reg_com` value contains `1030`
          value: '%1030%'
        '%2000':
          summary: to find all records which `reg_com` value ends with `2000`
          value: '%2000'
    FilterByNumar:
      name: f-numar
      in: query
      description: Filter by `numar`
      required: false
      schema:
        type: string
      examples:
        Nr. 212:
          summary: to find all records which `numar` value matches `212A`
          value: Nr. 212
        Nr. 2%:
          summary: to find all records which `numar` value begins with `Nr. 2`
          value: Nr. 2%
        '%21%':
          summary: to find all records which `numar` value contains `21`
          value: '%21%'
        '%12':
          summary: to find all records which `numar` value ends with `12`
          value: '%12'
    FilterByJudet:
      name: f-judet
      in: query
      description: Filter by `judet`
      required: false
      schema:
        type: string
      examples:
        Bucuresti:
          summary: to find all records which `judet` value matches `Bucuresti`
          value: Bucuresti
        Buc%:
          summary: to find all records which `judet` value begins with `Buc`
          value: Buc%
        '%ures%':
          summary: to find all records which `judet` value contains `ures`
          value: '%ures%'
        '%sti':
          summary: to find all records which `judet` value ends with `sti`
          value: '%sti'
    FilterByLocalitate:
      name: f-localitate
      in: query
      description: Filter by `localitate`
      required: false
      schema:
        type: string
      examples:
        Cluj-Napoca:
          summary: to find all records which `localitate` value matches `Cluj-Napoca`
          value: Cluj-Napoca
        Cluj%:
          summary: to find all records which `localitate` value begins with `Cluj`
          value: Cluj%
        '%Napo%':
          summary: to find all records which `localitate` value contains `Napo`
          value: '%Napo%'
        '%Napoca':
          summary: to find all records which `localitate` value ends with `Napoca`
          value: '%Napoca'
    FilterByStrada:
      name: f-strada
      in: query
      description: Filter by `strada`
      required: false
      schema:
        type: string
      examples:
        Str.Alexandru Constantinescu:
          summary: >-
            to find all records which `strada` value matches `Str.Alexandru
            Constantinescu`
          value: Str.Alexandru Constantinescu
        Str.Alexandru%:
          summary: to find all records which `strada` value begins with `Str.Alexandru`
          value: Str.Alexandru%
        '%Alexandru%':
          summary: to find all records which `strada` value contains `Alexandru`
          value: '%Alexandru%'
        '%Constantinescu':
          summary: to find all records which `strada` value ends with `Constantinescu`
          value: '%Constantinescu'
    FilterByBloc:
      name: f-bloc
      in: query
      description: Filter by `bloc`
      required: false
      schema:
        type: string
      examples:
        Bl. H6:
          summary: to find all records which `bloc` value matches `Bl. H6`
          value: Bl. H6
        Bl.%:
          summary: to find all records which `bloc` value begins with `Bl.`
          value: Bl.%
        '%H%':
          summary: to find all records which `bloc` value contains `H`
          value: '%H%'
        '%H6':
          summary: to find all records which `bloc` value ends with `H6`
          value: '%H6'
    FilterByScara:
      name: f-scara
      in: query
      description: Filter by `scara`
      required: false
      schema:
        type: string
      examples:
        Sc. 12 Z:
          summary: to find all records which `scara` value matches `Sc. 12 Z`
          value: Sc. 12 Z
        Sc. 12%:
          summary: to find all records which `scara` value begins with `Sc. 12`
          value: Sc. 12%
        '%12%':
          summary: to find all records which `scara` value contains `12`
          value: '%12%'
        '%Z':
          summary: to find all records which `scara` value ends with `Z`
          value: '%Z'
    FilterByApartament:
      name: f-apartament
      in: query
      description: Filter by `apartament`
      required: false
      schema:
        type: string
      examples:
        Ap. 303:
          summary: to find all records which `apartament` value matches `Ap. 303`
          value: Ap. 303
        Ap. 3%:
          summary: to find all records which `apartament` value begins with `Ap. 3`
          value: Ap. 3%
        '%ment 1%':
          summary: to find all records which `apartament` value contains `ment 1`
          value: '%ment 1%'
        '%3':
          summary: to find all records which `apartament` value ends with `3`
          value: '%3'
    FilterByEtaj:
      name: f-etaj
      in: query
      description: Filter by `etaj`
      required: false
      schema:
        type: string
      examples:
        etaj 3:
          summary: to find all records which `etaj` value matches `etaj 3`
          value: etaj 3
        etaj 1%:
          summary: to find all records which `etaj` value begins with `etaj 1`
          value: etaj 1%
        '%aj 3%':
          summary: to find all records which `etaj` value contains `aj 3`
          value: '%aj 3%'
        '%3':
          summary: to find all records which `etaj` value ends with `3`
          value: '%3'
    FilterByCodPostal:
      name: f-cod_postal
      in: query
      description: Filter by `cod_postal`
      required: false
      schema:
        type: string
      examples:
        '400345':
          summary: to find all records which `cod_postal` value matches `400345`
          value: '400345'
        400%:
          summary: to find all records which `cod_postal` value begins with `400`
          value: 400%
        '%35%':
          summary: to find all records which `cod_postal` value contains `35`
          value: '%35%'
        '%345':
          summary: to find all records which `cod_postal` value ends with `345`
          value: '%345'
    FilterByCodCaen:
      name: f-cod_caen
      in: query
      description: Filter by `cod_caen`
      required: false
      schema:
        type: string
      examples:
        '6201':
          summary: to find all records which `cod_caen` value matches `6201`
          value: '6201'
        620%:
          summary: to find all records which `cod_caen` value begins with `620`
          value: 620%
    FilterByTipActvitate:
      name: f-tip_activitate
      in: query
      description: Filter by `tip_activitate`
      required: false
      schema:
        type: string
      examples:
        Intermediar Leasing:
          summary: >-
            to find all records which `tip_activitate` value matches
            `Intermediar Leasing`
          value: Intermediar Leasing
    FilterBySiruta:
      name: f-localitate_siruta
      in: query
      description: Filter by `localitate_siruta`
      required: false
      schema:
        type: integer
    FilterByDenumire:
      name: f-denumire
      in: query
      description: Filter by `denumire`
      required: false
      schema:
        type: string
    FilterByPrefix:
      name: f-prefix
      in: query
      description: Filter by `prefix`
      required: false
      schema:
        type: string
    FilterBySubcategorie:
      name: f-subcategorie
      in: query
      description: Filter by `subcategorie`
      required: false
      schema:
        type: string
      examples:
        Autoturism:
          summary: to find all records which `subcategorie` name matches `Autoturism`
          value: Autoturism
        Auto%:
          summary: to find all records which `subcategorie` name begins with `Auto`
          value: Auto%
        '%tractor%':
          summary: to find all records which `subcategorie` name contains `tractor`
          value: '%tractor%'
        '%remorca':
          summary: to find all records which `subcategorie` name ends with `remorca`
          value: '%remorca'
    TaraFilterByNume:
      name: f-nume
      in: query
      description: Filter by `nume`
      required: false
      schema:
        type: string
    TaraFilterByIso2:
      name: f-iso2
      in: query
      description: Filter by `iso2`
      required: false
      schema:
        type: string
    TaraFilterByIso3:
      name: f-iso3
      in: query
      description: Filter by `iso3`
      required: false
      schema:
        type: string
    TaraFilterByEuMember:
      name: f-eu
      in: query
      description: Filter by `eu` (Member of European Union)
      required: false
      schema:
        type: string
    TaraFilterBySchengenMember:
      name: f-schengen
      in: query
      description: Filter by `schengen` (Member of Schengen Area)
      required: false
      schema:
        type: string
    TaraFilterByContinent:
      name: f-continent
      in: query
      description: Filter by continent
      required: false
      schema:
        type: string
    TaraFilterByCapital:
      name: f-capitala
      in: query
      description: Filter by capital
      required: false
      schema:
        type: string
    TaraFilterByValuta:
      name: f-valuta
      in: query
      description: Filter by currency
      required: false
      schema:
        type: string
    TaraFilterByPhonePrefix:
      name: f-telefon_prefix
      in: query
      description: Filter by phone prefix
      required: false
      schema:
        type: string
    FilterByCod:
      name: f-cod
      in: query
      description: Filter by `cod`
      required: false
      schema:
        type: string
    FilterByTipUtilizare:
      name: f-tip_utilizare
      in: query
      description: Filter by `tip_utilizare`
      required: false
      schema:
        type: string
    HeaderToken:
      name: Token
      in: header
      description: >-
        The JWT token received from the `POST /auth` endpoint's response field
        name `token`. This should be included in the header as `Token: <JWT
        Token>`.
      required: true
      schema:
        type: string
        format: jwt
tags:
  - name: AdresaPaid
    description: AdresaPaid
  - name: Coduri CAEN
    description: Coduri CAEN
  - name: Categorie Auto 24b
    description: Categorie Auto 24b
  - name: Combustibil Auto
    description: Combustibil Auto
  - name: Judet
    description: Judet
  - name: Localitate
    description: Localitate
  - name: Marca Auto
    description: Marca Auto
  - name: Model Auto
    description: Model Auto
  - name: Societate Leasing
    description: Societate Leasing
  - name: Strada
    description: Strada
  - name: Subcategorie Auto 24b
    description: Subcategorie Auto 24b
  - name: Tara
    description: Tara
  - name: Tip Utilizare Auto
    description: Tip Utilizare Auto
  - name: Authentication
    description: Authentication
