openapi: 3.0.0
info:
  title: locuinte.api.lifeishard.ro
  description: Documentatie LocuinteApi
  contact:
    email: api.support@lifeishard.ro
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.3'
servers:
  - url: https://locuinte.api.lifeishard.ro
    description: Production server
  - url: https://locuinte-qa.api.lifeishard.ro
    description: Development server
paths:
  /acoperiri:
    get:
      tags:
        - Acoperiri
      summary: Lista de acoperiri
      operationId: bff6588c43e92e6576f802dafc73739e
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Lista de acoperiri
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        cod:
                          type: string
                          example: incendiu
                        nume:
                          type: string
                          example: INCENDIU
                      type: object
                type: object
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/tari:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator cu lista de tari
      operationId: 327a962f3258a596a26d5b0a2d2f8fe4
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Lista de tari
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        id:
                          type: number
                          example: '175'
                        nume:
                          type: string
                          example: Romania
                        iso2:
                          type: string
                          example: RO
                        iso3:
                          type: string
                          example: ROM
                      type: object
                type: object
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/judet:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator cu lista de judete
      operationId: b509261e4a70f6bde40b3a1d91484350
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Lista de judete
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        cod_judet:
                          type: string
                          example: CJ
                        nume:
                          type: string
                          example: CLUJ
                        siruta:
                          type: integer
                          example: '127'
                      type: object
                type: object
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/localitate/{cod_judet}:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator cu lista de localitati filtrat pe un judet
      operationId: fd1160b77c249ab8e84d21ed12986a4c
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: cod_judet
          in: path
          description: Cod judet
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Lista de localitati
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        nume:
                          type: string
                          example: CLUJ-NAPOCA
                        cod_judet:
                          type: string
                          example: CJ
                        cod_siruta:
                          type: integer
                          example: '54984'
                      type: object
                type: object
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/structura-de-rezistenta:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator de tipuri de structuri de rezistenta
      operationId: 1cde3408492c88f67fa674353feee4a9
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/Response200StandardNomenclature'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/risc-seismic:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator de valori pentru risc seismic
      operationId: 69ac4a2213e71f6079778e8fd1ab156e
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/Response200StandardNomenclature'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/inaltimea-cladirii:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator de inaltimi de cladire
      operationId: a634543f518e4b398b74e6e7396cb22a
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/Response200StandardNomenclature'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/etaje-adresa:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator de etaje pentru adresa
      operationId: cc90c68e1a8968ca888a81f5ef20cd50
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/Response200StandardNomenclature'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/tip-adresa:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator de tipuri de adresa
      operationId: c298d9484d8e1321018a0b38ff158498
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/Response200StandardNomenclature'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/tip-strada:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator de tipuri de strazi
      operationId: 6a3cfd557be6e6b7fa2aa0982af276b8
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/Response200StandardNomenclature'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/tip-imobil:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator de tipuri de imobil
      operationId: a7f3ddabd3f11c1545f3de6c77d9ba4e
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/Response200StandardNomenclature'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/cesionar:
    get:
      tags:
        - Nomenclatoare
      summary: Lista cu cesionarii acceptati de PAID
      operationId: a64c73e95748333570ad981b30d6c037
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Lista cu cesionarii acceptati de PAID
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        cui:
                          type: string
                          example: '5110730'
                        nume:
                          type: string
                          example: ADMINISTRATIA FONDULUI IMOBILIAR
                        eurolife_id:
                          description: ID-ul cesionarului din sistemul Eurolife
                          type: string
                          example: '550'
                      type: object
                type: object
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/adrese-paid:
    get:
      tags:
        - Nomenclatoare
      summary: Nomenclator adrese PAID
      operationId: 3da42cd070d93d745ae78311912027f9
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: order-by
          in: query
          schema:
            type: string
            example: id
        - name: order-dir
          in: query
          schema:
            type: string
            default: asc
            enum:
              - asc
              - desc
            example: asc
        - name: offset
          in: query
          schema:
            type: integer
            example: '5'
        - name: limit
          in: query
          schema:
            type: integer
            example: '10'
        - name: f-judet
          in: query
          schema:
            type: string
            example: BUCURESTI-SECTORUL 1
        - name: f-uat
          in: query
          schema:
            type: string
            example: BUCURESTI
        - name: f-tip_uat
          in: query
          schema:
            type: string
            example: MUNICIPIU
        - name: f-localitate
          in: query
          schema:
            type: string
            example: BUCURESTI
        - name: f-tip_artera
          in: query
          schema:
            type: string
            example: STRADA
        - name: f-denumire_artera
          in: query
          schema:
            type: string
            example: ORLANDO
        - name: f-numar_bloc
          in: query
          schema:
            type: string
            example: '7'
        - name: f-cod_postal
          in: query
          schema:
            type: integer
            example: '010448'
        - name: f-mediu
          in: query
          schema:
            type: integer
            example: '1'
        - name: f-cod_siruta
          in: query
          schema:
            type: integer
            example: '179141'
        - name: f-tip_localitate
          in: query
          schema:
            type: integer
            example: '6'
      responses:
        '200':
          description: Lista de adrese PAID
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        id:
                          type: number
                          example: '1'
                        judet:
                          type: string
                          example: BUCURESTI SECTORUL 1
                        uat:
                          type: string
                          example: BUCURESTI
                        tip_uat:
                          type: string
                          example: MUNICIPIU
                        localitate:
                          type: string
                          example: BUCURESTI
                        tip_artera:
                          type: string
                          example: STRADA
                        denumire_artera:
                          type: string
                          example: ORLANDO
                        numar_bloc:
                          type: string
                          example: nr. 7
                        mediu:
                          type: number
                          example: '1'
                        cod_postal:
                          type: number
                          example: '010448'
                        cod_siruta:
                          type: number
                          example: '179141'
                        tip_localitate:
                          type: number
                          example: '6'
                        localitate_refacut:
                          type: number
                          example: Sectoarele municipiului Bucuresti
                        luna_an:
                          type: number
                          example: M08-2020
                        observatii:
                          type: number
                          example: aliniere la piata asig
                      type: object
                type: object
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /oferta:
    post:
      tags:
        - Produse
      summary: Obtine cotatie
      description: Se obtine o cotatie de la asiguratorul si produsul specificat in request
      operationId: getOffer
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      requestBody:
        description: Un JSON conform produsului dorit
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiQuotationRequest'
      responses:
        '200':
          description: Raspuns cotatie
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: integer
                    example: '200'
                  data:
                    properties:
                      societate:
                        type: string
                        example: NUME_SAS
                      produs:
                        type: string
                        example: PRODUS_SAS
                      identificator_oferta:
                        type: integer
                        example: '12'
                      oferte:
                        $ref: '#/components/schemas/OfferArray'
                    type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400InputValidation'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '409':
          $ref: '#/components/responses/Response409Conflict'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /oferta/{id}:
    get:
      tags:
        - Produse
      summary: Fisier oferta
      description: Se poate obtine fisierul aferent
      operationId: getOfferPdf
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Identificator oferta
          required: true
          schema:
            type: integer
        - name: pachet_acoperiri
          in: query
          description: >-
            Obligatoriu pentru Allianz MyHome. Pachetul de asigurari preluat din
            codul ofertei de la pasul de cotatie.( ex CONFORT_124335 => CONFORT)
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Fisierul ofertei
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: integer
                    example: '200'
                  data:
                    properties:
                      societate:
                        type: string
                        example: NUME_SAS
                      produs:
                        type: string
                        example: PRODUS_SAS
                      fisiere:
                        description: Lista fisierelor
                        type: array
                        items:
                          $ref: '#/components/schemas/File'
                    type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400ErrorMessage'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
    put:
      tags:
        - Produse
      summary: Modificare cotatie
      description: >-
        Se modifica o cotatie de la asiguratorul si produsul specificat in
        request
      operationId: updateOffer
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Identificator oferta
          required: true
          schema:
            type: integer
      requestBody:
        description: Un JSON conform produsului dorit
        required: true
        content:
          application/json:
            schema:
              title: UpdateQuotationRequest
              description: Api modificare oferta
              required:
                - societate
                - credentiale_societate
                - oferta
                - imobil
                - persoane
              properties:
                societate:
                  description: Identificatorul societatii de asigurare
                  type: string
                  example: slug_societate
                produs:
                  description: Identificatorul produsului
                  type: string
                  example: slug_produs
                pachet:
                  description: Pachetul dorit
                  type: string
                credentiale_societate:
                  $ref: '#/components/schemas/Credentiale'
                oferta:
                  $ref: '#/components/schemas/Oferta'
                imobil:
                  $ref: '#/components/schemas/Imobil'
                persoane:
                  type: array
                  items:
                    $ref: '#/components/schemas/Persoana'
                obiecte_asigurate:
                  type: array
                  items:
                    $ref: '#/components/schemas/ObiecteAsigurate'
                date_suplimentare:
                  anyOf:
                    - $ref: '#/components/schemas/GroupamaAlexaQuotationRequest'
              type: object
      responses:
        '200':
          description: Raspuns cotatie
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: integer
                    example: '200'
                  data:
                    properties:
                      societate:
                        type: string
                        example: NUME_SAS
                      produs:
                        type: string
                        example: PRODUS_SAS
                      identificator_oferta:
                        type: integer
                        example: '12'
                      oferte:
                        type: array
                        items:
                          properties:
                            tip:
                              type: string
                              enum:
                                - PAD
                                - FACULTATIV
                              example: PAD
                            cod_oferta_asigurator:
                              type: string
                              example: 8b2e494b-de2d-4bbf-bd17-ce44543327fd
                            prima:
                              type: number
                              example: '130'
                            moneda:
                              type: string
                              example: RON
                            suma_plata:
                              type: number
                              example: '130'
                            scadentar:
                              type: array
                              items:
                                properties:
                                  numar:
                                    type: number
                                    example: '1'
                                  suma:
                                    type: number
                                    example: '130'
                                  moneda:
                                    type: string
                                    example: RON
                                  scadenta:
                                    type: string
                                    example: '2023-11-30'
                                type: object
                            valabilitate_inceput:
                              type: string
                              example: '2023-12-01'
                            valabilitate_sfarsit:
                              type: string
                              example: '2024-11-30'
                            pid:
                              description: >-
                                Campul este prezent doar daca este setata la
                                societate.
                              type: string
                              example: http://somelink.org
                            conditii:
                              description: >-
                                Campul este prezent doar daca este setata la
                                societate.
                              type: string
                              example: http://somelink.org
                            info:
                              description: Informatii suplimentare
                              type: string
                          type: object
                    type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400InputValidation'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /oferta/{id}/status:
    get:
      tags:
        - Produse
      summary: Interogare status oferta
      description: |-
        Se poate obtine status ofertei aferente. <br><br>
            <b>Produse disponibile:</b> <ul><li>Groupama - Alexa</li></ul>
      operationId: getOfferStatus
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Identificator oferta
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Raspuns modificarii status ofertei
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: integer
                    example: '200'
                  data:
                    properties:
                      societate:
                        type: string
                        example: NUME_SAS
                      produs:
                        type: string
                        example: PRODUS_SAS
                      ofertaStatus:
                        type: string
                        example: offered
                    type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400ErrorMessage'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /oferta/{id}/status/{status}:
    patch:
      tags:
        - Produse
      summary: Modificare status oferta
      description: |-
        Se poate modifica status ofertei aferente. <br><br>
                    <b>Produse disponibile:</b> <ul><li>Groupama - Alexa</li></ul>
      operationId: updateOfferStatus
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Identificator oferta
          required: true
          schema:
            type: integer
        - name: status
          in: path
          description: Status nou
          required: true
          schema:
            type: string
            enum:
              - pending
              - canceled
              - expired
              - refused
              - blocked
              - error
              - initialized
              - offered
              - transformed
      responses:
        '200':
          description: Raspuns modificarii status ofertei
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: integer
                    example: '200'
                  data:
                    properties:
                      societate:
                        type: string
                        example: NUME_SAS
                      produs:
                        type: string
                        example: PRODUS_SAS
                      status:
                        type: string
                        example: offered
                    type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400ErrorMessage'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /polita:
    get:
      tags:
        - Produse
      summary: Fisier polita
      description: Se poate obtine fisierul politei
      operationId: getPolicyPdfBySeriesAndNumber
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: serie
          in: query
          description: Serie polita
          required: true
          schema:
            type: string
          example: RA-065
        - name: numar
          in: query
          description: Numar polita
          required: true
          schema:
            type: string
          example: '1234567890'
      responses:
        '200':
          description: Fisierul politei
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: integer
                    example: '200'
                  data:
                    $ref: '#/components/schemas/PolicyFile'
                type: object
        '400':
          $ref: '#/components/responses/Response400ErrorMessage'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
    post:
      tags:
        - Produse
      summary: Emitere oferta
      description: Se emite oferta specificata
      operationId: getPolicy
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      requestBody:
        description: Un JSON conform produsului dorit
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiPolicyRequest'
      responses:
        '200':
          description: Raspuns emitere
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: integer
                    example: '200'
                  data:
                    properties:
                      societate:
                        type: string
                        example: NUME_SAS
                      produs:
                        type: string
                        example: PRODUS_SAS
                      polite:
                        type: array
                        items:
                          properties:
                            tip:
                              type: string
                              enum:
                                - PAD
                                - FACULTATIV
                              example: FACULTATIV
                            identificator_polita:
                              type: integer
                              example: '12'
                            serie:
                              type: string
                              example: RA-ASR
                            numar:
                              type: string
                              example: '00091336477'
                            serie_chitanta:
                              type: string
                              example: SR24565
                            numar_chitanta:
                              type: string
                              example: '11556'
                            valabilitate_inceput:
                              type: string
                              example: '2022-09-25'
                            valabilitate_sfarsit:
                              type: string
                              example: '2023-09-25'
                            prima:
                              type: number
                              example: '99.9'
                            moneda:
                              type: string
                              example: RON
                            scadentar:
                              type: array
                              items:
                                properties:
                                  numar:
                                    type: integer
                                    example: '1'
                                  suma:
                                    type: number
                                    example: '99.9'
                                  moneda:
                                    type: string
                                    example: RON
                                  scadenta:
                                    type: string
                                    example: '2023-09-25'
                                type: object
                            suma_plata:
                              description: Suma de plata exprimata in RON
                              type: number
                              example: '99.9'
                          type: object
                      raspuns_asigurator:
                        type: object
                    type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400InputValidation'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /polita/{id}:
    get:
      tags:
        - Produse
      summary: Fisier polita
      description: Se poate obtine fisierul politei
      operationId: getPolicyPdf
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Identificator polita
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Fisierul politei
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: integer
                    example: '200'
                  data:
                    $ref: '#/components/schemas/PolicyFile'
                type: object
        '400':
          $ref: '#/components/responses/Response400ErrorMessage'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /polita/reinnoire:
    post:
      tags:
        - Produse
      summary: Reinnoire polita
      description: |-
        Se poate emite o oferta de reinnoire a politei aferente. <br><br>
            <b>Produse disponibile:</b> <ul><li>Groupama - Alexa</li></ul>
      operationId: renewPolicy
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
      requestBody:
        description: Un JSON conform produsului dorit
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiRenewPolicyRequest'
      responses:
        '200':
          description: Raspuns reinnoire polita
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    properties:
                      societate:
                        type: string
                        example: NUME_SAS
                      produs:
                        type: string
                        example: PRODUS_SAS
                      identificator_oferta:
                        type: integer
                        example: '12'
                      oferte:
                        $ref: '#/components/schemas/OfferArray'
                      date_oferta:
                        properties:
                          oferta:
                            $ref: '#/components/schemas/Oferta'
                          imobil:
                            $ref: '#/components/schemas/Imobil'
                          persoane:
                            type: array
                            items:
                              $ref: '#/components/schemas/Persoana'
                          obiecte_asigurate:
                            type: array
                            items:
                              $ref: '#/components/schemas/ObiecteAsigurate'
                          date_suplimentare:
                            anyOf:
                              - $ref: >-
                                  #/components/schemas/GroupamaAlexaQuotationRequest
                        type: object
                      raspuns_asigurator:
                        type: object
                    type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400InputValidation'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /polita/{id}/chitanta-asigurator:
    get:
      tags:
        - Produse
      summary: Fisier chitanta polita
      description: Se poate obtine chitanta politei
      operationId: getPolicyReceiptPdf
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Identificator polita
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Fisier chitanta polita
          content:
            application/json:
              schema:
                properties:
                  data:
                    properties:
                      societate:
                        type: string
                        example: NUME_SAS
                      produs:
                        type: string
                        example: PRODUS_SAS
                      fisiere:
                        type: array
                        items:
                          $ref: '#/components/schemas/File'
                    type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400InputValidation'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /produse:
    get:
      tags:
        - Produse
      summary: Lista de produse
      operationId: 5e22bb8cf3c2a87eac8dd400b9f2f32d
      parameters:
        - name: Token
          in: header
          required: true
          schema:
            type: string
        - name: company
          in: query
          description: Denumire companie
          schema:
            type: string
          example: generali
        - name: product
          in: query
          description: Denumire produs
          schema:
            type: string
          example: eurocasa
      responses:
        '200':
          description: Lista de produse
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        company:
                          type: string
                          example: generali
                        pid:
                          type: string
                          example: https://somelink.org
                        product:
                          type: string
                          example: eurocasa
                        conditii:
                          type: string
                          example: https://somelink.org
                        acoperiri:
                          type: array
                          items:
                            properties:
                              cod:
                                type: string
                                example: incendiu
                              nume:
                                type: string
                                example: INCENDIU
                              info:
                                type: string
                                example: Informatie conditie
                            type: object
                      type: object
                type: object
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          $ref: '#/components/responses/Response404NotFound'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /validare/pad:
    post:
      tags:
        - Produse
      summary: Validare polita PAD
      description: Se valideaza valabilitatea PAD-ului
      operationId: validatePad
      requestBody:
        description: Un JSON conform structurii definite
        required: true
        content:
          application/json:
            schema:
              properties:
                societate:
                  description: >-
                    Societatea prin care se face validarea PAD. Daca nu este
                    specificata, se foloseste Omniasig
                  type: string
                  enum:
                    - garanta
                    - omniasig
                credentiale_societate:
                  description: >-
                    Credentialele care corespund societatii specificate. Daca nu
                    sunt specificate, se folosesc credentialele implicite
                  properties:
                    cont:
                      type: string
                    parola:
                      type: string
                    cod:
                      type: string
                  type: object
                imobil_adresa:
                  required:
                    - judet
                    - localitate_denumire
                    - tip_strada
                    - strada
                  properties:
                    judet:
                      description: 'Nomenclator: /nomenclator/judet (indicativ)'
                      type: string
                      example: CJ
                    localitate_denumire:
                      type: string
                      example: Cluj-Napoca
                    tip_strada:
                      description: 'Nomenclator: /nomenclator/omniasig/garantsum/tip-strada'
                      type: string
                    strada:
                      type: string
                      example: Abator
                    numar:
                      type: string
                      example: '1'
                    bloc:
                      type: string
                      example: A
                    scara:
                      type: string
                      example: '1'
                    apartament:
                      type: string
                      example: '1'
                    cod_postal:
                      type: string
                      example: '400576'
                  type: object
                date_suplimentare:
                  required:
                    - serie_pad
                    - numar_pad
                    - tip_persoana
                    - cnp_cui
                  properties:
                    email_emitent:
                      type: string
                      example: office@klsolution.com
                    serie_pad:
                      type: string
                      example: RA-018
                    numar_pad:
                      type: string
                      example: '91285672'
                    tip_persoana:
                      description: PJ - Persoana juridica, PF - Persoana fizica
                      type: string
                      enum:
                        - PF
                        - PJ
                      example: PF
                    cnp_cui:
                      type: string
                      example: '1810916190445'
                  type: object
              type: object
      responses:
        '200':
          description: Raspunsul validarii
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: number
                    example: 'false'
                  status:
                    description: HTTP status code
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        serie:
                          type: string
                          example: RA-018
                        numar:
                          type: string
                          example: '91285672'
                        valabilitate_inceput:
                          type: string
                          example: '2022-06-13'
                        valabilitate_sfarsit:
                          type: string
                          example: '2023-06-12'
                      type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400InputValidation'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/allianz/myhome/organisations:
    get:
      tags:
        - Nomenclatoare Allianz Myhome
      summary: Nomenclator date organizatii
      operationId: 9cb2a1e71f70d6ce2d3ea7fba998c85f
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/allianz-unit/casa-mea/tip-pachet:
    get:
      tags:
        - Nomenclatoare Allianz-Unit Casa Mea
      summary: Nomenclator tip pachete
      operationId: 7f72982b001a8f8d0957f83622b7a89f
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/allianz-unit/casa-mea/tip-folosinta:
    get:
      tags:
        - Nomenclatoare Allianz-Unit Casa Mea
      summary: Nomenclator tip folosinta
      operationId: d214b0b41c6d7f7d05cf176c69bc625d
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/allianz-unit/casa-mea/tip-anexa:
    get:
      tags:
        - Nomenclatoare Allianz-Unit Casa Mea
      summary: Nomenclator tip anexe
      operationId: 6e85c82459a8e5b245515ff251d2f36f
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/asigurarea-locuintei/tip-utilizare:
    get:
      tags:
        - Nomenclatoare Asirom Asigurarea Locuintei
      summary: Nomenclator tip utilizare
      operationId: a99aacba45c09933e0e3d7afef82f1d9
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/asigurarea-locuintei/acoperire-de-baza:
    get:
      tags:
        - Nomenclatoare Asirom Asigurarea Locuintei
      summary: Nomenclator acoperiri de baza
      operationId: fc1f95017e1c724e47419ce9344e53f5
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/asigurarea-locuintei/tip-finisaje-cladire:
    get:
      tags:
        - Nomenclatoare Asirom Asigurarea Locuintei
      summary: Nomenclator tip finisaje cladire
      operationId: 906479848df09294d2203abefe892a7c
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/asigurarea-locuintei/ocupatii:
    get:
      tags:
        - Nomenclatoare Asirom Asigurarea Locuintei
      summary: Nomenclator ocupatii
      operationId: f5712c0001a82ec8e0cb890efe95222d
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/caminulmeu/tip-utilizare:
    get:
      tags:
        - Nomenclatoare Asirom Caminul Meu
      summary: Nomenclator tip utilizare
      operationId: 8c39b76f9f200817fc8bf7de0a9cf820
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/caminulmeu/acoperire-de-baza:
    get:
      tags:
        - Nomenclatoare Asirom Caminul Meu
      summary: Nomenclator acoperiri de baza
      operationId: 00845c8110021c3784c5020da704ae53
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/caminulmeu/tip-valoare-imobil:
    get:
      tags:
        - Nomenclatoare Asirom Caminul Meu
      summary: Nomenclator tip valoare imobil
      operationId: 5f9a0ba591d765e6cc1dd5b0dcfdddfe
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/caminulmeu/tip-declaratie-valoare:
    get:
      tags:
        - Nomenclatoare Asirom Caminul Meu
      summary: Nomenclator tip declaratie valoare
      operationId: d8a63ae54e666c4fbee91a5e209dd954
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/caminulmeu/tip-finisaje-cladire:
    get:
      tags:
        - Nomenclatoare Asirom Caminul Meu
      summary: Nomenclator tip finisaje cladire
      operationId: a76bec105e3fd28cf4aed7034e8242bc
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/caminulmeu/ocupatii:
    get:
      tags:
        - Nomenclatoare Asirom Caminul Meu
      summary: Nomenclator ocupatii
      operationId: 0bfae4f984449f2c8a4df154b6dd805b
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/caminulmeu/tip-fransize:
    get:
      tags:
        - Nomenclatoare Asirom Caminul Meu
      summary: Nomenclator tip fransiza
      operationId: f2b26a5e406f6e11ec2b037f2edae39c
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/caminulmeu/tip-suma-fransize:
    get:
      tags:
        - Nomenclatoare Asirom Caminul Meu
      summary: Nomenclator tip suma fransiza
      operationId: 07dd7e40145332eb90ce91ecec9d6c89
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/casata-pad/tip-imobil:
    get:
      tags:
        - Nomenclatoare AsiromPAD CasaTa+Pad
      summary: Nomenclator de tipuri imobil
      operationId: 80b3d5aee4d4e008f78f2cc3349e6d45
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/casata-pad/tip-structura:
    get:
      tags:
        - Nomenclatoare AsiromPAD CasaTa+Pad
      summary: Nomenclator de tipuri structura
      operationId: 1e356776bcfb32a7a8d195fb209d008f
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/casata-pad/tip-utilizare:
    get:
      tags:
        - Nomenclatoare AsiromPAD CasaTa+Pad
      summary: Nomenclator de tipuri utilizare
      operationId: c17e37c1ce1b46b0175bf08c49bccdf7
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/asirom/casata-pad/tip-strada:
    get:
      tags:
        - Nomenclatoare AsiromPAD CasaTa+Pad
      summary: Nomenclator de tipuri strada
      operationId: 73d6aea2b8967515cc49cd58ac742dfe
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/brd/homeinsurance/tip-resedinta:
    get:
      tags:
        - Nomenclatoare BRD HomeInsurance
      summary: Nomenclator tip resedinta
      operationId: 053bb56000498581e8e8eb0193f71923
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/brd/homeinsurance/situatie-financiara-client:
    get:
      tags:
        - Nomenclatoare BRD HomeInsurance
      summary: Nomenclator situatie financiara client
      operationId: 2353b9f2d7d58cf342804dd358eb278c
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/brd/homeinsurance/profil-client:
    get:
      tags:
        - Nomenclatoare BRD HomeInsurance
      summary: Nomenclator profil client
      operationId: ec0ece78e8937f6786a53bb413affc2c
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/brd/homeinsurance/situatie-asigurare-client:
    get:
      tags:
        - Nomenclatoare BRD HomeInsurance
      summary: Nomenclator situatie asigurare client
      operationId: 4ae84c92aef6718f90965b84789aa807
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/brd/homeinsurance/valoare-bunuri-euro:
    get:
      tags:
        - Nomenclatoare BRD HomeInsurance
      summary: Nomenclator valoare bunuri (Euro)
      operationId: 165dc19f1784254cdfedc96aad5e490b
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/eurolife/homeprotect/tip-oferta:
    post:
      tags:
        - Nomenclatoare Eurolife HomeProtect
      summary: Obtinerea listei de oferte pentru contul dat
      description: >-
        Endpointul este de tip `POST` pentru ca in body trebuie trimise
        credentialele cu care WS-ul poate accesa mai departe WS-ul Eurolife
      operationId: 6bea75b7aca1c917987d836611c31c5f
      requestBody:
        description: Un JSON cu credentialele Eurolife
        required: true
        content:
          application/json:
            schema:
              properties:
                credentiale_societate:
                  required:
                    - cont
                    - parola
                    - cod
                  properties:
                    cont:
                      type: string
                    parola:
                      type: string
                    cod:
                      type: string
                  type: object
              type: object
      responses:
        '200':
          description: Lista valorilor
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        id:
                          example: '8'
                        code:
                          example: HPFIRST
                        name:
                          example: Home Protect for FisrtBank
                        premium:
                          example: 'null'
                        currency:
                          example: 'null'
                      type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/eurolife/homeprotect/reprezentant:
    post:
      tags:
        - Nomenclatoare Eurolife HomeProtect
      summary: Obtinerea listei de reprezentanti Eurolife
      description: >-
        Endpointul este de tip `POST` pentru ca in body trebuie trimise
        credentialele cu care WS-ul poate accesa mai departe WS-ul Eurolife
      operationId: 3a651b36a87a15fd554b2fd0bf2b2830
      requestBody:
        description: Un JSON cu credentialele Eurolife
        required: true
        content:
          application/json:
            schema:
              properties:
                credentiale_societate:
                  required:
                    - cont
                    - parola
                    - cod
                  properties:
                    cont:
                      type: string
                    parola:
                      type: string
                    cod:
                      type: string
                  type: object
              type: object
      responses:
        '200':
          description: Lista valorilor
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        code:
                          example: Eurolife_0
                        description:
                          example: Eurolife0
                      type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/tip-imobil:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator tip imobil
      operationId: 414133aebec940d61e7dab91d36c2ba6
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/tip-imobil-pad:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator tip imobil pentru pad
      operationId: a4f384e2bd6127b896b36e58470bd66d
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/tip-suma-asigurat:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator tip suma asigurat
      operationId: 26d4f0ece2b147aa88044ae2b089f318
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/tip-polita-emitere:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator tip polita emitere
      operationId: b0dfdc292cba0151a31ed7c6275c04a8
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/numar-etaje:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator numar etaje
      operationId: 67e3cfcb432cea2d5cff0a3e2a488d33
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/acoperire-euocasa:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator acoperire eurocasa
      operationId: 9f168fb519b3025c5e53e4f26da47caa
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/tip-structura-imobil:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator tip structura imobil
      operationId: 244b61a8eb70642c8d6f45e7851fb9bd
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/expunere-politica:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator expunere politica
      operationId: 6868f19eeb72d4acf858b1252ce31d07
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/tip-rezidenta:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator tip rezidenta
      operationId: 90b68f892fb6250667fdebfc7a20ab42
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/tip-strada:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator tip strada
      operationId: a12af1f5cd670dbe4f1d59dfaebff482
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/clasa-risc-seismic:
    get:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Nomenclator clasa risc seismic
      operationId: b37cd0d7046cf0bce6f4b2bebb7a3f7f
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/generali/eurocasa/banci:
    post:
      tags:
        - Nomenclatoare Generali Eurocasa
      summary: Cautare in nomenclatorul de banci al asiguratorului
      description: >-
        Endpointul este de tip `POST` pentru ca in body trebuie trimise
        credentialele cu care WS-ul poate accesa maideparte WS-ul Generali
      operationId: c13a8335320354be24cf18c8dcdb07da
      parameters:
        - name: q
          in: query
          description: Banca de cautat in nomenclatorul Generali
          required: true
          schema:
            type: string
          example: BCR
      requestBody:
        description: Un JSON cu credentialele Generali
        required: true
        content:
          application/json:
            schema:
              properties:
                credentiale_societate:
                  required:
                    - cont
                    - parola
                    - cod
                  properties:
                    cont:
                      type: string
                    parola:
                      type: string
                    cod:
                      type: string
                  type: object
              type: object
      responses:
        '200':
          description: Rezultatul cautarii
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  data:
                    type: array
                    items:
                      properties:
                        CessionEntityName:
                          type: string
                          example: BCR
                        CessionEntityCui:
                          type: string
                          example: '1923888'
                        CessionEntityAddress:
                          type: string
                          example: 'Localitatea: CALARASI, Strada:STR. SLOBOZIEI, Nr:4'
                        CessionEntityAvailableForPAD:
                          type: boolean
                          example: 'false'
                      type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '404':
          description: Cautare fara rezultat
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'true'
                  status:
                    type: number
                    example: '404'
                  message:
                    type: string
                    example: Eroare la determinare cesionar!
                type: object
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/omniasig/garantsum/tip-strada:
    get:
      tags:
        - Nomenclatoare Omniasig GarantSum
      summary: Nomenclator tip strada
      operationId: c1bf52cb62f754ca1d399c68e8d5e5d7
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/omniasig/garantsum/tip-asigurare-bunuri-furt:
    get:
      tags:
        - Nomenclatoare Omniasig GarantSum
      summary: Nomenclator tip asigurare bunuri furt
      operationId: 9028a7d636908cd37bec2d14f6de2127
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/omniasig/garantsum/tip-ocupare:
    get:
      tags:
        - Nomenclatoare Omniasig GarantSum
      summary: Nomenclator tip ocupare
      operationId: 3f9f7ed611bbd13f1c6c8280b30e8ec7
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/omniasig/garantsum/tip-asistenta:
    get:
      tags:
        - Nomenclatoare Omniasig GarantSum
      summary: Nomenclator tip asistenta
      operationId: 022cca1c28772a88356df13ba3650bb0
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/omniasig/garantsum/tip-valoare-asigurata:
    get:
      tags:
        - Nomenclatoare Omniasig GarantSum
      summary: Nomenclator tip valoare asigurata
      operationId: 91812d6ae8d74f91d24ea559d35d20a5
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/omniasig/garantsum/tip-acoperiri:
    get:
      tags:
        - Nomenclatoare Omniasig GarantSum
      summary: Nomenclator tip acoperiri
      operationId: 690fabad05636e2e8c8d9998f7124627
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/omniasig/garantsum/tip-anexe:
    get:
      tags:
        - Nomenclatoare Omniasig GarantSum
      summary: Nomenclator tip anexe
      operationId: 735c6480f045ee37d75205d6844d6a45
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/omniasig/garantsum/tip-bunuri:
    get:
      tags:
        - Nomenclatoare Omniasig GarantSum
      summary: Nomenclator tip bunuri
      operationId: 89d9bcebba27ba4ef25c12dc0f4273e7
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/uniqa/household/tip-document-identificare:
    get:
      tags:
        - Nomenclatoare Uniqa Household
      summary: Nomenclator tip document identificare
      operationId: 94c92e1c8da8fbcab0d5da5ad6e83a19
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/uniqa/household/tip-persoana-pj:
    get:
      tags:
        - Nomenclatoare Uniqa Household
      summary: Nomenclator de tip persoane juridice
      operationId: 7d1dc081722e0fa6d9705296d4017fa1
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/uniqa/household/tip-suprafata:
    get:
      tags:
        - Nomenclatoare Uniqa Household
      summary: Nomenclator de tipuri de suprafete
      operationId: 881636fb3528b6fb0ad6170fae22d7b8
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/uniqa/household/stadiu-finalizare:
    get:
      tags:
        - Nomenclatoare Uniqa Household
      summary: Nomenclator de stadii de finalizare
      operationId: 2ac251ff8518f66add81d96af3ec2233
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/uniqa/household/ocupare-imobil:
    get:
      tags:
        - Nomenclatoare Uniqa Household
      summary: Nomenclator de tipuri de ocupare imobil
      operationId: 28227f7d59d03a4c1086f700ca091198
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/uniqa/household/tip-strada:
    get:
      tags:
        - Nomenclatoare Uniqa Household
      summary: Nomenclator de tipuri strada
      operationId: c324636478f3c17917310dac00a18df3
      responses:
        '200':
          $ref: '#/components/responses/Response200Nomenclature'
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '401':
          $ref: '#/components/responses/Response401Unauthorized'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /nomenclator/uniqa/household/obiect-asigurat:
    get:
      tags:
        - Nomenclatoare Uniqa Household
      summary: Nomenclator de obiecte asigurate
      description: Nomenclatorul contine si campurile necesare pentru fiecare tip de obiect
      operationId: 2926eba829ad6a69cd319a3b14966087
      responses:
        '200':
          description: Lista valorilor
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: boolean
                    example: 'false'
                  status:
                    type: number
                    example: '200'
                  message:
                    type: string
                  data:
                    type: array
                    items:
                      properties:
                        cod:
                          type: string
                          example: '1'
                        denumire:
                          type: string
                          example: Locuinta
                        campuri:
                          type: array
                          items:
                            properties:
                              camp:
                                description: Denumire camp
                                type: string
                                example: id
                              denumire_valori:
                                type: string
                                example: >-
                                  Denumirea campului sau optiunile posibile
                                  pentru combo-uri
                            type: object
                      type: object
                type: object
        '400':
          $ref: '#/components/responses/Response400NomenclatureError'
        '403':
          $ref: '#/components/responses/Response403Forbidden'
        '500':
          $ref: '#/components/responses/Response500ServerError'
  /auth:
    post:
      tags:
        - Authentication
      summary: Authenticate
      description: Authenticate an account by account/password
      operationId: authPost
      parameters:
        - name: account
          in: query
          description: Account
          required: true
          schema:
            type: string
        - name: password
          in: query
          description: Password
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/ApiCoreLibAuthResponse200'
    delete:
      tags:
        - Authentication
      summary: Deautenticate
      description: Deautenticate an existing and valid auth token
      operationId: authDelete
      responses:
        '202':
          description: Deleted
    patch:
      tags:
        - Authentication
      summary: Renew token
      description: Renew an authentication token
      operationId: authPatch
      parameters:
        - name: Token
          in: header
          description: >-
            The Refresh token received from the `POST /auth` or `PATCH /auth`
            endpoint's response field name `refresh_token`.
          required: true
          schema:
            type: string
            example: Refresh [refresh_token]
          example: Refresh [refresh_token]
      responses:
        '200':
          $ref: '#/components/responses/ApiCoreLibAuthResponse200'
components:
  schemas:
    ApiRenewPolicyRequest:
      title: RenewPolicyRequest
      description: Api cerere pentru obtinere oferta de reinnoire polita
      required:
        - societate
        - numar_polita
      properties:
        societate:
          description: Identificatorul societatii de asigurare
          type: string
          example: slug_societate
        produs:
          description: Identificatorul produsului
          type: string
          example: slug_produs
        credentiale_societate:
          $ref: '#/components/schemas/Credentiale'
        numar_polita:
          description: Numarul politei de reinnoit
          type: string
          example: '500901679'
        cnp:
          description: CNP asigurat
          type: string
          example: '2940505015117'
      type: object
    ApiQuotationRequest:
      title: QuotationRequest
      description: Api cerere oferta
      required:
        - societate
        - credentiale_societate
        - oferta
        - imobil
        - persoane
      properties:
        societate:
          description: Identificatorul societatii de asigurare
          type: string
          example: slug_societate
        produs:
          description: Identificatorul produsului
          type: string
          example: slug_produs
        pachet:
          description: Pachetul dorit
          type: string
        credentiale_societate:
          $ref: '#/components/schemas/Credentiale'
        oferta:
          $ref: '#/components/schemas/Oferta'
        imobil:
          $ref: '#/components/schemas/Imobil'
        persoane:
          type: array
          items:
            $ref: '#/components/schemas/Persoana'
        obiecte_asigurate:
          type: array
          items:
            $ref: '#/components/schemas/ObiecteAsigurate'
        date_suplimentare:
          properties:
            cod_raf_emitent:
              description: >-
                Cod RAF. Trebuie sa aiba formatul RAFNNNNN (max. 10 cifre). <br>
                <strong>Generali Eurocasa: Sau sa aiba valoarea `emitere
                online`</strong>
              type: string
              example: RAF12345
          type: object
          anyOf:
            - $ref: '#/components/schemas/AllianzQuotationRequest'
            - $ref: '#/components/schemas/AsiromCasaTaPlusPadQuotationRequest'
            - $ref: '#/components/schemas/AsiromCaminulMeuQuotationRequest'
            - $ref: '#/components/schemas/OmniasigGarantSumRequest'
            - $ref: '#/components/schemas/OmniasigGarantAmplusQuotationRequest'
            - $ref: '#/components/schemas/UniqaHouseholdQuotationRequest'
            - $ref: '#/components/schemas/GeneraliEurocasaQuotationRequest'
            - $ref: '#/components/schemas/GraweBasicQuotationRequest'
            - $ref: '#/components/schemas/GraweSpezialQuotationRequest'
            - $ref: '#/components/schemas/BRDHomeInsuranceQuotationRequest'
            - $ref: '#/components/schemas/SignalIdunaQuotationRequest'
            - $ref: '#/components/schemas/EurolifeHomeProtectQuotationRequest'
            - $ref: '#/components/schemas/GarantaHouseGoldQuotationRequest'
            - $ref: '#/components/schemas/GroupamaAlexaQuotationRequest'
            - $ref: '#/components/schemas/AbcLocuinteRequest'
            - $ref: '#/components/schemas/AxeriaLocuinteRequest'
            - $ref: '#/components/schemas/AllianzMyHomeQuotationRequest'
      type: object
    ApiPolicyRequest:
      title: TransformPolicyRequest
      description: Api cerere pentru emitere polita
      required:
        - identificator_oferta
        - plata
        - suma_plata
        - mod_de_plata
        - data
      properties:
        identificator_oferta:
          type: integer
          example: '23'
        plata:
          $ref: '#/components/schemas/Plata'
        date_suplimentare:
          anyOf:
            - $ref: '#/components/schemas/AllianzPolicyRequest'
            - $ref: '#/components/schemas/OmniasigGarantSumTransformOfferRequest'
            - $ref: '#/components/schemas/OmniasigGarantAmplusTransformOfferRequest'
            - $ref: '#/components/schemas/UniqaHouseholdTransformOfferRequest'
            - $ref: '#/components/schemas/AsiromCasaTaPlusPadTransformOfferRequest'
            - $ref: '#/components/schemas/AsiromCaminulMeuTransformOfferRequest'
            - $ref: '#/components/schemas/BRDHomeInsuranceTransformOfferRequest'
            - $ref: '#/components/schemas/SignalIdunaPolicyRequest'
            - $ref: '#/components/schemas/GarantaHouseGoldTransformOfferRequest'
            - $ref: '#/components/schemas/GroupamaAlexaTransformOfferRequest'
            - $ref: '#/components/schemas/AbcLocuinteTransformOfferRequest'
            - $ref: '#/components/schemas/AllianzMyHomeTransformOfferRequest'
      type: object
    Credentiale:
      required:
        - cont
        - parola
        - cod
      properties:
        cont:
          type: string
          example: '123456'
        parola:
          type: string
          example: 123cuidd#
        cod:
          type: string
          example: ICJ1345
      type: object
    Oferta:
      required:
        - valabilitate_inceput
        - valabilitate
        - frecventa_de_plata
      properties:
        valabilitate:
          description: Durata in ani (maxim 35)
          type: integer
          example: '1'
        valabilitate_inceput:
          description: >-
            In cazul politelor PAD data de start a valabilitatii trebuie sa fie
            la 5 zile de la data emiterii
          type: string
          format: date
          example: '2021-01-01'
        mentiuni:
          type: string
          example: Informatii suplimentare
        serie_pad:
          type: string
          example: RA-010
        numar_pad:
          type: string
          example: '00091282170'
        emitent:
          description: >-
            Adresa de email a emitentului folosit la autentificarea in aplicatia
            de brokeraj.
          type: string
        moneda:
          type: string
          enum:
            - RON
            - EUR
          example: EUR
        frecventa_de_plata:
          type: string
          enum:
            - anual
            - integral
            - semestrial
            - trimestrial
          example: anual
        ani_fara_daune:
          type: number
          example: '1'
        discount:
          type: number
        include_acoperiri:
          description: Include acoperiri in raspuns
          type: boolean
          example: '0'
      type: object
    Imobil:
      required:
        - tip_imobil
        - structura_de_rezistenta
        - inaltimea_cladirii
        - suprafata
        - numar_camere
        - tip_adresa
        - an_constructie
        - tip_suma_asigurata_imobil
        - adresa
      properties:
        identificare:
          type: string
          example: AX335
        an_constructie:
          description: |2-

             *        Allianz - min 1850
             *        Grawe Basic - min 1600, daca se specifica PAD la pachet - min 1700
             *        Grawe Spezial - min 1950
             *        Generali - min 1700, in caz de apartament min 1922
          type: integer
          example: '2020'
        tip_imobil:
          description: 'Nomenclator: /nomenclator/tip-imobil'
          type: string
          example: apartament
        structura_de_rezistenta:
          description: 'Nomenclator: /nomenclator/structura-de-rezistenta'
          type: string
          example: beton
        inaltimea_cladirii:
          description: 'Nomenclator: /nomenclator/inaltimea-cladirii'
          type: string
          example: parter + 2
        suprafata:
          description: Valoare pozitiva (mai mare de 0)
          type: integer
          example: '78'
        numar_camere:
          type: integer
          example: '3'
        numar_cladiri:
          description: Required - Euroins
          type: integer
          example: '1'
        tip_adresa:
          description: Nomenclator:/nomenclator/tip-adresa
          type: string
          example: urban
        risc_seismic:
          description: 'Nomenclator: /nomenclator/risc-seismic'
          type: string
        sistem_alarma:
          description: >-
            Exista sistem de alarma: 1 - Da, 0 - Nu. Este luat in considerare la
            produsele `Omniasig Garantsum` si `Uniqa Household`
          type: number
          example: '0'
        tip_suma_asigurata_imobil:
          $ref: '#/components/schemas/InsuredSumTypeEnum'
        adresa:
          $ref: '#/components/schemas/AdresaDefault'
      type: object
    Persoana:
      description: Daca `rol = cesionar` adresa nu este obligatorie.
      required:
        - rol
        - tip_persoana
        - cnp_cui
        - nume
        - cota_proprietate
        - adresa
      properties:
        rol:
          description: |2-

             *     Grawe accepta urmatoarele tipuri: asigurat, contractant*, cesionar (cesionarul trebuie sa fie din nomenclatorul /nomenclator/cesionar)
             *     Generali accepta urmatoarele tipuri: asigurat, contractant*, beneficiar, cesionar (cesionarul trebuie sa fie din nomenclatorul /nomenclator/cesionar)
             *     Allianz accepta urmatoarele tipuri: asigurat*, contractant, beneficiar, cesionar
             *     Eurolife accepta urmatoarele tipuri: asigurat*, contractant, cesionar
          type: string
          enum:
            - asigurat
            - contractant
            - beneficiar
            - tert
            - cesionar
          example: asigurat
        tip_persoana:
          type: string
          enum:
            - PF
            - PJ
          example: PF
        cnp_cui:
          type: string
          example: '1910101413541'
        nr_reg_com:
          description: Obligatoriu daca tip_persoana=PJ
          type: string
          example: '6859662'
        nume:
          type: string
          example: John
        prenume:
          description: Obligatoriu daca tip_persoana=PF
          type: string
          example: Doe
        persoana_straina:
          type: boolean
          example: 'true'
        data_nasterii:
          description: Obligatoriu daca persoana_straina=true
          type: string
          example: 'true'
        sex:
          description: Obligatoriu daca persoana_straina=true
          type: string
          enum:
            - M
            - F
          example: M
        telefon:
          type: string
          example: '0748111222'
        telefon_fix:
          type: string
          example: '0264438111'
        fax:
          type: string
          example: '0254123567'
        email:
          type: string
          example: john.doe@freemail.com
        tip_document_de_identificare:
          type: string
          enum:
            - CI
            - PASAPORT
        serie_document_de_identificare:
          type: string
          example: KX
        numar_document_de_identificare:
          type: string
          example: '123456'
        emitent_document_de_identificare:
          type: string
          example: SPCLEP Cluj
        data_emitere_document_de_identificare:
          type: string
          example: '2022-11-24'
        nationalitate:
          description: |-
            ISO2: Nomenclator: /nomenclator/tari
             * Required - Generali
          type: string
          example: RO
        cetatenie:
          description: |-
            ISO2: Nomenclator: /nomenclator/tari
             * Required - Generali
          type: string
          example: RO
        expus_politic:
          description: 1 - Da, 0 - Nu
          type: number
          example: '1'
        functie:
          type: string
          example: CEO
        rezident:
          description: |-
            1 - Da, 0 - Nu
             * Required - Generali
          type: number
          example: '1'
        cota_proprietate:
          description: Valoare procentuala
          type: number
          example: '100'
        adresa:
          type: array
          items:
            $ref: '#/components/schemas/AdresaPersoana'
      type: object
    AdresaDefault:
      required:
        - tip_strada
        - strada
        - numar
        - cod_postal
        - judet
        - localitate_siruta
        - localitate_denumire
      properties:
        tip_strada:
          description: 'Nomenclator: /nomenclator/tip-strada'
          type: string
          example: Strada
        strada:
          type: string
          example: Principala
        numar:
          type: string
          example: '12'
        bloc:
          type: string
          example: 3G
        scara:
          type: string
          example: '1'
        apartament:
          type: string
          example: '1'
        etaj:
          description: |-
            Nomeclator: /nomenclator/etaje-adresa
             * Required - Grawe
          type: string
          example: etaj 1
        cod_postal:
          type: string
          example: '400356'
        judet:
          description: 'Nomenclator: /nomenclator/judet (indicativ)'
          type: string
          example: CJ
        localitate_siruta:
          description: 'Nomenclator: /nomenclator/localitate/{cod_judet} (cod siruta)'
          type: number
          example: '55847'
        localitate_denumire:
          description: 'Nomenclator: /nomenclator/localitate/{cod_judet} (denumire)'
          type: string
          example: CLUJ-NAPOCA
        tara:
          description: 'Nomenclator: /nomenclator/tara (iso-2)'
          type: string
          example: RO
      type: object
    AdresaPersoana:
      allOf:
        - $ref: '#/components/schemas/AdresaDefault'
        - required:
            - tip
          properties:
            tip:
              type: string
              enum:
                - domiciliu
                - corespondenta
              example: domiciliu
          type: object
    ObiecteAsigurate:
      required:
        - tip
        - suma_asigurata
      properties:
        tip:
          type: string
          enum:
            - imobil
            - bunuri
            - anexe
            - raspundere_civila
            - avarii_centrala_termica
            - avarii_fenomen_electric
            - bunuri_casabile
            - furt
            - apa_conducta
        suma_asigurata:
          description: Valoare pozitiva (mai mare de 0)
          type: number
          example: '10000'
      type: object
    Plata:
      required:
        - suma_plata
        - moneda
        - mod_de_plata
        - data
      properties:
        suma_plata:
          description: |-
            Prima
             *      Allainz accepta suma doar in EUR
          type: integer
          example: '98.63'
        moneda:
          description: |-
            Moneda prima
             *      Allianz accepta doar EUR
          type: string
          enum:
            - RON
            - EUR
          example: RON
        mod_de_plata:
          description: |2-

             *     Allianz accepta urmatoarele tipuri: chitanta, chitanta broker, pos, op
          type: string
          enum:
            - chitanta
            - chitanta broker
            - op
            - op broker
            - pos
          example: chitanta
        data:
          description: |-
            Format: Y-m-d
             *      Allinaz - se accepta doar ziua currenta
             *      Generali - se accepta doar ziua currenta
             *      Grave - fara restrictii de interval
          type: string
          example: '2022-09-21'
        document_justificativ:
          description: |2-

             *      Allianz - obligatoriu,
             *      AbcLocuinte - obligatoriu
          type: string
          example: TRAN00126515X2
        chitanta_serie:
          type: string
          example: BRK
        chitanta_numar:
          description: |2-

             *     Generali - obligatoriu daca mod_de_plata = op, op broker
          type: string
          example: '0054852'
      type: object
    OfferArray:
      type: array
      items:
        properties:
          tip:
            type: string
            enum:
              - PAD
              - FACULTATIV
            example: PAD
          cod_oferta_asigurator:
            type: string
            example: 8b2e494b-de2d-4bbf-bd17-ce44543327fd
          prima:
            type: number
            example: '130'
          moneda:
            type: string
            example: RON
          suma_plata:
            type: number
            example: '130'
          scadentar:
            type: array
            items:
              properties:
                numar:
                  type: number
                  example: '1'
                suma:
                  type: number
                  example: '130'
                moneda:
                  type: string
                  example: RON
                scadenta:
                  type: string
                  example: '2023-11-30'
              type: object
          valabilitate_inceput:
            type: string
            example: '2023-12-01'
          valabilitate_sfarsit:
            type: string
            example: '2024-11-30'
          pid:
            description: Campul este prezent doar daca este setata la societate.
            type: string
            example: http://somelink.org
          conditii:
            description: Campul este prezent doar daca este setata la societate.
            type: string
            example: http://somelink.org
          info:
            description: Informatii suplimentare
            type: string
          acoperiri:
            type: array
            items:
              properties:
                cod:
                  type: string
                  example: cutremur
                status:
                  type: string
                  example: 'true'
                info:
                  type: string
                  example: Informatie conditie
              type: object
        type: object
    File:
      properties:
        tip:
          type: string
          example: Offer
        nume:
          type: string
          example: offer-2149be26-d38d-40e4-ad07-1ccb384aadec.pdf
        content:
          description: base64 encoded
          type: string
          example: JVBERi0xLj...
      type: object
    PolicyFile:
      properties:
        societate:
          type: string
          example: NUME_SAS
        produs:
          type: string
          example: PRODUS_SAS
        serie:
          type: string
          example: XYZ
        numar:
          type: number
          example: '00855565'
        chitanta_serie:
          description: Se completeaza doar daca polita a fost platita cu chitanta
          type: string
          example: CXYZ
        chitanta_numar:
          description: Se completeaza doar daca polita a fost platita cu chitanta
          type: number
          example: '0055645'
        valabilitate_inceput:
          type: string
          format: date
          example: '2021-09-02'
        valabilitate_sfarsit:
          type: string
          format: date
          example: '2022-09-21'
        prima:
          description: Prima de asigurare totala (Doar daca eroare=0)
          type: number
          example: '99.99'
        moneda:
          description: Moneda primei de asigurare (Doar daca eroare=0)
          type: string
          example: EUR
        fisiere:
          description: Lista fisierelor
          type: array
          items:
            $ref: '#/components/schemas/File'
      type: object
    InsuredSumTypeEnum:
      description: Tip suma asigurata
      type: string
      enum:
        - Reala
        - DeInlocuire
        - DePiata
        - EvaluataDeBanca
      example: Reala
    AbcLocuinteRequest:
      title: AbcLocuinteQuotationRequest
      description: Abc locuinte cerere oferta
      required:
        - imobil
        - obiecte_asigurate
      properties:
        suma_asigurata_continut:
          description: Suma asigurata pentru continut
          type: number
          example: '1000'
        imobil:
          required:
            - an_ultima_consolidare
          properties:
            an_ultima_consolidare:
              description: Anul ultimei consolidari, ulterior anului constructiei
              type: number
              example: '2021'
            autorizatie_constructie:
              description: Imobilul detine autorizatie de constructie
              type: boolean
              example: 'true'
            ocupare:
              description: Tipul ocuparii imobilului
              type: string
              enum:
                - permanent
                - temporar
            daune:
              properties:
                daune_anterioare:
                  description: Exista daune anterioare
                  type: boolean
                  example: 'false'
                ani_fara_daune:
                  description: Numarul de ani fara daune - daca nu exista daune anterioare
                  type: number
                detalii_daune_anterioare:
                  description: >-
                    Detalii daune anterioare (natura, suma compensata,
                    asigurator)
                     *                  - daca exista daune anterioare
                  type: string
              type: object
          type: object
        oferta:
          properties:
            alte_asigurari:
              description: Exista alte asigurari similare active
              type: string
              example: 'false'
            alte_asigurari_numar:
              description: Doar daca exista alte asigurari - numarul politei
              type: number
              example: 'false'
            alte_asigurari_pana_la:
              description: Doar daca exista alte asigurari - data de expirare a politei
              type: string
              example: 'false'
            alte_asigurari_asigurator:
              description: Doar daca exista alte asigurari - asiguratorul politei
              type: string
              example: 'false'
            mentiuni_cesiune:
              description: Denumire cesionar si pondere de reprezentare
              type: string
              example: BCR 100%
          type: object
        obiecte_asigurate:
          required:
            - tip_suma_asigurata
          properties:
            tip_suma_asigurata:
              description: Tipul sumei asigurate
              type: string
              enum:
                - raport_evaluare
                - contract
          type: object
        clauze_acoperiri:
          properties:
            accidente_familie:
              description: Daca se acopera si accidente pentru membrii familiei
              type: number
              example: '0'
            accidente_familie_numar_persoane:
              description: >-
                Doar daca se acopera accidente pentru membrii familiei - numarul
                persoanelor acoperite
              type: number
              example: '2'
            instalatii_apa:
              description: Valoarea acoperita pentru instalatii apa
              type: number
              example: '1000'
            furt_acoperire_continut:
              description: Valoarea acoperita pentru continutul imobilului in caz de furt
              type: number
              example: '1000'
            furt_acoperire_imobil:
              description: Valoarea acoperita pentru avarii imobil in caz de furt
              type: number
              example: '1000'
            spargere_bunuri:
              description: Valoarea acoperita pentru spargere/crapare bunuri
              type: number
              example: '1000'
            fenomene_electrice_la_instalatii:
              description: Valoarea acoperita pentru avarii instalatii electrice
              type: number
              example: '1000'
            centrala_termica:
              description: Valoarea acoperita pentru centrala termica
              type: number
              example: '1000'
            renuntare_regres:
              description: Valoarea acoperita pentru renuntarea la regres
              type: number
              example: '1000'
            asistenta_tehnica:
              description: Tipul asistentei tehnice
              type: string
              enum:
                - STANDARD
                - EXTRA
                - PROTECT
            asistenta_tehnica_suma:
              description: Valoarea acoperita pentru asistenta tehnica
              type: number
              example: '200'
          type: object
      type: object
    AbcLocuinteTransformOfferRequest:
      title: AbcLocuinteTransformOfferRequest
      description: Abc Locuinte Request
      properties:
        platitor:
          required:
            - cnp_cui
          properties:
            cnp_cui:
              description: |-
                CNP/CUI al persoanei care plateste prima de asigurare,
                 *                          valoare prezenta in lista de persoane din oferta
              type: string
              example: '1234567891234'
          type: object
      type: object
    AllianzPolicyRequest:
      title: AllianzPolicyRequest
      description: Allianz cerere pentru emitere polita
      properties:
        coordonator_id:
          type: number
          example: '1234'
        tip_chitanta:
          type: string
          enum:
            - sas
          example: sas
      type: object
    AllianzQuotationRequest:
      title: AllianzQuotationRequest
      description: Allianz cerere oferta
      properties:
        imobil:
          properties:
            inspectie_risc:
              type: number
              enum:
                - 0
                - 1
              example: '1'
            prima_casa:
              type: number
              enum:
                - 0
                - 1
              example: '1'
            prima_casa_60_40:
              type: number
              enum:
                - 0
                - 1
              example: '0'
          type: object
      type: object
    AllianzMyHomeQuotationRequest:
      title: AllianzMyHomeQuotationRequest
      description: Allianz Myhome Quotation Request
      required:
        - id_coordonator
      properties:
        id_coordonator:
          description: >-
            ID agent coordonator (insurerId) valid din nomenclatorul
            asiguratorului.
          type: number
          example: 7999655
        obiecte_asigurate:
          description: >-
            Informatii suplimentare legate de obiecte asigurate ('bunuri',
            'imobil', etc.)
          properties:
            bunuri:
              properties:
                valoare_fransiza:
                  description: Valoare fransiză pentru obiectul 'bunuri'
                  type: number
                  example: 100
              type: object
            apa_conducta:
              properties:
                valoare_fransiza:
                  description: Valoare fransiză pentru obiectul apa_conducta
                  type: number
                  example: 100
              type: object
            panouri_solare:
              properties:
                suma_asigurata:
                  description: Suma asigurată pentru obiectul panouri_solare
                  type: number
                  example: 100
              type: object
            imobil_avarii_fenomen_electric:
              properties:
                suma_asigurata:
                  description: Suma asigurată pentru imobil_avarii_fenomen_electric
                  type: number
                  example: 100
              type: object
          type: object
        clauze_acoperiri:
          description: Clauze/acoperiri disponibile
          properties:
            cutremur:
              required:
                - inclus
              properties:
                inclus:
                  description: Dacă clauza cutremur este inclusă
                  type: boolean
                  example: true
              type: object
          type: object
      type: object
    AllianzMyHomeTransformOfferRequest:
      title: AllianzMyHomeQuotationRequest
      description: Allianz Myhome Transform Offer Request
      required:
        - pachet_acoperiri
      properties:
        pachet_acoperiri:
          description: >-
            Pachetul de asigurari preluat din codul ofertei de la pasul de
            cotatie.( ex CONFORT_124335 => CONFORT)
          type: string
          enum:
            - CONFORT, MAX, EXTRA
          example: 7999655
      type: object
    AllianzUnitCasaMeaQuotationRequest:
      title: AllianzUnitCasaMeaQuotationRequest
      description: '<b>Societate/Produs: societate = allianz-unit, produs = casa-mea</b>'
      required:
        - tip_pachet
      properties:
        mod_de_plata:
          type: string
          enum:
            - chitanta
            - chitanta broker
            - op
            - op broker
            - pos
          example: chitanta
        tip_pachet:
          description: /nomenclator/allianz-unit/casa-mea/tip-pachet -> `cod`
          type: number
          example: '2'
        tip_folosinta:
          description: /nomenclator/allianz-unit/casa-mea/tip-folosinta -> `cod`
          type: number
          example: '1'
        tip_anexa:
          description: /nomenclator/allianz-unit/casa-mea/tip-anexa -> `cod`
          type: number
          example: '1'
        apa_conducta_cu_fransiza:
          description: Fransiza acoperire apa conducta
          type: boolean
          example: 'false'
        clauza_c1:
          description: Clauza C1
          type: boolean
          example: 'false'
        clauza_c1_cu_fransiza:
          description: Fransiza clauza C1
          type: boolean
          example: 'false'
        persoane:
          type: array
          items:
            required:
              - cnp_cui
            properties:
              cnp_cui:
                type: string
                example: '2910311280938'
              gdpr:
                description: Acord GDPR
                type: boolean
                example: 'true'
              marketing:
                description: Acord marketing
                type: boolean
                example: 'true'
            type: object
      type: object
    AsiromAsigurareaLocuinteiQuotationRequest:
      title: AsiromAsigurareaLocuinteiQuotationRequest
      description: >-
        Asirom Asigurarea Locuintei cerere oferta<br><b>Societate/Produs:
        societate = asirom, produs = asigurarea-locuintei</b>
      required:
        - calitate_solicitant
        - acoperire_de_baza
      properties:
        fransiza:
          type: number
          enum:
            - 0
            - 100
            - 200
          example: '0'
        serie_reinnoire_asigurarea_locuintei:
          description: Reinnoieste polita Asigurarea Locuintei (serie)
          type: string
        numar_reinnoire_asigurarea_locuintei:
          description: Reinnoieste polita Asigurarea Locuintei (numar)
          type: string
        calitate_solicitant:
          description: Calitate solicitant
          type: string
          enum:
            - asigurat
            - contractant
            - beneficiar
          example: Asigurat
        motiv_discount:
          description: Motiv cerere discount
          type: string
        acoperire_de_baza:
          description: >-
            Acoperire de baza, Nomenclator:
            /nomenclator/asirom/asigurarea-locuintei/acoperire-de-baza
          type: string
          example: ACC_IMOBIL_STANDARD
        raspundere_civila_proprietar:
          description: >-
            Raspundere civila fata de proprietar - required daca exista un
            obiect asigurat de tip `raspundere_civila`.
          type: boolean
          example: 'true'
        raspundere_civila_chirias:
          description: >-
            Raspundere civila fata de chirias - required daca exista un obiect
            asigurat de tip `raspundere_civila`.
          type: boolean
          example: 'false'
        extindere_teritoriala:
          type: string
          enum:
            - RO
            - EU
          example: RO
        asistenta_domiciliu:
          description: Asistenta tehnica la domiciliu
          type: string
          enum:
            - standard
            - premium
          example: standard
        asigurare_accidente_persoane:
          description: Asigurarea de accidente pentru membrii familiei
          type: boolean
          example: 'false'
        asigurare_bunuri_vizitatori:
          description: Asigurarea bunurilor apartinand vizitatorilor
          type: boolean
          example: 'false'
        pachet_animale_companie:
          type: boolean
          example: 'false'
        pachet_hobby:
          type: boolean
          example: 'false'
        pachet_bunuri_copii:
          type: boolean
          example: 'false'
        pachet_cheltuieli_urgenta:
          type: boolean
          example: 'false'
        imobil:
          required:
            - tip_finisaje
            - tip_utilizare
          properties:
            tip_finisaje:
              description: >-
                Tip finisaje cladire, Nomenclator:
                /nomenclator/asirom/asigurarea-locuintei/tip-finisaje-cladire
              type: string
              example: MED
            tip_utilizare:
              description: >-
                Tip utilizare, Nomenclator:
                /nomenclator/asirom/asigurarea-locuintei/tip-utilizare
              type: string
              example: PERM
            zona_risc_inundatie:
              description: Cladirea se afla in zona afectata frecvent de inundatii.
              type: boolean
              example: 'false'
            zona_risc_avalanse:
              description: Cladirea se afla in zona afectata frecvent de avalanse.
              type: boolean
              example: 'false'
            zona_risc_alunecare_teren:
              description: >-
                Cladirea se afla in zona afectata frecvent de alunecari de
                teren.
              type: boolean
              example: 'false'
          type: object
        persoane:
          type: array
          items:
            required:
              - cnp_cui
            properties:
              cnp_cui:
                description: >-
                  CNP / CUI, sunt luate in considerare doar cele prezente si in
                  lista `persoane`
                type: string
              capital_social:
                description: Capital social. Se completeaza doar pentru tip persoana `PJ`
                type: string
              reprezentant_nume:
                description: >-
                  Nume reprezentant. Se completeaza doar pentru tip persoana
                  `PJ`
                type: string
              reprezentant_functie:
                description: >-
                  Functie reprezentant. Se completeaza doar pentru tip persoana
                  `PJ`
                type: string
              cont_bancar:
                description: Cont bancar. Se completeaza doar pentru tip persoana `PJ`
                type: string
              domeniu_activitate:
                description: >-
                  Domeniu activitate. Se completeaza doar pentru tip persoana
                  `PJ`
                type: string
              loc_nastere:
                description: Locul nasterii. Se completeaza doar pentru tip persoana `PF`
                type: string
              loc_munca:
                description: Locul de munca. Se completeaza doar pentru tip persoana `PF`
                type: string
              ocupatie:
                description: >-
                  Ocupatie. Se completeaza doar pentru tip persoana `PF`.
                  Nomenclator: /nomenclator/asirom/asigurarea-locuintei/ocupatii
                type: string
                example: OCUP_ALTELE
            type: object
        obiecte_asigurate:
          type: array
          items:
            required:
              - tip
              - suma_asigurata
            properties:
              tip:
                description: Obiect asigurat
                type: string
                enum:
                  - avarii_accidentale
                  - bunuri_de_valoare
                  - aparate_electrice
              suma_asigurata:
                description: Suma asigurata
                type: number
            type: object
      type: object
    AsiromAsigurareaLocuinteiTransformOfferRequest:
      title: AsiromAsigurareaLocuinteiTransformOfferRequest
      description: Asirom Asigurarea Locuintei cerere pentru emitere polita
      properties:
        cnp_cui_platitor:
          description: >-
            CNP / CUI platitor. Trebuie sa fie CNP-ul / CUI-ul al asiguratului
            sau al contractantului.
          type: string
        plata:
          properties:
            chitanta_serie_pad:
              description: Serie chitanta PAD.
              type: string
            chitanta_numar_pad:
              description: Numar chitanta PAD
              type: string
          type: object
      type: object
    AsiromCaminulMeuQuotationRequest:
      title: AsiromCaminulMeuQuotationRequest
      description: >-
        Asirom Caminul Meu cerere oferta<br><b>Societate/Produs: societate =
        asirom, produs = caminulmeu</b>
      required:
        - calitate_solicitant
        - asigurare_la_prim_risc
        - acoperire_de_baza
      properties:
        motiv_discount:
          description: Motiv cerere discount
          type: string
        majorare:
          description: Procent majorare
          type: number
        motiv_majorare:
          description: Motiv cerere majorare
          type: string
        mentiuni:
          description: Mentiuni
          type: string
        reinnoire_serie_caminul_meu:
          description: Reinnoieste polita Caminul Meu (serie)
          type: string
        reinnoire_numar_caminul_meu:
          description: Reinnoieste polita Caminul Meu (numar)
          type: number
        calitate_solicitant:
          description: Calitate solicitant
          type: string
          enum:
            - asigurat
            - contractant
            - beneficiar
          example: Asigurat
        asigurare_la_prim_risc:
          description: Asigurare la prim risc
          type: boolean
          example: 'true'
        acoperire_de_baza:
          description: >-
            Acoperire de baza, Nomenclator:
            /nomenclator/asirom/caminulmeu/acoperire-de-baza
          type: string
          example: ACC_IMOBIL_STANDARD
        extindere_teritoriala_raspundere_civila:
          description: Raspunderea civila - Extindere valabilitate teritoriala in Romania
          type: boolean
          example: 'false'
        asigurare_asistenta_tehnica:
          description: Acoperire asistenta tehnica
          type: boolean
          example: 'false'
        asigurare_cladiri_in_constructie:
          description: >-
            Acoperire asigurarea cladirilor in timpul constructiei / la care se
            executa lucrari de extindere
          type: boolean
          example: 'false'
        acoperire_pierderi_proprietar:
          description: >-
            Presupune acordarea de despagubiri pentru prejudiciile cauzate
            proprietarului prin fapta
             * culpabila a chiriasului datorita avarierii (partiale sau totale) a spatiului inchiriat ca urmare a producerii oricarui
             *     eveniment asigurat prin contractul de asigurare
          type: boolean
          example: 'false'
        asistenta_domiciliu:
          description: Asistenta tehnica la domiciliu
          type: string
          enum:
            - standard
            - premium
          example: standard
        bunuri_cu_valoare_individuala_peste_2000_eur:
          description: >-
            Exista bunuri continute cu valoare individuala mai mare de 2.000 Eur
            sau echiv RON?
          type: boolean
          example: 'true'
        tip_polita:
          type: string
          enum:
            - simpla
            - parteneriate_leasing
            - licitatie
            - affinity
          example: simpla
        tip_leasing:
          description: Obligatoriu daca tip_polita este parteneriate_leasing
          type: string
          enum:
            - financiar
            - operational
            - altele
          example: financiar
        numar_licitatie:
          description: Obligatoriu daca tip_polita este licitatie
          type: string
          example: '123'
        parteneriat:
          description: Obligatoriu daca tip_polita este parteneriate_leasing
          type: boolean
          example: 'true'
        numar_parteneriat:
          description: Obligatoriu daca parteneriat este true
          type: string
          example: '1234'
        imobil:
          required:
            - tip_finisaje
            - tip_utilizare
            - tip_declaratie_valoare
          properties:
            tip_finisaje:
              description: >-
                Tip finisaje cladire, Nomenclator:
                /nomenclator/asirom/caminulmeu/tip-finisaje-cladire
              type: string
              example: MED
            tip_utilizare:
              description: >-
                Tip utilizare, Nomenclator:
                /nomenclator/asirom/caminulmeu/tip-utilizare
              type: string
              example: PERM
            zona_risc_inundatie:
              description: Cladirea se afla in zona afectata frecvent de inundatii.
              type: boolean
              example: 'false'
            zona_risc_avalanse:
              description: Cladirea se afla in zona afectata frecvent de avalanse.
              type: boolean
              example: 'false'
            zona_risc_alunecare_teren:
              description: >-
                Cladirea se afla in zona afectata frecvent de alunecari de
                teren.
              type: boolean
              example: 'false'
            tip_declaratie_valoare:
              description: >-
                Tip declaratie valoare, Nomenclator:
                /nomenclator/asirom/caminulmeu/tip-declaratie-valoare
              type: string
              example: VAL_DECL
          type: object
        persoane:
          type: array
          items:
            required:
              - cnp_cui
            properties:
              cnp_cui:
                description: >-
                  CNP / CUI, sunt luate in considerare doar cele prezente si in
                  lista `persoane`
                type: string
              capital_social:
                description: Capital social. Se completeaza doar pentru tip persoana `PJ`
                type: string
              reprezentant_nume:
                description: >-
                  Nume reprezentant. Se completeaza doar pentru tip persoana
                  `PJ`
                type: string
              reprezentant_functie:
                description: >-
                  Functie reprezentant. Se completeaza doar pentru tip persoana
                  `PJ`
                type: string
              cont_bancar:
                description: Cont bancar. Se completeaza doar pentru tip persoana `PJ`
                type: string
              domeniu_activitate:
                description: >-
                  Domeniu activitate. Se completeaza doar pentru tip persoana
                  `PJ`
                type: string
              loc_nastere:
                description: Locul nasterii. Se completeaza doar pentru tip persoana `PF`
                type: string
              loc_munca:
                description: Locul de munca. Se completeaza doar pentru tip persoana `PF`
                type: string
              ocupatie:
                description: >-
                  Ocupatie. Se completeaza doar pentru tip persoana `PF`.
                  Nomenclator: /nomenclator/asirom/caminulmeu/ocupatii
                type: string
                example: OCUP_ALTELE
            type: object
        obiecte_asigurate:
          type: array
          items:
            required:
              - tip
              - suma_asigurata
            properties:
              tip:
                description: Obiect asigurat
                type: string
                enum:
                  - furt_elemente_de_constructie
                  - bunuri_de_valoare
                  - aparate_electrice
                  - bunuri_portabile
                  - instalatii
                  - gradina
                  - pierdere_chirie
                  - raspundere_civila_chirias
              suma_asigurata:
                description: Suma asigurata
                type: number
            type: object
        fransiza_riscuri_catastrofale:
          description: >-
            Fransiza de 1% din suma asigurata pentru cladiri si, respectiv,
            continut la riscul de cutremur de pamant
          type: boolean
          example: 'false'
        tip_fransize:
          description: >-
            Tip aplicare fransize, Nomenclator:
            /nomenclator/asirom/caminulmeu/tip-fransize
          type: string
          example: FRANSIZA_ACOPER_RISC
        fransize:
          type: array
          items:
            required:
              - obiect_asigurat
              - tip
              - valoare
            properties:
              obiect_asigurat:
                description: Obiect asigurat
                type: string
                enum:
                  - fransiza_unica_contract
                  - imobil
                  - anexe
                  - bunuri
                  - apa_conducta
                  - furt
                  - furt_elemente_de_constructie
                  - bunuri_de_valoare
                  - aparate_electrice
                  - bunuri_portabile
                  - instalatii
                  - bunuri_casabile
                  - pierdere_chirie
                  - gradina
                  - raspundere_civila_chirias
                  - raspundere_civila
              tip:
                description: >-
                  Tip fransiza, Nomenclator:
                  /nomenclator/asirom/caminulmeu/tip-suma-fransize
                type: string
              valoare:
                description: Valoare fransiza
                type: number
            type: object
      type: object
    AsiromCaminulMeuTransformOfferRequest:
      title: AsiromCaminulMeuTransformOfferRequest
      description: Asirom Caminul Meu cerere pentru emitere polita
      properties:
        cnp_cui_platitor:
          description: >-
            CNP / CUI platitor. Trebuie sa fie CNP-ul / CUI-ul al asiguratului
            sau al contractantului.
          type: string
        plata:
          properties:
            chitanta_serie_pad:
              description: Serie chitanta PAD.
              type: string
            chitanta_numar_pad:
              description: Numar chitanta PAD
              type: string
          type: object
      type: object
    AsiromCasaTaPlusPadQuotationRequest:
      title: AsiromCasaTaPlusPadQuotationRequest
      description: >-
        AsiromPAD CasaTaPlusPad Request<br><b>Societate/Produs: societate =
        asirom, produs = casata-pad</b>
      required:
        - calitate_solicitant
      properties:
        asigurare_la_prim_risc:
          description: 1 - Da, 0 - Nu
          type: number
          example: '1'
        calitate_solicitant:
          description: tipul persoanei care solicita oferta
          type: string
          enum:
            - asigurat
            - contractant
            - beneficiar
          example: asigurat
        persoane:
          type: array
          items:
            required:
              - cnp_cui
            properties:
              cnp_cui:
                type: string
                example: '2910311280938'
              capital_social:
                description: Capital social. Se completeaza doar pentru tip persoana `PJ`
                type: string
              reprezentant_nume:
                description: >-
                  Nume reprezentant. Se completeaza doar pentru tip persoana
                  `PJ`
                type: string
              reprezentant_functie:
                description: >-
                  Functie reprezentant. Se completeaza doar pentru tip persoana
                  `PJ`
                type: string
              cont_bancar:
                description: Cont bancar. Se completeaza doar pentru tip persoana `PJ`
                type: string
              loc_munca:
                description: Locul de munca. Se completeaza doar pentru tip persoana `PF`
                type: string
              ocupatie:
                description: >-
                  Ocupatie. Se completeaza doar pentru tip persoana `PF`.
                  Nomenclator: nomenclator/asirom/casata-pad/ocupatie
                type: string
                example: OCUP_ALTELE
              cesionar_numar_document:
                description: Se completeaza doar pentru `rol` = `cesionar`
                type: string
                example: '123'
              cesionar_data_document:
                description: Se completeaza doar pentru `rol` = `cesionar`
                type: string
                example: '2022-11-25'
            type: object
        imobil:
          properties:
            tip_utilizare:
              description: 'Nomenclator: nomenclator/asirom/casata-pad/tip-utilizare'
              type: string
              example: PERM
            numar_apartamente:
              description: Nr apartamente
              type: number
              example: '1980'
            apartament_ultimul_etaj:
              description: 'Apartament la ultimul etaj: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            exista_subsol:
              description: 'Exista subsol: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            exista_demisol:
              description: 'Exista demisol: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            exista_parter:
              description: 'Exista parter: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            exista_mansarda:
              description: 'Exista mansarda: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            exista_pod:
              description: 'Exista pod: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            zona_risc_inundatie_avalanse_alunecare_teren:
              description: >-
                Cladirea se afla in zona afectata frecvent de inundatii,
                viituri, alunecare / prabusire de teren, avalanse?: 1 - Da, 0 -
                Nu
              type: number
              example: '1'
            autorizatie_constructie:
              description: 'Cladirea are autorizatie de constructie: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            autorizatie_respectata:
              description: >-
                Au fost respectate prevederile autorizatiei de constructie: 1 -
                Da, 0 - Nu
              type: number
              example: '1'
            modificari_imobil:
              description: 'Cladirea a suferit modificari: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            tip_autorizatie_modificare_imobil:
              description: 'Modificarile au fost: 1 - Cu autorizatie, 0 - Fara autorizatie'
              type: number
              example: '1'
            tip_modificare_imobil:
              description: 'Modificarile au fost: 1 - Structurale, 0 - Nestructurale'
              type: number
              example: '1'
            dauna:
              description: >-
                Daca se completeaza `dauna`, trebuie adaugate toate campurile
                acestuia.
              required:
                - data
                - cauza
                - valoare
                - obiect_dauna
              properties:
                data:
                  type: string
                  example: '2020-10-11'
                cauza:
                  type: string
                  example: Tornado
                valoare:
                  type: number
                  example: '100000'
                obiect_dauna:
                  type: string
                  example: Casa
              type: object
          type: object
        optiuni_acoperiri:
          description: >-
            De folosit campul 'clauze_acoperiri' pentru standardizare. Camp
            fallback pentru implementari deja existente.
          properties:
            home_assistance:
              description: 'Asistenta Tehnica la domiciliu: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            home_assistance_acoperire:
              description: 'Nomenclator: nomenclator/asirom/casata-pad/optiuni-acoperire'
              type: string
              example: premium
          type: object
        clauze_acoperiri:
          properties:
            home_assistance:
              description: 'Asistenta Tehnica la domiciliu: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            home_assistance_acoperire:
              description: 'Nomenclator: nomenclator/asirom/casata-pad/optiuni-acoperire'
              type: string
              example: premium
          type: object
      type: object
    AsiromCasaTaPlusPadTransformOfferRequest:
      title: AsiromCasaTaPlusPadTransformOfferRequest
      description: AsiromPAD CasataPlusPad Transform Offer Request
      required:
        - platitor
      properties:
        platitor:
          required:
            - rol
            - tip_persoana
            - cnp_cui
          properties:
            rol:
              type: string
              enum:
                - asigurat
                - contractant
              example: asigurat
            tip_persoana:
              type: string
              enum:
                - PF
                - PJ
              example: PF
            cnp_cui:
              description: >-
                Trebuie sa fie un CNP/CUI din lista de persoane trimisa la
                cererea de oferta.
              type: string
              example: '1890226125851'
          type: object
        plata:
          properties:
            chitanta_serie_pad:
              description: Se completeaza pentru `pachet` = `CASATA+PAD`
              type: string
              example: '123456'
            chitanta_numar_pad:
              description: Se completeaza pentru `pachet` = `CASATA+PAD`
              type: string
              example: '123456'
          type: object
        asirom_lifeprotect:
          description: 1 - Da, 0 - Nu
          type: number
          example: '0'
        asigurat_cnp:
          description: >-
            `required` daca `asirom_lifeprotect = 1`. Trebuie sa fie un CNP din
            lista de persoane trimisa la cererea de oferta.
          type: string
          example: '1890226125851'
      type: object
    AxeriaLocuinteRequest:
      title: AxeriaLocuinteQuotationRequest
      description: Axeria locuinte cerere oferta
      properties:
        pachet_asigurare:
          description: 'Tipul pachetului de asigurare, valoare implicita: BAZA'
          type: string
          enum:
            - BAZA
            - MEDIU
            - EXPERT
        suprafata_construita:
          description: Valoare pozitiva (mai mare de 0)
          type: integer
          example: '78'
        proportia_lemn_max_50:
          description: |-
            Proportia structurii de lemn a imobilului maximum 50% (implict true)
             *     
          type: boolean
          example: 'true'
      type: object
    BRDHomeInsuranceQuotationRequest:
      title: BRDHomeInsuranceQuotationRequest
      description: >-
        BRD HomeInsurance Request<br><b>Societate/Produs: societate = brd,
        produs = homeinsurance</b>
      required:
        - profil_client
        - situatie_financiara_client
        - situatie_asigurare_client
        - persoane
        - broker_info
        - imobil
      properties:
        broker_info:
          required:
            - agent_cod_raf
            - agent_prenume
            - agent_nume
            - broker_cod_rbk
          properties:
            agent_cod_raf:
              type: string
              example: T3ST
            agent_prenume:
              type: string
              example: Paul
            agent_nume:
              type: string
              example: Petrescu
            broker_cod_rbk:
              type: string
              example: TE5T
          type: object
        imobil:
          required:
            - tip_resedinta
            - daune_in_ultimii_3_ani
            - incetare_asigurator_in_ultimii_3_ani
            - anexa
          properties:
            tip_resedinta:
              type: string
              enum:
                - Resedinta principala
                - Resedinta concediu
                - De inchiriat
              example: Resedinta principala
            daune_in_ultimii_3_ani:
              type: boolean
              example: false
            numar_daune_in_ultimii_3_ani:
              description: Obligatoriu daca daune_in_ultimii_3_ani = true, max. 2
              type: integer
              example: 1
            incetare_asigurator_in_ultimii_3_ani:
              type: boolean
              example: false
            anexa:
              type: boolean
              example: true
            suprafata_anexa:
              description: Obligatoriu daca anexa = true
              type: integer
            adresa:
              description: Se trimite daca tara = RO
              properties:
                uat:
                  type: string
                  example: Cluj-Napoca
              type: object
          type: object
        persoane:
          type: array
          items:
            required:
              - cnp_cui
              - data_expirare_document_de_identificare
            properties:
              cnp_cui:
                type: string
                example: '1770416419205'
              data_expirare_document_de_identificare:
                type: string
                example: 12.06.2025
              adresa:
                description: Se trimite daca tara = RO
                type: array
                items:
                  properties:
                    tip:
                      type: string
                      enum:
                        - domiciliu
                    uat:
                      type: string
                      example: Cluj-Napoca
                  type: object
            type: object
        situatie_financiara_client:
          type: string
          enum:
            - Fara credit ipotecar/imobiliar
            - Credit ipotecar/imobiliar la BRD
            - Credit ipotecar/imobiliar la alta banca
          example: Fara credit ipotecar/imobiliar
        profil_client:
          type: string
          enum:
            - Proprietar
            - Chirias
          example: Proprietar
        situatie_asigurare_client:
          type: string
          enum:
            - Fara asigurare de locuinta
            - Asigurare de locuinta valabila/in vigoare
          example: Fara asigurare de locuinta
      type: object
    BRDHomeInsuranceTransformOfferRequest:
      title: BRDHomeInsuranceTransformOfferRequest
      description: BRD Home Insurance Transform Offer Request
      properties:
        valabilitate_inceput:
          description: >-
            Se include doar daca se doreste modificarea datei de inceput a
            politei fata de cea trimisa la cotatie
          type: string
          example: '2023-09-01'
      type: object
    EurolifeHomeProtectQuotationRequest:
      title: EurolifeHomeProtectQuotationRequest
      description: '<b>Societate/Produs: societate = eurolife, produs = homeprotect</b>'
      required:
        - fransiza
        - tip_oferta
        - reprezentant
        - acorduri
      properties:
        fransiza:
          description: |2-

             *     pentru moneda = EUR, CHF, USD sunt acceptate valorile [0, 100, 200, 300, 400, 500]
             *     pentru moneda = RON sunt acceptate valorile [0, 500, 1000, 1500, 2000, 2500]
          type: number
          example: '500'
        tip_oferta:
          description: /nomenclator/eurolife/homeprotect/tip-oferta -> `id`
          type: number
          example: '9'
        reprezentant:
          description: /nomenclator/eurolife/homeprotect/reprezentant -> `code`
          type: string
          example: Eurolife_0
        acorduri:
          required:
            - gdpr
          properties:
            gdpr:
              type: boolean
              example: 'true'
            marketing:
              type: boolean
              example: 'true'
          type: object
        obiecte_asigurate:
          type: array
          items:
            required:
              - tip
              - suma_asigurata
            properties:
              tip:
                type: string
                enum:
                  - carduri_documente
                  - bunuri_peste_2000
                  - bunuri_uzuale_portabile
                  - laptop
                  - tableta
                  - telefon
                  - bucatarii_de_vara
                  - magazii_soproane
                  - garaje
                  - imprejmuiri_porti
                  - raspundere_chirias
                  - raspundere_proprietar
                  - gradini_curti
                  - avarii_instalatii
                  - asistenta_tehnica
                  - spitalizare_accidente_casnice
                  - instalatii_constructii_speciale
                  - obiecte_arta
                  - telemedicina_telios
                example: avarii_instalatii
              suma_asigurata:
                type: number
                example: '1000'
            type: object
      type: object
    GarantaHouseGoldQuotationRequest:
      title: GarantaHouseGoldQuotationRequest
      description: Garanta HouseGold cerere oferta
      properties:
        imobil:
          properties:
            locuinta_vila:
              description: 'Locuinta se afla intr-o vila. DEFAULT: false'
              type: boolean
              example: 'false'
          type: object
      type: object
    GarantaHouseGoldTransformOfferRequest:
      title: GarantaHouseGoldTransformOfferRequest
      description: Garanta HouseGold Insurance Transform Offer Request
      properties:
        valabilitate_inceput:
          description: >-
            Se include doar daca se doreste modificarea datei de inceput a
            politei fata de cea trimisa la cotatie
          type: string
          example: '2023-09-01'
      type: object
    GeneraliEurocasaQuotationRequest:
      title: GeneraliEurocasaQuotationRequest
      description: >-
        Generali Eurocasa Request<br><b>Societate/Produs: societate = generali,
        produs = eurocasa</b>
      properties:
        cesiune:
          properties:
            data_inceput:
              description: Data inceput cesiune
              type: string
              example: '2022-05-25'
            data_sfarsit:
              description: Data sfarsit cesiune
              type: string
              example: '2024-05-25'
            suma:
              description: Suma cesionata
              type: number
              example: '10000'
            contract:
              description: Contract cesiune
              type: string
              example: AX2345
            prima_casa:
              description: Imobil prin PRIMA CASA. 1 - Da, 0 - Nu
              type: number
              example: '1'
            rata_banca:
              description: Procent cesiune catre banca
              type: number
              example: '10'
            rata_mfp:
              description: >-
                Procent cesiune catre Ministerul Finantelor. Se completeaza daca
                prima_casa = 1
              type: number
              example: '20'
          type: object
        persoane:
          type: array
          items:
            required:
              - cnp_cui
            properties:
              cnp_cui:
                type: string
                example: '2910311280938'
              adresa:
                type: array
                items:
                  required:
                    - tip
                  properties:
                    tip:
                      type: string
                      enum:
                        - domiciliu
                        - corespondenta
                    text_suplimentar_nr_strada:
                      type: string
                    text_suplimentar_bloc:
                      type: string
                  type: object
            type: object
        imobil:
          required:
            - suprafata_construita
          properties:
            tip_imobil_pad:
              description: >-
                Tip imobil PAD. Nomenclator:
                nomenclator/generali/eurocasa/tip-imobil-pad. Se completeaza la
                EUROCASA+PAD si PAD
              type: string
              example: A
            suprafata_construita:
              description: >-
                Suprafata construita imobil mp. Se completeaza la EUROCASA+PAD
                si PAD
              type: number
              example: '60'
            adresa:
              properties:
                text_suplimentar_nr_strada:
                  type: string
                text_suplimentar_bloc:
                  type: string
              type: object
          type: object
        obiecte_asigurate:
          description: Se completeaza la EUROCASA+PAD si EUROCASA
          properties:
            valori:
              description: Suma asigurata pentru valori. Max. 10.000 EUR
              type: number
              example: '10000'
            sistem_aer_conditionat:
              description: >-
                Suma asigurata pentru avarii la echipamentul de aer conditionat.
                Max. 15.000 EUR
              type: number
              example: '10000'
            geamuri:
              description: >-
                Suma asigurata pentru spargerea accidentala a geamurilor. Max.
                100.000 EUR
              type: number
              example: '10000'
            anexa_lemn:
              description: Suma asigurata pentru anexa de lemn.
              type: number
              example: '10000'
            garaj:
              description: Suma asigurata pentru garaj. Max. 25.000 EUR
              type: number
              example: '10000'
            piscina:
              description: Suma asigurata pentru piscina. Max. 25.000 EUR
              type: number
              example: '10000'
            foisor:
              description: Suma asigurata pentru foisor.
              type: number
              example: '10000'
            panouri_solare:
              description: Suma asigurata pentru panouri solare.
              type: number
              example: '10000'
            fenomene_electrice_la_instalatii:
              description: Suma asigurata pentru fenomene electrice la instalatii. Min. 1
              type: number
              example: '10000'
          type: object
        clauze_acoperiri:
          description: Se completeaza la EUROCASA+PAD si EUROCASA
          required:
            - home_assistance
          properties:
            home_assistance:
              description: 'Asistenta Tehnica la domiciliu: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            home_assistance_acoperire:
              type: string
              enum:
                - basic
                - plus
              example: basic
            instalatii_apa:
              description: >-
                Clauza Daune produse de avarii la instalatiile de apa: 1 - Da, 0
                - Nu
              type: number
              example: '1'
            furt:
              description: 'Clauza Furt/Talharie: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            alarma:
              description: 'Alarma conectata la firma de paza: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            vandalism_acte_socio_politice:
              description: 'Clauza Vandalism, acte socio-politice: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            costuri_cazare_temporara:
              description: 'Clauza Costuri de cazare temporara: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            anularea_calatoriei:
              description: 'Clauza Anularea calatoriei: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            raspunderea_din_proprietatea_cladirii:
              description: 'Clauza Raspunderea din proprietatea cladirii: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            raspunderea_familiei_la_locatie:
              description: 'Clauza Raspunderea familiei la locatie: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            raspunderea_exstinsa_a_familiei_suma:
              description: Suma asigurata Raspunderea extinsa a familiei (in Romania)
              type: number
              example: '10000'
            furtul_cheilor:
              description: 'Clauza Furtul cheilor: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            fenomene_electrice_la_instalatii:
              description: 'Clauza Fenomene electrice aparatura casnica: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            animale_de_companie:
              description: 'Clauza Raspundere animale companie: 1 - Da, 0 - Nu'
              type: number
              example: '1'
            an_sistem_incalzire:
              description: >-
                Se completeaza daca este setata obiecte_asigurate.tip =
                'avarii_centrala_termica'
              type: number
              example: '2020'
            model_sistem_incalzire:
              description: >-
                Se completeaza daca este setata obiecte_asigurate.tip =
                'avarii_centrala_termica'
              type: string
              example: Ariston X20
            descriere_sistem_incalzire:
              description: >-
                Se completeaza daca este setata obiecte_asigurate.tip =
                'avarii_centrala_termica'
              type: string
              example: Centrala Gaz Ariston
            descriere_sistem_solar:
              description: Se completeaza daca este setata obiecte_asigurate.panouri_solare
              type: string
              example: Panou MXM
            limita_despagubiri_instalatii_apa:
              description: >-
                Valoare procentuala limita despagubiri instalatii apa. Valori
                acceptate : 10 sau 100. Daca nu este completat, se va trimite
                default 10
              type: number
              example: '10'
          type: object
        oferta:
          description: Se completeaza la EUROCASA+PAD si EUROCASA
          properties:
            moneda_plata:
              description: >-
                Moneda incasarii. Daca moneda emiterii este RON, moneda_plata
                poate fi doar RON
              type: string
              example: EUR
          type: object
        cod_raf_emitent:
          description: >-
            Cod RAF. Trebuie sa respecte formatul RAFNNNNN (max. 10 cifre) sau
            sa aiba valoarea `emitere online`
          type: string
          example: RAF12345
      type: object
    GraweBasicQuotationRequest:
      title: GraweBasicQuotationRequest
      description: Grawe Basic cerere oferta
      properties:
        grawe_help:
          description: Include Grawe Help
          type: boolean
          example: 'true'
        chestionar:
          properties:
            daune:
              description: Au fost înregistrate daune în ultimii 2 ani
              type: boolean
              example: 'true'
            utilizare_business:
              description: >-
                Bunurile asigurate sunt utilizate şi în alt scop decât cel
                locativ
              type: boolean
              example: 'true'
            asigurare_refuzata:
              description: >-
                Asigurarea pentru acest risc a fost refuzată sau reziliată de un
                alt asigurator
              type: boolean
              example: 'true'
            risc_incediu:
              description: >-
                Sunt cunoscute cauze concrete care ar putea determina apariția
                unui incendiu
              type: boolean
              example: 'true'
            exista_polita:
              description: >-
                Exista o polita de asigurare pentru acelasi imobil sau pentru
                aceleasi bunuri
              type: boolean
              example: 'true'
          type: object
      type: object
    GraweSpezialQuotationRequest:
      title: GraweSpezialQuotationRequest
      description: Grawe Spezial cerere oferta
      properties:
        grawe_help:
          description: Include Grawe Help
          type: boolean
          example: 'true'
        oferta:
          properties:
            avarii_accidentale_instalatii:
              description: Include Avarii accidentale la instalații
              type: boolean
              example: 'true'
            fenomene_electrice:
              description: Include Fenomene electrice la electrocasnice
              type: boolean
              example: 'true'
          type: object
        chestionar:
          properties:
            materiale_combustibile:
              description: >-
                Locuinta ce urmeaza a fi asigurata are cel mult materiale
                combustibile doar in alcatuirea podului
                 *      (sarpanta din lemn)
              type: boolean
              example: 'true'
            uz_personal:
              description: >-
                Proprietatea ce urmeaza sa fie asigurata este folosita doar in
                scop de locuit
              type: boolean
              example: 'true'
            imobil_locuit:
              description: >-
                Proprietatea este locuita permanent (cel putin 270 de zile pe
                an). 
              type: boolean
              example: 'true'
          type: object
        anexa:
          description: >-
            Parametru obligatoriu in cazul in care se declara
            `obiecte_asigurate` de tip `anexe`.
          properties:
            tip:
              type: string
              enum:
                - garaj
                - magazie
                - alte_anexe
              example: garaj
            suprafata:
              type: number
              example: '70'
          type: object
      type: object
    AlexaCoverSchema:
      allOf:
        - $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
        - $ref: '#/components/schemas/AlexaCoverSumSchema'
    AlexaCoverNoFransizaSchema:
      allOf:
        - $ref: '#/components/schemas/AlexaCoverNoFransizaValueSchema'
        - $ref: '#/components/schemas/AlexaCoverSumSchema'
    AlexaCoverWithFransizaSchema:
      allOf:
        - $ref: '#/components/schemas/AlexaCoverWithFransizaValueSchema'
        - $ref: '#/components/schemas/AlexaCoverSumSchema'
    AlexaCoverCodFransizaOnlySchema:
      required:
        - cod_fransiza
      properties:
        cod_fransiza:
          type: string
          enum:
            - fara_fransiza
            - cu_fransiza
          example: fara_fransiza
      type: object
    AlexaCoverNoFransizaValueSchema:
      required:
        - cod_fransiza
      properties:
        cod_fransiza:
          type: string
          enum:
            - fara_fransiza
          example: fara_fransiza
      type: object
    AlexaCoverWithFransizaValueSchema:
      required:
        - cod_fransiza
      properties:
        cod_fransiza:
          type: string
          enum:
            - cu_fransiza
          example: cu_fransiza
      type: object
    AlexaCoverCodFransizaPadOnlySchema:
      required:
        - cod_fransiza
      properties:
        cod_fransiza:
          type: string
          enum:
            - fransiza_pad
          example: fransiza_pad
      type: object
    AlexaCoverSumSchema:
      required:
        - suma_asigurata
      properties:
        suma_asigurata:
          type: number
          example: '1111'
      type: object
    AlexaPersonDetailsSchema:
      required:
        - nume
        - prenume
        - cnp
      properties:
        nume:
          type: string
          example: Pop
        prenume:
          type: string
          example: Zore
        cnp:
          description: Valoare CNP
          type: string
          example: '1901101126734'
      type: object
    GroupamaAlexaQuotationRequest:
      title: GroupamaAlexaQuotationRequest
      description: Groupama ALEXA cerere oferta
      required:
        - clauze_acoperiri
      properties:
        simulare:
          description: >-
            Valoare default `false`. Oferte cu `simulare` = true nu pot fi
            emise.
          type: boolean
          example: 'false'
        flux_emitere:
          description: Valoare default `NB`. NB - New Business, RN - Renewal
          type: string
          enum:
            - NB
            - RN
          example: NB
        text_predefinit_cesiune:
          type: boolean
          example: Afisare mentiuni descriere
        mentiuni_cesiune:
          type: string
          example: Mentiuni cesiune descriere
        mentiuni_speciale:
          description: >-
            Descrierea listei de cesionari si a particularitatilor de cesiune.
            Textul de cesiune ce va fi completat la 'Mentiuni speciale' pe
            polita altfel e generat automat.
          type: string
          example: Mentiuni speciale descriere
        oferta:
          properties:
            numar_polita_reinnoita:
              description: Numarul politei facultative ce se reinnoieste
              type: number
              example: '500901488'
            calitate_asigurat:
              description: DEFAULT = proprietar
              type: string
              enum:
                - proprietar
                - chirias
              example: proprietar
            crestere_comerciala:
              description: Utilizat pentru o majorare de X% a primei
              type: number
              example: '10'
            reducere_comerciala:
              description: Utilizat pentru o reducere de X% a primei
              type: number
              example: '6'
          type: object
        imobil:
          properties:
            tip_suprafata:
              description: 'Default: utila'
              type: string
              enum:
                - utila
                - desfasurata
            inspectie_risc:
              type: boolean
              example: 'false'
            casa_vacanta:
              type: boolean
              example: 'false'
            pagube_ultimul_an:
              type: boolean
              example: 'false'
            pagube_ultimul_an_detalii:
              description: >-
                Camp obligatoriu daca
                `date_suplimentare.imobil.pagube_ultimul_an` este `true`.
              type: string
              example: Text descriere
          type: object
        obiecte_asigurate:
          properties:
            boxa:
              properties:
                suma_asigurata:
                  type: number
                  example: '1111'
              type: object
            gard:
              properties:
                suma_asigurata:
                  type: number
                  example: '1111'
              type: object
            panouri:
              properties:
                suma_asigurata:
                  type: number
                  example: '1111'
              type: object
          type: object
        alte_asigurari:
          type: array
          items:
            properties:
              societate:
                type: string
                example: asigurator_1
              descriere:
                type: string
                example: descriere despre asigurare
              suma_asigurata:
                type: number
                example: '1111'
            type: object
        clauze_acoperiri:
          required:
            - raspundere_civila
          properties:
            cladire:
              required:
                - flexa
              properties:
                flexa:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                alte_riscuri:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                inundatie_vecini:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                theft:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                vandalism:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                landslide:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaPadOnlySchema'
                flood:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaPadOnlySchema'
                earthquake:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaPadOnlySchema'
                pad_a:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaValueSchema'
                pad_b:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaValueSchema'
              type: object
            continut:
              properties:
                flexa:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                alte_riscuri:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                inundatie_vecini:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                theft:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                vandalism:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                landslide:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                flood:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                earthquake:
                  $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
              type: object
            clauze:
              properties:
                breakable:
                  $ref: '#/components/schemas/AlexaCoverSchema'
                boiler:
                  $ref: '#/components/schemas/AlexaCoverSchema'
                annex_buildings:
                  type: object
                  allOf:
                    - $ref: '#/components/schemas/AlexaCoverSchema'
                    - properties:
                        piscine:
                          type: boolean
                          example: 'false'
                        amenajari:
                          type: boolean
                          example: 'false'
                        altele:
                          type: boolean
                          example: 'false'
                      type: object
                garden:
                  $ref: '#/components/schemas/AlexaCoverWithFransizaSchema'
                electrical:
                  $ref: '#/components/schemas/AlexaCoverSchema'
                cards_documents:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaValueSchema'
                hobby:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaSchema'
                school:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaSchema'
                valuables:
                  required:
                    - seifuri
                    - alte_seifuri
                    - sistem_alarma
                  type: object
                  allOf:
                    - $ref: '#/components/schemas/AlexaCoverNoFransizaSchema'
                    - properties:
                        seifuri:
                          type: boolean
                          example: 'false'
                        alte_seifuri:
                          description: Valoare afista pe polita
                          type: string
                          example: Alte tipuri
                        sistem_alarma:
                          type: boolean
                          example: 'false'
                      type: object
                extension:
                  type: object
                  allOf:
                    - $ref: '#/components/schemas/AlexaCoverCodFransizaOnlySchema'
                    - properties:
                        valoare_suplimentara:
                          type: number
                          example: '10000.00'
                      type: object
                ren_reg:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaValueSchema'
                fotovoltaice:
                  required:
                    - cod_fransiza
                    - tip_client
                    - amplasament
                    - an_achizitionare
                    - putere
                    - suma_asigurata
                  properties:
                    cod_fransiza:
                      type: string
                      enum:
                        - cu_fransiza
                    tip_client:
                      type: string
                      enum:
                        - consumator
                        - prosumator
                    amplasament:
                      description: >-
                        ac  - Pe acoperisul casei , ls -  La sol, pp - Pe
                        pergole sau alte constructii deschise, pcacc  - Pe
                        constructii acoperite care fac corp comun cu clădirea,
                        pcafcc - Pe constructii acoperite care nu fac corp comun
                        cu cladirea
                      type: string
                      enum:
                        - pac
                        - ls
                        - pp
                        - pcacc
                        - pcafcc
                    an_achizitionare:
                      type: number
                    putere:
                      type: string
                      enum:
                        - maxim_10kw
                        - peste_10kw
                    suma_asigurata:
                      type: number
                  type: object
                asistenta_urgenta_domiciliu:
                  required:
                    - cod_fransiza
                    - pachet
                  properties:
                    cod_fransiza:
                      type: string
                      enum:
                        - fara_fransiza
                    pachet:
                      type: string
                      enum:
                        - standard
                        - premium
                  type: object
                fotovoltaice_acc:
                  required:
                    - cod_fransiza
                  properties:
                    cod_fransiza:
                      type: string
                      enum:
                        - cu_fransiza
                  type: object
              type: object
            raspundere_civila:
              required:
                - liability
              properties:
                liability_owner:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaSchema'
                liability_tenant:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaSchema'
                liability:
                  type: object
                  allOf:
                    - $ref: '#/components/schemas/AlexaCoverSchema'
                    - properties:
                        exista_coproprietar:
                          description: >-
                            Obligatoriu daca exista
                            `date_suplimentare.clauze_acoperiri.raspundere_civila.liability_owner`
                          type: boolean
                          example: 'false'
                        alti_chiriasi:
                          description: >-
                            Obligatoriu daca exista
                            `date_suplimentare.clauze_acoperiri.raspundere_civila.liability_tenant`
                          type: boolean
                          example: 'false'
                      type: object
              type: object
            accidente:
              properties:
                persons_acc:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaValueSchema'
                fractures:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaValueSchema'
                detalii:
                  required:
                    - numar_persoane
                    - asigurati
                  properties:
                    numar_persoane:
                      type: integer
                      maximum: 9
                      minimum: 1
                      example: '1'
                    asigurati:
                      type: array
                      items:
                        $ref: '#/components/schemas/AlexaPersonDetailsSchema'
                    beneficiari:
                      type: array
                      items:
                        $ref: '#/components/schemas/AlexaPersonDetailsSchema'
                  type: object
              type: object
            asigurari:
              properties:
                lawsuit:
                  required:
                    - informatii_suplimentare
                    - solicitari_despagubire
                  type: object
                  allOf:
                    - $ref: '#/components/schemas/AlexaCoverNoFransizaValueSchema'
                    - properties:
                        informatii_suplimentare:
                          type: string
                          example: Text informatii
                        solicitari_despagubire:
                          type: boolean
                          example: 'false'
                      type: object
                holiday_cancel:
                  $ref: '#/components/schemas/AlexaCoverNoFransizaValueSchema'
              type: object
          type: object
      type: object
    GroupamaAlexaTransformOfferRequest:
      title: GroupamaAlexaTransformOfferRequest
      description: Groupama Alexa Transform Offer Request
      properties:
        valabilitate_inceput_pad:
          description: >-
            Se include doar daca se doreste modificarea datei de inceput a
            politei fata de cea trimisa la cotatie
          type: string
          example: '2023-09-01'
        emitere_pad:
          description: >-
            Daca se doreste emiterea politei PAD (este luat in considerare doar
            pe fluxul de reinnoire)
          type: boolean
          example: 'false'
        reinnoire_pad:
          description: >-
            Daca se doreste reinnoirea politei PAD (este luat in considerare
            doar pe fluxul de reinnoire)
          type: boolean
          example: 'false'
        serie_pad:
          description: >-
            Seria politei PAD (este luat in considerare doar pe fluxul de
            reinnoire)
          type: string
          example: RA-068
        numar_pad:
          description: >-
            Numarul politei PAD (este luat in considerare doar pe fluxul de
            reinnoire)
          type: string
          example: '123456789'
        imobil:
          description: Datele suplimentare imobil (daca se emite si polita PAD)
          properties:
            numar_camere:
              description: Numarul de camere
              type: integer
              example: '3'
            numar_cladiri:
              description: Numarul de cladiri
              type: integer
              example: '1'
            identificare:
              description: Descriere vecinatati
              type: string
          type: object
      type: object
    OmniasigGarantAmplusQuotationRequest:
      title: OmniasigGarantAmplusQuotationRequest
      description: Omniasig GarantAmplus cerere oferta
      properties:
        oferta:
          properties:
            asistenta_vip:
              type: boolean
              example: 'true'
            discount_motiv:
              type: string
              example: Motiv de reducere
          type: object
        consimtamant_marketing:
          type: boolean
          example: 'true'
        cod_raf_emitent:
          description: Cod raf
          type: string
          example: RAF12345
      type: object
    OmniasigGarantAmplusTransformOfferRequest:
      title: OmniasigGarantAmplusTransformOfferRequest
      description: Omniasig GarantAmplus cerere pentru emitere polita
      properties:
        platitor:
          required:
            - cnp
            - nume
            - prenume
          properties:
            cnp:
              description: CNP
              type: string
            nume:
              description: Nume
              type: string
            prenume:
              description: Prenume
              type: string
          type: object
      type: object
    OmniasigGarantSumRequest:
      title: OmniasigGarantSumRequest
      description: >-
        Omniasig GarantSum Request<br><b>Societate/Produs: societate = omniasig,
        produs = garantsum</b>
      properties:
        cod_raf_emitent:
          description: Cod raf
          type: string
          example: RAF12345
        imobil:
          properties:
            tip_ocupare:
              description: >-
                Tip ocupare imobil. Nomenclator:
                nomenclator/omniasig/garantsum/tip-ocupare
              type: string
              example: CURENT
            grilaj_geam:
              description: true - Da, false - Nu
              type: boolean
              example: 'false'
            zona_pp:
              description: true - Da, false - Nu
              type: boolean
              example: 'false'
            detectie_incendiu:
              description: true - Da, false - Nu
              type: boolean
              example: 'false'
            structura_de_rezistenta_pad:
              description: >-
                Obligatoriu daca `pachet` = GARANTSUM+PAD si
                `imobil.structura_de_rezistenta` nu este o valoare prezenta in
                enum
              type: string
              enum:
                - beton
                - beton armat
                - caramida
                - lemn
                - chirpici sau paianta
                - structura metalica
              example: beton
          type: object
        obiecte_asigurate:
          description: Se completeaza la GARANTSUM+PAD si GARANTSUM
          properties:
            bunuri:
              type: array
              items:
                required:
                  - tip
                  - valoare
                  - descriere
                properties:
                  tip:
                    description: 'Nomenclator: nomenclator/omniasig/garantsum/tip-bunuri'
                    type: string
                  valoare:
                    type: number
                    example: '123'
                  descriere:
                    type: string
                    example: Descrietre
                type: object
            anexe:
              type: array
              items:
                required:
                  - tip
                  - structura_de_rezistenta
                  - valoare
                  - an_constructie
                properties:
                  tip:
                    description: 'Nomenclator: nomenclator/omniasig/garantsum/tip-anexe'
                    type: string
                  structura_de_rezistenta:
                    type: string
                    enum:
                      - beton
                      - beton armat
                      - bca
                      - caramida
                      - chirpici sau paianta
                      - lemn
                      - mixta zidarie lemn
                      - structura metalica
                    example: beton
                  valoare:
                    type: number
                    example: '123'
                  an_constructie:
                    type: number
                    example: '1990'
                  descriere:
                    type: string
                    example: Descrietre
                type: object
          type: object
        clauze_acoperiri:
          description: Se completeaza la GARANTSUM+PAD si GARANTSUM
          properties:
            asigurare_bunuri_prim_risc:
              description: true - Da, false - Nu
              type: boolean
              example: 'false'
            tip_asigurare_bunuri_furt:
              description: >-
                Nomenclator:
                nomenclator/omniasig/garantsum/tip-asigurare-bunuri-furt
              type: string
              example: PRIM_RISC
            tip_asistenta_tehnica:
              description: 'Nomenclator: /nomenclator/omniasig/garantsum/tip-asistenta'
              type: string
              example: GOLD
            renuntare_fransiza_cutremur:
              description: true - Da, false - Nu
              type: boolean
              example: 'false'
            renuntare_fransiza_apa:
              description: true - Da, false - Nu
              type: boolean
              example: 'false'
            acoperire_tip:
              description: Tipul de acoperire `STABIL` este inclus implicit
              type: array
              items:
                required:
                  - tip
                properties:
                  tip:
                    type: string
                    example: 'Nomenclator: nomenclator/omniasig/garantsum/tip-acoperiri'
                type: object
          type: object
      type: object
    OmniasigGarantSumTransformOfferRequest:
      title: OmniasigGarantSumTransformOfferRequest
      description: Omniasig GarantSum Transform Offer Request
      properties:
        platitor:
          required:
            - rol
            - tip_persoana
            - cnp_cui
          properties:
            rol:
              type: string
              enum:
                - alta_persoana
                - asigurat
                - contractant
              example: alta_persoana
            tip_persoana:
              description: PJ - Persoana juridica, PF - Persoana fizica
              type: string
              enum:
                - PF
                - PJ
              example: PF
            cnp_cui:
              type: string
              example: '1860916190445'
          type: object
      type: object
    SignalIdunaQuotationRequest:
      title: SignalIdunaQuotationRequest
      description: Signal Iduna cerere oferta
      properties:
        reinnoire_serie_fixl:
          description: Reinnoieste polita FIXL (serie)
          type: string
        reinnoire_numar_fixl:
          description: Reinnoieste polita FIXL (numar)
          type: number
        cod_voucher:
          description: Cod voucher
          type: string
        suma_asigurata_continut:
          description: Suma asigurata continut
          type: number
          example: '13000'
        bunuri_casabile_mentiuni:
          description: Bunuri casabile - mentiuni
          type: string
        avarii_fenomen_electric_mentiuni:
          description: Avarii fenomene electrice - mentiuni
          type: string
        imobil:
          properties:
            cabana:
              description: Cabana / Casa de odihna
              type: boolean
              example: 'false'
            bunuri_casnice:
              description: Bunuri casnice
              type: boolean
              example: 'false'
            descriere_locuinta:
              description: Descriere locuinta
              type: string
            inflamabil:
              description: >-
                Peste jumatate din constructie realizata din elemente
                combustibile
              type: boolean
              example: 'false'
          type: object
        obiecte_asigurate:
          type: array
          items:
            required:
              - tip
              - suma_asigurata
            properties:
              tip:
                description: Obiect asigurat
                type: string
                enum:
                  - garduri
                  - garaj
                  - foisor
                  - magazie
                  - piscina
              suma_asigurata:
                description: Suma asigurata
                type: number
            type: object
        oferta:
          properties:
            mentiuni_cesiune:
              description: Mentiuni cesiune
              type: string
              example: Mentiune
          type: object
        fransiza_bani_alte_valori:
          description: Fransiza bani alte valori
          type: string
          example: 5% din dauna
        clauze_suplimentare:
          properties:
            cladire_constructie_renovare:
              description: Cladire in renovare
              type: boolean
              example: 'false'
            bani_alte_valori:
              properties:
                suma_asigurata:
                  description: >-
                    Suma asigurata bani si alte valori (panouri solare /
                    fotovoltaice)
                  type: number
                  example: '12000'
              type: object
            avarii_accidentale_instalatii_interioare:
              properties:
                suma_asigurata:
                  description: >-
                    Suma asigurata avarii accidentale ale instalatiilor
                    interioare
                  type: number
                  example: '12000'
                mentiuni:
                  description: >-
                    Asigurare avarii accidentale ale instalatiilor interioare -
                    mentiuni
                  type: string
              type: object
            bunuri_valoare_deosebita:
              properties:
                suma_asigurata:
                  description: Suma asigurata bunuri de valoare deosebita
                  type: number
                  example: '12000'
                mentiuni:
                  description: Bunuri de valoare deosebita - mentiuni
                  type: string
              type: object
            raspundere_civila_chirias_fata_de_proprietar:
              properties:
                suma_asigurata:
                  description: >-
                    Suma asigurata raspundere civila chirias fata de proprietar
                    (Euro, 4 evenimente)
                  type: number
                  enum:
                    - 1000
                    - 2000
                    - 5000
                    - 10000
                    - 20000
                    - 30000
                    - 50000
                    - 75000
                    - 100000
                  example: '1000'
              type: object
            raspundere_civila_proprietar_fata_de_chirias:
              properties:
                suma_asigurata:
                  description: >-
                    Suma asigurata raspundere civila proprietar fata de chirias
                    (Euro, 4 evenimente)
                  type: number
                  enum:
                    - 1000
                    - 2000
                    - 5000
                    - 10000
                    - 20000
                    - 30000
                    - 50000
                    - 75000
                    - 100000
                  example: '1000'
              type: object
            accidente_persoane_intreaga_familie:
              properties:
                suma_asigurata:
                  description: Suma asigurata accidente persoane intreaga familie
                  type: string
                  enum:
                    - 1000EuroDeces_2000EuroInvaliditate
                    - 2000EuroDeces_4000EuroInvaliditate
                    - 3000EuroDeces_6000EuroInvaliditate
                  example: 2000EuroDeces_4000EuroInvaliditate
              type: object
            asistenta_domiciliu:
              properties:
                suma_asigurata:
                  description: >-
                    Suma asigurata asistenta domiciliu (5000 - Esential, 8000 -
                    Plus, 13000 - Premium)
                  type: number
                  enum:
                    - 5000
                    - 8000
                    - 13000
                  example: '5000'
                tip:
                  description: Suma asigurata asistenta domiciliu (Esential, Plus, Premium)
                  type: string
                  enum:
                    - Esential
                    - Plus
                    - Premium
                  example: Esential
              type: object
            inchiriere:
              properties:
                suma_asigurata:
                  description: Suma asigurata inchiriere (Euro / luna, 3 luni)
                  type: number
                  enum:
                    - 300
                    - 600
                  example: '300'
              type: object
          type: object
      type: object
    SignalIdunaPolicyRequest:
      title: SignalIdunaPolicyRequest
      description: Signal Iduna cerere pentru emitere polita
      properties:
        platitor:
          required:
            - nume
            - cnp_cui
            - adresa
          properties:
            nume:
              description: Nume
              type: string
            cnp_cui:
              description: CNP / CUI
              type: string
            nr_reg_com:
              description: >-
                Numarul de ordine in registrul comertului (in cazul persoanelor
                juridice)
              type: string
            adresa:
              description: Adresa
              type: string
          type: object
      type: object
    UniqaHouseholdQuotationRequest:
      title: UniqaHouseholdQuotationRequest
      description: >-
        Uniqa Household Request<br><b>Societate/Produs: societate = uniqa,
        produs = household</b>
      required:
        - persoane
      properties:
        reinnoire_serie_acl:
          type: string
          enum:
            - ACL
            - ACLO
            - AL
            - ASL
            - ACX
            - ACB
        reinnoire_numar_acl:
          type: string
        reinnoire_pad:
          description: 'Se reinnoieste polita PAD: 1 - Da, 0 - Nu'
          type: number
          example: '0'
        reducere:
          description: Valoare procentuala
          type: number
          example: '0'
        majorare:
          description: Valoare procentuala
          type: number
          example: '0'
        valabilitate_inceput_pad:
          description: Pentru cazurile in care se genereaza oferta pentru PAD+ACL
          type: string
          format: date
          example: '2021-01-01'
        persoane:
          type: array
          items:
            required:
              - cnp_cui
            properties:
              cnp_cui:
                type: string
                example: '2910311280938'
              tip_pj:
                description: |-
                  <b>Se completeaza doar la persoane juridice.</b>
                   * Tipul persoanei juridice. Nomenclator: nomenclator/uniqa/household/tip-persoana-pj
                type: string
              numar_document_inregistrare:
                description: Numar document inregistrare PJ
                type: string
              serie_document_inregistrare:
                description: Serie document inregistrare PJ
                type: string
              functionar_public:
                description: 'Persoana indeplineste o functie publica: 1 - Da, 0 - Nu'
                type: number
                example: '0'
              principal:
                description: 'Asigurat principal: 1 - Da, 0 - Nu'
                type: number
                example: '1'
              adresa:
                type: array
                items:
                  required:
                    - tip
                  properties:
                    tip:
                      type: string
                      enum:
                        - domiciliu
                        - corespondenta
                    judet_strainatate:
                      type: string
                    localitate_strainatate:
                      type: string
                  type: object
            type: object
        imobil:
          properties:
            tip_suprafata:
              description: >-
                Tipul suprafetei. Nomenclator:
                nomenclator/uniqa/household/tip-suprafata
              type: number
              example: '622'
            stadiu_finalizare_cladire:
              description: >-
                Stadiul de finalizare al cladirii. Nomenclator:
                nomenclator/uniqa/household/stadiu-finalizare (cod), Daca nu se
                trimite: Finalizata
              type: number
              example: '618'
            risc_seismic:
              description: Risc seismic
              type: string
              enum:
                - I
                - U1
                - II
                - U2
                - III
                - U3
            adresa:
              properties:
                judet_strainatate:
                  type: string
                localitate_strainatate:
                  type: string
              type: object
            ocupare:
              description: Daca nu se trimite, default value este ‘locuita permanent’
              type: string
              enum:
                - locuita permanent
                - locuita temporar
                - nelocuita
            monument_istoric:
              type: boolean
          type: object
        clauze_acoperiri:
          properties:
            acoperire_vandalism:
              description: 'Acoperire vandalism la valoare intreaga: 1 - Da, 0 - Nu'
              type: number
              example: '0'
            acoperire_pipewater:
              description: 'Acoperire apa din conducte la valoare intreaga: 1 - Da, 0 - Nu'
              type: number
              example: '0'
            acoperire_repression:
              description: 'Acoperire refulare: 1 - Da, 0 - Nu'
              type: number
              example: '0'
            clauza_repairs:
              description: >-
                Clauza cheltuieli reparatii si asistenta la domiciliu: 1 - Da, 0
                - Nu
              type: number
              example: '0'
            seif:
              description: 'Exista seif: 1 - Da, 0 - Nu'
              type: number
              example: '0'
          type: object
        obiecte_asigurate:
          description: >-
            Lista obiectelor asigurate (si parametriilor aferente) conform
            nomenclatorul: /nomenclator/uniqa/household/obiect-asigurat
          properties:
            anexe:
              properties:
                fransiza:
                  description: 597 - 0%, 598 - 1%, 599 - 2%, 600 - 3%, 601 - 4%, 602 - 5%
                  type: number
                  enum:
                    - 597
                    - 598
                    - 599
                    - 600
                    - 601
                    - 602
                  example: '600'
                obiecte:
                  description: Trebuie sa fie prezent cel putin o anexa
                  properties:
                    garaj:
                      required:
                        - suma_asigurata
                        - numar
                        - executat_din
                      properties:
                        suma_asigurata:
                          type: number
                          example: '1000'
                        executat_din:
                          type: string
                          format: date
                          example: '2023-10-05'
                        numar:
                          type: string
                          example: '3'
                      type: object
                    imprejmuiri:
                      required:
                        - suma_asigurata
                        - executat_din
                      properties:
                        suma_asigurata:
                          type: number
                          example: '1000'
                        executat_din:
                          type: string
                          format: date
                          example: '2023-10-05'
                      type: object
                    magazii:
                      required:
                        - suma_asigurata
                        - executat_din
                        - numar
                      properties:
                        suma_asigurata:
                          type: number
                          example: '1000'
                        executat_din:
                          type: string
                          format: date
                          example: '2023-10-05'
                        numar:
                          type: string
                          example: '3'
                      type: object
                    anexe_speciale:
                      required:
                        - suma_asigurata
                        - executat_din
                        - numar
                      properties:
                        suma_asigurata:
                          type: number
                          example: '1000'
                        executat_din:
                          type: string
                          format: date
                          example: '2023-10-05'
                        numar:
                          type: string
                          example: '3'
                        detalii:
                          type: string
                          example: Detalii..
                      type: object
                    gradini:
                      required:
                        - suma_asigurata
                      properties:
                        suma_asigurata:
                          type: number
                          example: '1000'
                      type: object
                    alte_anexe:
                      required:
                        - suma_asigurata
                        - executat_din
                        - numar
                      properties:
                        suma_asigurata:
                          type: number
                          example: '1000'
                        executat_din:
                          type: string
                          format: date
                          example: '2023-10-05'
                        numar:
                          type: string
                          example: '3'
                        detalii:
                          type: string
                          example: Detalii..
                      type: object
                  type: object
              type: object
            bunuri_speciale:
              required:
                - suma_asigurata
              properties:
                suma_asigurata:
                  type: number
                  example: '1000'
              type: object
            bunuri_casabile:
              required:
                - suma_asigurata
              properties:
                suma_asigurata:
                  type: number
                  example: '1000'
              type: object
            avarii_centrala_panouri_solare:
              description: >-
                Este necesara declararea cel putin unei avarii, `panouri_solare`
                sau `centrala_termica`.
              required:
                - tip_suma_asigurata
              properties:
                tip_suma_asigurata:
                  type: string
                  enum:
                    - Reala
                    - DeInlocuire
                  example: Reala
                panouri_solare:
                  required:
                    - suma_asigurata
                  properties:
                    suma_asigurata:
                      type: number
                      example: '1000'
                  type: object
                centrala_termica:
                  required:
                    - denumire_producator
                    - tip
                    - vechime
                    - suma_asigurata
                  properties:
                    denumire_producator:
                      type: string
                      example: Buderus
                    tip:
                      description: 624 - Murala (de apartament), 625 - De bloc
                      type: number
                      enum:
                        - 624
                        - 625
                      example: '625'
                    tip_achizitie:
                      description: 626 - Nou, 627 - Second hand
                      type: number
                      enum:
                        - 626
                        - 627
                      example: '626'
                    vechime:
                      description: Vechimea centralei in ani
                      type: number
                      example: '3'
                    suma_asigurata:
                      type: number
                      example: '1000'
                  type: object
                pompa_caldura:
                  required:
                    - denumire_producator
                    - vechime
                    - suma_asigurata
                  properties:
                    denumire_producator:
                      type: string
                      example: Buderus
                    vechime:
                      description: Vechimea pompei in ani
                      type: number
                      example: '3'
                    suma_asigurata:
                      type: number
                      example: '1000'
                  type: object
                aer_conditionat:
                  required:
                    - denumire_producator
                    - vechime
                    - suma_asigurata
                  properties:
                    denumire_producator:
                      type: string
                      example: Buderus
                    vechime:
                      description: Vechimea AC in ani
                      type: number
                      example: '3'
                    suma_asigurata:
                      type: number
                      example: '1000'
                  type: object
              type: object
            raspundere_proprietar:
              required:
                - suma_asigurata
              properties:
                suma_asigurata:
                  type: number
                  example: '1000'
              type: object
            raspundere_chirias:
              required:
                - suma_asigurata
              properties:
                suma_asigurata:
                  type: number
                  example: '1000'
              type: object
            accidente:
              required:
                - suma_asigurata
                - tip_suma_asigurata
              properties:
                suma_asigurata:
                  type: number
                  example: '10000'
                tip_suma_asigurata:
                  description: >-
                    11380 => '50000',11379 => '40000',11378 => '30000',11377 =>
                    '20000',11376 => '10000'
                  type: number
                  enum:
                    - 11380
                    - 11379
                    - 11378
                    - 11377
                    - 11376
                  example: '11376'
              type: object
          type: object
        oferta:
          properties:
            calitate_asigurat:
              description: Daca nu se trimite, default value este ‘proprietar’
              type: string
              enum:
                - chirias
                - proprietar
          type: object
      type: object
    UniqaHouseholdTransformOfferRequest:
      title: UniqaHouseholdQuotationRequest
      description: Uniqa Household Request
      required:
        - imobil
      properties:
        mentiuni_speciale_acl:
          type: string
        clauza_cesiune_denumire_banca_acl:
          type: string
        text_cesiune_acl:
          type: string
        imobil:
          required:
            - ocupare
          properties:
            ocupare:
              description: 'Nomenclator: nomenclator/uniqa/household/ocupare-imobil'
              type: number
            numar_zile_locuita:
              type: number
            daune_anterioare:
              description: Se include doar daca exista daune anterioare
              properties:
                numar_daune:
                  type: number
                valoare_daune:
                  type: number
                date_daune:
                  type: string
                  format: date
                cauze_informatii_daune:
                  type: string
              type: object
            asigurare_curenta:
              description: Se include doar daca locuinta/bunurile sunt in prezent asigurate
              properties:
                nume_asigurator:
                  type: string
                suma_asigurata:
                  type: number
              type: object
            asigurare_anterioara:
              description: >-
                Se include doar daca locuinta/bunurile au fost in trecut
                asigurate
              properties:
                nume_asigurator:
                  type: string
                suma_asigurata:
                  type: number
              type: object
            asigurare_refuzata:
              description: >-
                Se include doar daca asigurare/reinnoire refuzata de alt
                asigurator
              properties:
                motiv:
                  type: string
              type: object
          type: object
        seif_detalii:
          description: Doar daca seif este acoperit
          type: string
        acoperire_inchizatori:
          description: true - Da, false - Nu
          type: boolean
          example: 'false'
        detalii_inchizatori:
          type: string
      type: object
  responses:
    Response400InputValidation:
      description: Erori de aplicatie / server
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '400'
              message:
                type: string
                example: VALIDATION_ERROR
              data:
                properties:
                  denumire_camp:
                    type: array
                    items:
                      type: string
                    example:
                      - Eroare de validate
                type: object
            type: object
    Response400ErrorMessage:
      description: Erori de aplicatie / server
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '400'
              message:
                type: string
                example: ERROR_MESSAGE
            type: object
    Response401Unauthorized:
      description: NO_TOKEN
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '401'
              message:
                type: string
                example: NO_TOKEN
            type: object
    Response404NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '404'
              message:
                type: string
                example: Not Found
            type: object
    Response409Conflict:
      description: Blocked request by insurer
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '404'
              data:
                properties:
                  societate:
                    type: string
                    example: NUME_SAS
                  produs:
                    type: string
                    example: PRODUS_SAS
                  identificator_oferta:
                    type: number
                    example: '12349'
                  cod_oferta_asigurator:
                    type: string
                    example: '1577668'
                  mesaj:
                    type: string
                    example: Blocked by insurer message
                type: object
            type: object
    Response500ServerError:
      description: Erori de aplicatie / server
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '500'
              message:
                type: string
                example: Undefined array key 'xy'
            type: object
    Response200Nomenclature:
      description: Lista valorilor
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'false'
              status:
                type: number
                example: '200'
              message:
                type: string
              data:
                type: array
                items:
                  properties:
                    cod:
                      example: '11'
                    denumire:
                      example: Optiune 1
                  type: object
            type: object
    Response400NomenclatureError:
      description: Erori de aplicatie / server
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '400'
              message:
                type: string
                example: Nomenclator inexistent
            type: object
    Response404OfferNotFound:
      description: Oferta specificata nu exista
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '404'
              message:
                type: string
                example: Oferta specificata nu exista.
            type: object
    Response404PolicyNotFound:
      description: Polita specificata nu exista
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'true'
              status:
                type: number
                example: '404'
              message:
                type: string
                example: Polita specificata nu exista.
            type: object
    Response405MethodNotAllowed:
      description: Metoda de apelare nepermisa
    Response200StandardNomenclature:
      description: Lista valorilor
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'false'
              status:
                type: number
                example: '200'
              data:
                type: array
                items:
                  type: string
            type: object
    ApiCoreLibAuthResponse200:
      description: Auth result
      content:
        application/json:
          schema:
            properties:
              error:
                type: boolean
                example: 'false'
              status:
                type: number
                example: '200'
              data:
                properties:
                  token:
                    description: >-
                      The JSON Web Token (JWT) to be used as the `Token` header
                      value in all subsequent API requests.
                    example: '---JWT Token---'
                  expires_at:
                    description: >-
                      The expiration date and time of the JWT token, in ISO 8601
                      format.
                    example: '2021-09-03 19:41:27'
                  refresh_token:
                    description: A token used to refresh the JWT token when it expires.
                    type: string
                    example: '---Refresh Token---'
                type: object
            type: object
    Response403Forbidden:
      description: |-
        One of the following values will be returned in the `code` property:
         *   `INVALID_TOKEN`: The provided token is invalid
         *   `TOKEN_DEACTIVATED`: The token has been deactivated
         *   `TOKEN_EXPIRED`: The token has expired
         *   `NO_PERMISSION`: The account does not have permission
      content:
        application/json:
          schema:
            properties:
              correlation_id:
                type: string
                example: 0091aade-62a9-4474-a443-dc7c96d83c1d
              message:
                type: string
                example: Token expired
              code:
                type: string
                example: TOKEN_EXPIRED
            type: object
  parameters:
    HeaderToken:
      name: Token
      in: header
      description: >-
        The JWT token received from the `POST /auth` endpoint's response field
        name `token`. This should be included in the header as `Token: <JWT
        Token>`.
      required: true
      schema:
        type: string
        format: jwt
tags:
  - name: Authentication
    description: ''
  - name: Produse
    description: ''
  - name: Nomenclatoare
    description: Nomenclatoare generale
  - name: Acoperiri
    description: Acoperiri
  - name: Nomenclatoare Allianz Myhome
    description: Nomenclatoare Allianz Myhome
  - name: Nomenclatoare Allianz-Unit Casa Mea
    description: Nomenclatoare Allianz-Unit Casa Mea
  - name: Nomenclatoare Asirom Asigurarea Locuintei
    description: Nomenclatoare Asirom Asigurarea Locuintei
  - name: Nomenclatoare Asirom Caminul Meu
    description: Nomenclatoare Asirom Caminul Meu
  - name: Nomenclatoare AsiromPAD CasaTa+Pad
    description: Nomenclatoare AsiromPAD CasaTa+Pad
  - name: Nomenclatoare BRD HomeInsurance
    description: Nomenclatoare BRD HomeInsurance
  - name: Nomenclatoare Eurolife HomeProtect
    description: Nomenclatoare Eurolife HomeProtect
  - name: Nomenclatoare Generali Eurocasa
    description: Nomenclatoare Generali Eurocasa
  - name: Nomenclatoare Omniasig GarantSum
    description: Nomenclatoare Omniasig GarantSum
  - name: Nomenclatoare Uniqa Household
    description: Nomenclatoare Uniqa Household
