@norskvideo/norsk-api 1.0.363 → 1.0.365

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/lib/media_pb.ts CHANGED
@@ -5215,6 +5215,20 @@ export class FileWebVttInputConfiguration extends Message<FileWebVttInputConfigu
5215
5215
  */
5216
5216
  filename = "";
5217
5217
 
5218
+ /**
5219
+ * Language tag to associate with the stream (optional)
5220
+ *
5221
+ * @generated from field: string language = 4;
5222
+ */
5223
+ language = "";
5224
+
5225
+ /**
5226
+ * Rendition name to use (optional, default "default")
5227
+ *
5228
+ * @generated from field: norsk.api.media.RenditionName rendition_name = 5;
5229
+ */
5230
+ renditionName?: RenditionName;
5231
+
5218
5232
  constructor(data?: PartialMessage<FileWebVttInputConfiguration>) {
5219
5233
  super();
5220
5234
  proto3.util.initPartial(data, this);
@@ -5226,6 +5240,8 @@ export class FileWebVttInputConfiguration extends Message<FileWebVttInputConfigu
5226
5240
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
5227
5241
  { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5228
5242
  { no: 3, name: "filename", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5243
+ { no: 4, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5244
+ { no: 5, name: "rendition_name", kind: "message", T: RenditionName },
5229
5245
  ]);
5230
5246
 
5231
5247
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttInputConfiguration {
@@ -5295,6 +5311,216 @@ export class FileWebVttInputEvent extends Message<FileWebVttInputEvent> {
5295
5311
  }
5296
5312
  }
5297
5313
 
5314
+ /**
5315
+ * @generated from message norsk.api.media.StreamWebVttInputMessage
5316
+ */
5317
+ export class StreamWebVttInputMessage extends Message<StreamWebVttInputMessage> {
5318
+ /**
5319
+ * @generated from oneof norsk.api.media.StreamWebVttInputMessage.message
5320
+ */
5321
+ message: {
5322
+ /**
5323
+ * @generated from field: norsk.api.media.StreamWebVttInputConfiguration initial_config = 1;
5324
+ */
5325
+ value: StreamWebVttInputConfiguration;
5326
+ case: "initialConfig";
5327
+ } | {
5328
+ /**
5329
+ * @generated from field: string vtt_chunk = 2;
5330
+ */
5331
+ value: string;
5332
+ case: "vttChunk";
5333
+ } | {
5334
+ /**
5335
+ * @generated from field: norsk.api.media.TimestampNudge nudge = 3;
5336
+ */
5337
+ value: TimestampNudge;
5338
+ case: "nudge";
5339
+ } | { case: undefined; value?: undefined } = { case: undefined };
5340
+
5341
+ constructor(data?: PartialMessage<StreamWebVttInputMessage>) {
5342
+ super();
5343
+ proto3.util.initPartial(data, this);
5344
+ }
5345
+
5346
+ static readonly runtime = proto3;
5347
+ static readonly typeName = "norsk.api.media.StreamWebVttInputMessage";
5348
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
5349
+ { no: 1, name: "initial_config", kind: "message", T: StreamWebVttInputConfiguration, oneof: "message" },
5350
+ { no: 2, name: "vtt_chunk", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" },
5351
+ { no: 3, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
5352
+ ]);
5353
+
5354
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamWebVttInputMessage {
5355
+ return new StreamWebVttInputMessage().fromBinary(bytes, options);
5356
+ }
5357
+
5358
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamWebVttInputMessage {
5359
+ return new StreamWebVttInputMessage().fromJson(jsonValue, options);
5360
+ }
5361
+
5362
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamWebVttInputMessage {
5363
+ return new StreamWebVttInputMessage().fromJsonString(jsonString, options);
5364
+ }
5365
+
5366
+ static equals(a: StreamWebVttInputMessage | PlainMessage<StreamWebVttInputMessage> | undefined, b: StreamWebVttInputMessage | PlainMessage<StreamWebVttInputMessage> | undefined): boolean {
5367
+ return proto3.util.equals(StreamWebVttInputMessage, a, b);
5368
+ }
5369
+ }
5370
+
5371
+ /**
5372
+ * @generated from message norsk.api.media.StreamWebVttInputConfiguration
5373
+ */
5374
+ export class StreamWebVttInputConfiguration extends Message<StreamWebVttInputConfiguration> {
5375
+ /**
5376
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
5377
+ */
5378
+ id?: MediaNodeId;
5379
+
5380
+ /**
5381
+ * @generated from field: string source_name = 2;
5382
+ */
5383
+ sourceName = "";
5384
+
5385
+ /**
5386
+ * Language tag to associate with the stream (optional)
5387
+ *
5388
+ * @generated from field: string language = 3;
5389
+ */
5390
+ language = "";
5391
+
5392
+ /**
5393
+ * Rendition name to use (optional, default "default")
5394
+ *
5395
+ * @generated from field: norsk.api.media.RenditionName rendition_name = 4;
5396
+ */
5397
+ renditionName?: RenditionName;
5398
+
5399
+ constructor(data?: PartialMessage<StreamWebVttInputConfiguration>) {
5400
+ super();
5401
+ proto3.util.initPartial(data, this);
5402
+ }
5403
+
5404
+ static readonly runtime = proto3;
5405
+ static readonly typeName = "norsk.api.media.StreamWebVttInputConfiguration";
5406
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
5407
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
5408
+ { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5409
+ { no: 3, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5410
+ { no: 4, name: "rendition_name", kind: "message", T: RenditionName },
5411
+ ]);
5412
+
5413
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamWebVttInputConfiguration {
5414
+ return new StreamWebVttInputConfiguration().fromBinary(bytes, options);
5415
+ }
5416
+
5417
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamWebVttInputConfiguration {
5418
+ return new StreamWebVttInputConfiguration().fromJson(jsonValue, options);
5419
+ }
5420
+
5421
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamWebVttInputConfiguration {
5422
+ return new StreamWebVttInputConfiguration().fromJsonString(jsonString, options);
5423
+ }
5424
+
5425
+ static equals(a: StreamWebVttInputConfiguration | PlainMessage<StreamWebVttInputConfiguration> | undefined, b: StreamWebVttInputConfiguration | PlainMessage<StreamWebVttInputConfiguration> | undefined): boolean {
5426
+ return proto3.util.equals(StreamWebVttInputConfiguration, a, b);
5427
+ }
5428
+ }
5429
+
5430
+ /**
5431
+ * @generated from message norsk.api.media.StreamWebVttError
5432
+ */
5433
+ export class StreamWebVttError extends Message<StreamWebVttError> {
5434
+ /**
5435
+ * @generated from field: string text = 1;
5436
+ */
5437
+ text = "";
5438
+
5439
+ constructor(data?: PartialMessage<StreamWebVttError>) {
5440
+ super();
5441
+ proto3.util.initPartial(data, this);
5442
+ }
5443
+
5444
+ static readonly runtime = proto3;
5445
+ static readonly typeName = "norsk.api.media.StreamWebVttError";
5446
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
5447
+ { no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5448
+ ]);
5449
+
5450
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamWebVttError {
5451
+ return new StreamWebVttError().fromBinary(bytes, options);
5452
+ }
5453
+
5454
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamWebVttError {
5455
+ return new StreamWebVttError().fromJson(jsonValue, options);
5456
+ }
5457
+
5458
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamWebVttError {
5459
+ return new StreamWebVttError().fromJsonString(jsonString, options);
5460
+ }
5461
+
5462
+ static equals(a: StreamWebVttError | PlainMessage<StreamWebVttError> | undefined, b: StreamWebVttError | PlainMessage<StreamWebVttError> | undefined): boolean {
5463
+ return proto3.util.equals(StreamWebVttError, a, b);
5464
+ }
5465
+ }
5466
+
5467
+ /**
5468
+ * @generated from message norsk.api.media.StreamWebVttInputEvent
5469
+ */
5470
+ export class StreamWebVttInputEvent extends Message<StreamWebVttInputEvent> {
5471
+ /**
5472
+ * @generated from oneof norsk.api.media.StreamWebVttInputEvent.message
5473
+ */
5474
+ message: {
5475
+ /**
5476
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
5477
+ */
5478
+ value: MediaNodeId;
5479
+ case: "nodeId";
5480
+ } | {
5481
+ /**
5482
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
5483
+ */
5484
+ value: Context;
5485
+ case: "outboundContext";
5486
+ } | {
5487
+ /**
5488
+ * @generated from field: norsk.api.media.StreamWebVttError error = 3;
5489
+ */
5490
+ value: StreamWebVttError;
5491
+ case: "error";
5492
+ } | { case: undefined; value?: undefined } = { case: undefined };
5493
+
5494
+ constructor(data?: PartialMessage<StreamWebVttInputEvent>) {
5495
+ super();
5496
+ proto3.util.initPartial(data, this);
5497
+ }
5498
+
5499
+ static readonly runtime = proto3;
5500
+ static readonly typeName = "norsk.api.media.StreamWebVttInputEvent";
5501
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
5502
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
5503
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
5504
+ { no: 3, name: "error", kind: "message", T: StreamWebVttError, oneof: "message" },
5505
+ ]);
5506
+
5507
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamWebVttInputEvent {
5508
+ return new StreamWebVttInputEvent().fromBinary(bytes, options);
5509
+ }
5510
+
5511
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamWebVttInputEvent {
5512
+ return new StreamWebVttInputEvent().fromJson(jsonValue, options);
5513
+ }
5514
+
5515
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamWebVttInputEvent {
5516
+ return new StreamWebVttInputEvent().fromJsonString(jsonString, options);
5517
+ }
5518
+
5519
+ static equals(a: StreamWebVttInputEvent | PlainMessage<StreamWebVttInputEvent> | undefined, b: StreamWebVttInputEvent | PlainMessage<StreamWebVttInputEvent> | undefined): boolean {
5520
+ return proto3.util.equals(StreamWebVttInputEvent, a, b);
5521
+ }
5522
+ }
5523
+
5298
5524
  /**
5299
5525
  * @generated from message norsk.api.media.SrtInputConfiguration
5300
5526
  */
@@ -23726,6 +23952,80 @@ export class StreamConditionConfiguration extends Message<StreamConditionConfigu
23726
23952
  }
23727
23953
  }
23728
23954
 
23955
+ /**
23956
+ * @generated from message norsk.api.media.StreamConditionSpliceOut
23957
+ */
23958
+ export class StreamConditionSpliceOut extends Message<StreamConditionSpliceOut> {
23959
+ /**
23960
+ * @generated from field: norsk.api.media.Interval pts = 1;
23961
+ */
23962
+ pts?: Interval;
23963
+
23964
+ constructor(data?: PartialMessage<StreamConditionSpliceOut>) {
23965
+ super();
23966
+ proto3.util.initPartial(data, this);
23967
+ }
23968
+
23969
+ static readonly runtime = proto3;
23970
+ static readonly typeName = "norsk.api.media.StreamConditionSpliceOut";
23971
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23972
+ { no: 1, name: "pts", kind: "message", T: Interval },
23973
+ ]);
23974
+
23975
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionSpliceOut {
23976
+ return new StreamConditionSpliceOut().fromBinary(bytes, options);
23977
+ }
23978
+
23979
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionSpliceOut {
23980
+ return new StreamConditionSpliceOut().fromJson(jsonValue, options);
23981
+ }
23982
+
23983
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionSpliceOut {
23984
+ return new StreamConditionSpliceOut().fromJsonString(jsonString, options);
23985
+ }
23986
+
23987
+ static equals(a: StreamConditionSpliceOut | PlainMessage<StreamConditionSpliceOut> | undefined, b: StreamConditionSpliceOut | PlainMessage<StreamConditionSpliceOut> | undefined): boolean {
23988
+ return proto3.util.equals(StreamConditionSpliceOut, a, b);
23989
+ }
23990
+ }
23991
+
23992
+ /**
23993
+ * @generated from message norsk.api.media.StreamConditionSpliceIn
23994
+ */
23995
+ export class StreamConditionSpliceIn extends Message<StreamConditionSpliceIn> {
23996
+ /**
23997
+ * @generated from field: norsk.api.media.Interval pts = 1;
23998
+ */
23999
+ pts?: Interval;
24000
+
24001
+ constructor(data?: PartialMessage<StreamConditionSpliceIn>) {
24002
+ super();
24003
+ proto3.util.initPartial(data, this);
24004
+ }
24005
+
24006
+ static readonly runtime = proto3;
24007
+ static readonly typeName = "norsk.api.media.StreamConditionSpliceIn";
24008
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
24009
+ { no: 1, name: "pts", kind: "message", T: Interval },
24010
+ ]);
24011
+
24012
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionSpliceIn {
24013
+ return new StreamConditionSpliceIn().fromBinary(bytes, options);
24014
+ }
24015
+
24016
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionSpliceIn {
24017
+ return new StreamConditionSpliceIn().fromJson(jsonValue, options);
24018
+ }
24019
+
24020
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionSpliceIn {
24021
+ return new StreamConditionSpliceIn().fromJsonString(jsonString, options);
24022
+ }
24023
+
24024
+ static equals(a: StreamConditionSpliceIn | PlainMessage<StreamConditionSpliceIn> | undefined, b: StreamConditionSpliceIn | PlainMessage<StreamConditionSpliceIn> | undefined): boolean {
24025
+ return proto3.util.equals(StreamConditionSpliceIn, a, b);
24026
+ }
24027
+ }
24028
+
23729
24029
  /**
23730
24030
  * @generated from message norsk.api.media.StreamConditionMessage
23731
24031
  */
@@ -23745,6 +24045,18 @@ export class StreamConditionMessage extends Message<StreamConditionMessage> {
23745
24045
  */
23746
24046
  value: Subscription;
23747
24047
  case: "subscription";
24048
+ } | {
24049
+ /**
24050
+ * @generated from field: norsk.api.media.StreamConditionSpliceOut splice_out = 3;
24051
+ */
24052
+ value: StreamConditionSpliceOut;
24053
+ case: "spliceOut";
24054
+ } | {
24055
+ /**
24056
+ * @generated from field: norsk.api.media.StreamConditionSpliceOut splice_in = 4;
24057
+ */
24058
+ value: StreamConditionSpliceOut;
24059
+ case: "spliceIn";
23748
24060
  } | { case: undefined; value?: undefined } = { case: undefined };
23749
24061
 
23750
24062
  constructor(data?: PartialMessage<StreamConditionMessage>) {
@@ -23757,6 +24069,8 @@ export class StreamConditionMessage extends Message<StreamConditionMessage> {
23757
24069
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
23758
24070
  { no: 1, name: "initial_config", kind: "message", T: StreamConditionConfiguration, oneof: "message" },
23759
24071
  { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
24072
+ { no: 3, name: "splice_out", kind: "message", T: StreamConditionSpliceOut, oneof: "message" },
24073
+ { no: 4, name: "splice_in", kind: "message", T: StreamConditionSpliceOut, oneof: "message" },
23760
24074
  ]);
23761
24075
 
23762
24076
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionMessage {
@@ -25274,291 +25588,598 @@ export class Scte35SegmentationComponent extends Message<Scte35SegmentationCompo
25274
25588
 
25275
25589
  /**
25276
25590
  * ////////////////////////////////////////////////////////////////////////////
25277
- * FrameStore
25591
+ * MediaStore
25278
25592
  *
25279
- * @generated from message norsk.api.media.FrameStoreExpiry
25593
+ * @generated from message norsk.api.media.MediaStoreStreamVersion
25280
25594
  */
25281
- export class FrameStoreExpiry extends Message<FrameStoreExpiry> {
25595
+ export class MediaStoreStreamVersion extends Message<MediaStoreStreamVersion> {
25282
25596
  /**
25283
- * @generated from oneof norsk.api.media.FrameStoreExpiry.message
25597
+ * @generated from field: int32 version_num = 1;
25284
25598
  */
25285
- message: {
25286
- /**
25287
- * @generated from field: uint32 by_size = 1;
25288
- */
25289
- value: number;
25290
- case: "bySize";
25291
- } | {
25292
- /**
25293
- * @generated from field: uint32 by_duration = 2;
25294
- */
25295
- value: number;
25296
- case: "byDuration";
25297
- } | { case: undefined; value?: undefined } = { case: undefined };
25599
+ versionNum = 0;
25600
+
25601
+ /**
25602
+ * @generated from field: norsk.api.media.StreamMetadata metadata = 2;
25603
+ */
25604
+ metadata?: StreamMetadata;
25298
25605
 
25299
- constructor(data?: PartialMessage<FrameStoreExpiry>) {
25606
+ /**
25607
+ * @generated from field: google.protobuf.Timestamp start_date_time = 3;
25608
+ */
25609
+ startDateTime?: Timestamp;
25610
+
25611
+ /**
25612
+ * @generated from field: uint64 duration_ms = 4;
25613
+ */
25614
+ durationMs = protoInt64.zero;
25615
+
25616
+ /**
25617
+ * @generated from field: bool active = 5;
25618
+ */
25619
+ active = false;
25620
+
25621
+ constructor(data?: PartialMessage<MediaStoreStreamVersion>) {
25300
25622
  super();
25301
25623
  proto3.util.initPartial(data, this);
25302
25624
  }
25303
25625
 
25304
25626
  static readonly runtime = proto3;
25305
- static readonly typeName = "norsk.api.media.FrameStoreExpiry";
25627
+ static readonly typeName = "norsk.api.media.MediaStoreStreamVersion";
25306
25628
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25307
- { no: 1, name: "by_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
25308
- { no: 2, name: "by_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
25629
+ { no: 1, name: "version_num", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
25630
+ { no: 2, name: "metadata", kind: "message", T: StreamMetadata },
25631
+ { no: 3, name: "start_date_time", kind: "message", T: Timestamp },
25632
+ { no: 4, name: "duration_ms", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
25633
+ { no: 5, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
25309
25634
  ]);
25310
25635
 
25311
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreExpiry {
25312
- return new FrameStoreExpiry().fromBinary(bytes, options);
25636
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreStreamVersion {
25637
+ return new MediaStoreStreamVersion().fromBinary(bytes, options);
25313
25638
  }
25314
25639
 
25315
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreExpiry {
25316
- return new FrameStoreExpiry().fromJson(jsonValue, options);
25640
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreStreamVersion {
25641
+ return new MediaStoreStreamVersion().fromJson(jsonValue, options);
25317
25642
  }
25318
25643
 
25319
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreExpiry {
25320
- return new FrameStoreExpiry().fromJsonString(jsonString, options);
25644
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreStreamVersion {
25645
+ return new MediaStoreStreamVersion().fromJsonString(jsonString, options);
25321
25646
  }
25322
25647
 
25323
- static equals(a: FrameStoreExpiry | PlainMessage<FrameStoreExpiry> | undefined, b: FrameStoreExpiry | PlainMessage<FrameStoreExpiry> | undefined): boolean {
25324
- return proto3.util.equals(FrameStoreExpiry, a, b);
25648
+ static equals(a: MediaStoreStreamVersion | PlainMessage<MediaStoreStreamVersion> | undefined, b: MediaStoreStreamVersion | PlainMessage<MediaStoreStreamVersion> | undefined): boolean {
25649
+ return proto3.util.equals(MediaStoreStreamVersion, a, b);
25325
25650
  }
25326
25651
  }
25327
25652
 
25328
25653
  /**
25329
- * @generated from message norsk.api.media.FrameStoreRecorderConfiguration
25654
+ * @generated from message norsk.api.media.MediaStoreStream
25330
25655
  */
25331
- export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderConfiguration> {
25332
- /**
25333
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
25334
- */
25335
- id?: MediaNodeId;
25336
-
25337
- /**
25338
- * @generated from field: string name = 2;
25339
- */
25340
- name = "";
25341
-
25342
- /**
25343
- * @generated from field: string path = 3;
25344
- */
25345
- path = "";
25346
-
25656
+ export class MediaStoreStream extends Message<MediaStoreStream> {
25347
25657
  /**
25348
- * @generated from field: uint32 chunk_file_duration_seconds = 4;
25658
+ * @generated from field: norsk.api.media.StreamKey stream_key = 1;
25349
25659
  */
25350
- chunkFileDurationSeconds = 0;
25660
+ streamKey?: StreamKey;
25351
25661
 
25352
25662
  /**
25353
- * @generated from field: norsk.api.media.FrameStoreExpiry expiry = 5;
25663
+ * @generated from field: repeated norsk.api.media.MediaStoreStreamVersion versions = 2;
25354
25664
  */
25355
- expiry?: FrameStoreExpiry;
25665
+ versions: MediaStoreStreamVersion[] = [];
25356
25666
 
25357
- constructor(data?: PartialMessage<FrameStoreRecorderConfiguration>) {
25667
+ constructor(data?: PartialMessage<MediaStoreStream>) {
25358
25668
  super();
25359
25669
  proto3.util.initPartial(data, this);
25360
25670
  }
25361
25671
 
25362
25672
  static readonly runtime = proto3;
25363
- static readonly typeName = "norsk.api.media.FrameStoreRecorderConfiguration";
25673
+ static readonly typeName = "norsk.api.media.MediaStoreStream";
25364
25674
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25365
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
25675
+ { no: 1, name: "stream_key", kind: "message", T: StreamKey },
25676
+ { no: 2, name: "versions", kind: "message", T: MediaStoreStreamVersion, repeated: true },
25677
+ ]);
25678
+
25679
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreStream {
25680
+ return new MediaStoreStream().fromBinary(bytes, options);
25681
+ }
25682
+
25683
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreStream {
25684
+ return new MediaStoreStream().fromJson(jsonValue, options);
25685
+ }
25686
+
25687
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreStream {
25688
+ return new MediaStoreStream().fromJsonString(jsonString, options);
25689
+ }
25690
+
25691
+ static equals(a: MediaStoreStream | PlainMessage<MediaStoreStream> | undefined, b: MediaStoreStream | PlainMessage<MediaStoreStream> | undefined): boolean {
25692
+ return proto3.util.equals(MediaStoreStream, a, b);
25693
+ }
25694
+ }
25695
+
25696
+ /**
25697
+ * @generated from message norsk.api.media.MediaStoreSession
25698
+ */
25699
+ export class MediaStoreSession extends Message<MediaStoreSession> {
25700
+ /**
25701
+ * @generated from field: int32 session_num = 1;
25702
+ */
25703
+ sessionNum = 0;
25704
+
25705
+ /**
25706
+ * @generated from field: repeated norsk.api.media.MediaStoreStream streams = 2;
25707
+ */
25708
+ streams: MediaStoreStream[] = [];
25709
+
25710
+ constructor(data?: PartialMessage<MediaStoreSession>) {
25711
+ super();
25712
+ proto3.util.initPartial(data, this);
25713
+ }
25714
+
25715
+ static readonly runtime = proto3;
25716
+ static readonly typeName = "norsk.api.media.MediaStoreSession";
25717
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25718
+ { no: 1, name: "session_num", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
25719
+ { no: 2, name: "streams", kind: "message", T: MediaStoreStream, repeated: true },
25720
+ ]);
25721
+
25722
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSession {
25723
+ return new MediaStoreSession().fromBinary(bytes, options);
25724
+ }
25725
+
25726
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSession {
25727
+ return new MediaStoreSession().fromJson(jsonValue, options);
25728
+ }
25729
+
25730
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSession {
25731
+ return new MediaStoreSession().fromJsonString(jsonString, options);
25732
+ }
25733
+
25734
+ static equals(a: MediaStoreSession | PlainMessage<MediaStoreSession> | undefined, b: MediaStoreSession | PlainMessage<MediaStoreSession> | undefined): boolean {
25735
+ return proto3.util.equals(MediaStoreSession, a, b);
25736
+ }
25737
+ }
25738
+
25739
+ /**
25740
+ * @generated from message norsk.api.media.MediaStoreMetadataRequest
25741
+ */
25742
+ export class MediaStoreMetadataRequest extends Message<MediaStoreMetadataRequest> {
25743
+ /**
25744
+ * @generated from field: string media_store_name = 1;
25745
+ */
25746
+ mediaStoreName = "";
25747
+
25748
+ constructor(data?: PartialMessage<MediaStoreMetadataRequest>) {
25749
+ super();
25750
+ proto3.util.initPartial(data, this);
25751
+ }
25752
+
25753
+ static readonly runtime = proto3;
25754
+ static readonly typeName = "norsk.api.media.MediaStoreMetadataRequest";
25755
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25756
+ { no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25757
+ ]);
25758
+
25759
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreMetadataRequest {
25760
+ return new MediaStoreMetadataRequest().fromBinary(bytes, options);
25761
+ }
25762
+
25763
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreMetadataRequest {
25764
+ return new MediaStoreMetadataRequest().fromJson(jsonValue, options);
25765
+ }
25766
+
25767
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreMetadataRequest {
25768
+ return new MediaStoreMetadataRequest().fromJsonString(jsonString, options);
25769
+ }
25770
+
25771
+ static equals(a: MediaStoreMetadataRequest | PlainMessage<MediaStoreMetadataRequest> | undefined, b: MediaStoreMetadataRequest | PlainMessage<MediaStoreMetadataRequest> | undefined): boolean {
25772
+ return proto3.util.equals(MediaStoreMetadataRequest, a, b);
25773
+ }
25774
+ }
25775
+
25776
+ /**
25777
+ * @generated from message norsk.api.media.MediaStoreMetadataResponse
25778
+ */
25779
+ export class MediaStoreMetadataResponse extends Message<MediaStoreMetadataResponse> {
25780
+ /**
25781
+ * @generated from field: repeated norsk.api.media.MediaStoreSession sessions = 1;
25782
+ */
25783
+ sessions: MediaStoreSession[] = [];
25784
+
25785
+ constructor(data?: PartialMessage<MediaStoreMetadataResponse>) {
25786
+ super();
25787
+ proto3.util.initPartial(data, this);
25788
+ }
25789
+
25790
+ static readonly runtime = proto3;
25791
+ static readonly typeName = "norsk.api.media.MediaStoreMetadataResponse";
25792
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25793
+ { no: 1, name: "sessions", kind: "message", T: MediaStoreSession, repeated: true },
25794
+ ]);
25795
+
25796
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreMetadataResponse {
25797
+ return new MediaStoreMetadataResponse().fromBinary(bytes, options);
25798
+ }
25799
+
25800
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreMetadataResponse {
25801
+ return new MediaStoreMetadataResponse().fromJson(jsonValue, options);
25802
+ }
25803
+
25804
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreMetadataResponse {
25805
+ return new MediaStoreMetadataResponse().fromJsonString(jsonString, options);
25806
+ }
25807
+
25808
+ static equals(a: MediaStoreMetadataResponse | PlainMessage<MediaStoreMetadataResponse> | undefined, b: MediaStoreMetadataResponse | PlainMessage<MediaStoreMetadataResponse> | undefined): boolean {
25809
+ return proto3.util.equals(MediaStoreMetadataResponse, a, b);
25810
+ }
25811
+ }
25812
+
25813
+ /**
25814
+ * @generated from message norsk.api.media.MediaStoreExpiry
25815
+ */
25816
+ export class MediaStoreExpiry extends Message<MediaStoreExpiry> {
25817
+ /**
25818
+ * @generated from oneof norsk.api.media.MediaStoreExpiry.message
25819
+ */
25820
+ message: {
25821
+ /**
25822
+ * @generated from field: uint32 by_size = 1;
25823
+ */
25824
+ value: number;
25825
+ case: "bySize";
25826
+ } | {
25827
+ /**
25828
+ * @generated from field: uint32 by_duration = 2;
25829
+ */
25830
+ value: number;
25831
+ case: "byDuration";
25832
+ } | { case: undefined; value?: undefined } = { case: undefined };
25833
+
25834
+ constructor(data?: PartialMessage<MediaStoreExpiry>) {
25835
+ super();
25836
+ proto3.util.initPartial(data, this);
25837
+ }
25838
+
25839
+ static readonly runtime = proto3;
25840
+ static readonly typeName = "norsk.api.media.MediaStoreExpiry";
25841
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25842
+ { no: 1, name: "by_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
25843
+ { no: 2, name: "by_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
25844
+ ]);
25845
+
25846
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreExpiry {
25847
+ return new MediaStoreExpiry().fromBinary(bytes, options);
25848
+ }
25849
+
25850
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreExpiry {
25851
+ return new MediaStoreExpiry().fromJson(jsonValue, options);
25852
+ }
25853
+
25854
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreExpiry {
25855
+ return new MediaStoreExpiry().fromJsonString(jsonString, options);
25856
+ }
25857
+
25858
+ static equals(a: MediaStoreExpiry | PlainMessage<MediaStoreExpiry> | undefined, b: MediaStoreExpiry | PlainMessage<MediaStoreExpiry> | undefined): boolean {
25859
+ return proto3.util.equals(MediaStoreExpiry, a, b);
25860
+ }
25861
+ }
25862
+
25863
+ /**
25864
+ * @generated from message norsk.api.media.MediaStoreRecorderConfiguration
25865
+ */
25866
+ export class MediaStoreRecorderConfiguration extends Message<MediaStoreRecorderConfiguration> {
25867
+ /**
25868
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
25869
+ */
25870
+ id?: MediaNodeId;
25871
+
25872
+ /**
25873
+ * @generated from field: string name = 2;
25874
+ */
25875
+ name = "";
25876
+
25877
+ /**
25878
+ * @generated from field: string path = 3;
25879
+ */
25880
+ path = "";
25881
+
25882
+ /**
25883
+ * @generated from field: uint32 chunk_file_duration_seconds = 4;
25884
+ */
25885
+ chunkFileDurationSeconds = 0;
25886
+
25887
+ /**
25888
+ * @generated from field: norsk.api.media.MediaStoreExpiry expiry = 5;
25889
+ */
25890
+ expiry?: MediaStoreExpiry;
25891
+
25892
+ constructor(data?: PartialMessage<MediaStoreRecorderConfiguration>) {
25893
+ super();
25894
+ proto3.util.initPartial(data, this);
25895
+ }
25896
+
25897
+ static readonly runtime = proto3;
25898
+ static readonly typeName = "norsk.api.media.MediaStoreRecorderConfiguration";
25899
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25900
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
25366
25901
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25367
25902
  { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25368
25903
  { no: 4, name: "chunk_file_duration_seconds", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
25369
- { no: 5, name: "expiry", kind: "message", T: FrameStoreExpiry },
25904
+ { no: 5, name: "expiry", kind: "message", T: MediaStoreExpiry },
25370
25905
  ]);
25371
25906
 
25372
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderConfiguration {
25373
- return new FrameStoreRecorderConfiguration().fromBinary(bytes, options);
25907
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreRecorderConfiguration {
25908
+ return new MediaStoreRecorderConfiguration().fromBinary(bytes, options);
25374
25909
  }
25375
25910
 
25376
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreRecorderConfiguration {
25377
- return new FrameStoreRecorderConfiguration().fromJson(jsonValue, options);
25911
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreRecorderConfiguration {
25912
+ return new MediaStoreRecorderConfiguration().fromJson(jsonValue, options);
25378
25913
  }
25379
25914
 
25380
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreRecorderConfiguration {
25381
- return new FrameStoreRecorderConfiguration().fromJsonString(jsonString, options);
25915
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderConfiguration {
25916
+ return new MediaStoreRecorderConfiguration().fromJsonString(jsonString, options);
25382
25917
  }
25383
25918
 
25384
- static equals(a: FrameStoreRecorderConfiguration | PlainMessage<FrameStoreRecorderConfiguration> | undefined, b: FrameStoreRecorderConfiguration | PlainMessage<FrameStoreRecorderConfiguration> | undefined): boolean {
25385
- return proto3.util.equals(FrameStoreRecorderConfiguration, a, b);
25919
+ static equals(a: MediaStoreRecorderConfiguration | PlainMessage<MediaStoreRecorderConfiguration> | undefined, b: MediaStoreRecorderConfiguration | PlainMessage<MediaStoreRecorderConfiguration> | undefined): boolean {
25920
+ return proto3.util.equals(MediaStoreRecorderConfiguration, a, b);
25386
25921
  }
25387
25922
  }
25388
25923
 
25389
25924
  /**
25390
- * @generated from message norsk.api.media.FrameStoreCutRequest
25925
+ * @generated from message norsk.api.media.StreamSelection
25391
25926
  */
25392
- export class FrameStoreCutRequest extends Message<FrameStoreCutRequest> {
25927
+ export class StreamSelection extends Message<StreamSelection> {
25393
25928
  /**
25394
- * @generated from field: string id = 1;
25929
+ * @generated from field: norsk.api.media.StreamKey source_stream_key = 1;
25395
25930
  */
25396
- id = "";
25931
+ sourceStreamKey?: StreamKey;
25932
+
25933
+ /**
25934
+ * @generated from field: norsk.api.media.StreamKey output_stream_key = 2;
25935
+ */
25936
+ outputStreamKey?: StreamKey;
25937
+
25938
+ constructor(data?: PartialMessage<StreamSelection>) {
25939
+ super();
25940
+ proto3.util.initPartial(data, this);
25941
+ }
25942
+
25943
+ static readonly runtime = proto3;
25944
+ static readonly typeName = "norsk.api.media.StreamSelection";
25945
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25946
+ { no: 1, name: "source_stream_key", kind: "message", T: StreamKey },
25947
+ { no: 2, name: "output_stream_key", kind: "message", T: StreamKey },
25948
+ ]);
25949
+
25950
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection {
25951
+ return new StreamSelection().fromBinary(bytes, options);
25952
+ }
25953
+
25954
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection {
25955
+ return new StreamSelection().fromJson(jsonValue, options);
25956
+ }
25397
25957
 
25958
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection {
25959
+ return new StreamSelection().fromJsonString(jsonString, options);
25960
+ }
25961
+
25962
+ static equals(a: StreamSelection | PlainMessage<StreamSelection> | undefined, b: StreamSelection | PlainMessage<StreamSelection> | undefined): boolean {
25963
+ return proto3.util.equals(StreamSelection, a, b);
25964
+ }
25965
+ }
25966
+
25967
+ /**
25968
+ * @generated from message norsk.api.media.SingleCut
25969
+ */
25970
+ export class SingleCut extends Message<SingleCut> {
25398
25971
  /**
25399
- * @generated from field: norsk.api.media.StreamSelection stream_selection = 2;
25972
+ * @generated from field: string media_store_name = 1;
25400
25973
  */
25401
- streamSelection?: StreamSelection;
25974
+ mediaStoreName = "";
25402
25975
 
25403
25976
  /**
25404
- * @generated from field: repeated norsk.api.media.SingleCut cuts = 3;
25977
+ * @generated from field: repeated norsk.api.media.StreamSelection stream_selection = 2;
25405
25978
  */
25406
- cuts: SingleCut[] = [];
25979
+ streamSelection: StreamSelection[] = [];
25980
+
25981
+ /**
25982
+ * @generated from field: google.protobuf.Timestamp start_date_time = 3;
25983
+ */
25984
+ startDateTime?: Timestamp;
25985
+
25986
+ /**
25987
+ * @generated from field: uint32 duration_ms = 4;
25988
+ */
25989
+ durationMs = 0;
25990
+
25991
+ /**
25992
+ * @generated from field: bool trim_partial_gops = 5;
25993
+ */
25994
+ trimPartialGops = false;
25995
+
25996
+ /**
25997
+ * @generated from field: norsk.api.common.OptionalInt session_num = 6;
25998
+ */
25999
+ sessionNum?: OptionalInt;
26000
+
26001
+ constructor(data?: PartialMessage<SingleCut>) {
26002
+ super();
26003
+ proto3.util.initPartial(data, this);
26004
+ }
26005
+
26006
+ static readonly runtime = proto3;
26007
+ static readonly typeName = "norsk.api.media.SingleCut";
26008
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26009
+ { no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26010
+ { no: 2, name: "stream_selection", kind: "message", T: StreamSelection, repeated: true },
26011
+ { no: 3, name: "start_date_time", kind: "message", T: Timestamp },
26012
+ { no: 4, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
26013
+ { no: 5, name: "trim_partial_gops", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26014
+ { no: 6, name: "session_num", kind: "message", T: OptionalInt },
26015
+ ]);
26016
+
26017
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SingleCut {
26018
+ return new SingleCut().fromBinary(bytes, options);
26019
+ }
26020
+
26021
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SingleCut {
26022
+ return new SingleCut().fromJson(jsonValue, options);
26023
+ }
26024
+
26025
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SingleCut {
26026
+ return new SingleCut().fromJsonString(jsonString, options);
26027
+ }
26028
+
26029
+ static equals(a: SingleCut | PlainMessage<SingleCut> | undefined, b: SingleCut | PlainMessage<SingleCut> | undefined): boolean {
26030
+ return proto3.util.equals(SingleCut, a, b);
26031
+ }
26032
+ }
25407
26033
 
26034
+ /**
26035
+ * @generated from message norsk.api.media.MediaStoreCutRequest
26036
+ */
26037
+ export class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
25408
26038
  /**
25409
- * @generated from field: bool trim_partial_segments = 4;
26039
+ * @generated from field: string id = 1;
25410
26040
  */
25411
- trimPartialSegments = false;
26041
+ id = "";
25412
26042
 
25413
26043
  /**
25414
- * @generated from field: string file_name = 5;
26044
+ * @generated from field: repeated norsk.api.media.SingleCut cuts = 2;
26045
+ */
26046
+ cuts: SingleCut[] = [];
26047
+
26048
+ /**
26049
+ * @generated from field: string file_name = 3;
25415
26050
  */
25416
26051
  fileName = "";
25417
26052
 
25418
26053
  /**
25419
- * @generated from field: norsk.api.media.FrameStoreCutRequest.FileFormat file_format = 6;
26054
+ * @generated from field: norsk.api.media.MediaStoreCutRequest.FileFormat file_format = 4;
25420
26055
  */
25421
- fileFormat = FrameStoreCutRequest_FileFormat.CUT_MP4;
26056
+ fileFormat = MediaStoreCutRequest_FileFormat.CUT_MP4;
25422
26057
 
25423
- constructor(data?: PartialMessage<FrameStoreCutRequest>) {
26058
+ constructor(data?: PartialMessage<MediaStoreCutRequest>) {
25424
26059
  super();
25425
26060
  proto3.util.initPartial(data, this);
25426
26061
  }
25427
26062
 
25428
26063
  static readonly runtime = proto3;
25429
- static readonly typeName = "norsk.api.media.FrameStoreCutRequest";
26064
+ static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
25430
26065
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25431
26066
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25432
- { no: 2, name: "stream_selection", kind: "message", T: StreamSelection },
25433
- { no: 3, name: "cuts", kind: "message", T: SingleCut, repeated: true },
25434
- { no: 4, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
25435
- { no: 5, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25436
- { no: 6, name: "file_format", kind: "enum", T: proto3.getEnumType(FrameStoreCutRequest_FileFormat) },
26067
+ { no: 2, name: "cuts", kind: "message", T: SingleCut, repeated: true },
26068
+ { no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26069
+ { no: 4, name: "file_format", kind: "enum", T: proto3.getEnumType(MediaStoreCutRequest_FileFormat) },
25437
26070
  ]);
25438
26071
 
25439
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutRequest {
25440
- return new FrameStoreCutRequest().fromBinary(bytes, options);
26072
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest {
26073
+ return new MediaStoreCutRequest().fromBinary(bytes, options);
25441
26074
  }
25442
26075
 
25443
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutRequest {
25444
- return new FrameStoreCutRequest().fromJson(jsonValue, options);
26076
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
26077
+ return new MediaStoreCutRequest().fromJson(jsonValue, options);
25445
26078
  }
25446
26079
 
25447
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutRequest {
25448
- return new FrameStoreCutRequest().fromJsonString(jsonString, options);
26080
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
26081
+ return new MediaStoreCutRequest().fromJsonString(jsonString, options);
25449
26082
  }
25450
26083
 
25451
- static equals(a: FrameStoreCutRequest | PlainMessage<FrameStoreCutRequest> | undefined, b: FrameStoreCutRequest | PlainMessage<FrameStoreCutRequest> | undefined): boolean {
25452
- return proto3.util.equals(FrameStoreCutRequest, a, b);
26084
+ static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean {
26085
+ return proto3.util.equals(MediaStoreCutRequest, a, b);
25453
26086
  }
25454
26087
  }
25455
26088
 
25456
26089
  /**
25457
- * @generated from enum norsk.api.media.FrameStoreCutRequest.FileFormat
26090
+ * @generated from enum norsk.api.media.MediaStoreCutRequest.FileFormat
25458
26091
  */
25459
- export enum FrameStoreCutRequest_FileFormat {
26092
+ export enum MediaStoreCutRequest_FileFormat {
25460
26093
  /**
25461
26094
  * @generated from enum value: CUT_MP4 = 0;
25462
26095
  */
25463
26096
  CUT_MP4 = 0,
25464
26097
  }
25465
- // Retrieve enum metadata with: proto3.getEnumType(FrameStoreCutRequest_FileFormat)
25466
- proto3.util.setEnumType(FrameStoreCutRequest_FileFormat, "norsk.api.media.FrameStoreCutRequest.FileFormat", [
26098
+ // Retrieve enum metadata with: proto3.getEnumType(MediaStoreCutRequest_FileFormat)
26099
+ proto3.util.setEnumType(MediaStoreCutRequest_FileFormat, "norsk.api.media.MediaStoreCutRequest.FileFormat", [
25467
26100
  { no: 0, name: "CUT_MP4" },
25468
26101
  ]);
25469
26102
 
25470
26103
  /**
25471
- * @generated from message norsk.api.media.FrameStoreCutProgress
26104
+ * @generated from message norsk.api.media.Progress
25472
26105
  */
25473
- export class FrameStoreCutProgress extends Message<FrameStoreCutProgress> {
26106
+ export class Progress extends Message<Progress> {
25474
26107
  /**
25475
- * @generated from field: string id = 1;
25476
- */
25477
- id = "";
25478
-
25479
- /**
25480
- * @generated from field: uint32 progress = 2;
26108
+ * @generated from field: uint32 progress = 1;
25481
26109
  */
25482
26110
  progress = 0;
25483
26111
 
25484
- constructor(data?: PartialMessage<FrameStoreCutProgress>) {
26112
+ constructor(data?: PartialMessage<Progress>) {
25485
26113
  super();
25486
26114
  proto3.util.initPartial(data, this);
25487
26115
  }
25488
26116
 
25489
26117
  static readonly runtime = proto3;
25490
- static readonly typeName = "norsk.api.media.FrameStoreCutProgress";
26118
+ static readonly typeName = "norsk.api.media.Progress";
25491
26119
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25492
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25493
- { no: 2, name: "progress", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
26120
+ { no: 1, name: "progress", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
25494
26121
  ]);
25495
26122
 
25496
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutProgress {
25497
- return new FrameStoreCutProgress().fromBinary(bytes, options);
26123
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Progress {
26124
+ return new Progress().fromBinary(bytes, options);
25498
26125
  }
25499
26126
 
25500
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutProgress {
25501
- return new FrameStoreCutProgress().fromJson(jsonValue, options);
26127
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Progress {
26128
+ return new Progress().fromJson(jsonValue, options);
25502
26129
  }
25503
26130
 
25504
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutProgress {
25505
- return new FrameStoreCutProgress().fromJsonString(jsonString, options);
26131
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Progress {
26132
+ return new Progress().fromJsonString(jsonString, options);
25506
26133
  }
25507
26134
 
25508
- static equals(a: FrameStoreCutProgress | PlainMessage<FrameStoreCutProgress> | undefined, b: FrameStoreCutProgress | PlainMessage<FrameStoreCutProgress> | undefined): boolean {
25509
- return proto3.util.equals(FrameStoreCutProgress, a, b);
26135
+ static equals(a: Progress | PlainMessage<Progress> | undefined, b: Progress | PlainMessage<Progress> | undefined): boolean {
26136
+ return proto3.util.equals(Progress, a, b);
25510
26137
  }
25511
26138
  }
25512
26139
 
25513
26140
  /**
25514
- * @generated from message norsk.api.media.FrameStoreCutComplete
26141
+ * @generated from message norsk.api.media.MediaStoreCutComplete
25515
26142
  */
25516
- export class FrameStoreCutComplete extends Message<FrameStoreCutComplete> {
25517
- /**
25518
- * @generated from field: string id = 1;
25519
- */
25520
- id = "";
25521
-
26143
+ export class MediaStoreCutComplete extends Message<MediaStoreCutComplete> {
25522
26144
  /**
25523
- * @generated from field: uint64 size = 2;
26145
+ * @generated from field: uint64 size = 1;
25524
26146
  */
25525
26147
  size = protoInt64.zero;
25526
26148
 
25527
- constructor(data?: PartialMessage<FrameStoreCutComplete>) {
26149
+ constructor(data?: PartialMessage<MediaStoreCutComplete>) {
25528
26150
  super();
25529
26151
  proto3.util.initPartial(data, this);
25530
26152
  }
25531
26153
 
25532
26154
  static readonly runtime = proto3;
25533
- static readonly typeName = "norsk.api.media.FrameStoreCutComplete";
26155
+ static readonly typeName = "norsk.api.media.MediaStoreCutComplete";
25534
26156
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25535
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25536
- { no: 2, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
26157
+ { no: 1, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
25537
26158
  ]);
25538
26159
 
25539
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutComplete {
25540
- return new FrameStoreCutComplete().fromBinary(bytes, options);
26160
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutComplete {
26161
+ return new MediaStoreCutComplete().fromBinary(bytes, options);
25541
26162
  }
25542
26163
 
25543
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutComplete {
25544
- return new FrameStoreCutComplete().fromJson(jsonValue, options);
26164
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutComplete {
26165
+ return new MediaStoreCutComplete().fromJson(jsonValue, options);
25545
26166
  }
25546
26167
 
25547
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutComplete {
25548
- return new FrameStoreCutComplete().fromJsonString(jsonString, options);
26168
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutComplete {
26169
+ return new MediaStoreCutComplete().fromJsonString(jsonString, options);
25549
26170
  }
25550
26171
 
25551
- static equals(a: FrameStoreCutComplete | PlainMessage<FrameStoreCutComplete> | undefined, b: FrameStoreCutComplete | PlainMessage<FrameStoreCutComplete> | undefined): boolean {
25552
- return proto3.util.equals(FrameStoreCutComplete, a, b);
26172
+ static equals(a: MediaStoreCutComplete | PlainMessage<MediaStoreCutComplete> | undefined, b: MediaStoreCutComplete | PlainMessage<MediaStoreCutComplete> | undefined): boolean {
26173
+ return proto3.util.equals(MediaStoreCutComplete, a, b);
25553
26174
  }
25554
26175
  }
25555
26176
 
25556
26177
  /**
25557
- * @generated from message norsk.api.media.FrameStoreRecorderMessage
26178
+ * @generated from message norsk.api.media.MediaStoreRecorderMessage
25558
26179
  */
25559
- export class FrameStoreRecorderMessage extends Message<FrameStoreRecorderMessage> {
26180
+ export class MediaStoreRecorderMessage extends Message<MediaStoreRecorderMessage> {
25560
26181
  /**
25561
- * @generated from oneof norsk.api.media.FrameStoreRecorderMessage.message
26182
+ * @generated from oneof norsk.api.media.MediaStoreRecorderMessage.message
25562
26183
  */
25563
26184
  message: {
25564
26185
  /**
@@ -25568,54 +26189,47 @@ export class FrameStoreRecorderMessage extends Message<FrameStoreRecorderMessage
25568
26189
  case: "subscription";
25569
26190
  } | {
25570
26191
  /**
25571
- * @generated from field: norsk.api.media.FrameStoreRecorderConfiguration configuration = 2;
26192
+ * @generated from field: norsk.api.media.MediaStoreRecorderConfiguration configuration = 2;
25572
26193
  */
25573
- value: FrameStoreRecorderConfiguration;
26194
+ value: MediaStoreRecorderConfiguration;
25574
26195
  case: "configuration";
25575
- } | {
25576
- /**
25577
- * @generated from field: norsk.api.media.FrameStoreCutRequest cut_request = 3;
25578
- */
25579
- value: FrameStoreCutRequest;
25580
- case: "cutRequest";
25581
26196
  } | { case: undefined; value?: undefined } = { case: undefined };
25582
26197
 
25583
- constructor(data?: PartialMessage<FrameStoreRecorderMessage>) {
26198
+ constructor(data?: PartialMessage<MediaStoreRecorderMessage>) {
25584
26199
  super();
25585
26200
  proto3.util.initPartial(data, this);
25586
26201
  }
25587
26202
 
25588
26203
  static readonly runtime = proto3;
25589
- static readonly typeName = "norsk.api.media.FrameStoreRecorderMessage";
26204
+ static readonly typeName = "norsk.api.media.MediaStoreRecorderMessage";
25590
26205
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25591
26206
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
25592
- { no: 2, name: "configuration", kind: "message", T: FrameStoreRecorderConfiguration, oneof: "message" },
25593
- { no: 3, name: "cut_request", kind: "message", T: FrameStoreCutRequest, oneof: "message" },
26207
+ { no: 2, name: "configuration", kind: "message", T: MediaStoreRecorderConfiguration, oneof: "message" },
25594
26208
  ]);
25595
26209
 
25596
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderMessage {
25597
- return new FrameStoreRecorderMessage().fromBinary(bytes, options);
26210
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreRecorderMessage {
26211
+ return new MediaStoreRecorderMessage().fromBinary(bytes, options);
25598
26212
  }
25599
26213
 
25600
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreRecorderMessage {
25601
- return new FrameStoreRecorderMessage().fromJson(jsonValue, options);
26214
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreRecorderMessage {
26215
+ return new MediaStoreRecorderMessage().fromJson(jsonValue, options);
25602
26216
  }
25603
26217
 
25604
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreRecorderMessage {
25605
- return new FrameStoreRecorderMessage().fromJsonString(jsonString, options);
26218
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderMessage {
26219
+ return new MediaStoreRecorderMessage().fromJsonString(jsonString, options);
25606
26220
  }
25607
26221
 
25608
- static equals(a: FrameStoreRecorderMessage | PlainMessage<FrameStoreRecorderMessage> | undefined, b: FrameStoreRecorderMessage | PlainMessage<FrameStoreRecorderMessage> | undefined): boolean {
25609
- return proto3.util.equals(FrameStoreRecorderMessage, a, b);
26222
+ static equals(a: MediaStoreRecorderMessage | PlainMessage<MediaStoreRecorderMessage> | undefined, b: MediaStoreRecorderMessage | PlainMessage<MediaStoreRecorderMessage> | undefined): boolean {
26223
+ return proto3.util.equals(MediaStoreRecorderMessage, a, b);
25610
26224
  }
25611
26225
  }
25612
26226
 
25613
26227
  /**
25614
- * @generated from message norsk.api.media.FrameStoreRecorderEvent
26228
+ * @generated from message norsk.api.media.MediaStoreRecorderEvent
25615
26229
  */
25616
- export class FrameStoreRecorderEvent extends Message<FrameStoreRecorderEvent> {
26230
+ export class MediaStoreRecorderEvent extends Message<MediaStoreRecorderEvent> {
25617
26231
  /**
25618
- * @generated from oneof norsk.api.media.FrameStoreRecorderEvent.message
26232
+ * @generated from oneof norsk.api.media.MediaStoreRecorderEvent.message
25619
26233
  */
25620
26234
  message: {
25621
26235
  /**
@@ -25635,304 +26249,297 @@ export class FrameStoreRecorderEvent extends Message<FrameStoreRecorderEvent> {
25635
26249
  */
25636
26250
  value: Context;
25637
26251
  case: "inboundContext";
25638
- } | {
25639
- /**
25640
- * @generated from field: norsk.api.media.FrameStoreCutProgress cut_progress = 4;
25641
- */
25642
- value: FrameStoreCutProgress;
25643
- case: "cutProgress";
25644
- } | {
25645
- /**
25646
- * @generated from field: norsk.api.media.FrameStoreCutComplete cut_complete = 5;
25647
- */
25648
- value: FrameStoreCutComplete;
25649
- case: "cutComplete";
25650
26252
  } | { case: undefined; value?: undefined } = { case: undefined };
25651
26253
 
25652
- constructor(data?: PartialMessage<FrameStoreRecorderEvent>) {
26254
+ constructor(data?: PartialMessage<MediaStoreRecorderEvent>) {
25653
26255
  super();
25654
26256
  proto3.util.initPartial(data, this);
25655
26257
  }
25656
26258
 
25657
26259
  static readonly runtime = proto3;
25658
- static readonly typeName = "norsk.api.media.FrameStoreRecorderEvent";
26260
+ static readonly typeName = "norsk.api.media.MediaStoreRecorderEvent";
25659
26261
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25660
26262
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
25661
26263
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
25662
26264
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
25663
- { no: 4, name: "cut_progress", kind: "message", T: FrameStoreCutProgress, oneof: "message" },
25664
- { no: 5, name: "cut_complete", kind: "message", T: FrameStoreCutComplete, oneof: "message" },
25665
26265
  ]);
25666
26266
 
25667
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderEvent {
25668
- return new FrameStoreRecorderEvent().fromBinary(bytes, options);
26267
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreRecorderEvent {
26268
+ return new MediaStoreRecorderEvent().fromBinary(bytes, options);
25669
26269
  }
25670
26270
 
25671
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreRecorderEvent {
25672
- return new FrameStoreRecorderEvent().fromJson(jsonValue, options);
26271
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreRecorderEvent {
26272
+ return new MediaStoreRecorderEvent().fromJson(jsonValue, options);
25673
26273
  }
25674
26274
 
25675
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreRecorderEvent {
25676
- return new FrameStoreRecorderEvent().fromJsonString(jsonString, options);
26275
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderEvent {
26276
+ return new MediaStoreRecorderEvent().fromJsonString(jsonString, options);
25677
26277
  }
25678
26278
 
25679
- static equals(a: FrameStoreRecorderEvent | PlainMessage<FrameStoreRecorderEvent> | undefined, b: FrameStoreRecorderEvent | PlainMessage<FrameStoreRecorderEvent> | undefined): boolean {
25680
- return proto3.util.equals(FrameStoreRecorderEvent, a, b);
26279
+ static equals(a: MediaStoreRecorderEvent | PlainMessage<MediaStoreRecorderEvent> | undefined, b: MediaStoreRecorderEvent | PlainMessage<MediaStoreRecorderEvent> | undefined): boolean {
26280
+ return proto3.util.equals(MediaStoreRecorderEvent, a, b);
25681
26281
  }
25682
26282
  }
25683
26283
 
25684
26284
  /**
25685
- * @generated from message norsk.api.media.SingleCut
26285
+ * @generated from message norsk.api.media.MediaStoreAssetSettings
25686
26286
  */
25687
- export class SingleCut extends Message<SingleCut> {
26287
+ export class MediaStoreAssetSettings extends Message<MediaStoreAssetSettings> {
25688
26288
  /**
25689
- * @generated from field: google.protobuf.Timestamp start_date_time = 1;
26289
+ * @generated from field: string media_store_name = 1;
25690
26290
  */
25691
- startDateTime?: Timestamp;
26291
+ mediaStoreName = "";
25692
26292
 
25693
26293
  /**
25694
- * @generated from field: uint32 duration_ms = 2;
26294
+ * @generated from field: string file_name = 2;
25695
26295
  */
25696
- durationMs = 0;
26296
+ fileName = "";
25697
26297
 
25698
26298
  /**
25699
- * @generated from field: norsk.api.common.OptionalInt session_num = 3;
26299
+ * @generated from field: string path = 3;
25700
26300
  */
25701
- sessionNum?: OptionalInt;
26301
+ path = "";
25702
26302
 
25703
- constructor(data?: PartialMessage<SingleCut>) {
26303
+ constructor(data?: PartialMessage<MediaStoreAssetSettings>) {
25704
26304
  super();
25705
26305
  proto3.util.initPartial(data, this);
25706
26306
  }
25707
26307
 
25708
26308
  static readonly runtime = proto3;
25709
- static readonly typeName = "norsk.api.media.SingleCut";
26309
+ static readonly typeName = "norsk.api.media.MediaStoreAssetSettings";
25710
26310
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25711
- { no: 1, name: "start_date_time", kind: "message", T: Timestamp },
25712
- { no: 2, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
25713
- { no: 3, name: "session_num", kind: "message", T: OptionalInt },
26311
+ { no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26312
+ { no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26313
+ { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25714
26314
  ]);
25715
26315
 
25716
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SingleCut {
25717
- return new SingleCut().fromBinary(bytes, options);
26316
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetSettings {
26317
+ return new MediaStoreAssetSettings().fromBinary(bytes, options);
25718
26318
  }
25719
26319
 
25720
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SingleCut {
25721
- return new SingleCut().fromJson(jsonValue, options);
26320
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetSettings {
26321
+ return new MediaStoreAssetSettings().fromJson(jsonValue, options);
25722
26322
  }
25723
26323
 
25724
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SingleCut {
25725
- return new SingleCut().fromJsonString(jsonString, options);
26324
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetSettings {
26325
+ return new MediaStoreAssetSettings().fromJsonString(jsonString, options);
25726
26326
  }
25727
26327
 
25728
- static equals(a: SingleCut | PlainMessage<SingleCut> | undefined, b: SingleCut | PlainMessage<SingleCut> | undefined): boolean {
25729
- return proto3.util.equals(SingleCut, a, b);
26328
+ static equals(a: MediaStoreAssetSettings | PlainMessage<MediaStoreAssetSettings> | undefined, b: MediaStoreAssetSettings | PlainMessage<MediaStoreAssetSettings> | undefined): boolean {
26329
+ return proto3.util.equals(MediaStoreAssetSettings, a, b);
25730
26330
  }
25731
26331
  }
25732
26332
 
25733
26333
  /**
25734
- * @generated from message norsk.api.media.StreamSelection
26334
+ * @generated from message norsk.api.media.MediaStoreAssetImportComplete
25735
26335
  */
25736
- export class StreamSelection extends Message<StreamSelection> {
26336
+ export class MediaStoreAssetImportComplete extends Message<MediaStoreAssetImportComplete> {
25737
26337
  /**
25738
- * @generated from oneof norsk.api.media.StreamSelection.stream_selection
26338
+ * @generated from field: uint64 duration_ms = 1;
25739
26339
  */
25740
- streamSelection: {
25741
- /**
25742
- * @generated from field: norsk.api.media.StreamSelection.All all = 1;
25743
- */
25744
- value: StreamSelection_All;
25745
- case: "all";
25746
- } | {
25747
- /**
25748
- * @generated from field: norsk.api.media.StreamSelection.Subset subset = 2;
25749
- */
25750
- value: StreamSelection_Subset;
25751
- case: "subset";
25752
- } | { case: undefined; value?: undefined } = { case: undefined };
26340
+ durationMs = protoInt64.zero;
25753
26341
 
25754
- constructor(data?: PartialMessage<StreamSelection>) {
26342
+ /**
26343
+ * @generated from field: uint64 size = 2;
26344
+ */
26345
+ size = protoInt64.zero;
26346
+
26347
+ constructor(data?: PartialMessage<MediaStoreAssetImportComplete>) {
25755
26348
  super();
25756
26349
  proto3.util.initPartial(data, this);
25757
26350
  }
25758
26351
 
25759
26352
  static readonly runtime = proto3;
25760
- static readonly typeName = "norsk.api.media.StreamSelection";
26353
+ static readonly typeName = "norsk.api.media.MediaStoreAssetImportComplete";
25761
26354
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25762
- { no: 1, name: "all", kind: "message", T: StreamSelection_All, oneof: "stream_selection" },
25763
- { no: 2, name: "subset", kind: "message", T: StreamSelection_Subset, oneof: "stream_selection" },
26355
+ { no: 1, name: "duration_ms", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
26356
+ { no: 2, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
25764
26357
  ]);
25765
26358
 
25766
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection {
25767
- return new StreamSelection().fromBinary(bytes, options);
26359
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetImportComplete {
26360
+ return new MediaStoreAssetImportComplete().fromBinary(bytes, options);
25768
26361
  }
25769
26362
 
25770
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection {
25771
- return new StreamSelection().fromJson(jsonValue, options);
26363
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetImportComplete {
26364
+ return new MediaStoreAssetImportComplete().fromJson(jsonValue, options);
25772
26365
  }
25773
26366
 
25774
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection {
25775
- return new StreamSelection().fromJsonString(jsonString, options);
26367
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetImportComplete {
26368
+ return new MediaStoreAssetImportComplete().fromJsonString(jsonString, options);
25776
26369
  }
25777
26370
 
25778
- static equals(a: StreamSelection | PlainMessage<StreamSelection> | undefined, b: StreamSelection | PlainMessage<StreamSelection> | undefined): boolean {
25779
- return proto3.util.equals(StreamSelection, a, b);
26371
+ static equals(a: MediaStoreAssetImportComplete | PlainMessage<MediaStoreAssetImportComplete> | undefined, b: MediaStoreAssetImportComplete | PlainMessage<MediaStoreAssetImportComplete> | undefined): boolean {
26372
+ return proto3.util.equals(MediaStoreAssetImportComplete, a, b);
25780
26373
  }
25781
26374
  }
25782
26375
 
25783
26376
  /**
25784
- * @generated from message norsk.api.media.StreamSelection.All
26377
+ * @generated from message norsk.api.media.MediaStoreAssetEvent
25785
26378
  */
25786
- export class StreamSelection_All extends Message<StreamSelection_All> {
25787
- constructor(data?: PartialMessage<StreamSelection_All>) {
26379
+ export class MediaStoreAssetEvent extends Message<MediaStoreAssetEvent> {
26380
+ /**
26381
+ * @generated from oneof norsk.api.media.MediaStoreAssetEvent.message
26382
+ */
26383
+ message: {
26384
+ /**
26385
+ * @generated from field: norsk.api.media.Progress import_progress = 1;
26386
+ */
26387
+ value: Progress;
26388
+ case: "importProgress";
26389
+ } | {
26390
+ /**
26391
+ * @generated from field: norsk.api.media.MediaStoreAssetImportComplete import_complete = 2;
26392
+ */
26393
+ value: MediaStoreAssetImportComplete;
26394
+ case: "importComplete";
26395
+ } | { case: undefined; value?: undefined } = { case: undefined };
26396
+
26397
+ constructor(data?: PartialMessage<MediaStoreAssetEvent>) {
25788
26398
  super();
25789
26399
  proto3.util.initPartial(data, this);
25790
26400
  }
25791
26401
 
25792
26402
  static readonly runtime = proto3;
25793
- static readonly typeName = "norsk.api.media.StreamSelection.All";
26403
+ static readonly typeName = "norsk.api.media.MediaStoreAssetEvent";
25794
26404
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26405
+ { no: 1, name: "import_progress", kind: "message", T: Progress, oneof: "message" },
26406
+ { no: 2, name: "import_complete", kind: "message", T: MediaStoreAssetImportComplete, oneof: "message" },
25795
26407
  ]);
25796
26408
 
25797
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection_All {
25798
- return new StreamSelection_All().fromBinary(bytes, options);
26409
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetEvent {
26410
+ return new MediaStoreAssetEvent().fromBinary(bytes, options);
25799
26411
  }
25800
26412
 
25801
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection_All {
25802
- return new StreamSelection_All().fromJson(jsonValue, options);
26413
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetEvent {
26414
+ return new MediaStoreAssetEvent().fromJson(jsonValue, options);
25803
26415
  }
25804
26416
 
25805
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection_All {
25806
- return new StreamSelection_All().fromJsonString(jsonString, options);
26417
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetEvent {
26418
+ return new MediaStoreAssetEvent().fromJsonString(jsonString, options);
25807
26419
  }
25808
26420
 
25809
- static equals(a: StreamSelection_All | PlainMessage<StreamSelection_All> | undefined, b: StreamSelection_All | PlainMessage<StreamSelection_All> | undefined): boolean {
25810
- return proto3.util.equals(StreamSelection_All, a, b);
26421
+ static equals(a: MediaStoreAssetEvent | PlainMessage<MediaStoreAssetEvent> | undefined, b: MediaStoreAssetEvent | PlainMessage<MediaStoreAssetEvent> | undefined): boolean {
26422
+ return proto3.util.equals(MediaStoreAssetEvent, a, b);
25811
26423
  }
25812
26424
  }
25813
26425
 
25814
26426
  /**
25815
- * @generated from message norsk.api.media.StreamSelection.Subset
26427
+ * @generated from message norsk.api.media.MediaStoreCutEvent
25816
26428
  */
25817
- export class StreamSelection_Subset extends Message<StreamSelection_Subset> {
26429
+ export class MediaStoreCutEvent extends Message<MediaStoreCutEvent> {
25818
26430
  /**
25819
- * @generated from field: repeated norsk.api.media.StreamKey stream_list = 1;
26431
+ * @generated from oneof norsk.api.media.MediaStoreCutEvent.message
25820
26432
  */
25821
- streamList: StreamKey[] = [];
26433
+ message: {
26434
+ /**
26435
+ * @generated from field: norsk.api.media.Progress cut_progress = 1;
26436
+ */
26437
+ value: Progress;
26438
+ case: "cutProgress";
26439
+ } | {
26440
+ /**
26441
+ * @generated from field: norsk.api.media.MediaStoreCutComplete cut_complete = 2;
26442
+ */
26443
+ value: MediaStoreCutComplete;
26444
+ case: "cutComplete";
26445
+ } | { case: undefined; value?: undefined } = { case: undefined };
25822
26446
 
25823
- constructor(data?: PartialMessage<StreamSelection_Subset>) {
26447
+ constructor(data?: PartialMessage<MediaStoreCutEvent>) {
25824
26448
  super();
25825
26449
  proto3.util.initPartial(data, this);
25826
26450
  }
25827
26451
 
25828
26452
  static readonly runtime = proto3;
25829
- static readonly typeName = "norsk.api.media.StreamSelection.Subset";
26453
+ static readonly typeName = "norsk.api.media.MediaStoreCutEvent";
25830
26454
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25831
- { no: 1, name: "stream_list", kind: "message", T: StreamKey, repeated: true },
26455
+ { no: 1, name: "cut_progress", kind: "message", T: Progress, oneof: "message" },
26456
+ { no: 2, name: "cut_complete", kind: "message", T: MediaStoreCutComplete, oneof: "message" },
25832
26457
  ]);
25833
26458
 
25834
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection_Subset {
25835
- return new StreamSelection_Subset().fromBinary(bytes, options);
26459
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutEvent {
26460
+ return new MediaStoreCutEvent().fromBinary(bytes, options);
25836
26461
  }
25837
26462
 
25838
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection_Subset {
25839
- return new StreamSelection_Subset().fromJson(jsonValue, options);
26463
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutEvent {
26464
+ return new MediaStoreCutEvent().fromJson(jsonValue, options);
25840
26465
  }
25841
26466
 
25842
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection_Subset {
25843
- return new StreamSelection_Subset().fromJsonString(jsonString, options);
26467
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutEvent {
26468
+ return new MediaStoreCutEvent().fromJsonString(jsonString, options);
25844
26469
  }
25845
26470
 
25846
- static equals(a: StreamSelection_Subset | PlainMessage<StreamSelection_Subset> | undefined, b: StreamSelection_Subset | PlainMessage<StreamSelection_Subset> | undefined): boolean {
25847
- return proto3.util.equals(StreamSelection_Subset, a, b);
26471
+ static equals(a: MediaStoreCutEvent | PlainMessage<MediaStoreCutEvent> | undefined, b: MediaStoreCutEvent | PlainMessage<MediaStoreCutEvent> | undefined): boolean {
26472
+ return proto3.util.equals(MediaStoreCutEvent, a, b);
25848
26473
  }
25849
26474
  }
25850
26475
 
25851
26476
  /**
25852
- * @generated from message norsk.api.media.FrameStorePlayerConfiguration
26477
+ * @generated from message norsk.api.media.MediaStorePlayerConfiguration
25853
26478
  */
25854
- export class FrameStorePlayerConfiguration extends Message<FrameStorePlayerConfiguration> {
26479
+ export class MediaStorePlayerConfiguration extends Message<MediaStorePlayerConfiguration> {
25855
26480
  /**
25856
26481
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
25857
26482
  */
25858
26483
  id?: MediaNodeId;
25859
26484
 
25860
26485
  /**
25861
- * @generated from field: string name = 2;
25862
- */
25863
- name = "";
25864
-
25865
- /**
25866
- * @generated from field: string source_name = 3;
26486
+ * @generated from field: string source_name = 2;
25867
26487
  */
25868
26488
  sourceName = "";
25869
26489
 
25870
26490
  /**
25871
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
26491
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 3;
25872
26492
  */
25873
26493
  statsSampling?: StreamStatisticsSampling;
25874
26494
 
25875
26495
  /**
25876
- * @generated from field: norsk.api.media.StreamSelection stream_selection = 5;
25877
- */
25878
- streamSelection?: StreamSelection;
25879
-
25880
- /**
25881
- * @generated from field: repeated norsk.api.media.SingleCut cuts = 6;
26496
+ * @generated from field: repeated norsk.api.media.SingleCut cuts = 4;
25882
26497
  */
25883
26498
  cuts: SingleCut[] = [];
25884
26499
 
25885
- /**
25886
- * @generated from field: bool trim_partial_segments = 7;
25887
- */
25888
- trimPartialSegments = false;
25889
-
25890
- constructor(data?: PartialMessage<FrameStorePlayerConfiguration>) {
26500
+ constructor(data?: PartialMessage<MediaStorePlayerConfiguration>) {
25891
26501
  super();
25892
26502
  proto3.util.initPartial(data, this);
25893
26503
  }
25894
26504
 
25895
26505
  static readonly runtime = proto3;
25896
- static readonly typeName = "norsk.api.media.FrameStorePlayerConfiguration";
26506
+ static readonly typeName = "norsk.api.media.MediaStorePlayerConfiguration";
25897
26507
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25898
26508
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
25899
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25900
- { no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25901
- { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
25902
- { no: 5, name: "stream_selection", kind: "message", T: StreamSelection },
25903
- { no: 6, name: "cuts", kind: "message", T: SingleCut, repeated: true },
25904
- { no: 7, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26509
+ { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26510
+ { no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
26511
+ { no: 4, name: "cuts", kind: "message", T: SingleCut, repeated: true },
25905
26512
  ]);
25906
26513
 
25907
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerConfiguration {
25908
- return new FrameStorePlayerConfiguration().fromBinary(bytes, options);
26514
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStorePlayerConfiguration {
26515
+ return new MediaStorePlayerConfiguration().fromBinary(bytes, options);
25909
26516
  }
25910
26517
 
25911
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
25912
- return new FrameStorePlayerConfiguration().fromJson(jsonValue, options);
26518
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStorePlayerConfiguration {
26519
+ return new MediaStorePlayerConfiguration().fromJson(jsonValue, options);
25913
26520
  }
25914
26521
 
25915
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
25916
- return new FrameStorePlayerConfiguration().fromJsonString(jsonString, options);
26522
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStorePlayerConfiguration {
26523
+ return new MediaStorePlayerConfiguration().fromJsonString(jsonString, options);
25917
26524
  }
25918
26525
 
25919
- static equals(a: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined, b: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined): boolean {
25920
- return proto3.util.equals(FrameStorePlayerConfiguration, a, b);
26526
+ static equals(a: MediaStorePlayerConfiguration | PlainMessage<MediaStorePlayerConfiguration> | undefined, b: MediaStorePlayerConfiguration | PlainMessage<MediaStorePlayerConfiguration> | undefined): boolean {
26527
+ return proto3.util.equals(MediaStorePlayerConfiguration, a, b);
25921
26528
  }
25922
26529
  }
25923
26530
 
25924
26531
  /**
25925
- * @generated from message norsk.api.media.FrameStorePlayerMessage
26532
+ * @generated from message norsk.api.media.MediaStorePlayerMessage
25926
26533
  */
25927
- export class FrameStorePlayerMessage extends Message<FrameStorePlayerMessage> {
26534
+ export class MediaStorePlayerMessage extends Message<MediaStorePlayerMessage> {
25928
26535
  /**
25929
- * @generated from oneof norsk.api.media.FrameStorePlayerMessage.message
26536
+ * @generated from oneof norsk.api.media.MediaStorePlayerMessage.message
25930
26537
  */
25931
26538
  message: {
25932
26539
  /**
25933
- * @generated from field: norsk.api.media.FrameStorePlayerConfiguration initial_config = 1;
26540
+ * @generated from field: norsk.api.media.MediaStorePlayerConfiguration initial_config = 1;
25934
26541
  */
25935
- value: FrameStorePlayerConfiguration;
26542
+ value: MediaStorePlayerConfiguration;
25936
26543
  case: "initialConfig";
25937
26544
  } | {
25938
26545
  /**
@@ -25942,41 +26549,41 @@ export class FrameStorePlayerMessage extends Message<FrameStorePlayerMessage> {
25942
26549
  case: "nudge";
25943
26550
  } | { case: undefined; value?: undefined } = { case: undefined };
25944
26551
 
25945
- constructor(data?: PartialMessage<FrameStorePlayerMessage>) {
26552
+ constructor(data?: PartialMessage<MediaStorePlayerMessage>) {
25946
26553
  super();
25947
26554
  proto3.util.initPartial(data, this);
25948
26555
  }
25949
26556
 
25950
26557
  static readonly runtime = proto3;
25951
- static readonly typeName = "norsk.api.media.FrameStorePlayerMessage";
26558
+ static readonly typeName = "norsk.api.media.MediaStorePlayerMessage";
25952
26559
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25953
- { no: 1, name: "initial_config", kind: "message", T: FrameStorePlayerConfiguration, oneof: "message" },
26560
+ { no: 1, name: "initial_config", kind: "message", T: MediaStorePlayerConfiguration, oneof: "message" },
25954
26561
  { no: 2, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
25955
26562
  ]);
25956
26563
 
25957
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerMessage {
25958
- return new FrameStorePlayerMessage().fromBinary(bytes, options);
26564
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStorePlayerMessage {
26565
+ return new MediaStorePlayerMessage().fromBinary(bytes, options);
25959
26566
  }
25960
26567
 
25961
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerMessage {
25962
- return new FrameStorePlayerMessage().fromJson(jsonValue, options);
26568
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStorePlayerMessage {
26569
+ return new MediaStorePlayerMessage().fromJson(jsonValue, options);
25963
26570
  }
25964
26571
 
25965
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerMessage {
25966
- return new FrameStorePlayerMessage().fromJsonString(jsonString, options);
26572
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStorePlayerMessage {
26573
+ return new MediaStorePlayerMessage().fromJsonString(jsonString, options);
25967
26574
  }
25968
26575
 
25969
- static equals(a: FrameStorePlayerMessage | PlainMessage<FrameStorePlayerMessage> | undefined, b: FrameStorePlayerMessage | PlainMessage<FrameStorePlayerMessage> | undefined): boolean {
25970
- return proto3.util.equals(FrameStorePlayerMessage, a, b);
26576
+ static equals(a: MediaStorePlayerMessage | PlainMessage<MediaStorePlayerMessage> | undefined, b: MediaStorePlayerMessage | PlainMessage<MediaStorePlayerMessage> | undefined): boolean {
26577
+ return proto3.util.equals(MediaStorePlayerMessage, a, b);
25971
26578
  }
25972
26579
  }
25973
26580
 
25974
26581
  /**
25975
- * @generated from message norsk.api.media.FrameStorePlayerEvent
26582
+ * @generated from message norsk.api.media.MediaStorePlayerEvent
25976
26583
  */
25977
- export class FrameStorePlayerEvent extends Message<FrameStorePlayerEvent> {
26584
+ export class MediaStorePlayerEvent extends Message<MediaStorePlayerEvent> {
25978
26585
  /**
25979
- * @generated from oneof norsk.api.media.FrameStorePlayerEvent.message
26586
+ * @generated from oneof norsk.api.media.MediaStorePlayerEvent.message
25980
26587
  */
25981
26588
  message: {
25982
26589
  /**
@@ -25998,33 +26605,33 @@ export class FrameStorePlayerEvent extends Message<FrameStorePlayerEvent> {
25998
26605
  case: "streamStatistics";
25999
26606
  } | { case: undefined; value?: undefined } = { case: undefined };
26000
26607
 
26001
- constructor(data?: PartialMessage<FrameStorePlayerEvent>) {
26608
+ constructor(data?: PartialMessage<MediaStorePlayerEvent>) {
26002
26609
  super();
26003
26610
  proto3.util.initPartial(data, this);
26004
26611
  }
26005
26612
 
26006
26613
  static readonly runtime = proto3;
26007
- static readonly typeName = "norsk.api.media.FrameStorePlayerEvent";
26614
+ static readonly typeName = "norsk.api.media.MediaStorePlayerEvent";
26008
26615
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26009
26616
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
26010
26617
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
26011
26618
  { no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
26012
26619
  ]);
26013
26620
 
26014
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerEvent {
26015
- return new FrameStorePlayerEvent().fromBinary(bytes, options);
26621
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStorePlayerEvent {
26622
+ return new MediaStorePlayerEvent().fromBinary(bytes, options);
26016
26623
  }
26017
26624
 
26018
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerEvent {
26019
- return new FrameStorePlayerEvent().fromJson(jsonValue, options);
26625
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStorePlayerEvent {
26626
+ return new MediaStorePlayerEvent().fromJson(jsonValue, options);
26020
26627
  }
26021
26628
 
26022
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerEvent {
26023
- return new FrameStorePlayerEvent().fromJsonString(jsonString, options);
26629
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStorePlayerEvent {
26630
+ return new MediaStorePlayerEvent().fromJsonString(jsonString, options);
26024
26631
  }
26025
26632
 
26026
- static equals(a: FrameStorePlayerEvent | PlainMessage<FrameStorePlayerEvent> | undefined, b: FrameStorePlayerEvent | PlainMessage<FrameStorePlayerEvent> | undefined): boolean {
26027
- return proto3.util.equals(FrameStorePlayerEvent, a, b);
26633
+ static equals(a: MediaStorePlayerEvent | PlainMessage<MediaStorePlayerEvent> | undefined, b: MediaStorePlayerEvent | PlainMessage<MediaStorePlayerEvent> | undefined): boolean {
26634
+ return proto3.util.equals(MediaStorePlayerEvent, a, b);
26028
26635
  }
26029
26636
  }
26030
26637