@mediahub-bg/ott-objects 0.5.1 → 0.5.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/web/types.ts +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediahub-bg/ott-objects",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "types": "web/types.d.ts",
5
5
  "files": [
6
6
  "web"
package/web/types.ts CHANGED
@@ -380,6 +380,7 @@ export interface ChannelUpdateRequest {
380
380
  age?: number /* uint */;
381
381
  epgInfo?: EPGInfoUpdate;
382
382
  profileGroups?: ProfileGroupUpdate[];
383
+ images?: { [key: string]: string};
383
384
  }
384
385
  export interface ChannelStat {
385
386
  id: string;
@@ -615,11 +616,19 @@ export interface IAUserProfileChangePub {
615
616
  token: string;
616
617
  srcPort: number /* uint */;
617
618
  }
619
+ /**
620
+ * IAInternalUserLastContentPub is internal-only (the /internal metrics endpoint
621
+ * * and the admin/webhook user-logs export); it is never returned to clients, so
622
+ * * it may carry diagnostic fields such as address, userAgent and server.
623
+ */
618
624
  export interface IAInternalUserLastContentPub {
619
625
  profile: string;
620
626
  token: string;
621
627
  lastLocalUpdate: number /* uint64 */;
622
628
  srcPort: number /* uint */;
629
+ address: string;
630
+ userAgent: string;
631
+ server: string;
623
632
  PubEPG: PubEPG;
624
633
  }
625
634
  export interface IAEPGStatsEntryPub {