@mediahub-bg/ott-objects 0.5.33 → 0.5.35

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 +0 -87
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediahub-bg/ott-objects",
3
- "version": "0.5.33",
3
+ "version": "0.5.35",
4
4
  "types": "web/types.d.ts",
5
5
  "files": [
6
6
  "web"
package/web/types.ts CHANGED
@@ -349,93 +349,6 @@ export interface PubChannel {
349
349
  changets: number /* uint64 */;
350
350
  profiles?: PubM3U8Profile[];
351
351
  }
352
- export interface ChannelUpdateRequest {
353
- id: string;
354
- access_mask?: string;
355
- category?: number /* int */;
356
- position?: number /* int */;
357
- view_mask_array?: string[];
358
- hideNoAccess?: boolean;
359
- recordTime?: number /* uint64 */;
360
- recBeginTS?: number /* int64 */;
361
- transcoding?: any /* bson.M */[];
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 */;
381
- epgInfo?: EPGInfoUpdate;
382
- profileGroups?: ProfileGroupUpdate[];
383
- images?: { [key: string]: string};
384
- monitoring?: ChanMon;
385
- }
386
- export interface ChannelStat {
387
- id: string;
388
- name: string;
389
- live: number /* int64 */;
390
- vod: number /* int64 */;
391
- total: number /* int64 */;
392
- livePercent: number /* float64 */;
393
- vodPercent: number /* float64 */;
394
- totalPercent: number /* float64 */;
395
- }
396
- export interface ChannelStatsResponse {
397
- sortField: string;
398
- begin: number /* int64 */;
399
- end: number /* int64 */;
400
- all: { [key: string]: number /* int64 */};
401
- chanStats: ChannelStat[];
402
- }
403
- /**
404
- * ChannelCloneRequest is the body for the channel-clone webhook endpoint.
405
- */
406
- export interface ChannelCloneRequest {
407
- newId?: string;
408
- }
409
- /**
410
- * EPGInfoUpdate carries the user-editable sub-fields of EPGInfo.
411
- * * LastUpdate, LastSync and Sums are server-managed and not included.
412
- */
413
- export interface EPGInfoUpdate {
414
- id?: number /* uint */;
415
- name?: string;
416
- type?: string;
417
- url?: string;
418
- customHeaders?: string[];
419
- }
420
- /**
421
- * ProfileGroupUpdate is the JSON-serialisable equivalent of M3U8ProfileGroup.
422
- * * M3U8ProfileGroup carries json:"-" on all fields to hide them from the
423
- * * client-facing API; this type is used only in admin update requests.
424
- */
425
- export interface ProfileGroupUpdate {
426
- type: string;
427
- regex?: string;
428
- profileIds: number /* int */[];
429
- name?: string;
430
- }
431
- export interface ChannelRPCRequest {
432
- cmd: string;
433
- args: string[];
434
- }
435
- export interface SchemaReportItem {
436
- valid: boolean;
437
- error?: string;
438
- }
439
352
 
440
353
  //////////
441
354
  // source: epgs_pub.go