@trillboards/api-client 3.2.39 → 3.2.43

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.
@@ -1066,7 +1066,7 @@ type DataApi_DataDelivery_auction_results = {
1066
1066
  /**
1067
1067
  * Audience attribute mix at venue-type x DMA x week, from AI-vision readings. Starts 2026-07-16, which is when observation_demographics begins — it is not a retention cut. Every row carries observation_count and screens as its support; no cell is dropped for being small, so a buyer sets their own threshold. week_days_in_window counts the days of the week inside the delivery window, so the first and last weeks can be partial. In the key, dma_code '' means no DMA (outside the US), country '' an unresolved country, and openooh_venue_type_id 0 an unclassified venue. lifestyle values are numeric IAB Audience Taxonomy 1.1 segment ids (segtax=4); all other dimensions are our own vocabulary.
1068
1068
  *
1069
- * **Delivery:** A snapshot, one row per `week_start` x `openooh_venue_type_id` x `dma_code` x `country` x `dimension` x `attribute_value`. Definition version 3. 10 columns; every delivery carries this dictionary.
1069
+ * **Delivery:** A snapshot, one row per `week_start` x `openooh_venue_type_id` x `dma_code` x `country` x `dimension` x `attribute_value`. Definition version 4. 10 columns; every delivery carries this dictionary.
1070
1070
  */
1071
1071
  type DataApi_DataDelivery_audience_composition_weekly = {
1072
1072
  /** observation_count over every reading of the dimension in the same week, venue type, DMA and country. Unit: share. */
@@ -2221,7 +2221,7 @@ type DataApi_DataDelivery_mobility_flows_daily = {
2221
2221
  /**
2222
2222
  * Per-(observation, dimension, value) demographics at OBSERVATION grain in CH: age, gender, mood, activity state, device engagement (phone use), attire, carried items, intent, lifestyle.
2223
2223
  *
2224
- * **Delivery:** Parquet day files keyed by `observed_date`, one row per `observation_id` x `dimension` x `value`. Definition version 3. 7 columns; every delivery carries this dictionary.
2224
+ * **Delivery:** Parquet day files keyed by `observed_date`, one row per `observation_id` x `dimension` x `value`. Definition version 4. 7 columns; every delivery carries this dictionary.
2225
2225
  */
2226
2226
  type DataApi_DataDelivery_observation_demographics = {
2227
2227
  /** Readings of the value in the observation: 1 on every row (one row is one reading). Unit: readings. */
@@ -7462,42 +7462,90 @@ type MdnsNetworkDevice = {
7462
7462
  [key: string]: unknown;
7463
7463
  };
7464
7464
  /**
7465
- * Versioned public disclosure of how audience measurement is produced.
7466
- * Describes WHAT is measured and HOW IT IS QUALIFIED — deliberately never
7467
- * names infrastructure or source locations.
7468
- *
7465
+ * Plain-language measurement definitions with formulas, dated basis, panel figures, control results and delivered-measure evidence. Operational identity, supplier and infrastructure metadata are excluded.
7469
7466
  */
7470
7467
  type MeasurementMethodology = {
7471
- /** Prose description of the happy-path pipeline: edge capture, buffered ingest, `signal_observations`, a 30-minute device-resolution pass into `resolved_device_observations`, then a 30-minute transition pass. Names the stores only — never infrastructure or source locations. */
7472
- canonical_path?: string;
7473
- /** What each screen observes and sends. */
7474
- capture_stack?: Record<string, unknown>;
7475
- /** Cross-day identity, including measured coverage (1.6% of identifiable BLE rows). An earlier revision said ~31%; that graded the presence of stable_payload_hash and ignored the sanitizer the identity expression applies, and it is withdrawn. */
7476
- cross_day_matching?: Record<string, unknown>;
7477
- /** The in-range contour: BLE RSSI at or above -75 dBm, empirically about 5 m line-of-sight for Class-2 radios at typical mounting. Calibration is static per screen-class — there is no per-screen ranging today — and devices inside the contour classified as stationary are excluded from the audience funnel by default. */
7478
- display_exposure_zone?: Record<string, unknown>;
7479
- /** What promotes a raw in-range observation to a qualifying event, one entry per qualification (`ble_engagement`, `face_attention`, `returning_visitor`), each carrying its definition, its rationale, and the ClickHouse field a reviewer re-derives it from. */
7480
- dwell_qualification_thresholds?: Record<string, unknown>;
7481
- /** Static disclosure of how observation confidence decays: `algorithm` (Bayesian posterior with temporal decay), `decay_window_days` (90) and `max_confidence` (0.95). These are published constants, not per-request measurements. */
7482
- edge_confidence_model?: Record<string, unknown>;
7483
- /** Evidence grades, which are decisionable, and person-grain resolution. */
7468
+ /** Measurement definitions and supporting evidence: age of basis. */
7469
+ age_of_basis: Record<string, unknown>;
7470
+ /** Measurement definitions and supporting evidence: audience classes. */
7471
+ audience_classes: Record<string, unknown>;
7472
+ /** Measurement definitions and supporting evidence: board passes and position. */
7473
+ board_passes_and_position: Record<string, unknown>;
7474
+ /** Measurement definitions and supporting evidence: camera windows. */
7475
+ camera_windows: Record<string, unknown>;
7476
+ /** The purpose of campaign measurement and a familiar placement example. */
7477
+ campaign_measurement: Record<string, string>;
7478
+ /** Measurement definitions and supporting evidence: crowd density. */
7479
+ crowd_density: Record<string, unknown>;
7480
+ /** Measurement definitions and supporting evidence: display exposure zone. */
7481
+ display_exposure_zone: Record<string, unknown>;
7482
+ /** Measurement definitions and supporting evidence: dwell qualification thresholds. */
7483
+ dwell_qualification_thresholds: Record<string, unknown>;
7484
+ /** Measurement definitions and supporting evidence: engagement and window labels. */
7485
+ engagement_and_window_labels: Record<string, unknown>;
7486
+ /** Measurement definitions and supporting evidence: evidence grade ladder. */
7484
7487
  evidence_grade_ladder: Record<string, unknown>;
7485
- /** Prose description of degraded ingest: observations buffer on a durable queue and replay on recovery, and after repeated failures land in a dead-letter store rather than being dropped. */
7486
- fallback_path?: string;
7487
- /** How identifiers are keyed, and what erasure means. */
7488
- hashing?: Record<string, unknown>;
7489
- /** The counting UNIT. Reach and unique-device counts are counts of distinct canonical BLE keys (identifiers); one device contributes several identifiers per window and the number grows with the window. Carries the measured identifiers-per-device per fleet type and the controlled comparison it was derived from. */
7490
- identifier_inflation?: Record<string, unknown>;
7491
- /** Alignment against MRC OOH Phase 2. `mrc_status_accredited` is the machine-readable answer and is **false until an MRC grant reference exists** — read that boolean rather than parsing the English `status` line. Also carries the monotonic qualification chain (`in_range` through `cross_screen`) and the interval method (Wilson score for proportions, 200-sample bootstrap for medians). */
7492
- mrc_ooh_phase2_alignment: Record<string, unknown>;
7493
- /** Version markers for the edge parsers that produced the disclosed fields — `ble_advertisement_parser`, `mdns_txt_extractor`, and the integer `heartbeat_payload_schema`. Hand-maintained constants, bumped when a parser changes. */
7494
- parser_versions?: Record<string, unknown>;
7495
- /** Per-store retention in days in active systems; `basis` states how each is counted and what the encrypted archive keeps. */
7496
- retention: Record<string, unknown>;
7497
- /** Tables a reviewer re-derives every published count from. */
7498
- source_tables: Array<string>;
7499
- /** Bumped on any disclosure change; drives the ETag. */
7488
+ /** Measurement definitions and supporting evidence: exposure currency. */
7489
+ exposure_currency: Record<string, unknown>;
7490
+ /** Measurement definitions and supporting evidence: faces persons and vehicles. */
7491
+ faces_persons_and_vehicles: Record<string, unknown>;
7492
+ /** Measurement definitions and supporting evidence: gaze. */
7493
+ gaze: Record<string, unknown>;
7494
+ /** Measurement definitions and supporting evidence: head pose attention index. */
7495
+ head_pose_attention_index: Record<string, unknown>;
7496
+ /** Campaign records, visibility, audience, attention and repeat encounters. */
7497
+ how_we_measure: Record<string, string>;
7498
+ /** Measurement definitions and supporting evidence: identifier inflation. */
7499
+ identifier_inflation: Record<string, unknown>;
7500
+ /** Measurement definitions and supporting evidence: instrument history. */
7501
+ instrument_history: Record<string, unknown>;
7502
+ measurement_basis: {
7503
+ audience: {
7504
+ attributes: Array<{
7505
+ attribute: string;
7506
+ basis_age_days: number;
7507
+ fitted_window_end: string;
7508
+ fitted_window_start: string;
7509
+ published_at: string;
7510
+ }>;
7511
+ available: boolean;
7512
+ };
7513
+ impressions: {
7514
+ active_since: string | null;
7515
+ available: boolean;
7516
+ method_version: number | null;
7517
+ };
7518
+ reading_a_range: string;
7519
+ reading_a_report: string;
7520
+ };
7521
+ /** Measurement definitions and supporting evidence: measurement periods. */
7522
+ measurement_periods: Record<string, unknown>;
7523
+ /** Measurement definitions and supporting evidence: mobility flows. */
7524
+ mobility_flows: Record<string, unknown>;
7525
+ mrc_ooh_phase2_alignment: {
7526
+ application: string;
7527
+ standard: string;
7528
+ };
7529
+ /** Measurement definitions and supporting evidence: negative controls. */
7530
+ negative_controls: Record<string, unknown>;
7531
+ /** Measurement definitions and supporting evidence: panels. */
7532
+ panels: Record<string, unknown>;
7533
+ /** Measurement definitions and supporting evidence: play audience. */
7534
+ play_audience: Record<string, unknown>;
7535
+ /** Checks on scope, exposure, repeat audiences and totals. */
7536
+ quality_checks: Record<string, string>;
7537
+ /** Measurement definitions and supporting evidence: radio presence. */
7538
+ radio_presence: Record<string, unknown>;
7539
+ /** Measurement definitions and supporting evidence: reading a delivery. */
7540
+ reading_a_delivery: Record<string, unknown>;
7541
+ /** Methodology publication version; the ETag also tracks the live basis. */
7500
7542
  version: string;
7543
+ /** Measurement definitions and supporting evidence: viewability. */
7544
+ viewability: Record<string, unknown>;
7545
+ /** Definitions of impressions, reach, frequency and attention. */
7546
+ what_the_numbers_mean: Record<string, string>;
7547
+ /** Measurement definitions and supporting evidence: window bounded dwell. */
7548
+ window_bounded_dwell: Record<string, unknown>;
7501
7549
  };
7502
7550
  /**
7503
7551
  * Revenue per screen per hour. Aggregates gross revenue from completed impressions. Refreshed from CH via clickhouseRollupSource. PG only.
@@ -1066,7 +1066,7 @@ type DataApi_DataDelivery_auction_results = {
1066
1066
  /**
1067
1067
  * Audience attribute mix at venue-type x DMA x week, from AI-vision readings. Starts 2026-07-16, which is when observation_demographics begins — it is not a retention cut. Every row carries observation_count and screens as its support; no cell is dropped for being small, so a buyer sets their own threshold. week_days_in_window counts the days of the week inside the delivery window, so the first and last weeks can be partial. In the key, dma_code '' means no DMA (outside the US), country '' an unresolved country, and openooh_venue_type_id 0 an unclassified venue. lifestyle values are numeric IAB Audience Taxonomy 1.1 segment ids (segtax=4); all other dimensions are our own vocabulary.
1068
1068
  *
1069
- * **Delivery:** A snapshot, one row per `week_start` x `openooh_venue_type_id` x `dma_code` x `country` x `dimension` x `attribute_value`. Definition version 3. 10 columns; every delivery carries this dictionary.
1069
+ * **Delivery:** A snapshot, one row per `week_start` x `openooh_venue_type_id` x `dma_code` x `country` x `dimension` x `attribute_value`. Definition version 4. 10 columns; every delivery carries this dictionary.
1070
1070
  */
1071
1071
  type DataApi_DataDelivery_audience_composition_weekly = {
1072
1072
  /** observation_count over every reading of the dimension in the same week, venue type, DMA and country. Unit: share. */
@@ -2221,7 +2221,7 @@ type DataApi_DataDelivery_mobility_flows_daily = {
2221
2221
  /**
2222
2222
  * Per-(observation, dimension, value) demographics at OBSERVATION grain in CH: age, gender, mood, activity state, device engagement (phone use), attire, carried items, intent, lifestyle.
2223
2223
  *
2224
- * **Delivery:** Parquet day files keyed by `observed_date`, one row per `observation_id` x `dimension` x `value`. Definition version 3. 7 columns; every delivery carries this dictionary.
2224
+ * **Delivery:** Parquet day files keyed by `observed_date`, one row per `observation_id` x `dimension` x `value`. Definition version 4. 7 columns; every delivery carries this dictionary.
2225
2225
  */
2226
2226
  type DataApi_DataDelivery_observation_demographics = {
2227
2227
  /** Readings of the value in the observation: 1 on every row (one row is one reading). Unit: readings. */
@@ -7462,42 +7462,90 @@ type MdnsNetworkDevice = {
7462
7462
  [key: string]: unknown;
7463
7463
  };
7464
7464
  /**
7465
- * Versioned public disclosure of how audience measurement is produced.
7466
- * Describes WHAT is measured and HOW IT IS QUALIFIED — deliberately never
7467
- * names infrastructure or source locations.
7468
- *
7465
+ * Plain-language measurement definitions with formulas, dated basis, panel figures, control results and delivered-measure evidence. Operational identity, supplier and infrastructure metadata are excluded.
7469
7466
  */
7470
7467
  type MeasurementMethodology = {
7471
- /** Prose description of the happy-path pipeline: edge capture, buffered ingest, `signal_observations`, a 30-minute device-resolution pass into `resolved_device_observations`, then a 30-minute transition pass. Names the stores only — never infrastructure or source locations. */
7472
- canonical_path?: string;
7473
- /** What each screen observes and sends. */
7474
- capture_stack?: Record<string, unknown>;
7475
- /** Cross-day identity, including measured coverage (1.6% of identifiable BLE rows). An earlier revision said ~31%; that graded the presence of stable_payload_hash and ignored the sanitizer the identity expression applies, and it is withdrawn. */
7476
- cross_day_matching?: Record<string, unknown>;
7477
- /** The in-range contour: BLE RSSI at or above -75 dBm, empirically about 5 m line-of-sight for Class-2 radios at typical mounting. Calibration is static per screen-class — there is no per-screen ranging today — and devices inside the contour classified as stationary are excluded from the audience funnel by default. */
7478
- display_exposure_zone?: Record<string, unknown>;
7479
- /** What promotes a raw in-range observation to a qualifying event, one entry per qualification (`ble_engagement`, `face_attention`, `returning_visitor`), each carrying its definition, its rationale, and the ClickHouse field a reviewer re-derives it from. */
7480
- dwell_qualification_thresholds?: Record<string, unknown>;
7481
- /** Static disclosure of how observation confidence decays: `algorithm` (Bayesian posterior with temporal decay), `decay_window_days` (90) and `max_confidence` (0.95). These are published constants, not per-request measurements. */
7482
- edge_confidence_model?: Record<string, unknown>;
7483
- /** Evidence grades, which are decisionable, and person-grain resolution. */
7468
+ /** Measurement definitions and supporting evidence: age of basis. */
7469
+ age_of_basis: Record<string, unknown>;
7470
+ /** Measurement definitions and supporting evidence: audience classes. */
7471
+ audience_classes: Record<string, unknown>;
7472
+ /** Measurement definitions and supporting evidence: board passes and position. */
7473
+ board_passes_and_position: Record<string, unknown>;
7474
+ /** Measurement definitions and supporting evidence: camera windows. */
7475
+ camera_windows: Record<string, unknown>;
7476
+ /** The purpose of campaign measurement and a familiar placement example. */
7477
+ campaign_measurement: Record<string, string>;
7478
+ /** Measurement definitions and supporting evidence: crowd density. */
7479
+ crowd_density: Record<string, unknown>;
7480
+ /** Measurement definitions and supporting evidence: display exposure zone. */
7481
+ display_exposure_zone: Record<string, unknown>;
7482
+ /** Measurement definitions and supporting evidence: dwell qualification thresholds. */
7483
+ dwell_qualification_thresholds: Record<string, unknown>;
7484
+ /** Measurement definitions and supporting evidence: engagement and window labels. */
7485
+ engagement_and_window_labels: Record<string, unknown>;
7486
+ /** Measurement definitions and supporting evidence: evidence grade ladder. */
7484
7487
  evidence_grade_ladder: Record<string, unknown>;
7485
- /** Prose description of degraded ingest: observations buffer on a durable queue and replay on recovery, and after repeated failures land in a dead-letter store rather than being dropped. */
7486
- fallback_path?: string;
7487
- /** How identifiers are keyed, and what erasure means. */
7488
- hashing?: Record<string, unknown>;
7489
- /** The counting UNIT. Reach and unique-device counts are counts of distinct canonical BLE keys (identifiers); one device contributes several identifiers per window and the number grows with the window. Carries the measured identifiers-per-device per fleet type and the controlled comparison it was derived from. */
7490
- identifier_inflation?: Record<string, unknown>;
7491
- /** Alignment against MRC OOH Phase 2. `mrc_status_accredited` is the machine-readable answer and is **false until an MRC grant reference exists** — read that boolean rather than parsing the English `status` line. Also carries the monotonic qualification chain (`in_range` through `cross_screen`) and the interval method (Wilson score for proportions, 200-sample bootstrap for medians). */
7492
- mrc_ooh_phase2_alignment: Record<string, unknown>;
7493
- /** Version markers for the edge parsers that produced the disclosed fields — `ble_advertisement_parser`, `mdns_txt_extractor`, and the integer `heartbeat_payload_schema`. Hand-maintained constants, bumped when a parser changes. */
7494
- parser_versions?: Record<string, unknown>;
7495
- /** Per-store retention in days in active systems; `basis` states how each is counted and what the encrypted archive keeps. */
7496
- retention: Record<string, unknown>;
7497
- /** Tables a reviewer re-derives every published count from. */
7498
- source_tables: Array<string>;
7499
- /** Bumped on any disclosure change; drives the ETag. */
7488
+ /** Measurement definitions and supporting evidence: exposure currency. */
7489
+ exposure_currency: Record<string, unknown>;
7490
+ /** Measurement definitions and supporting evidence: faces persons and vehicles. */
7491
+ faces_persons_and_vehicles: Record<string, unknown>;
7492
+ /** Measurement definitions and supporting evidence: gaze. */
7493
+ gaze: Record<string, unknown>;
7494
+ /** Measurement definitions and supporting evidence: head pose attention index. */
7495
+ head_pose_attention_index: Record<string, unknown>;
7496
+ /** Campaign records, visibility, audience, attention and repeat encounters. */
7497
+ how_we_measure: Record<string, string>;
7498
+ /** Measurement definitions and supporting evidence: identifier inflation. */
7499
+ identifier_inflation: Record<string, unknown>;
7500
+ /** Measurement definitions and supporting evidence: instrument history. */
7501
+ instrument_history: Record<string, unknown>;
7502
+ measurement_basis: {
7503
+ audience: {
7504
+ attributes: Array<{
7505
+ attribute: string;
7506
+ basis_age_days: number;
7507
+ fitted_window_end: string;
7508
+ fitted_window_start: string;
7509
+ published_at: string;
7510
+ }>;
7511
+ available: boolean;
7512
+ };
7513
+ impressions: {
7514
+ active_since: string | null;
7515
+ available: boolean;
7516
+ method_version: number | null;
7517
+ };
7518
+ reading_a_range: string;
7519
+ reading_a_report: string;
7520
+ };
7521
+ /** Measurement definitions and supporting evidence: measurement periods. */
7522
+ measurement_periods: Record<string, unknown>;
7523
+ /** Measurement definitions and supporting evidence: mobility flows. */
7524
+ mobility_flows: Record<string, unknown>;
7525
+ mrc_ooh_phase2_alignment: {
7526
+ application: string;
7527
+ standard: string;
7528
+ };
7529
+ /** Measurement definitions and supporting evidence: negative controls. */
7530
+ negative_controls: Record<string, unknown>;
7531
+ /** Measurement definitions and supporting evidence: panels. */
7532
+ panels: Record<string, unknown>;
7533
+ /** Measurement definitions and supporting evidence: play audience. */
7534
+ play_audience: Record<string, unknown>;
7535
+ /** Checks on scope, exposure, repeat audiences and totals. */
7536
+ quality_checks: Record<string, string>;
7537
+ /** Measurement definitions and supporting evidence: radio presence. */
7538
+ radio_presence: Record<string, unknown>;
7539
+ /** Measurement definitions and supporting evidence: reading a delivery. */
7540
+ reading_a_delivery: Record<string, unknown>;
7541
+ /** Methodology publication version; the ETag also tracks the live basis. */
7500
7542
  version: string;
7543
+ /** Measurement definitions and supporting evidence: viewability. */
7544
+ viewability: Record<string, unknown>;
7545
+ /** Definitions of impressions, reach, frequency and attention. */
7546
+ what_the_numbers_mean: Record<string, string>;
7547
+ /** Measurement definitions and supporting evidence: window bounded dwell. */
7548
+ window_bounded_dwell: Record<string, unknown>;
7501
7549
  };
7502
7550
  /**
7503
7551
  * Revenue per screen per hour. Aggregates gross revenue from completed impressions. Refreshed from CH via clickhouseRollupSource. PG only.