> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raul.ugps.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Reparar delta links y ejecutar delta sync inmediato

> Reinicializa delta links personales y de shared mailboxes del usuario. Luego ejecuta delta sync inmediato y retorna un resumen por bandeja.



## OpenAPI

````yaml /generated/specs/communications.json post /api/v1/omnichannel/email/sync/repair-delta
openapi: 3.0.0
info:
  title: Raul API - Comunicaciones
  description: Inbox, omnichannel, bandejas compartidas, email sync, WhatsApp, spam y tags.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/omnichannel/email/sync/repair-delta:
    post:
      tags:
        - Email Sync
      summary: Reparar delta links y ejecutar delta sync inmediato
      description: >-
        Reinicializa delta links personales y de shared mailboxes del usuario.
        Luego ejecuta delta sync inmediato y retorna un resumen por bandeja.
      operationId: EmailSyncController_repairDelta
      parameters: []
      responses:
        '200':
          description: Reparación delta completada
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RepairDeltaResponseDto'
      security:
        - bearerAuth: []
components:
  schemas:
    RepairDeltaResponseDto:
      type: object
      properties:
        message:
          type: string
        userId:
          type: string
        personal:
          $ref: '#/components/schemas/RepairDeltaPersonalResultDto'
        shared:
          $ref: '#/components/schemas/RepairDeltaSharedResultDto'
        totalSynced:
          type: number
      required:
        - message
        - userId
        - personal
        - shared
        - totalSynced
    RepairDeltaPersonalResultDto:
      type: object
      properties:
        inboxDeltaInitialized:
          type: boolean
        sentDeltaInitialized:
          type: boolean
        synced:
          type: number
        errors:
          type: array
          items:
            type: string
      required:
        - inboxDeltaInitialized
        - sentDeltaInitialized
        - synced
        - errors
    RepairDeltaSharedResultDto:
      type: object
      properties:
        totalMailboxes:
          type: number
        processedMailboxes:
          type: number
        synced:
          type: number
        failures:
          type: number
        results:
          type: array
          items:
            $ref: '#/components/schemas/RepairDeltaMailboxResultDto'
      required:
        - totalMailboxes
        - processedMailboxes
        - synced
        - failures
        - results
    RepairDeltaMailboxResultDto:
      type: object
      properties:
        sharedMailboxId:
          type: string
        emailAddress:
          type: string
        inboxDeltaInitialized:
          type: boolean
        sentDeltaInitialized:
          type: boolean
        synced:
          type: number
        errors:
          type: array
          items:
            type: string
      required:
        - sharedMailboxId
        - emailAddress
        - inboxDeltaInitialized
        - sentDeltaInitialized
        - synced
        - errors
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````