{
  "version": "1.3.0",
  "date": "2026-11-17",
  "digest": "sha256:4633a9cef92754970859023251f041622c845932752f6607dbc76beed56dafd7",
  "changelog": [
    {
      "version": "1.3.0",
      "date": "2026-11-17",
      "changes": {
        "es": [
          "Solicitudes de precios: el evento `com.masnet.price_request.requested.v1` lleva en `data.object` una solicitud `price-request.v1` (licitación, oferta y hasta 200 líneas, con `truncated` y los enlaces `links.self`, `links.lines` y `links.response`). Solo lo recibe la integración que la empresa designó como canal de solicitud de precios, en el destino suscrito a ese tipo, y no se intenta entregar después de `respond_by`.",
          "Dominio `price_requests` con los scopes `read:price_requests` y `write:price_requests`. Lo otorga la designación del canal (con segundo factor) y lo revoca su retiro; no se otorga por `PUT /integrations/{id}/grants`.",
          "`GET /data/price-requests/{id}` devuelve la solicitud con su estado y, una vez aplicada, `summary` y `results`. `GET /data/price-requests/{id}/lines` entrega todas las líneas, 500 por página en orden de ítem, con `next_cursor`. Una solicitud de otra integración responde 404.",
          "`POST /data/price-requests/{id}/response` recibe la respuesta `price-response.v1` con el header `Idempotency-Key` obligatorio y un cuerpo de 4 MiB como máximo. Responde 200 con el resultado por línea (aplicado en la misma transacción o, si se repite el mismo contenido, el guardado con `replayed: true`), 400 `PRICE_RESPONSE_INVALID`, 404, 409 `PRICE_REQUEST_NOT_AWAITING`, `PRICE_REQUEST_EXPIRED` o `PRICE_RESPONSE_CONFLICT`, o 503 con `Retry-After` si nada quedó aplicado.",
          "Solicitud de prueba: el evento de prueba `com.masnet.integration.test.v1` puede llevar una solicitud de contenido fijo con id `test_<32 hex>`. Su respuesta se valida con las mismas reglas y responde `status: validated` y `test: true`; nunca cambia una oferta.",
          "Se publican los esquemas `price-request/v1.json` (la solicitud) y `price-response/v1.json` (la respuesta y su resultado). `price_request/v1.json`, el `dataschema` del evento, describe su `data`, cuyo `object` es esa misma solicitud."
        ],
        "en": [
          "Price requests: the `com.masnet.price_request.requested.v1` event carries a `price-request.v1` request in `data.object` (tender, bid and up to 200 lines, with `truncated` and the `links.self`, `links.lines` and `links.response` links). Only the integration the company designated as its price request channel receives it, at the endpoint subscribed to that type, and delivery is not attempted after `respond_by`.",
          "Domain `price_requests` with the `read:price_requests` and `write:price_requests` scopes. Designating the channel (with a second factor) grants it and withdrawing the channel revokes it; it is not granted through `PUT /integrations/{id}/grants`.",
          "`GET /data/price-requests/{id}` returns the request with its status and, once applied, `summary` and `results`. `GET /data/price-requests/{id}/lines` returns every line, 500 per page in item order, with `next_cursor`. A request of another integration responds 404.",
          "`POST /data/price-requests/{id}/response` receives the `price-response.v1` answer with a mandatory `Idempotency-Key` header and a body of at most 4 MiB. It responds 200 with the per-line result (applied in the same transaction or, when the same content is repeated, the stored one with `replayed: true`), 400 `PRICE_RESPONSE_INVALID`, 404, 409 `PRICE_REQUEST_NOT_AWAITING`, `PRICE_REQUEST_EXPIRED` or `PRICE_RESPONSE_CONFLICT`, or 503 with `Retry-After` when nothing was applied.",
          "Test request: the `com.masnet.integration.test.v1` test event can carry a fixed-content request with id `test_<32 hex>`. Its answer is validated with the same rules and responds `status: validated` and `test: true`; it never changes a bid.",
          "The `price-request/v1.json` (the request) and `price-response/v1.json` (the answer and its result) schemas are published. `price_request/v1.json`, the event `dataschema`, describes its `data`, whose `object` is that same request."
        ]
      }
    },
    {
      "version": "1.2.2",
      "date": "2026-11-17",
      "changes": {
        "es": [
          "Las líneas de una oferta (`lines[]` en `GET /data/bids` y en los cuatro eventos `bid.*`) traen el código del producto en `catalog_item.code`, como documenta el contrato. Antes solo traían `catalog_item.id`. `code` es `null` si el producto no tiene código, y `catalog_item` sigue en `null` si la línea no tiene producto.",
          "`catalog_item.id` de esas líneas es texto decimal, como declara el esquema de `bid` y como el `id` de `GET /data/catalog-items/{id}`. Salía como número."
        ],
        "en": [
          "Bid lines (`lines[]` in `GET /data/bids` and in the four `bid.*` events) carry the product code in `catalog_item.code`, as the contract documents. Before, they only carried `catalog_item.id`. `code` is `null` when the product has no code, and `catalog_item` stays `null` when the line has no product.",
          "`catalog_item.id` in those lines is decimal text, as the `bid` schema declares and like the `id` of `GET /data/catalog-items/{id}`. It was sent as a number."
        ]
      }
    },
    {
      "version": "1.2.1",
      "date": "2026-11-06",
      "changes": {
        "es": [
          "`GET /data/opportunities?tender_code=` responde 200 con las oportunidades de esa licitación, o `data: []` si no hay ninguna. En una empresa con muchas licitaciones respondía 503 `temporarily_unavailable` aunque el código existiera."
        ],
        "en": [
          "`GET /data/opportunities?tender_code=` responds 200 with the opportunities of that tender, or `data: []` when there are none. In a company with many tenders it responded 503 `temporarily_unavailable` even when the code existed."
        ]
      }
    },
    {
      "version": "1.2.0",
      "date": "2026-11-05",
      "changes": {
        "es": [
          "`PUT /integrations/{id}/grants` exige `confirm_groups` solo para los grupos sensibles que el cambio agrega a un dominio. Reenviar `confidential` o `people` ya otorgados no vuelve a pedir confirmación.",
          "La API de datos responde solo con las cabeceras de la cuota por cliente (`RateLimit-Policy: 600;w=60` y `RateLimit`). Un cliente autenticado ya no consume el límite general por IP.",
          "Una operación de catálogo `invalid` por un archivo rechazado entero informa su motivo en `failure` (`code`, `retryable: false`).",
          "En el paquete `catalog-exchange.v1`, `product_ref` es opcional en `Products`: solo enlaza la fila con sus relaciones. Una referencia repetida o mal formada invalida solo esa fila.",
          "Se publican los esquemas `catalog-exchange/v1.json` y `catalog-operation/v1.json`, y la forma de respuesta y continuación de Auditoría."
        ],
        "en": [
          "`PUT /integrations/{id}/grants` requires `confirm_groups` only for the sensitive groups the change adds to a domain. Resending `confidential` or `people` already granted no longer asks for confirmation again.",
          "The data API responds only with the per-client quota headers (`RateLimit-Policy: 600;w=60` and `RateLimit`). An authenticated client no longer consumes the general per-IP limit.",
          "A catalog operation that is `invalid` because the whole file was rejected reports its reason in `failure` (`code`, `retryable: false`).",
          "In the `catalog-exchange.v1` package, `product_ref` is optional in `Products`: it only links the row to its relations. A duplicated or malformed reference invalidates only that row.",
          "The `catalog-exchange/v1.json` and `catalog-operation/v1.json` schemas are published, along with the Audit response shape and continuation rule."
        ]
      }
    },
    {
      "version": "1.1.0",
      "date": "2026-11-05",
      "changes": {
        "es": [
          "`opportunity.created` sale con el primer acto de gestión (responsable, decisión, etapa, línea de negocio, etiqueta o checklist de empresa). Leer, destacar, seguir o mover a una carpeta ya no crea la oportunidad.",
          "Nuevos `opportunity.business_line_changed`, `opportunity.tags_changed` y `opportunity.preparation_changed`.",
          "La oportunidad publica `managed_at`, `tags` (solo etiquetas de empresa) y `preparation` (conteos de las checklists de empresa, sin texto).",
          "`GET /data/opportunities` y los eventos `tender.*` cubren solo las licitaciones en gestión."
        ],
        "en": [
          "`opportunity.created` is sent on the first management act (owner, decision, stage, business line, company tag or company checklist). Reading, starring, following or moving to a folder no longer creates the opportunity.",
          "New `opportunity.business_line_changed`, `opportunity.tags_changed` and `opportunity.preparation_changed`.",
          "The opportunity publishes `managed_at`, `tags` (company tags only) and `preparation` (counts of the company checklists, without text).",
          "`GET /data/opportunities` and the `tender.*` events cover only tenders under management."
        ]
      }
    },
    {
      "version": "1.0.0",
      "date": "2026-11-04",
      "changes": {
        "es": [
          "Contrato vigente antes de F6: webhooks firmados, API de datos, registro de eventos y APIs de escritura de catálogo, precios, Comunicados y Encuestas."
        ],
        "en": [
          "Contract in force before F6: signed webhooks, data API, event log and write APIs for catalog, prices, Communications and Surveys."
        ]
      }
    }
  ],
  "source": {
    "repository": "api-daas",
    "sha": "e9ccb6327fa2f01be88eb837ad0d711a6c7ad645"
  }
}
