@trillboards/api-client 3.7.7 → 3.7.9

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.
@@ -6076,7 +6076,7 @@ type DataApi_DataDelivery_camera_frame_corpus = {
6076
6076
  venue_type?: string | null;
6077
6077
  };
6078
6078
  /**
6079
- * Camera video: MP4 segments recorded by the fleet's cameras in the venues and vehicle cabins the screens are in, people in frame, delivered as one file per segment (segments/<YYYY-MM>/<segment_id>.mp4) plus an index parquet keyed segment_id, the SHA-256 of the file. Tablet cameras record H.264 segments (60 seconds, 1280x720 at 15 fps, 1,000,000 bps video with 96,000 bps AAC audio by default: 8,220,000 bytes a segment, 493,200,000 bytes a camera-hour) for as long as people are in front of the camera: back to back from the first window with a face until 20 seconds pass with none; CCTV cameras record continuously as a stream copy of the camera's own encoding. Duration, encoding, size and MD5 are measured per segment from the stored file. Labels join by time: the camera windows (faces, attention, head pose, gaze, emotion, demographics), face tracks, the cabin ride, board passes and stills that overlap each segment.
6079
+ * Camera video: MP4 segments recorded by the fleet's cameras in the venues and vehicle cabins the screens are in, people in frame, delivered as one file per segment (segments/<YYYY-MM>/<segment_id>.mp4) plus an index parquet keyed segment_id, the SHA-256 of the file. Tablet cameras record H.264 segments with AAC audio for as long as people are in front of the camera: back to back from the first window with a face until the post-roll passes with none. On Ember tablets since 2026-11-19: segments of up to 300 seconds at 15 fps, 720x480 or 640x480 by tablet model at about 1.2 Mbit/s of video, 30-second post-roll (before: 60-second segments at 1280x720, 2.5-5 Mbit/s, 20-second post-roll). CCTV cameras record continuously as a stream copy of the camera's own encoding. Duration, encoding, size and MD5 are measured per segment from the stored file. Labels join by time: the camera windows (faces, attention, head pose, gaze, emotion, demographics), face tracks, the cabin ride, board passes and stills that overlap each segment.
6080
6080
  *
6081
6081
  * **Delivery:** An imagery corpus: the files plus `<corpus>-index.parquet`, one row per item, with these columns. Definition version 1. 40 columns; every delivery carries this dictionary.
6082
6082
  */
@@ -6131,7 +6131,7 @@ type DataApi_DataDelivery_camera_video_corpus = {
6131
6131
  n_face_tracks?: number;
6132
6132
  /** Billboard passes the vehicle made during the segment. Unit: board passes. */
6133
6133
  n_passes?: number;
6134
- /** Path of the stored MP4 in our private media store (<folder>/vision-video-private/YYYY/MM/DD/<screen_id>/<segment_id>.mp4, screen_id the recording camera). */
6134
+ /** Path of the stored MP4 in our private store (<folder>/vision-video-tablet/YYYY/MM/DD/<screen_id>/<segment_id>.mp4 for a tablet since 2026-11-19, <folder>/vision-video-private/... for a CCTV camera and earlier tablet segments; screen_id the recording camera). */
6135
6135
  object_key?: string;
6136
6136
  /** The most faces any one camera window overlapping the segment counted: each window's instant face count (audience_metrics.face_count), the largest over the windows. Unit: faces. NULL: No camera window of the screen overlaps the segment, or none of the overlapping windows read a face count. */
6137
6137
  peak_face_count?: number | null;
@@ -8733,6 +8733,26 @@ type DataApi_DataProducts_MetricCreativeAttentionCurveResponse = {
8733
8733
  metric?: "creative_attention_curve";
8734
8734
  /** One row per grain cell. */
8735
8735
  rows?: Array<{
8736
+ /** Milliseconds of resolved gaze rays inside the second, weighted by the engine's scenarios. Unit: ms. Taken over `capture_plays`. */
8737
+ capture_gaze_ms?: number | null;
8738
+ /** Of those, milliseconds whose ray met the ad itself. Unit: ms. Taken over `capture_plays`. */
8739
+ capture_on_creative_ms?: number | null;
8740
+ /** Of those, milliseconds whose ray met the screen. Unit: ms. Taken over `capture_plays`. */
8741
+ capture_on_screen_ms?: number | null;
8742
+ /** capture_on_screen_ms / capture_gaze_ms: the share whose ray met the screen: the ad, its letterbox or the viewport edge. Unit: share. Taken over `capture_gaze_ms`. */
8743
+ capture_on_screen_share?: number | null;
8744
+ /** Of the plays running, those with a resolved per-capture gaze ray inside the second: the plays eyes_on_ad_share is over. Unit: plays. */
8745
+ capture_plays?: number | null;
8746
+ /** Screens with a resolved gaze ray inside the second: the clusters of the eyes-on-the-ad interval. Unit: screens. */
8747
+ capture_screens?: number | null;
8748
+ /** Face tracks with a FaceLandmarker capture inside the second the study engine measured, summed over the plays. Unit: face_tracks. */
8749
+ capture_viewers_n?: number | null;
8750
+ /** capture_on_creative_ms / capture_gaze_ms: per-capture gaze, the share of the second's resolved gaze time whose ray met the ad itself (the study engine's geometry, creative_capture_gaze_second). Unit: share. Taken over `capture_gaze_ms`. */
8751
+ eyes_on_ad_share?: number | null;
8752
+ /** Upper end of the same interval. Unit: share. Taken over `capture_screens`. */
8753
+ eyes_on_ad_share_hi?: number | null;
8754
+ /** Lower end of eyes_on_ad_share's 95% interval, clustered by screen: the leave-one-screen-out jackknife on the logit with Student t; NULL from fewer than three screens. Unit: share. Taken over `capture_screens`. */
8755
+ eyes_on_ad_share_lo?: number | null;
8736
8756
  /** Screens with a gaze-measured window inside the second: the clusters of the eyes-on interval. Unit: screens. */
8737
8757
  eyes_on_screens?: number | null;
8738
8758
  /** eyes_on_sum / gaze_ms: the share of the second's gaze-measured time with eyes on the screen. Window resolution: each gaze window's share is the same for every second of its 10-second window (play_audience_second), so a change inside a window does not show; fl_heads_up_share is per frame. Unit: share. Taken over `gaze_ms`. */
@@ -8803,6 +8823,26 @@ type DataApi_DataProducts_MetricCreativeAttentionCurveResponse = {
8803
8823
  }>;
8804
8824
  /** The totals over the window, shaped like `rows`: one row, or one row per key when the answer has several keys. */
8805
8825
  totals?: {
8826
+ /** Milliseconds of resolved gaze rays inside the second, weighted by the engine's scenarios. Unit: ms. Taken over `capture_plays`. */
8827
+ capture_gaze_ms?: number | null;
8828
+ /** Of those, milliseconds whose ray met the ad itself. Unit: ms. Taken over `capture_plays`. */
8829
+ capture_on_creative_ms?: number | null;
8830
+ /** Of those, milliseconds whose ray met the screen. Unit: ms. Taken over `capture_plays`. */
8831
+ capture_on_screen_ms?: number | null;
8832
+ /** capture_on_screen_ms / capture_gaze_ms: the share whose ray met the screen: the ad, its letterbox or the viewport edge. Unit: share. Taken over `capture_gaze_ms`. */
8833
+ capture_on_screen_share?: number | null;
8834
+ /** Of the plays running, those with a resolved per-capture gaze ray inside the second: the plays eyes_on_ad_share is over. Unit: plays. */
8835
+ capture_plays?: number | null;
8836
+ /** Screens with a resolved gaze ray inside the second: the clusters of the eyes-on-the-ad interval. Unit: screens. */
8837
+ capture_screens?: number | null;
8838
+ /** Face tracks with a FaceLandmarker capture inside the second the study engine measured, summed over the plays. Unit: face_tracks. */
8839
+ capture_viewers_n?: number | null;
8840
+ /** capture_on_creative_ms / capture_gaze_ms: per-capture gaze, the share of the second's resolved gaze time whose ray met the ad itself (the study engine's geometry, creative_capture_gaze_second). Unit: share. Taken over `capture_gaze_ms`. */
8841
+ eyes_on_ad_share?: number | null;
8842
+ /** Upper end of the same interval. Unit: share. Taken over `capture_screens`. */
8843
+ eyes_on_ad_share_hi?: number | null;
8844
+ /** Lower end of eyes_on_ad_share's 95% interval, clustered by screen: the leave-one-screen-out jackknife on the logit with Student t; NULL from fewer than three screens. Unit: share. Taken over `capture_screens`. */
8845
+ eyes_on_ad_share_lo?: number | null;
8806
8846
  /** Screens with a gaze-measured window inside the second: the clusters of the eyes-on interval. Unit: screens. */
8807
8847
  eyes_on_screens?: number | null;
8808
8848
  /** eyes_on_sum / gaze_ms: the share of the second's gaze-measured time with eyes on the screen. Window resolution: each gaze window's share is the same for every second of its 10-second window (play_audience_second), so a change inside a window does not show; fl_heads_up_share is per frame. Unit: share. Taken over `gaze_ms`. */
@@ -8871,6 +8911,26 @@ type DataApi_DataProducts_MetricCreativeAttentionCurveResponse = {
8871
8911
  smile_screens?: number | null;
8872
8912
  [key: string]: unknown;
8873
8913
  } | Array<{
8914
+ /** Milliseconds of resolved gaze rays inside the second, weighted by the engine's scenarios. Unit: ms. Taken over `capture_plays`. */
8915
+ capture_gaze_ms?: number | null;
8916
+ /** Of those, milliseconds whose ray met the ad itself. Unit: ms. Taken over `capture_plays`. */
8917
+ capture_on_creative_ms?: number | null;
8918
+ /** Of those, milliseconds whose ray met the screen. Unit: ms. Taken over `capture_plays`. */
8919
+ capture_on_screen_ms?: number | null;
8920
+ /** capture_on_screen_ms / capture_gaze_ms: the share whose ray met the screen: the ad, its letterbox or the viewport edge. Unit: share. Taken over `capture_gaze_ms`. */
8921
+ capture_on_screen_share?: number | null;
8922
+ /** Of the plays running, those with a resolved per-capture gaze ray inside the second: the plays eyes_on_ad_share is over. Unit: plays. */
8923
+ capture_plays?: number | null;
8924
+ /** Screens with a resolved gaze ray inside the second: the clusters of the eyes-on-the-ad interval. Unit: screens. */
8925
+ capture_screens?: number | null;
8926
+ /** Face tracks with a FaceLandmarker capture inside the second the study engine measured, summed over the plays. Unit: face_tracks. */
8927
+ capture_viewers_n?: number | null;
8928
+ /** capture_on_creative_ms / capture_gaze_ms: per-capture gaze, the share of the second's resolved gaze time whose ray met the ad itself (the study engine's geometry, creative_capture_gaze_second). Unit: share. Taken over `capture_gaze_ms`. */
8929
+ eyes_on_ad_share?: number | null;
8930
+ /** Upper end of the same interval. Unit: share. Taken over `capture_screens`. */
8931
+ eyes_on_ad_share_hi?: number | null;
8932
+ /** Lower end of eyes_on_ad_share's 95% interval, clustered by screen: the leave-one-screen-out jackknife on the logit with Student t; NULL from fewer than three screens. Unit: share. Taken over `capture_screens`. */
8933
+ eyes_on_ad_share_lo?: number | null;
8874
8934
  /** Screens with a gaze-measured window inside the second: the clusters of the eyes-on interval. Unit: screens. */
8875
8935
  eyes_on_screens?: number | null;
8876
8936
  /** eyes_on_sum / gaze_ms: the share of the second's gaze-measured time with eyes on the screen. Window resolution: each gaze window's share is the same for every second of its 10-second window (play_audience_second), so a change inside a window does not show; fl_heads_up_share is per frame. Unit: share. Taken over `gaze_ms`. */
@@ -6076,7 +6076,7 @@ type DataApi_DataDelivery_camera_frame_corpus = {
6076
6076
  venue_type?: string | null;
6077
6077
  };
6078
6078
  /**
6079
- * Camera video: MP4 segments recorded by the fleet's cameras in the venues and vehicle cabins the screens are in, people in frame, delivered as one file per segment (segments/<YYYY-MM>/<segment_id>.mp4) plus an index parquet keyed segment_id, the SHA-256 of the file. Tablet cameras record H.264 segments (60 seconds, 1280x720 at 15 fps, 1,000,000 bps video with 96,000 bps AAC audio by default: 8,220,000 bytes a segment, 493,200,000 bytes a camera-hour) for as long as people are in front of the camera: back to back from the first window with a face until 20 seconds pass with none; CCTV cameras record continuously as a stream copy of the camera's own encoding. Duration, encoding, size and MD5 are measured per segment from the stored file. Labels join by time: the camera windows (faces, attention, head pose, gaze, emotion, demographics), face tracks, the cabin ride, board passes and stills that overlap each segment.
6079
+ * Camera video: MP4 segments recorded by the fleet's cameras in the venues and vehicle cabins the screens are in, people in frame, delivered as one file per segment (segments/<YYYY-MM>/<segment_id>.mp4) plus an index parquet keyed segment_id, the SHA-256 of the file. Tablet cameras record H.264 segments with AAC audio for as long as people are in front of the camera: back to back from the first window with a face until the post-roll passes with none. On Ember tablets since 2026-11-19: segments of up to 300 seconds at 15 fps, 720x480 or 640x480 by tablet model at about 1.2 Mbit/s of video, 30-second post-roll (before: 60-second segments at 1280x720, 2.5-5 Mbit/s, 20-second post-roll). CCTV cameras record continuously as a stream copy of the camera's own encoding. Duration, encoding, size and MD5 are measured per segment from the stored file. Labels join by time: the camera windows (faces, attention, head pose, gaze, emotion, demographics), face tracks, the cabin ride, board passes and stills that overlap each segment.
6080
6080
  *
6081
6081
  * **Delivery:** An imagery corpus: the files plus `<corpus>-index.parquet`, one row per item, with these columns. Definition version 1. 40 columns; every delivery carries this dictionary.
6082
6082
  */
@@ -6131,7 +6131,7 @@ type DataApi_DataDelivery_camera_video_corpus = {
6131
6131
  n_face_tracks?: number;
6132
6132
  /** Billboard passes the vehicle made during the segment. Unit: board passes. */
6133
6133
  n_passes?: number;
6134
- /** Path of the stored MP4 in our private media store (<folder>/vision-video-private/YYYY/MM/DD/<screen_id>/<segment_id>.mp4, screen_id the recording camera). */
6134
+ /** Path of the stored MP4 in our private store (<folder>/vision-video-tablet/YYYY/MM/DD/<screen_id>/<segment_id>.mp4 for a tablet since 2026-11-19, <folder>/vision-video-private/... for a CCTV camera and earlier tablet segments; screen_id the recording camera). */
6135
6135
  object_key?: string;
6136
6136
  /** The most faces any one camera window overlapping the segment counted: each window's instant face count (audience_metrics.face_count), the largest over the windows. Unit: faces. NULL: No camera window of the screen overlaps the segment, or none of the overlapping windows read a face count. */
6137
6137
  peak_face_count?: number | null;
@@ -8733,6 +8733,26 @@ type DataApi_DataProducts_MetricCreativeAttentionCurveResponse = {
8733
8733
  metric?: "creative_attention_curve";
8734
8734
  /** One row per grain cell. */
8735
8735
  rows?: Array<{
8736
+ /** Milliseconds of resolved gaze rays inside the second, weighted by the engine's scenarios. Unit: ms. Taken over `capture_plays`. */
8737
+ capture_gaze_ms?: number | null;
8738
+ /** Of those, milliseconds whose ray met the ad itself. Unit: ms. Taken over `capture_plays`. */
8739
+ capture_on_creative_ms?: number | null;
8740
+ /** Of those, milliseconds whose ray met the screen. Unit: ms. Taken over `capture_plays`. */
8741
+ capture_on_screen_ms?: number | null;
8742
+ /** capture_on_screen_ms / capture_gaze_ms: the share whose ray met the screen: the ad, its letterbox or the viewport edge. Unit: share. Taken over `capture_gaze_ms`. */
8743
+ capture_on_screen_share?: number | null;
8744
+ /** Of the plays running, those with a resolved per-capture gaze ray inside the second: the plays eyes_on_ad_share is over. Unit: plays. */
8745
+ capture_plays?: number | null;
8746
+ /** Screens with a resolved gaze ray inside the second: the clusters of the eyes-on-the-ad interval. Unit: screens. */
8747
+ capture_screens?: number | null;
8748
+ /** Face tracks with a FaceLandmarker capture inside the second the study engine measured, summed over the plays. Unit: face_tracks. */
8749
+ capture_viewers_n?: number | null;
8750
+ /** capture_on_creative_ms / capture_gaze_ms: per-capture gaze, the share of the second's resolved gaze time whose ray met the ad itself (the study engine's geometry, creative_capture_gaze_second). Unit: share. Taken over `capture_gaze_ms`. */
8751
+ eyes_on_ad_share?: number | null;
8752
+ /** Upper end of the same interval. Unit: share. Taken over `capture_screens`. */
8753
+ eyes_on_ad_share_hi?: number | null;
8754
+ /** Lower end of eyes_on_ad_share's 95% interval, clustered by screen: the leave-one-screen-out jackknife on the logit with Student t; NULL from fewer than three screens. Unit: share. Taken over `capture_screens`. */
8755
+ eyes_on_ad_share_lo?: number | null;
8736
8756
  /** Screens with a gaze-measured window inside the second: the clusters of the eyes-on interval. Unit: screens. */
8737
8757
  eyes_on_screens?: number | null;
8738
8758
  /** eyes_on_sum / gaze_ms: the share of the second's gaze-measured time with eyes on the screen. Window resolution: each gaze window's share is the same for every second of its 10-second window (play_audience_second), so a change inside a window does not show; fl_heads_up_share is per frame. Unit: share. Taken over `gaze_ms`. */
@@ -8803,6 +8823,26 @@ type DataApi_DataProducts_MetricCreativeAttentionCurveResponse = {
8803
8823
  }>;
8804
8824
  /** The totals over the window, shaped like `rows`: one row, or one row per key when the answer has several keys. */
8805
8825
  totals?: {
8826
+ /** Milliseconds of resolved gaze rays inside the second, weighted by the engine's scenarios. Unit: ms. Taken over `capture_plays`. */
8827
+ capture_gaze_ms?: number | null;
8828
+ /** Of those, milliseconds whose ray met the ad itself. Unit: ms. Taken over `capture_plays`. */
8829
+ capture_on_creative_ms?: number | null;
8830
+ /** Of those, milliseconds whose ray met the screen. Unit: ms. Taken over `capture_plays`. */
8831
+ capture_on_screen_ms?: number | null;
8832
+ /** capture_on_screen_ms / capture_gaze_ms: the share whose ray met the screen: the ad, its letterbox or the viewport edge. Unit: share. Taken over `capture_gaze_ms`. */
8833
+ capture_on_screen_share?: number | null;
8834
+ /** Of the plays running, those with a resolved per-capture gaze ray inside the second: the plays eyes_on_ad_share is over. Unit: plays. */
8835
+ capture_plays?: number | null;
8836
+ /** Screens with a resolved gaze ray inside the second: the clusters of the eyes-on-the-ad interval. Unit: screens. */
8837
+ capture_screens?: number | null;
8838
+ /** Face tracks with a FaceLandmarker capture inside the second the study engine measured, summed over the plays. Unit: face_tracks. */
8839
+ capture_viewers_n?: number | null;
8840
+ /** capture_on_creative_ms / capture_gaze_ms: per-capture gaze, the share of the second's resolved gaze time whose ray met the ad itself (the study engine's geometry, creative_capture_gaze_second). Unit: share. Taken over `capture_gaze_ms`. */
8841
+ eyes_on_ad_share?: number | null;
8842
+ /** Upper end of the same interval. Unit: share. Taken over `capture_screens`. */
8843
+ eyes_on_ad_share_hi?: number | null;
8844
+ /** Lower end of eyes_on_ad_share's 95% interval, clustered by screen: the leave-one-screen-out jackknife on the logit with Student t; NULL from fewer than three screens. Unit: share. Taken over `capture_screens`. */
8845
+ eyes_on_ad_share_lo?: number | null;
8806
8846
  /** Screens with a gaze-measured window inside the second: the clusters of the eyes-on interval. Unit: screens. */
8807
8847
  eyes_on_screens?: number | null;
8808
8848
  /** eyes_on_sum / gaze_ms: the share of the second's gaze-measured time with eyes on the screen. Window resolution: each gaze window's share is the same for every second of its 10-second window (play_audience_second), so a change inside a window does not show; fl_heads_up_share is per frame. Unit: share. Taken over `gaze_ms`. */
@@ -8871,6 +8911,26 @@ type DataApi_DataProducts_MetricCreativeAttentionCurveResponse = {
8871
8911
  smile_screens?: number | null;
8872
8912
  [key: string]: unknown;
8873
8913
  } | Array<{
8914
+ /** Milliseconds of resolved gaze rays inside the second, weighted by the engine's scenarios. Unit: ms. Taken over `capture_plays`. */
8915
+ capture_gaze_ms?: number | null;
8916
+ /** Of those, milliseconds whose ray met the ad itself. Unit: ms. Taken over `capture_plays`. */
8917
+ capture_on_creative_ms?: number | null;
8918
+ /** Of those, milliseconds whose ray met the screen. Unit: ms. Taken over `capture_plays`. */
8919
+ capture_on_screen_ms?: number | null;
8920
+ /** capture_on_screen_ms / capture_gaze_ms: the share whose ray met the screen: the ad, its letterbox or the viewport edge. Unit: share. Taken over `capture_gaze_ms`. */
8921
+ capture_on_screen_share?: number | null;
8922
+ /** Of the plays running, those with a resolved per-capture gaze ray inside the second: the plays eyes_on_ad_share is over. Unit: plays. */
8923
+ capture_plays?: number | null;
8924
+ /** Screens with a resolved gaze ray inside the second: the clusters of the eyes-on-the-ad interval. Unit: screens. */
8925
+ capture_screens?: number | null;
8926
+ /** Face tracks with a FaceLandmarker capture inside the second the study engine measured, summed over the plays. Unit: face_tracks. */
8927
+ capture_viewers_n?: number | null;
8928
+ /** capture_on_creative_ms / capture_gaze_ms: per-capture gaze, the share of the second's resolved gaze time whose ray met the ad itself (the study engine's geometry, creative_capture_gaze_second). Unit: share. Taken over `capture_gaze_ms`. */
8929
+ eyes_on_ad_share?: number | null;
8930
+ /** Upper end of the same interval. Unit: share. Taken over `capture_screens`. */
8931
+ eyes_on_ad_share_hi?: number | null;
8932
+ /** Lower end of eyes_on_ad_share's 95% interval, clustered by screen: the leave-one-screen-out jackknife on the logit with Student t; NULL from fewer than three screens. Unit: share. Taken over `capture_screens`. */
8933
+ eyes_on_ad_share_lo?: number | null;
8874
8934
  /** Screens with a gaze-measured window inside the second: the clusters of the eyes-on interval. Unit: screens. */
8875
8935
  eyes_on_screens?: number | null;
8876
8936
  /** eyes_on_sum / gaze_ms: the share of the second's gaze-measured time with eyes on the screen. Window resolution: each gaze window's share is the same for every second of its 10-second window (play_audience_second), so a change inside a window does not show; fl_heads_up_share is per frame. Unit: share. Taken over `gaze_ms`. */