2.0info:   3.0.0   foundation  description: Serviço base da controladoria  x-senior-domain: Domínio base da controladoria  x-senior-domain-path: erpx_cpl  x-senior-service-path: foundation  contact:    name: Senior X Platform    url: https://dev.senior.com.br    email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/erpx_cplsecurityDefinitions:   APIKeyHeader:     type: apiKey     in: header     name: Authorizationsecurity:  – APIKeyHeader: []  – application/json  – application/jsonpaths:  /foundation/queries/healthcheck:    post:      description: Query for health check – SRE      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object      responses:        200:          description: Ok          schema:            type: object            required:              – status              – checks            properties:              status:                type: string                allOf:                –  #/definitions/upDown                description: Status              checks:                type: array                items:                  type: object                  allOf:                   –  #/definitions/checkData                  minimum: 1                description: Verify        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Query for health check – SRE      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:      responses:        200:          description: Ok          schema:            type: object            required:              – status              – checks            properties:              status:                type: string                allOf:                –  #/definitions/upDown                description: Status              checks:                type: array                items:                  type: object                  allOf:                   –  #/definitions/checkData                  minimum: 1                description: Verify        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/getMetadata:    post:      description: Default getMetadata query. Every service must handle this command and return metadata in the format requested.      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            properties:              metadataFormat:                type: string                description:       responses:        200:          description: Ok          schema:            type: object            required:              – metadata            properties:              metadata:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Default getMetadata query. Every service must handle this command and return metadata in the format requested.      tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: metadataFormat          description:           in: query          type: string      responses:        200:          description: Ok          schema:            type: object            required:              – metadata            properties:              metadata:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/exportE046hpd:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/exportE041ceb:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/exportE041cebPlanoContas:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/exportE048fct:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/exportE048fctCplTri:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/exportE048sfc:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/exportE043mpc:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/exportE043pcm:    post:      description:       tags:        – Queries      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/exportConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – exportJobId            properties:              exportJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/queries/getDependencies:    post:      description: Returns a list with all dependencies from this service, along with their respective versions      tags:        – Queries      x-senior-visibility: PRIVATE      responses:        200:          description: Ok          schema:            type: object            required:              – dependencies            properties:              dependencies:                type: array                items:                  type: object                  allOf:                   –  #/definitions/dependency                  minimum: 1                description: List with this service dependencies        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Returns a list with all dependencies from this service, along with their respective versions      tags:        – Queries      x-senior-visibility: PRIVATE      responses:        200:          description: Ok          schema:            type: object            required:              – dependencies            properties:              dependencies:                type: array                items:                  type: object                  allOf:                   –  #/definitions/dependency                  minimum: 1                description: List with this service dependencies        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /foundation/actions/odata:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      responses:        204:          description: No response        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/actions/importE046hpd:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/actions/importE041ceb:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/actions/importE041cebPlanoContas:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/actions/importE048fct:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/actions/importE048fctCplTri:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/actions/importE048sfc:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/actions/importE043mpc:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/actions/importE043pcm:    post:      description:       tags:        – Actions      x-senior-visibility: PRIVATE      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – config            properties:              config:                type: object                allOf:                 –  #/definitions/importConfig                description:       responses:        200:          description: Ok          schema:            type: object            required:              – importJobId            properties:              importJobId:                type: string                description:         401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /foundation/events/importE046hpdEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/exportE046hpdEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/importE041cebEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/exportE041cebEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/importE041cebPlanoContasEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/exportE041cebPlanoContasEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/importE048fctEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/exportE048fctEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/importE048fctCplTriEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/exportE048fctCplTriEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/importE048sfcEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/exportE048sfcEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/importE043mpcEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/exportE043mpcEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/importE043pcmEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/importEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError    /foundation/events/exportE043pcmEvent:    post:      description:       x-senior-event: true      tags:        – Events      parameters:        – name: input          in: body          required: true          schema:            type: object            required:              – eventpl            properties:              eventpl:                type: object                allOf:                 –  #/definitions/exportEventStatus                description:       responses:        200:          description: OK        default:          description: Error response          schema:             #/definitions/genericError  /foundation/entities/e046hpd:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e046hpd      responses:        200:          description: The created resource          schema:             #/definitions/e046hpd        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e046hpd      responses:        200:          description: The created resource          schema:             #/definitions/e046hpd        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e046hpd        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e046hpd/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editE046hpd      responses:        200:          description: Ok          schema:             #/definitions/editE046hpd        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/e046hpd      responses:        200:          description: Ok          schema:             #/definitions/e046hpd        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e046hpd        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /foundation/entities/e046hpd/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/e046hpd      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /foundation/entities/e041ceb:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e041ceb      responses:        200:          description: The created resource          schema:             #/definitions/e041ceb        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e041ceb      responses:        200:          description: The created resource          schema:             #/definitions/e041ceb        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e041ceb        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e041ceb/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editE041ceb      responses:        200:          description: Ok          schema:             #/definitions/editE041ceb        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/e041ceb      responses:        200:          description: Ok          schema:             #/definitions/e041ceb        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e041ceb        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /foundation/entities/e041ceb/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/e041ceb      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /foundation/entities/e041cebPlanoContas:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e041cebPlanoContas      responses:        200:          description: The created resource          schema:             #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e041cebPlanoContas      responses:        200:          description: The created resource          schema:             #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e041cebPlanoContas/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editE041cebPlanoContas      responses:        200:          description: Ok          schema:             #/definitions/editE041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/e041cebPlanoContas      responses:        200:          description: Ok          schema:             #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e041ceb/{parentId}/e041cebPlanoContas:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:            type: array            items:               #/definitions/e041cebPlanoContas      responses:        200:          description: The created resources          schema:            type: array            items:               #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:            type: array            items:               #/definitions/e041cebPlanoContas      responses:        200:          description: The created resources          schema:            type: array            items:               #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e041ceb/{parentId}/e041cebPlanoContas/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editE041cebPlanoContas      responses:        200:          description: Ok          schema:             #/definitions/editE041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/e041cebPlanoContas      responses:        200:          description: Ok          schema:             #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e041cebPlanoContas        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e041cebPlanoContas/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/e041cebPlanoContas      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /foundation/entities/e048fct:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e048fct      responses:        200:          description: The created resource          schema:             #/definitions/e048fct        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e048fct      responses:        200:          description: The created resource          schema:             #/definitions/e048fct        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e048fct        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e048fct/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editE048fct      responses:        200:          description: Ok          schema:             #/definitions/editE048fct        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/e048fct      responses:        200:          description: Ok          schema:             #/definitions/e048fct        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e048fct        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /foundation/entities/e048fct/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/e048fct      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /foundation/entities/e048fctCplTri:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e048fctCplTri      responses:        200:          description: The created resource          schema:             #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e048fctCplTri      responses:        200:          description: The created resource          schema:             #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e048fctCplTri/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editE048fctCplTri      responses:        200:          description: Ok          schema:             #/definitions/editE048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/e048fctCplTri      responses:        200:          description: Ok          schema:             #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e048fct/{parentId}/e048fctCplTri:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e048fctCplTri      responses:        200:          description: The created resource          schema:             #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e048fctCplTri      responses:        200:          description: The created resource          schema:             #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e048fct/{parentId}/e048fctCplTri/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editE048fctCplTri      responses:        200:          description: Ok          schema:             #/definitions/editE048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/e048fctCplTri      responses:        200:          description: Ok          schema:             #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e048fctCplTri        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: parentId          in: path          required: true          type: string        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e048fctCplTri/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/e048fctCplTri      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /foundation/entities/e048sfc:    post:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e048sfc      responses:        200:          description: The created resource          schema:             #/definitions/e048sfc        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: entity          in: body          required: true          schema:            type: object            allOf:             –  #/definitions/e048sfc      responses:        200:          description: The created resource          schema:             #/definitions/e048sfc        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e048sfc        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e048sfc/{id}:    put:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/editE048sfc      responses:        200:          description: Ok          schema:             #/definitions/editE048sfc        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    patch:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string        – name: entity          in: body          required: true          schema:             #/definitions/e048sfc      responses:        200:          description: Ok          schema:             #/definitions/e048sfc        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e048sfc        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    delete:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /foundation/entities/e048sfc/bulk:    post:      description: Esta entidade pode ser customizada.      tags:        – Bulk      parameters:        – name: entities          in: body          required: true          schema:            type: array            items:               #/definitions/e048sfc      responses:        200:          description: The bulk creation has created resources        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError  /foundation/entities/e043mpc:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e043mpc        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e043mpc/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e043mpc        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError        /foundation/entities/e043pcm:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: offset          in: query          type: number        – name: size          in: query          type: number        – name: filter          in: query          type: string        – name: groupby          in: query          type: string        – name: displayfields          in: query          type: string        – name: translation          in: query          type: boolean      responses:        200:          description: Ok          schema:            type: object            properties:              totalPages:                description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima                type: integer                format: int64              totalElements:                description: Quantidade total de registros                type: integer                format: int64              contents:                type: array                items:                   #/definitions/e043pcm        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError    /foundation/entities/e043pcm/{id}:    get:      description: Esta entidade pode ser customizada.      tags:        – CRUD      x-senior-visibility: PRIVATE      parameters:        – name: id          in: path          required: true          type: string      responses:        200:          description: Ok          schema:             #/definitions/e043pcm        401:          description: Invalid Credentials        default:          description: Error response          schema:             #/definitions/genericError      definitions:  upDown:    type: string    enum:      – UP      – DOWN    description:        Up or down:       * `UP` – Up       * `DOWN` – Down    enumStatus:    type: string    enum:      – ACTIVE      – INACTIVE    description:        Situação do serviço:       * `ACTIVE` – Ativo       * `INACTIVE` – Inativo    enumTipHpd:    type: string    enum:      – VN      – VZ      – VC      – VA      – VD      – VV      – VE    description:        Tipo de histórico:       * `VN` – Normal       * `VZ` – Especial para Zeramento       * `VC` – Especial Intercompany       * `VA` – Especial para Ajuste       * `VD` – Especial para Distribuição       * `VV` – Especial para Ajuste Valor Presente       * `VE` – Especial para Estorno Ajuste Valor Presente    enumOriLct:    type: string    enum:      – VEST      – VVEN      – VCPR      – VREC      – VPAG      – VTES    description:        Origem lançamento:       * `VEST` – Estoque       * `VVEN` – NF de Saída       * `VCPR` – NF de Entrada       * `VREC` – Contas a receber – Movimento       * `VPAG` – Contas a pagar – Movimento       * `VTES` – Tesouraria    enumTipCtb:    type: string    enum:      – VA      – VS      – VN      – VT      – VX      – VY      – VU    description:        Nível da origem da forma de contabilização:       * `VA` – Analítico – Total NF ou Movimentos       * `VS` – Sintético – Total NF ou Movimentos       * `VN` – Analítico – pelos Itens NF       * `VT` – Sintético – pelos Itens NF       * `VX` – Analítico – pelos Rateios       * `VY` – Sintético – pelos Rateios       * `VU` – Composição Auxiliar    enumVarBas:    type: string    enum:      – V1      – V2      – V3      – V4      – V5      – V6      – V7      – V8    description:        Variável:       * `V1` – Filial       * `V2` – Data       * `V3` – Conta Contábil       * `V4` – Valor       * `V5` – Complemento       * `V6` – CNPJ/CPF Débito       * `V7` – CNPJ/CPF Crédito       * `V8` – Observação    enumTipCeb:    type: string    enum:      – MANUAL      – AUTOMATICO    description:        Enumeração de tipo de critério de endereço de busca:       * `MANUAL` – Manual       * `AUTOMATICO` – Automatico    enumSitReg:    type: string    enum:      – VA      – VI    description:        Situação do registro:       * `VA` – Ativo       * `VI` – Inativo    enumContaContabil:    type: string    enum:      – CREDITO      – DEBITO    description:        Conta contábil:       * `CREDITO` – Conta crédito       * `DEBITO` – Conta débito    enumTipPla:    type: string    enum:      – V1      – V2      – V3      – V4      – V5    description:        Tipo do plano:       * `V1` – Contábil       * `V2` – Financeiro       * `V3` – Centro Custos       * `V4` – Composição Auxiliar       * `V5` – Referencial    enumGruCta:    type: string    enum:      – VA      – VP      – VD      – VR      – VX      – VM      – VN      – VU      – VL      – VV      – VC      – VS      – VE      – VO      – VT    description:        Enumeração de definição de grupo:       * `VA` – Ativo (Contábil – Devedora)       * `VP` – Passivo (Contábil – Credora)       * `VD` – Despesas (Contábil – Devedora)       * `VR` – Receitas (Contábil – Credora)       * `VX` – Ambas (Contábil – Desp./Rec.)       * `VM` – Receitas Financeiras       * `VN` – Despesas Financeiras       * `VU` – Conta Auxiliar       * `VL` – Patrimônio Líquido       * `VV` – Custo de Venda       * `VC` – Custo de Produção       * `VS` – Custo de Ordem Dedutora       * `VE` – Custo de Ordem Credora       * `VO` – Outros       * `VT` – Contas de Compensação    enumAnaSin:    type: string    enum:      – VA      – VS    description:        Tipo de conta:       * `VA` – Analítico(a)       * `VS` – Sintético(a)    enumNatCtb:    type: string    enum:      – VD      – VC      – VA    description:        Natureza:       * `VD` – Devedora       * `VC` – Credora       * `VA` – Ambas    enumForRat:    type: string    enum:      – V0      – V3    description:        Forma de rateio:       * `V0` – Sem Rateio       * `V3` – Com Rateio    userNotificationKind:    type: string    enum:      – Operational      – Management      – News    description:        User notification kind.:       * `Operational` – Operational       * `Management` – Management       * `News` – News    userNotificationPriority:    type: string    enum:      – Error      – Alert      – None    description:        User notification priority.:       * `Error` – Error       * `Alert` – Alert       * `None` – None    eventEmailFormat:    type: string    enum:      – HTML      – PLAIN_TEXT    description:        Format of the email:       * `HTML` – Html       * `PLAIN_TEXT` – Plain Text    fieldType:    type: string    enum:      – BINARY      – BOOLEAN      – DATE      – DATETIME      – LOCALDATETIME      – DOUBLE      – ENUM      – INTEGER      – MONEY      – STRING      – TIME    description:        FieldType:       * `BINARY` – Binary       * `BOOLEAN` – Boolean       * `DATE` – Date       * `DATETIME` – Datetime       * `LOCALDATETIME` – Localdatetime       * `DOUBLE` – Double       * `ENUM` – Enum       * `INTEGER` – Integer       * `MONEY` – Money       * `STRING` – String       * `TIME` – Time    fileFormat:    type: string    enum:      – CSV      – FLAT      – JSON      – XML    description:        FileFormat:       * `CSV` – Csv       * `FLAT` – Flat       * `JSON` – Json       * `XML` – Xml    hookFunction:    type: string    enum:      – BEFORE_PARSE      – BEFORE_CONVERSION      – ON_ERROR      – VALIDATE    description:        HookFunction:       * `BEFORE_PARSE` – Before parse       * `BEFORE_CONVERSION` – Before conversion       * `ON_ERROR` – On error       * `VALIDATE` – Validate    eventType:    type: string    enum:      – CHUNK      – DOWNLOAD      – ERROR      – FINISH      – START    description:        EventType:       * `CHUNK` – Chunk       * `DOWNLOAD` – Download       * `ERROR` – Error       * `FINISH` – Finish       * `START` – Start    errorStrategy:    type: string    enum:      – CALL_SCRIPT      – IGNORE      – STOP    description:        ErrorStrategy:       * `CALL_SCRIPT` – Call script       * `IGNORE` – Ignore       * `STOP` – Stop    status:    type: string    enum:      – DONE      – DONE_WITH_ERRORS      – DOWNLOADING      – ERROR      – NOT_STARTED      – RUNNING    description:        Status:       * `DONE` – Done       * `DONE_WITH_ERRORS` – Done with errors       * `DOWNLOADING` – Downloading       * `ERROR` – Error       * `NOT_STARTED` – Not started       * `RUNNING` – Running    errorType:    type: string    enum:      – CONVERT_ERROR      – SERVICE_ERROR    description:        ErrorType:       * `CONVERT_ERROR` – Convert error       * `SERVICE_ERROR` – Service error  checkData:    description: Dados do healthcheck    type: object    required:      – name      – status    properties:      name:        type: string        description: Nome do healthcheck      status:        type: string        allOf:        –  #/definitions/upDown        description: Status do healthcheck    e046hpd:    description: Tabelas – Históricos Padrões    type: object    required:      – desHpd      – tipHpd      – ativo    properties:      id:        type: string        format: uuid        description: Id da entidade      titHpd:        type: string        maxLength: 255        description: Título      desHpd:        type: string        maxLength: 255        description: Descrição      tipHpd:        type: string        allOf:        –  #/definitions/enumTipHpd        description: Tipo      ativo:        type: boolean        description: Ativo      excluido:        type: boolean        description: Indica se o registro foi excluído        default: false      usuger:        type: string        description:       dthger:        type: string        format: date-time        description:       usualt:        type: string        description:       dthalt:        type: string        format: date-time        description:   editE046hpd:    type: object    required:      – id    allOf:      –  #/definitions/e046hpd    e041ceb:    description: Tabelas – Critérios de Endereços de Busca para Formas de Contabilização    type: object    required:      – oriFct      – anaSin      – varBas      – tipCeb      – criCeb      – sitReg    properties:      id:        type: string        format: uuid        description: Id da entidade      oriFct:        type: string        allOf:        –  #/definitions/enumOriLct        description: Origem      anaSin:        type: string        allOf:        –  #/definitions/enumTipCtb        description: Nível      varBas:        type: string        allOf:        –  #/definitions/enumVarBas        description: Variável Base      tipCeb:        type: string        allOf:        –  #/definitions/enumTipCeb        description: Tipo de busca      criCeb:        type: string        maxLength: 1000        description: Descrição do Critério      endereco_id:        type: string        format: uuid        description: identificador endereço de busca      endCeb:        type: string        maxLength: 3000        description: Endereço de Busca      obsCeb:        type: string        maxLength: 250        description: Observação      sitReg:        type: string        allOf:        –  #/definitions/enumSitReg        description: Situação      e041cebPlanoContas:        type: array        items:          type: object          allOf:           –  #/definitions/e041cebPlanoContas        description: Contas contábeis do critério de busca      excluido:        type: boolean        description: Indica se o registro foi excluído        default: false      usuger:        type: string        description:       dthger:        type: string        format: date-time        description:       usualt:        type: string        description:       dthalt:        type: string        format: date-time        description:   editE041ceb:    type: object    required:      – id    allOf:      –  #/definitions/e041ceb    e041cebPlanoContas:    description: Criterio de Busca – Contas contábeis para busca manual    type: object    required:      – e043mpc      – e043pcm    properties:      id:        type: string        format: uuid        description: Id da entidade      e041ceb:        type: object        allOf:         –  #/definitions/e041ceb        description: UD da entidade e041ceb      e043mpc:        type: object        allOf:         –  #/definitions/e043mpc        description: Modelo de Plano      e043pcm:        type: object        allOf:         –  #/definitions/e043pcm        description: Conta Contábil      excluido:        type: boolean        description: Indica se o registro foi excluído        default: false      usuger:        type: string        description:       dthger:        type: string        format: date-time        description:       usualt:        type: string        description:       dthalt:        type: string        format: date-time        description:   editE041cebPlanoContas:    type: object    required:      – id    allOf:      –  #/definitions/e041cebPlanoContas    e048fct:    description: Formas de Contabilização    type: object    required:      – codFct      – desFct      – oriFct      – sitReg    properties:      id:        type: string        format: uuid        description: Id da entidade      e048fctCplTri:        type: object        allOf:         –  #/definitions/e048fctCplTri        description: Informações tributárias da forma de contabilização      codFct:        type: string        maxLength: 100        description: Código      desFct:        type: string        maxLength: 40        description: Descrição      oriFct:        type: string        allOf:        –  #/definitions/enumOriLct        description: Origem      obsFct:        type: string        maxLength: 250        description: Observação      sitReg:        type: string        allOf:        –  #/definitions/enumSitReg        description: Situação      excluido:        type: boolean        description: Indica se o registro foi excluído        default: false      usuger:        type: string        description:       dthger:        type: string        format: date-time        description:       usualt:        type: string        description:       dthalt:        type: string        format: date-time        description:   editE048fct:    type: object    required:      – id    allOf:      –  #/definitions/e048fct    e048fctCplTri:    description: Informações tributárias da forma de contabilização    type: object    required:      – e041ceb    properties:      id:        type: string        format: uuid        description: Id da entidade      e048fct:        type: object        allOf:         –  #/definitions/e048fct        description: Forma de contabilização      e048sfc:        type: object        allOf:         –  #/definitions/e048sfc        description: Sequência utilizada no SPED EFD ICMS/IPI e Contribuições      contaContabil:        type: string        allOf:        –  #/definitions/enumContaContabil        description: Partida a ser utilizada      e041ceb:        type: object        allOf:         –  #/definitions/e041ceb        description: Critério de Busca da Conta contábil      usuger:        type: string        description:       dthger:        type: string        format: date-time        description:       usualt:        type: string        description:       dthalt:        type: string        format: date-time        description:   editE048fctCplTri:    type: object    required:      – id    allOf:      –  #/definitions/e048fctCplTri    e048sfc:    description: Formas de Contabilização – Itens    type: object    required:      – e048fct      – anaSin      – e041cebFil      – e041cebDat      – e041cebVal    properties:      id:        type: string        format: uuid        description: Id da entidade      e048fct:        type: object        allOf:         –  #/definitions/e048fct        description: Forma de Contabilização      seqFct:        type: integer        format: int64        description: Sequência        minimum: 0        maximum: 999      anaSin:        type: string        allOf:        –  #/definitions/enumTipCtb        description: Analítica/Sintética      e041cebFil:        type: object        allOf:         –  #/definitions/e041ceb        description: Filial: Critério      e041cebDat:        type: object        allOf:         –  #/definitions/e041ceb        description: Data: Critério      e041cebDeb:        type: object        allOf:         –  #/definitions/e041ceb        description: Conta Débito: Critério      e041cebCre:        type: object        allOf:         –  #/definitions/e041ceb        description: Conta Crédito: Critério      e041cebVal:        type: object        allOf:         –  #/definitions/e041ceb        description: Valor: Critério      e046hpd:        type: object        allOf:         –  #/definitions/e046hpd        description: Histórico Padrão      e041cebCompl:        type: object        allOf:         –  #/definitions/e041ceb        description: Critério Complemento      e041cebCgcDeb:        type: object        allOf:         –  #/definitions/e041ceb        description: CNPJ/CPF Débito: Critério      e041cebCgcCre:        type: object        allOf:         –  #/definitions/e041ceb        description: CNPJ/CPF Crédito: Critério      obsSfc:        type: string        maxLength: 250        description: Observação      e048sfcRlc:        type: object        allOf:         –  #/definitions/e048sfc        description: Sequência Relacionada      e041cebObs:        type: object        allOf:         –  #/definitions/e041ceb        description: Critério Observação Complemento      ftcUni:        type: boolean        description: Fato Contábil Único        default: false      excluido:        type: boolean        description: Indica se o registro foi excluído        default: false      usuger:        type: string        description:       dthger:        type: string        format: date-time        description:       usualt:        type: string        description:       dthalt:        type: string        format: date-time        description:   editE048sfc:    type: object    required:      – id    allOf:      –  #/definitions/e048sfc    e043mpc:    description: Tabelas – Modelos de Planos    type: object    properties:      id:        type: string        format: uuid        description: Id da entidade      codMpc:        type: integer        format: int64        description: Código Modelo Plano        minimum: 0        maximum: 9999      desMpc:        type: string        maxLength: 40        description: Descrição      tipPla:        type: string        allOf:        –  #/definitions/enumTipPla        description: Tipo Plano      sitMpc:        type: string        allOf:        –  #/definitions/enumSitReg        description: Situação      excluido:        type: boolean        description: Indica se o registro foi excluído        default: false      extIntSts:        type: string        maxLength: 100        description: Indica status da replicação      extIntMsg:        type: string        maxLength: 100        description: Indica a mensagem da replicação      usuger:        type: string        description:       dthger:        type: string        format: date-time        description:       usualt:        type: string        description:       dthalt:        type: string        format: date-time        description:     e043pcm:    description: Modelo de centro de custo    type: object    required:      – ctaRed      – defGru      – claCta      – desCta      – abrCta      – sitCon      – anaSin      – natCta      – nivCta      – forRat      – e043mpc    properties:      id:        type: string        format: uuid        description: Id da entidade      ctaRed:        type: integer        format: int64        description: Conta Reduzida        minimum: 1        maximum: 999999999      defGru:        type: string        allOf:        –  #/definitions/enumGruCta        description: Definição      claCta:        type: string        maxLength: 30        description: Classificação/Máscara      desCta:        type: string        maxLength: 250        description: Nomenclatura      abrCta:        type: string        maxLength: 20        description: Abreviatura      sitCon:        type: string        allOf:        –  #/definitions/enumSitReg        description: Situação      anaSin:        type: string        allOf:        –  #/definitions/enumAnaSin        description: Analítica/Sintética      natCta:        type: string        allOf:        –  #/definitions/enumNatCtb        description: Natureza      nivCta:        type: integer        format: int64        description: Nível        minimum: 1        maximum: 99      forRat:        type: string        allOf:        –  #/definitions/enumForRat        description: Forma de Rateio      exiAux:        type: boolean        description: Exige Conta Auxiliar        default: false      e043mpc:        type: object        allOf:         –  #/definitions/e043mpc        description: Modelo Plano      e043pcmPai:        type: object        allOf:         –  #/definitions/e043pcm        description: Conta Reduzida Contábil      excluido:        type: boolean        description: Indica se o registro foi excluído        default: false      extIntSts:        type: string        description: Estado de integração com a entidade externa      extIntMsg:        type: string        description: Mensagem do resultado da integração      usuger:        type: string        description:       dthger:        type: string        format: date-time        description:       usualt:        type: string        description:       dthalt:        type: string        format: date-time        description:     notifyUserEventPayload:    description: Represents a regular user event notification payload    discriminator: _discriminator    type: object    required:      – notificationKind      – notificationPriority      – notificationSubject      – notificationContent      – sourceDomain      – sourceService      – destinationUser      – _discriminator    properties:      notificationClass:        type: string        description: Class of notification      notificationOrigin:        type: string        description: Origin of notification. Free text. Optional.      notificationKind:        type: string        allOf:        –  #/definitions/userNotificationKind        description: Notification kind.      notificationPriority:        type: string        allOf:        –  #/definitions/userNotificationPriority        description: Notification priority.      notificationSubject:        type: string        description: Notification subject.      notificationContent:        type: string        description: Notification content.      sourceDomain:        type: string        description: Domain that generates the notification.      sourceService:        type: string        description: Service that generates the notification.      destinationUser:        type: string        description: Username of the destination user.      link:        type: string        description: Notification link      _discriminator:        type: string        description:     emailNotifyUserEventPayload:    description: Represents an email notification payload    allOf:    –  #/definitions/notifyUserEventPayload    –      type: object      required:        – from      properties:        from:          type: string          description: Email sender address        sendTo:          type: array          items:            type: string          description: Additional recipients to send the email to        format:          type: string          allOf:          –  #/definitions/eventEmailFormat          description: Email format    pushNotifyUserEventPayload:    description: Represents a push notification payload    allOf:    –  #/definitions/notifyUserEventPayload    –      type: object      required:        – applicationId      properties:        applicationId:          type: string          description: Apple/Google application id    blobReference:    description: Default blob reference type. Every service defines its own.    type: object    required:      – targetObjectId    properties:      domainName:        type: string        description: The domain the blob belongs to.      serviceName:        type: string        description: The service the blob belongs to.      targetObjectId:        type: string        description: The basic id of the blob.      targetCopyId:        type: string        description: The id of the blob copy.    basicErrorPayload:    description: Default error payload type. Every service defines its own.    type: object    properties:      message:        type: string        description: The user-facing error message, if any.      errorCode:        type: string        description: The program-accessible (and service-specific) error code.    importError:    description:     type: object    required:      – errorType      – lineNumber      – bean      – message      – exceptionClass    properties:      errorType:        type: string        allOf:        –  #/definitions/errorType        description:       lineNumber:        type: integer        format: int64        description:       bean:        type: string        description:       message:        type: string        description:       exceptionClass:        type: string        description:     fielddto:    description:     type: object    required:      – id      – name      – fieldType    properties:      id:        type: integer        format: int64        description:       name:        type: string        description:       fieldType:        type: string        allOf:        –  #/definitions/fieldType        description:       start:        type: integer        format: int64        description:       size:        type: integer        format: int64        description:       maskPattern:        type: string        description:     hookdto:    description:     type: object    required:      – hookFunction      – script    properties:      hookFunction:        type: string        allOf:        –  #/definitions/hookFunction        description:       script:        type: string        description:     layoutdto:    description:     type: object    required:      – id      – description      – fileFormat      – errorStrategy      – skipLines      – fields    properties:      id:        type: integer        format: int64        description:       description:        type: string        description:       fileFormat:        type: string        allOf:        –  #/definitions/fileFormat        description:       errorStrategy:        type: string        allOf:        –  #/definitions/errorStrategy        description:       delimiter:        type: string        description:       skipLines:        type: integer        format: int64        description:       fields:        type: array        items:          type: object          allOf:           –  #/definitions/fielddto          minimum: 1        description:       hooks:        type: array        items:          type: object          allOf:           –  #/definitions/hookdto        description:     importReport:    description:     type: object    required:      – id      – startTime      – endTime      – uri      – beanClass      – serviceClass      – layout      – sucessCount      – errorsCount      – filteredCount      – skippedCount    properties:      id:        type: string        description:       startTime:        type: string        format: date-time        description:       endTime:        type: string        format: date-time        description:       uri:        type: string        description:       beanClass:        type: string        description:       serviceClass:        type: string        description:       layout:        type: object        allOf:         –  #/definitions/layoutdto        description:       sucessCount:        type: integer        format: int64        description:       errorsCount:        type: integer        format: int64        description:       filteredCount:        type: integer        format: int64        description:       skippedCount:        type: integer        format: int64        description:       importErrors:        type: array        items:          type: object          allOf:           –  #/definitions/importError        description:     exportEventStatus:    description:     type: object    required:      – importerId      – eventType      – recordCount    properties:      importerId:        type: string        description:       eventType:        type: string        allOf:        –  #/definitions/eventType        description:       recordCount:        type: integer        format: int64        description:     importEventStatus:    description:     type: object    required:      – importerId      – eventType      – status      – recordCount    properties:      importerId:        type: string        description:       eventType:        type: string        allOf:        –  #/definitions/eventType        description:       status:        type: string        allOf:        –  #/definitions/status        description:       errorMessage:        type: string        description:       recordCount:        type: integer        format: int64        description:       importReport:        type: object        allOf:         –  #/definitions/importReport        description:     exportConfig:    description:     type: object    required:      – uri      – layout      – async      – errorStrategy    properties:      uri:        type: string        description:       layout:        type: object        allOf:         –  #/definitions/layoutdto        description:       async:        type: boolean        description:       errorStrategy:        type: string        description:     importConfig:    description:     type: object    required:      – uri      – layout      – async      – batchSize      – errorStrategy    properties:      uri:        type: string        description:       layout:        type: object        allOf:         –  #/definitions/layoutdto        description:       async:        type: boolean        description:       batchSize:        type: integer        format: int64        description:       errorStrategy:        type: string        allOf:        –  #/definitions/errorStrategy        description:     dependency:    description: Represents a service dependency    type: object    required:      – domain      – service      – version    properties:      domain:        type: string        description: Domain of the dependency service      service:        type: string        description: Name of the dependency service              type: string        description: Version of the dependency service  genericError:    properties:      message:        type: string        description: Messaging describing the error.      reason:        type: string        enum:          – BAD_REQUEST          – UNAUTHORIZED          – PAYMENT_REQUIRED          – FORBIDDEN          – OBJECT_NOT_FOUND          – REQUEST_TIMEOUT          – GONE          – UNPROCESSABLE          – INTERNAL_ERROR          – NOT_IMPLEMENTED          – SERVICE_UNAVAILABLE          – INSUFFICIENT_STORAGE        description:            A symbolic code identifying the category of the reason of the error:           * `BAD_REQUEST` – Bad Request           * `UNAUTHORIZED` – Unauthorized           * `PAYMENT_REQUIRED` – Payment Required           * `OBJECT_NOT_FOUND` – Object Not Found           * `REQUEST_TIMEOUT` – Request Timeout           * `GONE` – Gone           * `UNPROCESSABLE` – Unprocessable           * `INTERNAL_ERROR` – Internal Error           * `NOT_IMPLEMENTED` – Not Implemented           * `SERVICE_UNAVAILABLE` – Service Unavailable           * `INSUFFICIENT_STORAGE` – Insufficient Storage