@vitrina/api 11.10.0 → 11.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -91904,11 +91904,14 @@ interface paths {
91904
91904
  *
91905
91905
  * When the per-key read is unavailable the answer falls back to the health read's daily UTM scan: `source: health`, `installed` = the refreshed scan counted events, `last_seen_at` / `events_24h` / `domain` = `null`. `events_24h` is `null` (never `0`) whenever the count could not be read.
91906
91906
  *
91907
- * Same entitlement gate as `GET /ads/tracking/key`. Admin-scoped (`ads:read`).
91907
+ * Same entitlement gate as `GET /ads/tracking/key`, except that `sample=1` (or a sandbox workspace) answers a fixed sample status (`installed: true`, seen minutes ago, `source: tracker`) without the entitlement and without reading the real tag — like every other Ads read. Admin-scoped (`ads:read`).
91908
91908
  */
91909
91909
  get: {
91910
91910
  parameters: {
91911
- query?: never;
91911
+ query?: {
91912
+ /** @description `1` serves the deterministic sample dataset («Ver con datos de ejemplo»): same shapes, invented but internally consistent figures, no entitlement required (the scope still is). A sandbox workspace is always served the sample, with or without this parameter. */
91913
+ sample?: "1" | "true";
91914
+ };
91912
91915
  header?: never;
91913
91916
  path?: never;
91914
91917
  cookie?: never;
package/dist/index.d.ts CHANGED
@@ -91904,11 +91904,14 @@ interface paths {
91904
91904
  *
91905
91905
  * When the per-key read is unavailable the answer falls back to the health read's daily UTM scan: `source: health`, `installed` = the refreshed scan counted events, `last_seen_at` / `events_24h` / `domain` = `null`. `events_24h` is `null` (never `0`) whenever the count could not be read.
91906
91906
  *
91907
- * Same entitlement gate as `GET /ads/tracking/key`. Admin-scoped (`ads:read`).
91907
+ * Same entitlement gate as `GET /ads/tracking/key`, except that `sample=1` (or a sandbox workspace) answers a fixed sample status (`installed: true`, seen minutes ago, `source: tracker`) without the entitlement and without reading the real tag — like every other Ads read. Admin-scoped (`ads:read`).
91908
91908
  */
91909
91909
  get: {
91910
91910
  parameters: {
91911
- query?: never;
91911
+ query?: {
91912
+ /** @description `1` serves the deterministic sample dataset («Ver con datos de ejemplo»): same shapes, invented but internally consistent figures, no entitlement required (the scope still is). A sandbox workspace is always served the sample, with or without this parameter. */
91913
+ sample?: "1" | "true";
91914
+ };
91912
91915
  header?: never;
91913
91916
  path?: never;
91914
91917
  cookie?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "11.10.0",
3
+ "version": "11.11.0",
4
4
  "description": "Typed TypeScript SDK for the Vitrina API pública — generated from the committed openapi.public.json (ADR 0106).",
5
5
  "type": "module",
6
6
  "license": "MIT",