@trillboards/api-client 3.7.29 → 3.7.30

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.
@@ -16991,7 +16991,7 @@ type DeviceSummary = {
16991
16991
  device_id?: string;
16992
16992
  /** Saved mutable partner category, independent of advertising classification. Legacy devices without a saved declaration retain their previous numeric-derived label until explicitly updated. */
16993
16993
  device_type?: string;
16994
- /** Emits `orientation` (from the screen, defaulting to `landscape`) and `ppi` (from the device row). `width`/`height` still read `dimension_width`/`dimension_height`, columns DROPPED from `earner_screen_devices` by migration `20260527180000`, so they resolve to undefined and are omitted from the JSON entirely — registered pixels now live in `screen_width_px`/`screen_height_px`. Physical inches you send as `width_in`/`height_in` are stored but never echoed here. */
16994
+ /** Pixel width and height, physical width and height in inches, orientation, and pixels per inch. The pixel dimensions are returned as a pair when known. */
16995
16995
  display?: Record<string, unknown>;
16996
16996
  /** Static, unsigned player URL `https://screen.trillboards.com?fp=<fingerprint>`. It never expires or rotates, and is `null` until a screen is linked. */
16997
16997
  embed_url?: string;
@@ -18055,6 +18055,8 @@ type EarnerScreens = {
18055
18055
  taggify_screen_id?: string | null;
18056
18056
  taxonomy_migrated_at?: string | null;
18057
18057
  taxonomy_spec_version?: string | null;
18058
+ /** screen_venue_taxonomy owns taxonomy after JSONB drop; replaceScreenVenueTaxonomy and screenGenerationQueue write it. venue_business_name and venue_street_address store declared installation evidenc... */
18059
+ venue_business_name?: string | null;
18058
18060
  venue_category?: string | null;
18059
18061
  venue_child?: string | null;
18060
18062
  venue_child_id?: string | null;
@@ -18063,6 +18065,7 @@ type EarnerScreens = {
18063
18065
  venue_grandchild?: string | null;
18064
18066
  venue_parent?: string | null;
18065
18067
  venue_state?: string | null;
18068
+ venue_street_address?: string | null;
18066
18069
  venue_subcategory?: string | null;
18067
18070
  verified_connection_sources: number;
18068
18071
  /** Player detach clears bit1 and increments verified_player_binding_epoch to fence old contexts, including same-device re-pair. Outages and replacement retain evidence; native cache invalidation propa... */
@@ -19949,7 +19952,7 @@ type PartnerRegistrationDisplaySettings = {
19949
19952
  content_fit?: ContentFitSettings;
19950
19953
  };
19951
19954
  type PartnerRequirement = {
19952
- /** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, enrichment_failed, display_size_missing. */
19955
+ /** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, venue_unconfirmed, enrichment_failed, display_size_missing. */
19953
19956
  code?: string;
19954
19957
  /** Built mechanically as `https://api.trillboards.com/docs/monetization-requirements#<code>`, so the anchor always matches `code`. A bare `docs.` subdomain is deliberately NOT used — it resolves to an unrelated portal SPA rather than documentation — and a CI guard blocks reintroducing it. */
19955
19958
  doc_url?: string;
@@ -31755,8 +31758,14 @@ interface registerDeviceOperation {
31755
31758
  venue?: {
31756
31759
  business_name?: string;
31757
31760
  category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
31761
+ /** OpenOOH child ID. */
31762
+ child_id?: number;
31758
31763
  context_notes?: string;
31759
31764
  environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
31765
+ /** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
31766
+ grandchild_id?: number;
31767
+ /** OpenOOH parent ID. Must match a supplied child or grandchild. */
31768
+ parent_id?: number;
31760
31769
  placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
31761
31770
  /** Free text subcategory (may be auto-enriched by AI) */
31762
31771
  subcategory?: string;
@@ -31898,10 +31907,16 @@ interface updateDeviceOperation {
31898
31907
  business_name?: string;
31899
31908
  /** Granular venue type on WRITE (child-level slug). On READ this returns the resolved OpenOOH PARENT (e.g. "hotel" write -> "entertainment" read); the child slug rides `venue.subcategory` and the numeric child id rides `venue.openooh_venue_type_id`. */
31900
31909
  category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
31910
+ /** OpenOOH child ID. */
31911
+ child_id?: number;
31901
31912
  context_notes?: string;
31902
31913
  environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
31914
+ /** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
31915
+ grandchild_id?: number;
31903
31916
  /** Response-only. Canonical OpenOOH child id to reconcile the declared venue type against (e.g. 807 for hotels). */
31904
31917
  openooh_venue_type_id?: number;
31918
+ /** OpenOOH parent ID. Must match a supplied child or grandchild. */
31919
+ parent_id?: number;
31905
31920
  placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
31906
31921
  /** OpenOOH child slug (e.g. "hotels"). Free text on write; resolved on read. */
31907
31922
  subcategory?: string;
@@ -32262,41 +32277,109 @@ interface registerDeviceV2Operation {
32262
32277
  readonly path: "/v1/partner/devices";
32263
32278
  readonly method: "POST";
32264
32279
  request: {
32265
- /** Optional display dimensions. One of three modes — the `mode` discriminator is required. */
32280
+ description?: string;
32281
+ device_class?: "camera";
32282
+ /** Your device label for fleet management. */
32283
+ device_type?: "tv" | "tablet" | "display" | "kiosk" | "other" | "mobile" | "connected_tv" | "digital_signage" | "vending_machine";
32284
+ /** Actual physical or pixel dimensions. In inches mode, you can also send the real pixel width and height together. */
32266
32285
  display?: {
32267
- /** Physical screen height in INCHES. Pairs with `width_in`. */
32286
+ height?: number;
32268
32287
  height_in: number;
32269
32288
  mode: "inches";
32270
- /** Physical screen width in INCHES. No upper bound — large-format / billboard inventory is valid. */
32289
+ orientation?: "landscape" | "portrait" | "mixed" | "unknown";
32290
+ width?: number;
32271
32291
  width_in: number;
32272
32292
  } | {
32273
32293
  height: number;
32274
32294
  mode: "pixels_with_ppi";
32295
+ orientation?: "landscape" | "portrait" | "mixed" | "unknown";
32275
32296
  ppi: number;
32276
32297
  width: number;
32277
32298
  } | {
32278
32299
  height: number;
32279
32300
  mode: "pixels_only";
32301
+ orientation?: "landscape" | "portrait" | "mixed" | "unknown";
32280
32302
  width: number;
32281
32303
  };
32304
+ display_settings?: {
32305
+ content_fit?: {
32306
+ advertisements?: "fit" | "fill";
32307
+ default_streams?: "fit" | "fill";
32308
+ self_promo?: "fit" | "fill";
32309
+ };
32310
+ };
32282
32311
  /** Your stable per-device identifier (e.g. "REC00005"). */
32283
32312
  external_id: string;
32284
- /** Optional hardware identity — improves DSP device matching. */
32313
+ /** Actual hardware and operating system details. */
32285
32314
  hardware?: {
32315
+ hwv?: string;
32286
32316
  make?: string;
32287
32317
  model?: string;
32288
32318
  os?: "Android" | "iOS" | "Tizen" | "WebOS" | "Linux" | "FireOS" | "Other";
32289
32319
  osv?: string;
32290
32320
  };
32291
- /** Optional venue location — either lat/lng coordinates or a street address. */
32321
+ /** Actual installation address and coordinates. You may provide both. If providing coordinates, send both latitude and longitude. */
32292
32322
  location?: {
32293
- lat: number;
32294
- lng: number;
32295
- } | {
32296
- address: string;
32323
+ address?: string;
32324
+ city?: string;
32325
+ /** ISO 3166-1 alpha-2 or alpha-3. */
32326
+ country?: string;
32327
+ lat?: number;
32328
+ lng?: number;
32329
+ state?: string;
32330
+ timezone?: string;
32331
+ /** Alternate input for the actual host business name. */
32332
+ venue_name?: string;
32333
+ /** Legacy alias for a venue slug. */
32334
+ venue_type?: string;
32335
+ zip?: string;
32336
+ };
32337
+ mobile_settings?: {
32338
+ distance_threshold_meters?: number;
32339
+ enabled?: boolean;
32340
+ update_interval_seconds?: number;
32341
+ vehicle_type?: "taxi" | "rideshare" | "delivery" | "bus" | "food_truck" | "other";
32297
32342
  };
32343
+ mobility_type?: "static" | "mobile" | "semi_mobile";
32344
+ /** Device display name. Use venue.business_name for the actual host. */
32345
+ name?: string;
32346
+ /** Schedule for the physical display. For a daily window, include both start_time and end_time in local time. */
32347
+ operating_hours?: {
32348
+ active_from?: string;
32349
+ active_until?: string;
32350
+ end_time?: string;
32351
+ mode: "always_on" | "daily_window";
32352
+ start_time?: string;
32353
+ timezone: string;
32354
+ };
32355
+ /** An HTTP or HTTPS photo of this actual installation. */
32356
+ photo_url?: string;
32357
+ photos?: Array<{
32358
+ type?: string;
32359
+ url: string;
32360
+ }>;
32361
+ placement?: {
32362
+ height_from_floor_ft?: number;
32363
+ mounting_type?: "wall" | "ceiling" | "tabletop" | "window" | "stand" | "freestanding" | "floor_stand" | "counter" | "pole" | "vehicle" | "other" | "unknown";
32364
+ orientation?: "landscape" | "portrait" | "mixed" | "unknown";
32365
+ viewing_distance_ft?: number;
32366
+ };
32367
+ sensing_only?: boolean;
32298
32368
  /** The device's real WebView User-Agent. Must include a Build fingerprint and be unique per device. */
32299
32369
  ua: string;
32370
+ /** The actual place where the audience sees the screen. Send category and subcategory slugs or the corresponding OpenOOH 1.2 IDs. If both forms are sent, they must describe the same venue. */
32371
+ venue?: {
32372
+ /** The host business, such as the hotel containing the ATM. */
32373
+ business_name?: string;
32374
+ category?: string;
32375
+ child_id?: number;
32376
+ context_notes?: string;
32377
+ environment_type?: "indoor" | "outdoor" | "transit" | "mixed";
32378
+ grandchild_id?: number;
32379
+ parent_id?: number;
32380
+ placement_type?: string;
32381
+ subcategory?: string;
32382
+ };
32300
32383
  };
32301
32384
  requestRequired?: true;
32302
32385
  params: Record<string, unknown>;
@@ -32306,6 +32389,14 @@ interface registerDeviceV2Operation {
32306
32389
  data?: {
32307
32390
  device_id?: string;
32308
32391
  diagnostics_url?: string;
32392
+ display?: {
32393
+ height?: number | null;
32394
+ height_in?: number | null;
32395
+ orientation?: string;
32396
+ ppi?: number | null;
32397
+ width?: number | null;
32398
+ width_in?: number | null;
32399
+ };
32309
32400
  /** Paste into an iframe to start serving. */
32310
32401
  embed_url?: string;
32311
32402
  /** Server-derived canonical device identity. */
@@ -32318,6 +32409,38 @@ interface registerDeviceV2Operation {
32318
32409
  os?: string | null;
32319
32410
  osv?: string | null;
32320
32411
  };
32412
+ location?: {
32413
+ address?: string | null;
32414
+ city?: string | null;
32415
+ country?: string | null;
32416
+ lat?: number | null;
32417
+ lng?: number | null;
32418
+ state?: string | null;
32419
+ timezone?: string | null;
32420
+ venue_name?: string | null;
32421
+ venue_type?: string | null;
32422
+ zip?: string | null;
32423
+ };
32424
+ location_capability?: PartnerLocationCapability;
32425
+ /** Readiness of the registered inventory data. */
32426
+ monetization_status?: "ready" | "limited" | "blocked";
32427
+ operating_hours?: Record<string, unknown> | null;
32428
+ requirements?: PartnerMonetizationRequirements;
32429
+ /** Server ID of the linked screen. */
32430
+ screen_id?: string;
32431
+ venue?: {
32432
+ business_name?: string | null;
32433
+ category?: string | null;
32434
+ child_id?: number | null;
32435
+ environment_type?: string | null;
32436
+ grandchild?: string | null;
32437
+ grandchild_id?: number | null;
32438
+ openooh_venue_type_id?: number | null;
32439
+ parent_id?: number | null;
32440
+ placement_type?: string | null;
32441
+ source?: string | null;
32442
+ subcategory?: string | null;
32443
+ };
32321
32444
  };
32322
32445
  success?: boolean;
32323
32446
  };
@@ -32342,7 +32465,17 @@ interface registerDevicesBatchOperation {
32342
32465
  location?: Record<string, unknown>;
32343
32466
  name?: string;
32344
32467
  placement?: Record<string, unknown>;
32345
- venue?: Record<string, unknown>;
32468
+ venue?: {
32469
+ business_name?: string;
32470
+ category?: string;
32471
+ child_id?: number;
32472
+ context_notes?: string;
32473
+ environment_type?: string;
32474
+ grandchild_id?: number;
32475
+ parent_id?: number;
32476
+ placement_type?: string;
32477
+ subcategory?: string;
32478
+ };
32346
32479
  }>;
32347
32480
  };
32348
32481
  requestRequired?: true;
@@ -16991,7 +16991,7 @@ type DeviceSummary = {
16991
16991
  device_id?: string;
16992
16992
  /** Saved mutable partner category, independent of advertising classification. Legacy devices without a saved declaration retain their previous numeric-derived label until explicitly updated. */
16993
16993
  device_type?: string;
16994
- /** Emits `orientation` (from the screen, defaulting to `landscape`) and `ppi` (from the device row). `width`/`height` still read `dimension_width`/`dimension_height`, columns DROPPED from `earner_screen_devices` by migration `20260527180000`, so they resolve to undefined and are omitted from the JSON entirely — registered pixels now live in `screen_width_px`/`screen_height_px`. Physical inches you send as `width_in`/`height_in` are stored but never echoed here. */
16994
+ /** Pixel width and height, physical width and height in inches, orientation, and pixels per inch. The pixel dimensions are returned as a pair when known. */
16995
16995
  display?: Record<string, unknown>;
16996
16996
  /** Static, unsigned player URL `https://screen.trillboards.com?fp=<fingerprint>`. It never expires or rotates, and is `null` until a screen is linked. */
16997
16997
  embed_url?: string;
@@ -18055,6 +18055,8 @@ type EarnerScreens = {
18055
18055
  taggify_screen_id?: string | null;
18056
18056
  taxonomy_migrated_at?: string | null;
18057
18057
  taxonomy_spec_version?: string | null;
18058
+ /** screen_venue_taxonomy owns taxonomy after JSONB drop; replaceScreenVenueTaxonomy and screenGenerationQueue write it. venue_business_name and venue_street_address store declared installation evidenc... */
18059
+ venue_business_name?: string | null;
18058
18060
  venue_category?: string | null;
18059
18061
  venue_child?: string | null;
18060
18062
  venue_child_id?: string | null;
@@ -18063,6 +18065,7 @@ type EarnerScreens = {
18063
18065
  venue_grandchild?: string | null;
18064
18066
  venue_parent?: string | null;
18065
18067
  venue_state?: string | null;
18068
+ venue_street_address?: string | null;
18066
18069
  venue_subcategory?: string | null;
18067
18070
  verified_connection_sources: number;
18068
18071
  /** Player detach clears bit1 and increments verified_player_binding_epoch to fence old contexts, including same-device re-pair. Outages and replacement retain evidence; native cache invalidation propa... */
@@ -19949,7 +19952,7 @@ type PartnerRegistrationDisplaySettings = {
19949
19952
  content_fit?: ContentFitSettings;
19950
19953
  };
19951
19954
  type PartnerRequirement = {
19952
- /** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, enrichment_failed, display_size_missing. */
19955
+ /** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, venue_unconfirmed, enrichment_failed, display_size_missing. */
19953
19956
  code?: string;
19954
19957
  /** Built mechanically as `https://api.trillboards.com/docs/monetization-requirements#<code>`, so the anchor always matches `code`. A bare `docs.` subdomain is deliberately NOT used — it resolves to an unrelated portal SPA rather than documentation — and a CI guard blocks reintroducing it. */
19955
19958
  doc_url?: string;
@@ -31755,8 +31758,14 @@ interface registerDeviceOperation {
31755
31758
  venue?: {
31756
31759
  business_name?: string;
31757
31760
  category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
31761
+ /** OpenOOH child ID. */
31762
+ child_id?: number;
31758
31763
  context_notes?: string;
31759
31764
  environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
31765
+ /** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
31766
+ grandchild_id?: number;
31767
+ /** OpenOOH parent ID. Must match a supplied child or grandchild. */
31768
+ parent_id?: number;
31760
31769
  placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
31761
31770
  /** Free text subcategory (may be auto-enriched by AI) */
31762
31771
  subcategory?: string;
@@ -31898,10 +31907,16 @@ interface updateDeviceOperation {
31898
31907
  business_name?: string;
31899
31908
  /** Granular venue type on WRITE (child-level slug). On READ this returns the resolved OpenOOH PARENT (e.g. "hotel" write -> "entertainment" read); the child slug rides `venue.subcategory` and the numeric child id rides `venue.openooh_venue_type_id`. */
31900
31909
  category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
31910
+ /** OpenOOH child ID. */
31911
+ child_id?: number;
31901
31912
  context_notes?: string;
31902
31913
  environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
31914
+ /** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
31915
+ grandchild_id?: number;
31903
31916
  /** Response-only. Canonical OpenOOH child id to reconcile the declared venue type against (e.g. 807 for hotels). */
31904
31917
  openooh_venue_type_id?: number;
31918
+ /** OpenOOH parent ID. Must match a supplied child or grandchild. */
31919
+ parent_id?: number;
31905
31920
  placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
31906
31921
  /** OpenOOH child slug (e.g. "hotels"). Free text on write; resolved on read. */
31907
31922
  subcategory?: string;
@@ -32262,41 +32277,109 @@ interface registerDeviceV2Operation {
32262
32277
  readonly path: "/v1/partner/devices";
32263
32278
  readonly method: "POST";
32264
32279
  request: {
32265
- /** Optional display dimensions. One of three modes — the `mode` discriminator is required. */
32280
+ description?: string;
32281
+ device_class?: "camera";
32282
+ /** Your device label for fleet management. */
32283
+ device_type?: "tv" | "tablet" | "display" | "kiosk" | "other" | "mobile" | "connected_tv" | "digital_signage" | "vending_machine";
32284
+ /** Actual physical or pixel dimensions. In inches mode, you can also send the real pixel width and height together. */
32266
32285
  display?: {
32267
- /** Physical screen height in INCHES. Pairs with `width_in`. */
32286
+ height?: number;
32268
32287
  height_in: number;
32269
32288
  mode: "inches";
32270
- /** Physical screen width in INCHES. No upper bound — large-format / billboard inventory is valid. */
32289
+ orientation?: "landscape" | "portrait" | "mixed" | "unknown";
32290
+ width?: number;
32271
32291
  width_in: number;
32272
32292
  } | {
32273
32293
  height: number;
32274
32294
  mode: "pixels_with_ppi";
32295
+ orientation?: "landscape" | "portrait" | "mixed" | "unknown";
32275
32296
  ppi: number;
32276
32297
  width: number;
32277
32298
  } | {
32278
32299
  height: number;
32279
32300
  mode: "pixels_only";
32301
+ orientation?: "landscape" | "portrait" | "mixed" | "unknown";
32280
32302
  width: number;
32281
32303
  };
32304
+ display_settings?: {
32305
+ content_fit?: {
32306
+ advertisements?: "fit" | "fill";
32307
+ default_streams?: "fit" | "fill";
32308
+ self_promo?: "fit" | "fill";
32309
+ };
32310
+ };
32282
32311
  /** Your stable per-device identifier (e.g. "REC00005"). */
32283
32312
  external_id: string;
32284
- /** Optional hardware identity — improves DSP device matching. */
32313
+ /** Actual hardware and operating system details. */
32285
32314
  hardware?: {
32315
+ hwv?: string;
32286
32316
  make?: string;
32287
32317
  model?: string;
32288
32318
  os?: "Android" | "iOS" | "Tizen" | "WebOS" | "Linux" | "FireOS" | "Other";
32289
32319
  osv?: string;
32290
32320
  };
32291
- /** Optional venue location — either lat/lng coordinates or a street address. */
32321
+ /** Actual installation address and coordinates. You may provide both. If providing coordinates, send both latitude and longitude. */
32292
32322
  location?: {
32293
- lat: number;
32294
- lng: number;
32295
- } | {
32296
- address: string;
32323
+ address?: string;
32324
+ city?: string;
32325
+ /** ISO 3166-1 alpha-2 or alpha-3. */
32326
+ country?: string;
32327
+ lat?: number;
32328
+ lng?: number;
32329
+ state?: string;
32330
+ timezone?: string;
32331
+ /** Alternate input for the actual host business name. */
32332
+ venue_name?: string;
32333
+ /** Legacy alias for a venue slug. */
32334
+ venue_type?: string;
32335
+ zip?: string;
32336
+ };
32337
+ mobile_settings?: {
32338
+ distance_threshold_meters?: number;
32339
+ enabled?: boolean;
32340
+ update_interval_seconds?: number;
32341
+ vehicle_type?: "taxi" | "rideshare" | "delivery" | "bus" | "food_truck" | "other";
32297
32342
  };
32343
+ mobility_type?: "static" | "mobile" | "semi_mobile";
32344
+ /** Device display name. Use venue.business_name for the actual host. */
32345
+ name?: string;
32346
+ /** Schedule for the physical display. For a daily window, include both start_time and end_time in local time. */
32347
+ operating_hours?: {
32348
+ active_from?: string;
32349
+ active_until?: string;
32350
+ end_time?: string;
32351
+ mode: "always_on" | "daily_window";
32352
+ start_time?: string;
32353
+ timezone: string;
32354
+ };
32355
+ /** An HTTP or HTTPS photo of this actual installation. */
32356
+ photo_url?: string;
32357
+ photos?: Array<{
32358
+ type?: string;
32359
+ url: string;
32360
+ }>;
32361
+ placement?: {
32362
+ height_from_floor_ft?: number;
32363
+ mounting_type?: "wall" | "ceiling" | "tabletop" | "window" | "stand" | "freestanding" | "floor_stand" | "counter" | "pole" | "vehicle" | "other" | "unknown";
32364
+ orientation?: "landscape" | "portrait" | "mixed" | "unknown";
32365
+ viewing_distance_ft?: number;
32366
+ };
32367
+ sensing_only?: boolean;
32298
32368
  /** The device's real WebView User-Agent. Must include a Build fingerprint and be unique per device. */
32299
32369
  ua: string;
32370
+ /** The actual place where the audience sees the screen. Send category and subcategory slugs or the corresponding OpenOOH 1.2 IDs. If both forms are sent, they must describe the same venue. */
32371
+ venue?: {
32372
+ /** The host business, such as the hotel containing the ATM. */
32373
+ business_name?: string;
32374
+ category?: string;
32375
+ child_id?: number;
32376
+ context_notes?: string;
32377
+ environment_type?: "indoor" | "outdoor" | "transit" | "mixed";
32378
+ grandchild_id?: number;
32379
+ parent_id?: number;
32380
+ placement_type?: string;
32381
+ subcategory?: string;
32382
+ };
32300
32383
  };
32301
32384
  requestRequired?: true;
32302
32385
  params: Record<string, unknown>;
@@ -32306,6 +32389,14 @@ interface registerDeviceV2Operation {
32306
32389
  data?: {
32307
32390
  device_id?: string;
32308
32391
  diagnostics_url?: string;
32392
+ display?: {
32393
+ height?: number | null;
32394
+ height_in?: number | null;
32395
+ orientation?: string;
32396
+ ppi?: number | null;
32397
+ width?: number | null;
32398
+ width_in?: number | null;
32399
+ };
32309
32400
  /** Paste into an iframe to start serving. */
32310
32401
  embed_url?: string;
32311
32402
  /** Server-derived canonical device identity. */
@@ -32318,6 +32409,38 @@ interface registerDeviceV2Operation {
32318
32409
  os?: string | null;
32319
32410
  osv?: string | null;
32320
32411
  };
32412
+ location?: {
32413
+ address?: string | null;
32414
+ city?: string | null;
32415
+ country?: string | null;
32416
+ lat?: number | null;
32417
+ lng?: number | null;
32418
+ state?: string | null;
32419
+ timezone?: string | null;
32420
+ venue_name?: string | null;
32421
+ venue_type?: string | null;
32422
+ zip?: string | null;
32423
+ };
32424
+ location_capability?: PartnerLocationCapability;
32425
+ /** Readiness of the registered inventory data. */
32426
+ monetization_status?: "ready" | "limited" | "blocked";
32427
+ operating_hours?: Record<string, unknown> | null;
32428
+ requirements?: PartnerMonetizationRequirements;
32429
+ /** Server ID of the linked screen. */
32430
+ screen_id?: string;
32431
+ venue?: {
32432
+ business_name?: string | null;
32433
+ category?: string | null;
32434
+ child_id?: number | null;
32435
+ environment_type?: string | null;
32436
+ grandchild?: string | null;
32437
+ grandchild_id?: number | null;
32438
+ openooh_venue_type_id?: number | null;
32439
+ parent_id?: number | null;
32440
+ placement_type?: string | null;
32441
+ source?: string | null;
32442
+ subcategory?: string | null;
32443
+ };
32321
32444
  };
32322
32445
  success?: boolean;
32323
32446
  };
@@ -32342,7 +32465,17 @@ interface registerDevicesBatchOperation {
32342
32465
  location?: Record<string, unknown>;
32343
32466
  name?: string;
32344
32467
  placement?: Record<string, unknown>;
32345
- venue?: Record<string, unknown>;
32468
+ venue?: {
32469
+ business_name?: string;
32470
+ category?: string;
32471
+ child_id?: number;
32472
+ context_notes?: string;
32473
+ environment_type?: string;
32474
+ grandchild_id?: number;
32475
+ parent_id?: number;
32476
+ placement_type?: string;
32477
+ subcategory?: string;
32478
+ };
32346
32479
  }>;
32347
32480
  };
32348
32481
  requestRequired?: true;