@trillboards/api-client 3.7.29 → 3.7.31
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/{chunk-7WVSHTSP.mjs → chunk-AGUCKVZJ.mjs} +2 -2
- package/dist/{chunk-7WVSHTSP.mjs.map → chunk-AGUCKVZJ.mjs.map} +1 -1
- package/dist/generated.d.mts +146 -12
- package/dist/generated.d.ts +146 -12
- package/dist/generated.js.map +1 -1
- package/dist/generated.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/generated.d.mts
CHANGED
|
@@ -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
|
-
/**
|
|
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,14 +18055,18 @@ 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 classification. venue_business_name and venue_street_address record declared evidence apart from Places. venue_installation_changed_at sets the classification and buyer p... */
|
|
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;
|
|
18061
18063
|
venue_city?: string | null;
|
|
18062
18064
|
venue_classification_source?: string | null;
|
|
18063
18065
|
venue_grandchild?: string | null;
|
|
18066
|
+
venue_installation_changed_at?: string | null;
|
|
18064
18067
|
venue_parent?: string | null;
|
|
18065
18068
|
venue_state?: string | null;
|
|
18069
|
+
venue_street_address?: string | null;
|
|
18066
18070
|
venue_subcategory?: string | null;
|
|
18067
18071
|
verified_connection_sources: number;
|
|
18068
18072
|
/** 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 +19953,7 @@ type PartnerRegistrationDisplaySettings = {
|
|
|
19949
19953
|
content_fit?: ContentFitSettings;
|
|
19950
19954
|
};
|
|
19951
19955
|
type PartnerRequirement = {
|
|
19952
|
-
/** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, enrichment_failed, display_size_missing. */
|
|
19956
|
+
/** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, venue_unconfirmed, enrichment_failed, display_size_missing. */
|
|
19953
19957
|
code?: string;
|
|
19954
19958
|
/** 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
19959
|
doc_url?: string;
|
|
@@ -31755,8 +31759,14 @@ interface registerDeviceOperation {
|
|
|
31755
31759
|
venue?: {
|
|
31756
31760
|
business_name?: string;
|
|
31757
31761
|
category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
|
|
31762
|
+
/** OpenOOH child ID. */
|
|
31763
|
+
child_id?: number;
|
|
31758
31764
|
context_notes?: string;
|
|
31759
31765
|
environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
|
|
31766
|
+
/** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
|
|
31767
|
+
grandchild_id?: number;
|
|
31768
|
+
/** OpenOOH parent ID. Must match a supplied child or grandchild. */
|
|
31769
|
+
parent_id?: number;
|
|
31760
31770
|
placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
|
|
31761
31771
|
/** Free text subcategory (may be auto-enriched by AI) */
|
|
31762
31772
|
subcategory?: string;
|
|
@@ -31898,10 +31908,16 @@ interface updateDeviceOperation {
|
|
|
31898
31908
|
business_name?: string;
|
|
31899
31909
|
/** 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
31910
|
category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
|
|
31911
|
+
/** OpenOOH child ID. */
|
|
31912
|
+
child_id?: number;
|
|
31901
31913
|
context_notes?: string;
|
|
31902
31914
|
environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
|
|
31915
|
+
/** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
|
|
31916
|
+
grandchild_id?: number;
|
|
31903
31917
|
/** Response-only. Canonical OpenOOH child id to reconcile the declared venue type against (e.g. 807 for hotels). */
|
|
31904
31918
|
openooh_venue_type_id?: number;
|
|
31919
|
+
/** OpenOOH parent ID. Must match a supplied child or grandchild. */
|
|
31920
|
+
parent_id?: number;
|
|
31905
31921
|
placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
|
|
31906
31922
|
/** OpenOOH child slug (e.g. "hotels"). Free text on write; resolved on read. */
|
|
31907
31923
|
subcategory?: string;
|
|
@@ -32262,41 +32278,109 @@ interface registerDeviceV2Operation {
|
|
|
32262
32278
|
readonly path: "/v1/partner/devices";
|
|
32263
32279
|
readonly method: "POST";
|
|
32264
32280
|
request: {
|
|
32265
|
-
|
|
32281
|
+
description?: string;
|
|
32282
|
+
device_class?: "camera";
|
|
32283
|
+
/** Your device label for fleet management. */
|
|
32284
|
+
device_type?: "tv" | "tablet" | "display" | "kiosk" | "other" | "mobile" | "connected_tv" | "digital_signage" | "vending_machine";
|
|
32285
|
+
/** Actual physical or pixel dimensions. In inches mode, you can also send the real pixel width and height together. */
|
|
32266
32286
|
display?: {
|
|
32267
|
-
|
|
32287
|
+
height?: number;
|
|
32268
32288
|
height_in: number;
|
|
32269
32289
|
mode: "inches";
|
|
32270
|
-
|
|
32290
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32291
|
+
width?: number;
|
|
32271
32292
|
width_in: number;
|
|
32272
32293
|
} | {
|
|
32273
32294
|
height: number;
|
|
32274
32295
|
mode: "pixels_with_ppi";
|
|
32296
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32275
32297
|
ppi: number;
|
|
32276
32298
|
width: number;
|
|
32277
32299
|
} | {
|
|
32278
32300
|
height: number;
|
|
32279
32301
|
mode: "pixels_only";
|
|
32302
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32280
32303
|
width: number;
|
|
32281
32304
|
};
|
|
32305
|
+
display_settings?: {
|
|
32306
|
+
content_fit?: {
|
|
32307
|
+
advertisements?: "fit" | "fill";
|
|
32308
|
+
default_streams?: "fit" | "fill";
|
|
32309
|
+
self_promo?: "fit" | "fill";
|
|
32310
|
+
};
|
|
32311
|
+
};
|
|
32282
32312
|
/** Your stable per-device identifier (e.g. "REC00005"). */
|
|
32283
32313
|
external_id: string;
|
|
32284
|
-
/**
|
|
32314
|
+
/** Actual hardware and operating system details. */
|
|
32285
32315
|
hardware?: {
|
|
32316
|
+
hwv?: string;
|
|
32286
32317
|
make?: string;
|
|
32287
32318
|
model?: string;
|
|
32288
32319
|
os?: "Android" | "iOS" | "Tizen" | "WebOS" | "Linux" | "FireOS" | "Other";
|
|
32289
32320
|
osv?: string;
|
|
32290
32321
|
};
|
|
32291
|
-
/**
|
|
32322
|
+
/** Actual installation address and coordinates. You may provide both. If providing coordinates, send both latitude and longitude. */
|
|
32292
32323
|
location?: {
|
|
32293
|
-
|
|
32294
|
-
|
|
32295
|
-
|
|
32296
|
-
|
|
32324
|
+
address?: string;
|
|
32325
|
+
city?: string;
|
|
32326
|
+
/** ISO 3166-1 alpha-2 or alpha-3. */
|
|
32327
|
+
country?: string;
|
|
32328
|
+
lat?: number;
|
|
32329
|
+
lng?: number;
|
|
32330
|
+
state?: string;
|
|
32331
|
+
timezone?: string;
|
|
32332
|
+
/** Alternate input for the actual host business name. */
|
|
32333
|
+
venue_name?: string;
|
|
32334
|
+
/** Legacy alias for a venue slug. */
|
|
32335
|
+
venue_type?: string;
|
|
32336
|
+
zip?: string;
|
|
32337
|
+
};
|
|
32338
|
+
mobile_settings?: {
|
|
32339
|
+
distance_threshold_meters?: number;
|
|
32340
|
+
enabled?: boolean;
|
|
32341
|
+
update_interval_seconds?: number;
|
|
32342
|
+
vehicle_type?: "taxi" | "rideshare" | "delivery" | "bus" | "food_truck" | "other";
|
|
32297
32343
|
};
|
|
32344
|
+
mobility_type?: "static" | "mobile" | "semi_mobile";
|
|
32345
|
+
/** Device display name. Use venue.business_name for the actual host. */
|
|
32346
|
+
name?: string;
|
|
32347
|
+
/** Schedule for the physical display. For a daily window, include both start_time and end_time in local time. */
|
|
32348
|
+
operating_hours?: {
|
|
32349
|
+
active_from?: string;
|
|
32350
|
+
active_until?: string;
|
|
32351
|
+
end_time?: string;
|
|
32352
|
+
mode: "always_on" | "daily_window";
|
|
32353
|
+
start_time?: string;
|
|
32354
|
+
timezone: string;
|
|
32355
|
+
};
|
|
32356
|
+
/** An HTTP or HTTPS photo of this actual installation. */
|
|
32357
|
+
photo_url?: string;
|
|
32358
|
+
photos?: Array<{
|
|
32359
|
+
type?: string;
|
|
32360
|
+
url: string;
|
|
32361
|
+
}>;
|
|
32362
|
+
placement?: {
|
|
32363
|
+
height_from_floor_ft?: number;
|
|
32364
|
+
mounting_type?: "wall" | "ceiling" | "tabletop" | "window" | "stand" | "freestanding" | "floor_stand" | "counter" | "pole" | "vehicle" | "other" | "unknown";
|
|
32365
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32366
|
+
viewing_distance_ft?: number;
|
|
32367
|
+
};
|
|
32368
|
+
sensing_only?: boolean;
|
|
32298
32369
|
/** The device's real WebView User-Agent. Must include a Build fingerprint and be unique per device. */
|
|
32299
32370
|
ua: string;
|
|
32371
|
+
/** 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. */
|
|
32372
|
+
venue?: {
|
|
32373
|
+
/** The host business, such as the hotel containing the ATM. */
|
|
32374
|
+
business_name?: string;
|
|
32375
|
+
category?: string;
|
|
32376
|
+
child_id?: number;
|
|
32377
|
+
context_notes?: string;
|
|
32378
|
+
environment_type?: "indoor" | "outdoor" | "transit" | "mixed";
|
|
32379
|
+
grandchild_id?: number;
|
|
32380
|
+
parent_id?: number;
|
|
32381
|
+
placement_type?: string;
|
|
32382
|
+
subcategory?: string;
|
|
32383
|
+
};
|
|
32300
32384
|
};
|
|
32301
32385
|
requestRequired?: true;
|
|
32302
32386
|
params: Record<string, unknown>;
|
|
@@ -32306,6 +32390,14 @@ interface registerDeviceV2Operation {
|
|
|
32306
32390
|
data?: {
|
|
32307
32391
|
device_id?: string;
|
|
32308
32392
|
diagnostics_url?: string;
|
|
32393
|
+
display?: {
|
|
32394
|
+
height?: number | null;
|
|
32395
|
+
height_in?: number | null;
|
|
32396
|
+
orientation?: string;
|
|
32397
|
+
ppi?: number | null;
|
|
32398
|
+
width?: number | null;
|
|
32399
|
+
width_in?: number | null;
|
|
32400
|
+
};
|
|
32309
32401
|
/** Paste into an iframe to start serving. */
|
|
32310
32402
|
embed_url?: string;
|
|
32311
32403
|
/** Server-derived canonical device identity. */
|
|
@@ -32318,6 +32410,38 @@ interface registerDeviceV2Operation {
|
|
|
32318
32410
|
os?: string | null;
|
|
32319
32411
|
osv?: string | null;
|
|
32320
32412
|
};
|
|
32413
|
+
location?: {
|
|
32414
|
+
address?: string | null;
|
|
32415
|
+
city?: string | null;
|
|
32416
|
+
country?: string | null;
|
|
32417
|
+
lat?: number | null;
|
|
32418
|
+
lng?: number | null;
|
|
32419
|
+
state?: string | null;
|
|
32420
|
+
timezone?: string | null;
|
|
32421
|
+
venue_name?: string | null;
|
|
32422
|
+
venue_type?: string | null;
|
|
32423
|
+
zip?: string | null;
|
|
32424
|
+
};
|
|
32425
|
+
location_capability?: PartnerLocationCapability;
|
|
32426
|
+
/** Readiness of the registered inventory data. */
|
|
32427
|
+
monetization_status?: "ready" | "limited" | "blocked";
|
|
32428
|
+
operating_hours?: Record<string, unknown> | null;
|
|
32429
|
+
requirements?: PartnerMonetizationRequirements;
|
|
32430
|
+
/** Server ID of the linked screen. */
|
|
32431
|
+
screen_id?: string;
|
|
32432
|
+
venue?: {
|
|
32433
|
+
business_name?: string | null;
|
|
32434
|
+
category?: string | null;
|
|
32435
|
+
child_id?: number | null;
|
|
32436
|
+
environment_type?: string | null;
|
|
32437
|
+
grandchild?: string | null;
|
|
32438
|
+
grandchild_id?: number | null;
|
|
32439
|
+
openooh_venue_type_id?: number | null;
|
|
32440
|
+
parent_id?: number | null;
|
|
32441
|
+
placement_type?: string | null;
|
|
32442
|
+
source?: string | null;
|
|
32443
|
+
subcategory?: string | null;
|
|
32444
|
+
};
|
|
32321
32445
|
};
|
|
32322
32446
|
success?: boolean;
|
|
32323
32447
|
};
|
|
@@ -32342,7 +32466,17 @@ interface registerDevicesBatchOperation {
|
|
|
32342
32466
|
location?: Record<string, unknown>;
|
|
32343
32467
|
name?: string;
|
|
32344
32468
|
placement?: Record<string, unknown>;
|
|
32345
|
-
venue?:
|
|
32469
|
+
venue?: {
|
|
32470
|
+
business_name?: string;
|
|
32471
|
+
category?: string;
|
|
32472
|
+
child_id?: number;
|
|
32473
|
+
context_notes?: string;
|
|
32474
|
+
environment_type?: string;
|
|
32475
|
+
grandchild_id?: number;
|
|
32476
|
+
parent_id?: number;
|
|
32477
|
+
placement_type?: string;
|
|
32478
|
+
subcategory?: string;
|
|
32479
|
+
};
|
|
32346
32480
|
}>;
|
|
32347
32481
|
};
|
|
32348
32482
|
requestRequired?: true;
|
package/dist/generated.d.ts
CHANGED
|
@@ -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
|
-
/**
|
|
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,14 +18055,18 @@ 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 classification. venue_business_name and venue_street_address record declared evidence apart from Places. venue_installation_changed_at sets the classification and buyer p... */
|
|
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;
|
|
18061
18063
|
venue_city?: string | null;
|
|
18062
18064
|
venue_classification_source?: string | null;
|
|
18063
18065
|
venue_grandchild?: string | null;
|
|
18066
|
+
venue_installation_changed_at?: string | null;
|
|
18064
18067
|
venue_parent?: string | null;
|
|
18065
18068
|
venue_state?: string | null;
|
|
18069
|
+
venue_street_address?: string | null;
|
|
18066
18070
|
venue_subcategory?: string | null;
|
|
18067
18071
|
verified_connection_sources: number;
|
|
18068
18072
|
/** 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 +19953,7 @@ type PartnerRegistrationDisplaySettings = {
|
|
|
19949
19953
|
content_fit?: ContentFitSettings;
|
|
19950
19954
|
};
|
|
19951
19955
|
type PartnerRequirement = {
|
|
19952
|
-
/** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, enrichment_failed, display_size_missing. */
|
|
19956
|
+
/** Stable machine code, e.g. location_unresolvable, location_awaiting_device_gps, venue_unconfirmed, enrichment_failed, display_size_missing. */
|
|
19953
19957
|
code?: string;
|
|
19954
19958
|
/** 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
19959
|
doc_url?: string;
|
|
@@ -31755,8 +31759,14 @@ interface registerDeviceOperation {
|
|
|
31755
31759
|
venue?: {
|
|
31756
31760
|
business_name?: string;
|
|
31757
31761
|
category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
|
|
31762
|
+
/** OpenOOH child ID. */
|
|
31763
|
+
child_id?: number;
|
|
31758
31764
|
context_notes?: string;
|
|
31759
31765
|
environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
|
|
31766
|
+
/** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
|
|
31767
|
+
grandchild_id?: number;
|
|
31768
|
+
/** OpenOOH parent ID. Must match a supplied child or grandchild. */
|
|
31769
|
+
parent_id?: number;
|
|
31760
31770
|
placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
|
|
31761
31771
|
/** Free text subcategory (may be auto-enriched by AI) */
|
|
31762
31772
|
subcategory?: string;
|
|
@@ -31898,10 +31908,16 @@ interface updateDeviceOperation {
|
|
|
31898
31908
|
business_name?: string;
|
|
31899
31909
|
/** 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
31910
|
category?: "retail" | "restaurant" | "bar" | "cafe" | "hotel" | "office" | "gym" | "hospital" | "school" | "mall" | "airport" | "gas_station" | "convenience_store" | "laundromat" | "salon" | "auto_shop" | "other";
|
|
31911
|
+
/** OpenOOH child ID. */
|
|
31912
|
+
child_id?: number;
|
|
31901
31913
|
context_notes?: string;
|
|
31902
31914
|
environment_type?: "indoor" | "outdoor" | "semi_outdoor" | "transit";
|
|
31915
|
+
/** OpenOOH grandchild ID. Its parent and child are resolved when omitted. */
|
|
31916
|
+
grandchild_id?: number;
|
|
31903
31917
|
/** Response-only. Canonical OpenOOH child id to reconcile the declared venue type against (e.g. 807 for hotels). */
|
|
31904
31918
|
openooh_venue_type_id?: number;
|
|
31919
|
+
/** OpenOOH parent ID. Must match a supplied child or grandchild. */
|
|
31920
|
+
parent_id?: number;
|
|
31905
31921
|
placement_type?: "digital_signage" | "point_of_sale" | "waiting_area" | "window_display" | "kiosk" | "other";
|
|
31906
31922
|
/** OpenOOH child slug (e.g. "hotels"). Free text on write; resolved on read. */
|
|
31907
31923
|
subcategory?: string;
|
|
@@ -32262,41 +32278,109 @@ interface registerDeviceV2Operation {
|
|
|
32262
32278
|
readonly path: "/v1/partner/devices";
|
|
32263
32279
|
readonly method: "POST";
|
|
32264
32280
|
request: {
|
|
32265
|
-
|
|
32281
|
+
description?: string;
|
|
32282
|
+
device_class?: "camera";
|
|
32283
|
+
/** Your device label for fleet management. */
|
|
32284
|
+
device_type?: "tv" | "tablet" | "display" | "kiosk" | "other" | "mobile" | "connected_tv" | "digital_signage" | "vending_machine";
|
|
32285
|
+
/** Actual physical or pixel dimensions. In inches mode, you can also send the real pixel width and height together. */
|
|
32266
32286
|
display?: {
|
|
32267
|
-
|
|
32287
|
+
height?: number;
|
|
32268
32288
|
height_in: number;
|
|
32269
32289
|
mode: "inches";
|
|
32270
|
-
|
|
32290
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32291
|
+
width?: number;
|
|
32271
32292
|
width_in: number;
|
|
32272
32293
|
} | {
|
|
32273
32294
|
height: number;
|
|
32274
32295
|
mode: "pixels_with_ppi";
|
|
32296
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32275
32297
|
ppi: number;
|
|
32276
32298
|
width: number;
|
|
32277
32299
|
} | {
|
|
32278
32300
|
height: number;
|
|
32279
32301
|
mode: "pixels_only";
|
|
32302
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32280
32303
|
width: number;
|
|
32281
32304
|
};
|
|
32305
|
+
display_settings?: {
|
|
32306
|
+
content_fit?: {
|
|
32307
|
+
advertisements?: "fit" | "fill";
|
|
32308
|
+
default_streams?: "fit" | "fill";
|
|
32309
|
+
self_promo?: "fit" | "fill";
|
|
32310
|
+
};
|
|
32311
|
+
};
|
|
32282
32312
|
/** Your stable per-device identifier (e.g. "REC00005"). */
|
|
32283
32313
|
external_id: string;
|
|
32284
|
-
/**
|
|
32314
|
+
/** Actual hardware and operating system details. */
|
|
32285
32315
|
hardware?: {
|
|
32316
|
+
hwv?: string;
|
|
32286
32317
|
make?: string;
|
|
32287
32318
|
model?: string;
|
|
32288
32319
|
os?: "Android" | "iOS" | "Tizen" | "WebOS" | "Linux" | "FireOS" | "Other";
|
|
32289
32320
|
osv?: string;
|
|
32290
32321
|
};
|
|
32291
|
-
/**
|
|
32322
|
+
/** Actual installation address and coordinates. You may provide both. If providing coordinates, send both latitude and longitude. */
|
|
32292
32323
|
location?: {
|
|
32293
|
-
|
|
32294
|
-
|
|
32295
|
-
|
|
32296
|
-
|
|
32324
|
+
address?: string;
|
|
32325
|
+
city?: string;
|
|
32326
|
+
/** ISO 3166-1 alpha-2 or alpha-3. */
|
|
32327
|
+
country?: string;
|
|
32328
|
+
lat?: number;
|
|
32329
|
+
lng?: number;
|
|
32330
|
+
state?: string;
|
|
32331
|
+
timezone?: string;
|
|
32332
|
+
/** Alternate input for the actual host business name. */
|
|
32333
|
+
venue_name?: string;
|
|
32334
|
+
/** Legacy alias for a venue slug. */
|
|
32335
|
+
venue_type?: string;
|
|
32336
|
+
zip?: string;
|
|
32337
|
+
};
|
|
32338
|
+
mobile_settings?: {
|
|
32339
|
+
distance_threshold_meters?: number;
|
|
32340
|
+
enabled?: boolean;
|
|
32341
|
+
update_interval_seconds?: number;
|
|
32342
|
+
vehicle_type?: "taxi" | "rideshare" | "delivery" | "bus" | "food_truck" | "other";
|
|
32297
32343
|
};
|
|
32344
|
+
mobility_type?: "static" | "mobile" | "semi_mobile";
|
|
32345
|
+
/** Device display name. Use venue.business_name for the actual host. */
|
|
32346
|
+
name?: string;
|
|
32347
|
+
/** Schedule for the physical display. For a daily window, include both start_time and end_time in local time. */
|
|
32348
|
+
operating_hours?: {
|
|
32349
|
+
active_from?: string;
|
|
32350
|
+
active_until?: string;
|
|
32351
|
+
end_time?: string;
|
|
32352
|
+
mode: "always_on" | "daily_window";
|
|
32353
|
+
start_time?: string;
|
|
32354
|
+
timezone: string;
|
|
32355
|
+
};
|
|
32356
|
+
/** An HTTP or HTTPS photo of this actual installation. */
|
|
32357
|
+
photo_url?: string;
|
|
32358
|
+
photos?: Array<{
|
|
32359
|
+
type?: string;
|
|
32360
|
+
url: string;
|
|
32361
|
+
}>;
|
|
32362
|
+
placement?: {
|
|
32363
|
+
height_from_floor_ft?: number;
|
|
32364
|
+
mounting_type?: "wall" | "ceiling" | "tabletop" | "window" | "stand" | "freestanding" | "floor_stand" | "counter" | "pole" | "vehicle" | "other" | "unknown";
|
|
32365
|
+
orientation?: "landscape" | "portrait" | "mixed" | "unknown";
|
|
32366
|
+
viewing_distance_ft?: number;
|
|
32367
|
+
};
|
|
32368
|
+
sensing_only?: boolean;
|
|
32298
32369
|
/** The device's real WebView User-Agent. Must include a Build fingerprint and be unique per device. */
|
|
32299
32370
|
ua: string;
|
|
32371
|
+
/** 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. */
|
|
32372
|
+
venue?: {
|
|
32373
|
+
/** The host business, such as the hotel containing the ATM. */
|
|
32374
|
+
business_name?: string;
|
|
32375
|
+
category?: string;
|
|
32376
|
+
child_id?: number;
|
|
32377
|
+
context_notes?: string;
|
|
32378
|
+
environment_type?: "indoor" | "outdoor" | "transit" | "mixed";
|
|
32379
|
+
grandchild_id?: number;
|
|
32380
|
+
parent_id?: number;
|
|
32381
|
+
placement_type?: string;
|
|
32382
|
+
subcategory?: string;
|
|
32383
|
+
};
|
|
32300
32384
|
};
|
|
32301
32385
|
requestRequired?: true;
|
|
32302
32386
|
params: Record<string, unknown>;
|
|
@@ -32306,6 +32390,14 @@ interface registerDeviceV2Operation {
|
|
|
32306
32390
|
data?: {
|
|
32307
32391
|
device_id?: string;
|
|
32308
32392
|
diagnostics_url?: string;
|
|
32393
|
+
display?: {
|
|
32394
|
+
height?: number | null;
|
|
32395
|
+
height_in?: number | null;
|
|
32396
|
+
orientation?: string;
|
|
32397
|
+
ppi?: number | null;
|
|
32398
|
+
width?: number | null;
|
|
32399
|
+
width_in?: number | null;
|
|
32400
|
+
};
|
|
32309
32401
|
/** Paste into an iframe to start serving. */
|
|
32310
32402
|
embed_url?: string;
|
|
32311
32403
|
/** Server-derived canonical device identity. */
|
|
@@ -32318,6 +32410,38 @@ interface registerDeviceV2Operation {
|
|
|
32318
32410
|
os?: string | null;
|
|
32319
32411
|
osv?: string | null;
|
|
32320
32412
|
};
|
|
32413
|
+
location?: {
|
|
32414
|
+
address?: string | null;
|
|
32415
|
+
city?: string | null;
|
|
32416
|
+
country?: string | null;
|
|
32417
|
+
lat?: number | null;
|
|
32418
|
+
lng?: number | null;
|
|
32419
|
+
state?: string | null;
|
|
32420
|
+
timezone?: string | null;
|
|
32421
|
+
venue_name?: string | null;
|
|
32422
|
+
venue_type?: string | null;
|
|
32423
|
+
zip?: string | null;
|
|
32424
|
+
};
|
|
32425
|
+
location_capability?: PartnerLocationCapability;
|
|
32426
|
+
/** Readiness of the registered inventory data. */
|
|
32427
|
+
monetization_status?: "ready" | "limited" | "blocked";
|
|
32428
|
+
operating_hours?: Record<string, unknown> | null;
|
|
32429
|
+
requirements?: PartnerMonetizationRequirements;
|
|
32430
|
+
/** Server ID of the linked screen. */
|
|
32431
|
+
screen_id?: string;
|
|
32432
|
+
venue?: {
|
|
32433
|
+
business_name?: string | null;
|
|
32434
|
+
category?: string | null;
|
|
32435
|
+
child_id?: number | null;
|
|
32436
|
+
environment_type?: string | null;
|
|
32437
|
+
grandchild?: string | null;
|
|
32438
|
+
grandchild_id?: number | null;
|
|
32439
|
+
openooh_venue_type_id?: number | null;
|
|
32440
|
+
parent_id?: number | null;
|
|
32441
|
+
placement_type?: string | null;
|
|
32442
|
+
source?: string | null;
|
|
32443
|
+
subcategory?: string | null;
|
|
32444
|
+
};
|
|
32321
32445
|
};
|
|
32322
32446
|
success?: boolean;
|
|
32323
32447
|
};
|
|
@@ -32342,7 +32466,17 @@ interface registerDevicesBatchOperation {
|
|
|
32342
32466
|
location?: Record<string, unknown>;
|
|
32343
32467
|
name?: string;
|
|
32344
32468
|
placement?: Record<string, unknown>;
|
|
32345
|
-
venue?:
|
|
32469
|
+
venue?: {
|
|
32470
|
+
business_name?: string;
|
|
32471
|
+
category?: string;
|
|
32472
|
+
child_id?: number;
|
|
32473
|
+
context_notes?: string;
|
|
32474
|
+
environment_type?: string;
|
|
32475
|
+
grandchild_id?: number;
|
|
32476
|
+
parent_id?: number;
|
|
32477
|
+
placement_type?: string;
|
|
32478
|
+
subcategory?: string;
|
|
32479
|
+
};
|
|
32346
32480
|
}>;
|
|
32347
32481
|
};
|
|
32348
32482
|
requestRequired?: true;
|