openapi: 3.0.3
info:
  title: TIIX Dash API
  version: 1.0.0
paths:
  /adm/api/Dash/overview:
    post:
      summary: Visão geral dos KPIs do painel
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    id_contrato:
                      type: integer
      responses:
        '200':
          description: OK
  /adm/api/Dash/charts:
    post:
      summary: Dados de gráficos do painel
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    tipo:
                      type: string
                      enum: [faturas_mes, leads_status]
      responses:
        '200':
          description: OK
