@mediahub-bg/ott-objects 0.4.92 → 0.4.94

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 +24 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediahub-bg/ott-objects",
3
- "version": "0.4.92",
3
+ "version": "0.4.94",
4
4
  "types": "web/types.d.ts",
5
5
  "files": [
6
6
  "web"
package/web/types.ts CHANGED
@@ -360,6 +360,24 @@ export interface ChannelUpdateRequest {
360
360
  recBeginTS?: number /* int64 */;
361
361
  transcoding?: any /* bson.M */[];
362
362
  muxer?: any /* bson.M */[];
363
+ active?: boolean;
364
+ name?: string;
365
+ profiles?: M3U8Profile[];
366
+ transcoder?: string;
367
+ dbType?: string;
368
+ dbhost?: string;
369
+ dbport?: number /* uint */;
370
+ dbname?: string;
371
+ dbuser?: string;
372
+ dbpass?: string;
373
+ dbReplicaSet?: string;
374
+ chunkpath?: string;
375
+ tumblrpath?: string;
376
+ dbchunkprefix?: string;
377
+ dbtumblrprefix?: string;
378
+ adult?: boolean;
379
+ liveOnly?: boolean;
380
+ age?: number /* uint */;
363
381
  }
364
382
  export interface ChannelStat {
365
383
  id: string;
@@ -378,6 +396,12 @@ export interface ChannelStatsResponse {
378
396
  all: { [key: string]: number /* int64 */};
379
397
  chanStats: ChannelStat[];
380
398
  }
399
+ /**
400
+ * ChannelCloneRequest is the body for the channel-clone webhook endpoint.
401
+ */
402
+ export interface ChannelCloneRequest {
403
+ newId?: string;
404
+ }
381
405
  export interface ChannelRPCRequest {
382
406
  cmd: string;
383
407
  args: string[];