@norskvideo/norsk-api 1.0.360 → 1.0.364

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
  */
@@ -6585,12 +6811,17 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
6585
6811
  deviceId = 0;
6586
6812
 
6587
6813
  /**
6588
- * @generated from field: uint32 card_index = 4;
6814
+ * @generated from field: uint32 channel_index = 4;
6589
6815
  */
6590
- cardIndex = 0;
6816
+ channelIndex = 0;
6591
6817
 
6592
6818
  /**
6593
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
6819
+ * @generated from field: uint32 audio_channel_mask = 5;
6820
+ */
6821
+ audioChannelMask = 0;
6822
+
6823
+ /**
6824
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 6;
6594
6825
  */
6595
6826
  statsSampling?: StreamStatisticsSampling;
6596
6827
 
@@ -6605,8 +6836,9 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
6605
6836
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
6606
6837
  { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6607
6838
  { no: 3, name: "device_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6608
- { no: 4, name: "card_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6609
- { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6839
+ { no: 4, name: "channel_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6840
+ { no: 5, name: "audio_channel_mask", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6841
+ { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6610
6842
  ]);
6611
6843
 
6612
6844
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputConfiguration {
@@ -25268,13 +25500,234 @@ export class Scte35SegmentationComponent extends Message<Scte35SegmentationCompo
25268
25500
 
25269
25501
  /**
25270
25502
  * ////////////////////////////////////////////////////////////////////////////
25271
- * FrameStore
25503
+ * MediaStore
25272
25504
  *
25273
- * @generated from message norsk.api.media.FrameStoreExpiry
25505
+ * @generated from message norsk.api.media.MediaStoreStreamVersion
25506
+ */
25507
+ export class MediaStoreStreamVersion extends Message<MediaStoreStreamVersion> {
25508
+ /**
25509
+ * @generated from field: int32 version_num = 1;
25510
+ */
25511
+ versionNum = 0;
25512
+
25513
+ /**
25514
+ * @generated from field: norsk.api.media.StreamMetadata metadata = 2;
25515
+ */
25516
+ metadata?: StreamMetadata;
25517
+
25518
+ /**
25519
+ * @generated from field: google.protobuf.Timestamp start_date_time = 3;
25520
+ */
25521
+ startDateTime?: Timestamp;
25522
+
25523
+ /**
25524
+ * @generated from field: uint64 duration_ms = 4;
25525
+ */
25526
+ durationMs = protoInt64.zero;
25527
+
25528
+ /**
25529
+ * @generated from field: bool active = 5;
25530
+ */
25531
+ active = false;
25532
+
25533
+ constructor(data?: PartialMessage<MediaStoreStreamVersion>) {
25534
+ super();
25535
+ proto3.util.initPartial(data, this);
25536
+ }
25537
+
25538
+ static readonly runtime = proto3;
25539
+ static readonly typeName = "norsk.api.media.MediaStoreStreamVersion";
25540
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25541
+ { no: 1, name: "version_num", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
25542
+ { no: 2, name: "metadata", kind: "message", T: StreamMetadata },
25543
+ { no: 3, name: "start_date_time", kind: "message", T: Timestamp },
25544
+ { no: 4, name: "duration_ms", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
25545
+ { no: 5, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
25546
+ ]);
25547
+
25548
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreStreamVersion {
25549
+ return new MediaStoreStreamVersion().fromBinary(bytes, options);
25550
+ }
25551
+
25552
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreStreamVersion {
25553
+ return new MediaStoreStreamVersion().fromJson(jsonValue, options);
25554
+ }
25555
+
25556
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreStreamVersion {
25557
+ return new MediaStoreStreamVersion().fromJsonString(jsonString, options);
25558
+ }
25559
+
25560
+ static equals(a: MediaStoreStreamVersion | PlainMessage<MediaStoreStreamVersion> | undefined, b: MediaStoreStreamVersion | PlainMessage<MediaStoreStreamVersion> | undefined): boolean {
25561
+ return proto3.util.equals(MediaStoreStreamVersion, a, b);
25562
+ }
25563
+ }
25564
+
25565
+ /**
25566
+ * @generated from message norsk.api.media.MediaStoreStream
25567
+ */
25568
+ export class MediaStoreStream extends Message<MediaStoreStream> {
25569
+ /**
25570
+ * @generated from field: norsk.api.media.StreamKey stream_key = 1;
25571
+ */
25572
+ streamKey?: StreamKey;
25573
+
25574
+ /**
25575
+ * @generated from field: repeated norsk.api.media.MediaStoreStreamVersion versions = 2;
25576
+ */
25577
+ versions: MediaStoreStreamVersion[] = [];
25578
+
25579
+ constructor(data?: PartialMessage<MediaStoreStream>) {
25580
+ super();
25581
+ proto3.util.initPartial(data, this);
25582
+ }
25583
+
25584
+ static readonly runtime = proto3;
25585
+ static readonly typeName = "norsk.api.media.MediaStoreStream";
25586
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25587
+ { no: 1, name: "stream_key", kind: "message", T: StreamKey },
25588
+ { no: 2, name: "versions", kind: "message", T: MediaStoreStreamVersion, repeated: true },
25589
+ ]);
25590
+
25591
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreStream {
25592
+ return new MediaStoreStream().fromBinary(bytes, options);
25593
+ }
25594
+
25595
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreStream {
25596
+ return new MediaStoreStream().fromJson(jsonValue, options);
25597
+ }
25598
+
25599
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreStream {
25600
+ return new MediaStoreStream().fromJsonString(jsonString, options);
25601
+ }
25602
+
25603
+ static equals(a: MediaStoreStream | PlainMessage<MediaStoreStream> | undefined, b: MediaStoreStream | PlainMessage<MediaStoreStream> | undefined): boolean {
25604
+ return proto3.util.equals(MediaStoreStream, a, b);
25605
+ }
25606
+ }
25607
+
25608
+ /**
25609
+ * @generated from message norsk.api.media.MediaStoreSession
25274
25610
  */
25275
- export class FrameStoreExpiry extends Message<FrameStoreExpiry> {
25611
+ export class MediaStoreSession extends Message<MediaStoreSession> {
25612
+ /**
25613
+ * @generated from field: int32 session_num = 1;
25614
+ */
25615
+ sessionNum = 0;
25616
+
25276
25617
  /**
25277
- * @generated from oneof norsk.api.media.FrameStoreExpiry.message
25618
+ * @generated from field: repeated norsk.api.media.MediaStoreStream streams = 2;
25619
+ */
25620
+ streams: MediaStoreStream[] = [];
25621
+
25622
+ constructor(data?: PartialMessage<MediaStoreSession>) {
25623
+ super();
25624
+ proto3.util.initPartial(data, this);
25625
+ }
25626
+
25627
+ static readonly runtime = proto3;
25628
+ static readonly typeName = "norsk.api.media.MediaStoreSession";
25629
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25630
+ { no: 1, name: "session_num", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
25631
+ { no: 2, name: "streams", kind: "message", T: MediaStoreStream, repeated: true },
25632
+ ]);
25633
+
25634
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSession {
25635
+ return new MediaStoreSession().fromBinary(bytes, options);
25636
+ }
25637
+
25638
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSession {
25639
+ return new MediaStoreSession().fromJson(jsonValue, options);
25640
+ }
25641
+
25642
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSession {
25643
+ return new MediaStoreSession().fromJsonString(jsonString, options);
25644
+ }
25645
+
25646
+ static equals(a: MediaStoreSession | PlainMessage<MediaStoreSession> | undefined, b: MediaStoreSession | PlainMessage<MediaStoreSession> | undefined): boolean {
25647
+ return proto3.util.equals(MediaStoreSession, a, b);
25648
+ }
25649
+ }
25650
+
25651
+ /**
25652
+ * @generated from message norsk.api.media.MediaStoreMetadataRequest
25653
+ */
25654
+ export class MediaStoreMetadataRequest extends Message<MediaStoreMetadataRequest> {
25655
+ /**
25656
+ * @generated from field: string media_store_name = 1;
25657
+ */
25658
+ mediaStoreName = "";
25659
+
25660
+ constructor(data?: PartialMessage<MediaStoreMetadataRequest>) {
25661
+ super();
25662
+ proto3.util.initPartial(data, this);
25663
+ }
25664
+
25665
+ static readonly runtime = proto3;
25666
+ static readonly typeName = "norsk.api.media.MediaStoreMetadataRequest";
25667
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25668
+ { no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25669
+ ]);
25670
+
25671
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreMetadataRequest {
25672
+ return new MediaStoreMetadataRequest().fromBinary(bytes, options);
25673
+ }
25674
+
25675
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreMetadataRequest {
25676
+ return new MediaStoreMetadataRequest().fromJson(jsonValue, options);
25677
+ }
25678
+
25679
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreMetadataRequest {
25680
+ return new MediaStoreMetadataRequest().fromJsonString(jsonString, options);
25681
+ }
25682
+
25683
+ static equals(a: MediaStoreMetadataRequest | PlainMessage<MediaStoreMetadataRequest> | undefined, b: MediaStoreMetadataRequest | PlainMessage<MediaStoreMetadataRequest> | undefined): boolean {
25684
+ return proto3.util.equals(MediaStoreMetadataRequest, a, b);
25685
+ }
25686
+ }
25687
+
25688
+ /**
25689
+ * @generated from message norsk.api.media.MediaStoreMetadataResponse
25690
+ */
25691
+ export class MediaStoreMetadataResponse extends Message<MediaStoreMetadataResponse> {
25692
+ /**
25693
+ * @generated from field: repeated norsk.api.media.MediaStoreSession sessions = 1;
25694
+ */
25695
+ sessions: MediaStoreSession[] = [];
25696
+
25697
+ constructor(data?: PartialMessage<MediaStoreMetadataResponse>) {
25698
+ super();
25699
+ proto3.util.initPartial(data, this);
25700
+ }
25701
+
25702
+ static readonly runtime = proto3;
25703
+ static readonly typeName = "norsk.api.media.MediaStoreMetadataResponse";
25704
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25705
+ { no: 1, name: "sessions", kind: "message", T: MediaStoreSession, repeated: true },
25706
+ ]);
25707
+
25708
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreMetadataResponse {
25709
+ return new MediaStoreMetadataResponse().fromBinary(bytes, options);
25710
+ }
25711
+
25712
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreMetadataResponse {
25713
+ return new MediaStoreMetadataResponse().fromJson(jsonValue, options);
25714
+ }
25715
+
25716
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreMetadataResponse {
25717
+ return new MediaStoreMetadataResponse().fromJsonString(jsonString, options);
25718
+ }
25719
+
25720
+ static equals(a: MediaStoreMetadataResponse | PlainMessage<MediaStoreMetadataResponse> | undefined, b: MediaStoreMetadataResponse | PlainMessage<MediaStoreMetadataResponse> | undefined): boolean {
25721
+ return proto3.util.equals(MediaStoreMetadataResponse, a, b);
25722
+ }
25723
+ }
25724
+
25725
+ /**
25726
+ * @generated from message norsk.api.media.MediaStoreExpiry
25727
+ */
25728
+ export class MediaStoreExpiry extends Message<MediaStoreExpiry> {
25729
+ /**
25730
+ * @generated from oneof norsk.api.media.MediaStoreExpiry.message
25278
25731
  */
25279
25732
  message: {
25280
25733
  /**
@@ -25290,39 +25743,39 @@ export class FrameStoreExpiry extends Message<FrameStoreExpiry> {
25290
25743
  case: "byDuration";
25291
25744
  } | { case: undefined; value?: undefined } = { case: undefined };
25292
25745
 
25293
- constructor(data?: PartialMessage<FrameStoreExpiry>) {
25746
+ constructor(data?: PartialMessage<MediaStoreExpiry>) {
25294
25747
  super();
25295
25748
  proto3.util.initPartial(data, this);
25296
25749
  }
25297
25750
 
25298
25751
  static readonly runtime = proto3;
25299
- static readonly typeName = "norsk.api.media.FrameStoreExpiry";
25752
+ static readonly typeName = "norsk.api.media.MediaStoreExpiry";
25300
25753
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25301
25754
  { no: 1, name: "by_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
25302
25755
  { no: 2, name: "by_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
25303
25756
  ]);
25304
25757
 
25305
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreExpiry {
25306
- return new FrameStoreExpiry().fromBinary(bytes, options);
25758
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreExpiry {
25759
+ return new MediaStoreExpiry().fromBinary(bytes, options);
25307
25760
  }
25308
25761
 
25309
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreExpiry {
25310
- return new FrameStoreExpiry().fromJson(jsonValue, options);
25762
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreExpiry {
25763
+ return new MediaStoreExpiry().fromJson(jsonValue, options);
25311
25764
  }
25312
25765
 
25313
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreExpiry {
25314
- return new FrameStoreExpiry().fromJsonString(jsonString, options);
25766
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreExpiry {
25767
+ return new MediaStoreExpiry().fromJsonString(jsonString, options);
25315
25768
  }
25316
25769
 
25317
- static equals(a: FrameStoreExpiry | PlainMessage<FrameStoreExpiry> | undefined, b: FrameStoreExpiry | PlainMessage<FrameStoreExpiry> | undefined): boolean {
25318
- return proto3.util.equals(FrameStoreExpiry, a, b);
25770
+ static equals(a: MediaStoreExpiry | PlainMessage<MediaStoreExpiry> | undefined, b: MediaStoreExpiry | PlainMessage<MediaStoreExpiry> | undefined): boolean {
25771
+ return proto3.util.equals(MediaStoreExpiry, a, b);
25319
25772
  }
25320
25773
  }
25321
25774
 
25322
25775
  /**
25323
- * @generated from message norsk.api.media.FrameStoreRecorderConfiguration
25776
+ * @generated from message norsk.api.media.MediaStoreRecorderConfiguration
25324
25777
  */
25325
- export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderConfiguration> {
25778
+ export class MediaStoreRecorderConfiguration extends Message<MediaStoreRecorderConfiguration> {
25326
25779
  /**
25327
25780
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
25328
25781
  */
@@ -25344,215 +25797,301 @@ export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderC
25344
25797
  chunkFileDurationSeconds = 0;
25345
25798
 
25346
25799
  /**
25347
- * @generated from field: norsk.api.media.FrameStoreExpiry expiry = 5;
25800
+ * @generated from field: norsk.api.media.MediaStoreExpiry expiry = 5;
25348
25801
  */
25349
- expiry?: FrameStoreExpiry;
25802
+ expiry?: MediaStoreExpiry;
25350
25803
 
25351
- constructor(data?: PartialMessage<FrameStoreRecorderConfiguration>) {
25804
+ constructor(data?: PartialMessage<MediaStoreRecorderConfiguration>) {
25352
25805
  super();
25353
25806
  proto3.util.initPartial(data, this);
25354
25807
  }
25355
25808
 
25356
25809
  static readonly runtime = proto3;
25357
- static readonly typeName = "norsk.api.media.FrameStoreRecorderConfiguration";
25810
+ static readonly typeName = "norsk.api.media.MediaStoreRecorderConfiguration";
25358
25811
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25359
25812
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
25360
25813
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25361
25814
  { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25362
25815
  { no: 4, name: "chunk_file_duration_seconds", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
25363
- { no: 5, name: "expiry", kind: "message", T: FrameStoreExpiry },
25816
+ { no: 5, name: "expiry", kind: "message", T: MediaStoreExpiry },
25364
25817
  ]);
25365
25818
 
25366
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderConfiguration {
25367
- return new FrameStoreRecorderConfiguration().fromBinary(bytes, options);
25819
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreRecorderConfiguration {
25820
+ return new MediaStoreRecorderConfiguration().fromBinary(bytes, options);
25368
25821
  }
25369
25822
 
25370
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreRecorderConfiguration {
25371
- return new FrameStoreRecorderConfiguration().fromJson(jsonValue, options);
25823
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreRecorderConfiguration {
25824
+ return new MediaStoreRecorderConfiguration().fromJson(jsonValue, options);
25372
25825
  }
25373
25826
 
25374
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreRecorderConfiguration {
25375
- return new FrameStoreRecorderConfiguration().fromJsonString(jsonString, options);
25827
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderConfiguration {
25828
+ return new MediaStoreRecorderConfiguration().fromJsonString(jsonString, options);
25376
25829
  }
25377
25830
 
25378
- static equals(a: FrameStoreRecorderConfiguration | PlainMessage<FrameStoreRecorderConfiguration> | undefined, b: FrameStoreRecorderConfiguration | PlainMessage<FrameStoreRecorderConfiguration> | undefined): boolean {
25379
- return proto3.util.equals(FrameStoreRecorderConfiguration, a, b);
25831
+ static equals(a: MediaStoreRecorderConfiguration | PlainMessage<MediaStoreRecorderConfiguration> | undefined, b: MediaStoreRecorderConfiguration | PlainMessage<MediaStoreRecorderConfiguration> | undefined): boolean {
25832
+ return proto3.util.equals(MediaStoreRecorderConfiguration, a, b);
25380
25833
  }
25381
25834
  }
25382
25835
 
25383
25836
  /**
25384
- * @generated from message norsk.api.media.FrameStoreCutRequest
25837
+ * @generated from message norsk.api.media.StreamSelection
25385
25838
  */
25386
- export class FrameStoreCutRequest extends Message<FrameStoreCutRequest> {
25839
+ export class StreamSelection extends Message<StreamSelection> {
25387
25840
  /**
25388
- * @generated from field: string id = 1;
25841
+ * @generated from field: norsk.api.media.StreamKey source_stream_key = 1;
25389
25842
  */
25390
- id = "";
25843
+ sourceStreamKey?: StreamKey;
25844
+
25845
+ /**
25846
+ * @generated from field: norsk.api.media.StreamKey output_stream_key = 2;
25847
+ */
25848
+ outputStreamKey?: StreamKey;
25849
+
25850
+ constructor(data?: PartialMessage<StreamSelection>) {
25851
+ super();
25852
+ proto3.util.initPartial(data, this);
25853
+ }
25854
+
25855
+ static readonly runtime = proto3;
25856
+ static readonly typeName = "norsk.api.media.StreamSelection";
25857
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25858
+ { no: 1, name: "source_stream_key", kind: "message", T: StreamKey },
25859
+ { no: 2, name: "output_stream_key", kind: "message", T: StreamKey },
25860
+ ]);
25861
+
25862
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection {
25863
+ return new StreamSelection().fromBinary(bytes, options);
25864
+ }
25865
+
25866
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection {
25867
+ return new StreamSelection().fromJson(jsonValue, options);
25868
+ }
25869
+
25870
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection {
25871
+ return new StreamSelection().fromJsonString(jsonString, options);
25872
+ }
25391
25873
 
25874
+ static equals(a: StreamSelection | PlainMessage<StreamSelection> | undefined, b: StreamSelection | PlainMessage<StreamSelection> | undefined): boolean {
25875
+ return proto3.util.equals(StreamSelection, a, b);
25876
+ }
25877
+ }
25878
+
25879
+ /**
25880
+ * @generated from message norsk.api.media.SingleCut
25881
+ */
25882
+ export class SingleCut extends Message<SingleCut> {
25392
25883
  /**
25393
- * @generated from field: norsk.api.media.StreamSelection stream_selection = 2;
25884
+ * @generated from field: string media_store_name = 1;
25394
25885
  */
25395
- streamSelection?: StreamSelection;
25886
+ mediaStoreName = "";
25396
25887
 
25397
25888
  /**
25398
- * @generated from field: repeated norsk.api.media.SingleCut cuts = 3;
25889
+ * @generated from field: repeated norsk.api.media.StreamSelection stream_selection = 2;
25399
25890
  */
25400
- cuts: SingleCut[] = [];
25891
+ streamSelection: StreamSelection[] = [];
25892
+
25893
+ /**
25894
+ * @generated from field: google.protobuf.Timestamp start_date_time = 3;
25895
+ */
25896
+ startDateTime?: Timestamp;
25897
+
25898
+ /**
25899
+ * @generated from field: uint32 duration_ms = 4;
25900
+ */
25901
+ durationMs = 0;
25401
25902
 
25402
25903
  /**
25403
- * @generated from field: bool trim_partial_segments = 4;
25904
+ * @generated from field: bool trim_partial_segments = 5;
25404
25905
  */
25405
25906
  trimPartialSegments = false;
25406
25907
 
25407
25908
  /**
25408
- * @generated from field: string file_name = 5;
25909
+ * @generated from field: norsk.api.common.OptionalInt session_num = 6;
25910
+ */
25911
+ sessionNum?: OptionalInt;
25912
+
25913
+ constructor(data?: PartialMessage<SingleCut>) {
25914
+ super();
25915
+ proto3.util.initPartial(data, this);
25916
+ }
25917
+
25918
+ static readonly runtime = proto3;
25919
+ static readonly typeName = "norsk.api.media.SingleCut";
25920
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25921
+ { no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25922
+ { no: 2, name: "stream_selection", kind: "message", T: StreamSelection, repeated: true },
25923
+ { no: 3, name: "start_date_time", kind: "message", T: Timestamp },
25924
+ { no: 4, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
25925
+ { no: 5, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
25926
+ { no: 6, name: "session_num", kind: "message", T: OptionalInt },
25927
+ ]);
25928
+
25929
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SingleCut {
25930
+ return new SingleCut().fromBinary(bytes, options);
25931
+ }
25932
+
25933
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SingleCut {
25934
+ return new SingleCut().fromJson(jsonValue, options);
25935
+ }
25936
+
25937
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SingleCut {
25938
+ return new SingleCut().fromJsonString(jsonString, options);
25939
+ }
25940
+
25941
+ static equals(a: SingleCut | PlainMessage<SingleCut> | undefined, b: SingleCut | PlainMessage<SingleCut> | undefined): boolean {
25942
+ return proto3.util.equals(SingleCut, a, b);
25943
+ }
25944
+ }
25945
+
25946
+ /**
25947
+ * @generated from message norsk.api.media.MediaStoreCutRequest
25948
+ */
25949
+ export class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
25950
+ /**
25951
+ * @generated from field: string id = 1;
25952
+ */
25953
+ id = "";
25954
+
25955
+ /**
25956
+ * @generated from field: repeated norsk.api.media.SingleCut cuts = 2;
25957
+ */
25958
+ cuts: SingleCut[] = [];
25959
+
25960
+ /**
25961
+ * @generated from field: string file_name = 3;
25409
25962
  */
25410
25963
  fileName = "";
25411
25964
 
25412
25965
  /**
25413
- * @generated from field: norsk.api.media.FrameStoreCutRequest.FileFormat file_format = 6;
25966
+ * @generated from field: norsk.api.media.MediaStoreCutRequest.FileFormat file_format = 4;
25414
25967
  */
25415
- fileFormat = FrameStoreCutRequest_FileFormat.CUT_MP4;
25968
+ fileFormat = MediaStoreCutRequest_FileFormat.CUT_MP4;
25416
25969
 
25417
- constructor(data?: PartialMessage<FrameStoreCutRequest>) {
25970
+ constructor(data?: PartialMessage<MediaStoreCutRequest>) {
25418
25971
  super();
25419
25972
  proto3.util.initPartial(data, this);
25420
25973
  }
25421
25974
 
25422
25975
  static readonly runtime = proto3;
25423
- static readonly typeName = "norsk.api.media.FrameStoreCutRequest";
25976
+ static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
25424
25977
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25425
25978
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25426
- { no: 2, name: "stream_selection", kind: "message", T: StreamSelection },
25427
- { no: 3, name: "cuts", kind: "message", T: SingleCut, repeated: true },
25428
- { no: 4, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
25429
- { no: 5, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25430
- { no: 6, name: "file_format", kind: "enum", T: proto3.getEnumType(FrameStoreCutRequest_FileFormat) },
25979
+ { no: 2, name: "cuts", kind: "message", T: SingleCut, repeated: true },
25980
+ { no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25981
+ { no: 4, name: "file_format", kind: "enum", T: proto3.getEnumType(MediaStoreCutRequest_FileFormat) },
25431
25982
  ]);
25432
25983
 
25433
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutRequest {
25434
- return new FrameStoreCutRequest().fromBinary(bytes, options);
25984
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest {
25985
+ return new MediaStoreCutRequest().fromBinary(bytes, options);
25435
25986
  }
25436
25987
 
25437
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutRequest {
25438
- return new FrameStoreCutRequest().fromJson(jsonValue, options);
25988
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
25989
+ return new MediaStoreCutRequest().fromJson(jsonValue, options);
25439
25990
  }
25440
25991
 
25441
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutRequest {
25442
- return new FrameStoreCutRequest().fromJsonString(jsonString, options);
25992
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
25993
+ return new MediaStoreCutRequest().fromJsonString(jsonString, options);
25443
25994
  }
25444
25995
 
25445
- static equals(a: FrameStoreCutRequest | PlainMessage<FrameStoreCutRequest> | undefined, b: FrameStoreCutRequest | PlainMessage<FrameStoreCutRequest> | undefined): boolean {
25446
- return proto3.util.equals(FrameStoreCutRequest, a, b);
25996
+ static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean {
25997
+ return proto3.util.equals(MediaStoreCutRequest, a, b);
25447
25998
  }
25448
25999
  }
25449
26000
 
25450
26001
  /**
25451
- * @generated from enum norsk.api.media.FrameStoreCutRequest.FileFormat
26002
+ * @generated from enum norsk.api.media.MediaStoreCutRequest.FileFormat
25452
26003
  */
25453
- export enum FrameStoreCutRequest_FileFormat {
26004
+ export enum MediaStoreCutRequest_FileFormat {
25454
26005
  /**
25455
26006
  * @generated from enum value: CUT_MP4 = 0;
25456
26007
  */
25457
26008
  CUT_MP4 = 0,
25458
26009
  }
25459
- // Retrieve enum metadata with: proto3.getEnumType(FrameStoreCutRequest_FileFormat)
25460
- proto3.util.setEnumType(FrameStoreCutRequest_FileFormat, "norsk.api.media.FrameStoreCutRequest.FileFormat", [
26010
+ // Retrieve enum metadata with: proto3.getEnumType(MediaStoreCutRequest_FileFormat)
26011
+ proto3.util.setEnumType(MediaStoreCutRequest_FileFormat, "norsk.api.media.MediaStoreCutRequest.FileFormat", [
25461
26012
  { no: 0, name: "CUT_MP4" },
25462
26013
  ]);
25463
26014
 
25464
26015
  /**
25465
- * @generated from message norsk.api.media.FrameStoreCutProgress
26016
+ * @generated from message norsk.api.media.Progress
25466
26017
  */
25467
- export class FrameStoreCutProgress extends Message<FrameStoreCutProgress> {
26018
+ export class Progress extends Message<Progress> {
25468
26019
  /**
25469
- * @generated from field: string id = 1;
25470
- */
25471
- id = "";
25472
-
25473
- /**
25474
- * @generated from field: uint32 progress = 2;
26020
+ * @generated from field: uint32 progress = 1;
25475
26021
  */
25476
26022
  progress = 0;
25477
26023
 
25478
- constructor(data?: PartialMessage<FrameStoreCutProgress>) {
26024
+ constructor(data?: PartialMessage<Progress>) {
25479
26025
  super();
25480
26026
  proto3.util.initPartial(data, this);
25481
26027
  }
25482
26028
 
25483
26029
  static readonly runtime = proto3;
25484
- static readonly typeName = "norsk.api.media.FrameStoreCutProgress";
26030
+ static readonly typeName = "norsk.api.media.Progress";
25485
26031
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25486
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25487
- { no: 2, name: "progress", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
26032
+ { no: 1, name: "progress", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
25488
26033
  ]);
25489
26034
 
25490
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutProgress {
25491
- return new FrameStoreCutProgress().fromBinary(bytes, options);
26035
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Progress {
26036
+ return new Progress().fromBinary(bytes, options);
25492
26037
  }
25493
26038
 
25494
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutProgress {
25495
- return new FrameStoreCutProgress().fromJson(jsonValue, options);
26039
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Progress {
26040
+ return new Progress().fromJson(jsonValue, options);
25496
26041
  }
25497
26042
 
25498
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutProgress {
25499
- return new FrameStoreCutProgress().fromJsonString(jsonString, options);
26043
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Progress {
26044
+ return new Progress().fromJsonString(jsonString, options);
25500
26045
  }
25501
26046
 
25502
- static equals(a: FrameStoreCutProgress | PlainMessage<FrameStoreCutProgress> | undefined, b: FrameStoreCutProgress | PlainMessage<FrameStoreCutProgress> | undefined): boolean {
25503
- return proto3.util.equals(FrameStoreCutProgress, a, b);
26047
+ static equals(a: Progress | PlainMessage<Progress> | undefined, b: Progress | PlainMessage<Progress> | undefined): boolean {
26048
+ return proto3.util.equals(Progress, a, b);
25504
26049
  }
25505
26050
  }
25506
26051
 
25507
26052
  /**
25508
- * @generated from message norsk.api.media.FrameStoreCutComplete
26053
+ * @generated from message norsk.api.media.MediaStoreCutComplete
25509
26054
  */
25510
- export class FrameStoreCutComplete extends Message<FrameStoreCutComplete> {
26055
+ export class MediaStoreCutComplete extends Message<MediaStoreCutComplete> {
25511
26056
  /**
25512
- * @generated from field: string id = 1;
25513
- */
25514
- id = "";
25515
-
25516
- /**
25517
- * @generated from field: uint64 size = 2;
26057
+ * @generated from field: uint64 size = 1;
25518
26058
  */
25519
26059
  size = protoInt64.zero;
25520
26060
 
25521
- constructor(data?: PartialMessage<FrameStoreCutComplete>) {
26061
+ constructor(data?: PartialMessage<MediaStoreCutComplete>) {
25522
26062
  super();
25523
26063
  proto3.util.initPartial(data, this);
25524
26064
  }
25525
26065
 
25526
26066
  static readonly runtime = proto3;
25527
- static readonly typeName = "norsk.api.media.FrameStoreCutComplete";
26067
+ static readonly typeName = "norsk.api.media.MediaStoreCutComplete";
25528
26068
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25529
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25530
- { no: 2, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
26069
+ { no: 1, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
25531
26070
  ]);
25532
26071
 
25533
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutComplete {
25534
- return new FrameStoreCutComplete().fromBinary(bytes, options);
26072
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutComplete {
26073
+ return new MediaStoreCutComplete().fromBinary(bytes, options);
25535
26074
  }
25536
26075
 
25537
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutComplete {
25538
- return new FrameStoreCutComplete().fromJson(jsonValue, options);
26076
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutComplete {
26077
+ return new MediaStoreCutComplete().fromJson(jsonValue, options);
25539
26078
  }
25540
26079
 
25541
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutComplete {
25542
- return new FrameStoreCutComplete().fromJsonString(jsonString, options);
26080
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutComplete {
26081
+ return new MediaStoreCutComplete().fromJsonString(jsonString, options);
25543
26082
  }
25544
26083
 
25545
- static equals(a: FrameStoreCutComplete | PlainMessage<FrameStoreCutComplete> | undefined, b: FrameStoreCutComplete | PlainMessage<FrameStoreCutComplete> | undefined): boolean {
25546
- return proto3.util.equals(FrameStoreCutComplete, a, b);
26084
+ static equals(a: MediaStoreCutComplete | PlainMessage<MediaStoreCutComplete> | undefined, b: MediaStoreCutComplete | PlainMessage<MediaStoreCutComplete> | undefined): boolean {
26085
+ return proto3.util.equals(MediaStoreCutComplete, a, b);
25547
26086
  }
25548
26087
  }
25549
26088
 
25550
26089
  /**
25551
- * @generated from message norsk.api.media.FrameStoreRecorderMessage
26090
+ * @generated from message norsk.api.media.MediaStoreRecorderMessage
25552
26091
  */
25553
- export class FrameStoreRecorderMessage extends Message<FrameStoreRecorderMessage> {
26092
+ export class MediaStoreRecorderMessage extends Message<MediaStoreRecorderMessage> {
25554
26093
  /**
25555
- * @generated from oneof norsk.api.media.FrameStoreRecorderMessage.message
26094
+ * @generated from oneof norsk.api.media.MediaStoreRecorderMessage.message
25556
26095
  */
25557
26096
  message: {
25558
26097
  /**
@@ -25562,54 +26101,47 @@ export class FrameStoreRecorderMessage extends Message<FrameStoreRecorderMessage
25562
26101
  case: "subscription";
25563
26102
  } | {
25564
26103
  /**
25565
- * @generated from field: norsk.api.media.FrameStoreRecorderConfiguration configuration = 2;
26104
+ * @generated from field: norsk.api.media.MediaStoreRecorderConfiguration configuration = 2;
25566
26105
  */
25567
- value: FrameStoreRecorderConfiguration;
26106
+ value: MediaStoreRecorderConfiguration;
25568
26107
  case: "configuration";
25569
- } | {
25570
- /**
25571
- * @generated from field: norsk.api.media.FrameStoreCutRequest cut_request = 3;
25572
- */
25573
- value: FrameStoreCutRequest;
25574
- case: "cutRequest";
25575
26108
  } | { case: undefined; value?: undefined } = { case: undefined };
25576
26109
 
25577
- constructor(data?: PartialMessage<FrameStoreRecorderMessage>) {
26110
+ constructor(data?: PartialMessage<MediaStoreRecorderMessage>) {
25578
26111
  super();
25579
26112
  proto3.util.initPartial(data, this);
25580
26113
  }
25581
26114
 
25582
26115
  static readonly runtime = proto3;
25583
- static readonly typeName = "norsk.api.media.FrameStoreRecorderMessage";
26116
+ static readonly typeName = "norsk.api.media.MediaStoreRecorderMessage";
25584
26117
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25585
26118
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
25586
- { no: 2, name: "configuration", kind: "message", T: FrameStoreRecorderConfiguration, oneof: "message" },
25587
- { no: 3, name: "cut_request", kind: "message", T: FrameStoreCutRequest, oneof: "message" },
26119
+ { no: 2, name: "configuration", kind: "message", T: MediaStoreRecorderConfiguration, oneof: "message" },
25588
26120
  ]);
25589
26121
 
25590
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderMessage {
25591
- return new FrameStoreRecorderMessage().fromBinary(bytes, options);
26122
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreRecorderMessage {
26123
+ return new MediaStoreRecorderMessage().fromBinary(bytes, options);
25592
26124
  }
25593
26125
 
25594
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreRecorderMessage {
25595
- return new FrameStoreRecorderMessage().fromJson(jsonValue, options);
26126
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreRecorderMessage {
26127
+ return new MediaStoreRecorderMessage().fromJson(jsonValue, options);
25596
26128
  }
25597
26129
 
25598
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreRecorderMessage {
25599
- return new FrameStoreRecorderMessage().fromJsonString(jsonString, options);
26130
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderMessage {
26131
+ return new MediaStoreRecorderMessage().fromJsonString(jsonString, options);
25600
26132
  }
25601
26133
 
25602
- static equals(a: FrameStoreRecorderMessage | PlainMessage<FrameStoreRecorderMessage> | undefined, b: FrameStoreRecorderMessage | PlainMessage<FrameStoreRecorderMessage> | undefined): boolean {
25603
- return proto3.util.equals(FrameStoreRecorderMessage, a, b);
26134
+ static equals(a: MediaStoreRecorderMessage | PlainMessage<MediaStoreRecorderMessage> | undefined, b: MediaStoreRecorderMessage | PlainMessage<MediaStoreRecorderMessage> | undefined): boolean {
26135
+ return proto3.util.equals(MediaStoreRecorderMessage, a, b);
25604
26136
  }
25605
26137
  }
25606
26138
 
25607
26139
  /**
25608
- * @generated from message norsk.api.media.FrameStoreRecorderEvent
26140
+ * @generated from message norsk.api.media.MediaStoreRecorderEvent
25609
26141
  */
25610
- export class FrameStoreRecorderEvent extends Message<FrameStoreRecorderEvent> {
26142
+ export class MediaStoreRecorderEvent extends Message<MediaStoreRecorderEvent> {
25611
26143
  /**
25612
- * @generated from oneof norsk.api.media.FrameStoreRecorderEvent.message
26144
+ * @generated from oneof norsk.api.media.MediaStoreRecorderEvent.message
25613
26145
  */
25614
26146
  message: {
25615
26147
  /**
@@ -25629,304 +26161,297 @@ export class FrameStoreRecorderEvent extends Message<FrameStoreRecorderEvent> {
25629
26161
  */
25630
26162
  value: Context;
25631
26163
  case: "inboundContext";
25632
- } | {
25633
- /**
25634
- * @generated from field: norsk.api.media.FrameStoreCutProgress cut_progress = 4;
25635
- */
25636
- value: FrameStoreCutProgress;
25637
- case: "cutProgress";
25638
- } | {
25639
- /**
25640
- * @generated from field: norsk.api.media.FrameStoreCutComplete cut_complete = 5;
25641
- */
25642
- value: FrameStoreCutComplete;
25643
- case: "cutComplete";
25644
26164
  } | { case: undefined; value?: undefined } = { case: undefined };
25645
26165
 
25646
- constructor(data?: PartialMessage<FrameStoreRecorderEvent>) {
26166
+ constructor(data?: PartialMessage<MediaStoreRecorderEvent>) {
25647
26167
  super();
25648
26168
  proto3.util.initPartial(data, this);
25649
26169
  }
25650
26170
 
25651
26171
  static readonly runtime = proto3;
25652
- static readonly typeName = "norsk.api.media.FrameStoreRecorderEvent";
26172
+ static readonly typeName = "norsk.api.media.MediaStoreRecorderEvent";
25653
26173
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25654
26174
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
25655
26175
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
25656
26176
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
25657
- { no: 4, name: "cut_progress", kind: "message", T: FrameStoreCutProgress, oneof: "message" },
25658
- { no: 5, name: "cut_complete", kind: "message", T: FrameStoreCutComplete, oneof: "message" },
25659
26177
  ]);
25660
26178
 
25661
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderEvent {
25662
- return new FrameStoreRecorderEvent().fromBinary(bytes, options);
26179
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreRecorderEvent {
26180
+ return new MediaStoreRecorderEvent().fromBinary(bytes, options);
25663
26181
  }
25664
26182
 
25665
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreRecorderEvent {
25666
- return new FrameStoreRecorderEvent().fromJson(jsonValue, options);
26183
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreRecorderEvent {
26184
+ return new MediaStoreRecorderEvent().fromJson(jsonValue, options);
25667
26185
  }
25668
26186
 
25669
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreRecorderEvent {
25670
- return new FrameStoreRecorderEvent().fromJsonString(jsonString, options);
26187
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderEvent {
26188
+ return new MediaStoreRecorderEvent().fromJsonString(jsonString, options);
25671
26189
  }
25672
26190
 
25673
- static equals(a: FrameStoreRecorderEvent | PlainMessage<FrameStoreRecorderEvent> | undefined, b: FrameStoreRecorderEvent | PlainMessage<FrameStoreRecorderEvent> | undefined): boolean {
25674
- return proto3.util.equals(FrameStoreRecorderEvent, a, b);
26191
+ static equals(a: MediaStoreRecorderEvent | PlainMessage<MediaStoreRecorderEvent> | undefined, b: MediaStoreRecorderEvent | PlainMessage<MediaStoreRecorderEvent> | undefined): boolean {
26192
+ return proto3.util.equals(MediaStoreRecorderEvent, a, b);
25675
26193
  }
25676
26194
  }
25677
26195
 
25678
26196
  /**
25679
- * @generated from message norsk.api.media.SingleCut
26197
+ * @generated from message norsk.api.media.MediaStoreAssetSettings
25680
26198
  */
25681
- export class SingleCut extends Message<SingleCut> {
26199
+ export class MediaStoreAssetSettings extends Message<MediaStoreAssetSettings> {
25682
26200
  /**
25683
- * @generated from field: google.protobuf.Timestamp start_date_time = 1;
26201
+ * @generated from field: string media_store_name = 1;
25684
26202
  */
25685
- startDateTime?: Timestamp;
26203
+ mediaStoreName = "";
25686
26204
 
25687
26205
  /**
25688
- * @generated from field: uint32 duration_ms = 2;
26206
+ * @generated from field: string file_name = 2;
25689
26207
  */
25690
- durationMs = 0;
26208
+ fileName = "";
25691
26209
 
25692
26210
  /**
25693
- * @generated from field: norsk.api.common.OptionalInt session_num = 3;
26211
+ * @generated from field: string path = 3;
25694
26212
  */
25695
- sessionNum?: OptionalInt;
26213
+ path = "";
25696
26214
 
25697
- constructor(data?: PartialMessage<SingleCut>) {
26215
+ constructor(data?: PartialMessage<MediaStoreAssetSettings>) {
25698
26216
  super();
25699
26217
  proto3.util.initPartial(data, this);
25700
26218
  }
25701
26219
 
25702
26220
  static readonly runtime = proto3;
25703
- static readonly typeName = "norsk.api.media.SingleCut";
26221
+ static readonly typeName = "norsk.api.media.MediaStoreAssetSettings";
25704
26222
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25705
- { no: 1, name: "start_date_time", kind: "message", T: Timestamp },
25706
- { no: 2, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
25707
- { no: 3, name: "session_num", kind: "message", T: OptionalInt },
26223
+ { no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26224
+ { no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26225
+ { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25708
26226
  ]);
25709
26227
 
25710
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SingleCut {
25711
- return new SingleCut().fromBinary(bytes, options);
26228
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetSettings {
26229
+ return new MediaStoreAssetSettings().fromBinary(bytes, options);
25712
26230
  }
25713
26231
 
25714
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SingleCut {
25715
- return new SingleCut().fromJson(jsonValue, options);
26232
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetSettings {
26233
+ return new MediaStoreAssetSettings().fromJson(jsonValue, options);
25716
26234
  }
25717
26235
 
25718
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SingleCut {
25719
- return new SingleCut().fromJsonString(jsonString, options);
26236
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetSettings {
26237
+ return new MediaStoreAssetSettings().fromJsonString(jsonString, options);
25720
26238
  }
25721
26239
 
25722
- static equals(a: SingleCut | PlainMessage<SingleCut> | undefined, b: SingleCut | PlainMessage<SingleCut> | undefined): boolean {
25723
- return proto3.util.equals(SingleCut, a, b);
26240
+ static equals(a: MediaStoreAssetSettings | PlainMessage<MediaStoreAssetSettings> | undefined, b: MediaStoreAssetSettings | PlainMessage<MediaStoreAssetSettings> | undefined): boolean {
26241
+ return proto3.util.equals(MediaStoreAssetSettings, a, b);
25724
26242
  }
25725
26243
  }
25726
26244
 
25727
26245
  /**
25728
- * @generated from message norsk.api.media.StreamSelection
26246
+ * @generated from message norsk.api.media.MediaStoreAssetImportComplete
25729
26247
  */
25730
- export class StreamSelection extends Message<StreamSelection> {
26248
+ export class MediaStoreAssetImportComplete extends Message<MediaStoreAssetImportComplete> {
25731
26249
  /**
25732
- * @generated from oneof norsk.api.media.StreamSelection.stream_selection
26250
+ * @generated from field: uint64 duration_ms = 1;
25733
26251
  */
25734
- streamSelection: {
25735
- /**
25736
- * @generated from field: norsk.api.media.StreamSelection.All all = 1;
25737
- */
25738
- value: StreamSelection_All;
25739
- case: "all";
25740
- } | {
25741
- /**
25742
- * @generated from field: norsk.api.media.StreamSelection.Subset subset = 2;
25743
- */
25744
- value: StreamSelection_Subset;
25745
- case: "subset";
25746
- } | { case: undefined; value?: undefined } = { case: undefined };
26252
+ durationMs = protoInt64.zero;
25747
26253
 
25748
- constructor(data?: PartialMessage<StreamSelection>) {
26254
+ /**
26255
+ * @generated from field: uint64 size = 2;
26256
+ */
26257
+ size = protoInt64.zero;
26258
+
26259
+ constructor(data?: PartialMessage<MediaStoreAssetImportComplete>) {
25749
26260
  super();
25750
26261
  proto3.util.initPartial(data, this);
25751
26262
  }
25752
26263
 
25753
26264
  static readonly runtime = proto3;
25754
- static readonly typeName = "norsk.api.media.StreamSelection";
26265
+ static readonly typeName = "norsk.api.media.MediaStoreAssetImportComplete";
25755
26266
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25756
- { no: 1, name: "all", kind: "message", T: StreamSelection_All, oneof: "stream_selection" },
25757
- { no: 2, name: "subset", kind: "message", T: StreamSelection_Subset, oneof: "stream_selection" },
26267
+ { no: 1, name: "duration_ms", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
26268
+ { no: 2, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
25758
26269
  ]);
25759
26270
 
25760
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection {
25761
- return new StreamSelection().fromBinary(bytes, options);
26271
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetImportComplete {
26272
+ return new MediaStoreAssetImportComplete().fromBinary(bytes, options);
25762
26273
  }
25763
26274
 
25764
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection {
25765
- return new StreamSelection().fromJson(jsonValue, options);
26275
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetImportComplete {
26276
+ return new MediaStoreAssetImportComplete().fromJson(jsonValue, options);
25766
26277
  }
25767
26278
 
25768
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection {
25769
- return new StreamSelection().fromJsonString(jsonString, options);
26279
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetImportComplete {
26280
+ return new MediaStoreAssetImportComplete().fromJsonString(jsonString, options);
25770
26281
  }
25771
26282
 
25772
- static equals(a: StreamSelection | PlainMessage<StreamSelection> | undefined, b: StreamSelection | PlainMessage<StreamSelection> | undefined): boolean {
25773
- return proto3.util.equals(StreamSelection, a, b);
26283
+ static equals(a: MediaStoreAssetImportComplete | PlainMessage<MediaStoreAssetImportComplete> | undefined, b: MediaStoreAssetImportComplete | PlainMessage<MediaStoreAssetImportComplete> | undefined): boolean {
26284
+ return proto3.util.equals(MediaStoreAssetImportComplete, a, b);
25774
26285
  }
25775
26286
  }
25776
26287
 
25777
26288
  /**
25778
- * @generated from message norsk.api.media.StreamSelection.All
26289
+ * @generated from message norsk.api.media.MediaStoreAssetEvent
25779
26290
  */
25780
- export class StreamSelection_All extends Message<StreamSelection_All> {
25781
- constructor(data?: PartialMessage<StreamSelection_All>) {
26291
+ export class MediaStoreAssetEvent extends Message<MediaStoreAssetEvent> {
26292
+ /**
26293
+ * @generated from oneof norsk.api.media.MediaStoreAssetEvent.message
26294
+ */
26295
+ message: {
26296
+ /**
26297
+ * @generated from field: norsk.api.media.Progress import_progress = 1;
26298
+ */
26299
+ value: Progress;
26300
+ case: "importProgress";
26301
+ } | {
26302
+ /**
26303
+ * @generated from field: norsk.api.media.MediaStoreAssetImportComplete import_complete = 2;
26304
+ */
26305
+ value: MediaStoreAssetImportComplete;
26306
+ case: "importComplete";
26307
+ } | { case: undefined; value?: undefined } = { case: undefined };
26308
+
26309
+ constructor(data?: PartialMessage<MediaStoreAssetEvent>) {
25782
26310
  super();
25783
26311
  proto3.util.initPartial(data, this);
25784
26312
  }
25785
26313
 
25786
26314
  static readonly runtime = proto3;
25787
- static readonly typeName = "norsk.api.media.StreamSelection.All";
26315
+ static readonly typeName = "norsk.api.media.MediaStoreAssetEvent";
25788
26316
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26317
+ { no: 1, name: "import_progress", kind: "message", T: Progress, oneof: "message" },
26318
+ { no: 2, name: "import_complete", kind: "message", T: MediaStoreAssetImportComplete, oneof: "message" },
25789
26319
  ]);
25790
26320
 
25791
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection_All {
25792
- return new StreamSelection_All().fromBinary(bytes, options);
26321
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetEvent {
26322
+ return new MediaStoreAssetEvent().fromBinary(bytes, options);
25793
26323
  }
25794
26324
 
25795
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection_All {
25796
- return new StreamSelection_All().fromJson(jsonValue, options);
26325
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetEvent {
26326
+ return new MediaStoreAssetEvent().fromJson(jsonValue, options);
25797
26327
  }
25798
26328
 
25799
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection_All {
25800
- return new StreamSelection_All().fromJsonString(jsonString, options);
26329
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetEvent {
26330
+ return new MediaStoreAssetEvent().fromJsonString(jsonString, options);
25801
26331
  }
25802
26332
 
25803
- static equals(a: StreamSelection_All | PlainMessage<StreamSelection_All> | undefined, b: StreamSelection_All | PlainMessage<StreamSelection_All> | undefined): boolean {
25804
- return proto3.util.equals(StreamSelection_All, a, b);
26333
+ static equals(a: MediaStoreAssetEvent | PlainMessage<MediaStoreAssetEvent> | undefined, b: MediaStoreAssetEvent | PlainMessage<MediaStoreAssetEvent> | undefined): boolean {
26334
+ return proto3.util.equals(MediaStoreAssetEvent, a, b);
25805
26335
  }
25806
26336
  }
25807
26337
 
25808
26338
  /**
25809
- * @generated from message norsk.api.media.StreamSelection.Subset
26339
+ * @generated from message norsk.api.media.MediaStoreCutEvent
25810
26340
  */
25811
- export class StreamSelection_Subset extends Message<StreamSelection_Subset> {
26341
+ export class MediaStoreCutEvent extends Message<MediaStoreCutEvent> {
25812
26342
  /**
25813
- * @generated from field: repeated norsk.api.media.StreamKey stream_list = 1;
26343
+ * @generated from oneof norsk.api.media.MediaStoreCutEvent.message
25814
26344
  */
25815
- streamList: StreamKey[] = [];
26345
+ message: {
26346
+ /**
26347
+ * @generated from field: norsk.api.media.Progress cut_progress = 1;
26348
+ */
26349
+ value: Progress;
26350
+ case: "cutProgress";
26351
+ } | {
26352
+ /**
26353
+ * @generated from field: norsk.api.media.MediaStoreCutComplete cut_complete = 2;
26354
+ */
26355
+ value: MediaStoreCutComplete;
26356
+ case: "cutComplete";
26357
+ } | { case: undefined; value?: undefined } = { case: undefined };
25816
26358
 
25817
- constructor(data?: PartialMessage<StreamSelection_Subset>) {
26359
+ constructor(data?: PartialMessage<MediaStoreCutEvent>) {
25818
26360
  super();
25819
26361
  proto3.util.initPartial(data, this);
25820
26362
  }
25821
26363
 
25822
26364
  static readonly runtime = proto3;
25823
- static readonly typeName = "norsk.api.media.StreamSelection.Subset";
26365
+ static readonly typeName = "norsk.api.media.MediaStoreCutEvent";
25824
26366
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25825
- { no: 1, name: "stream_list", kind: "message", T: StreamKey, repeated: true },
26367
+ { no: 1, name: "cut_progress", kind: "message", T: Progress, oneof: "message" },
26368
+ { no: 2, name: "cut_complete", kind: "message", T: MediaStoreCutComplete, oneof: "message" },
25826
26369
  ]);
25827
26370
 
25828
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection_Subset {
25829
- return new StreamSelection_Subset().fromBinary(bytes, options);
26371
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutEvent {
26372
+ return new MediaStoreCutEvent().fromBinary(bytes, options);
25830
26373
  }
25831
26374
 
25832
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection_Subset {
25833
- return new StreamSelection_Subset().fromJson(jsonValue, options);
26375
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutEvent {
26376
+ return new MediaStoreCutEvent().fromJson(jsonValue, options);
25834
26377
  }
25835
26378
 
25836
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection_Subset {
25837
- return new StreamSelection_Subset().fromJsonString(jsonString, options);
26379
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutEvent {
26380
+ return new MediaStoreCutEvent().fromJsonString(jsonString, options);
25838
26381
  }
25839
26382
 
25840
- static equals(a: StreamSelection_Subset | PlainMessage<StreamSelection_Subset> | undefined, b: StreamSelection_Subset | PlainMessage<StreamSelection_Subset> | undefined): boolean {
25841
- return proto3.util.equals(StreamSelection_Subset, a, b);
26383
+ static equals(a: MediaStoreCutEvent | PlainMessage<MediaStoreCutEvent> | undefined, b: MediaStoreCutEvent | PlainMessage<MediaStoreCutEvent> | undefined): boolean {
26384
+ return proto3.util.equals(MediaStoreCutEvent, a, b);
25842
26385
  }
25843
26386
  }
25844
26387
 
25845
26388
  /**
25846
- * @generated from message norsk.api.media.FrameStorePlayerConfiguration
26389
+ * @generated from message norsk.api.media.MediaStorePlayerConfiguration
25847
26390
  */
25848
- export class FrameStorePlayerConfiguration extends Message<FrameStorePlayerConfiguration> {
26391
+ export class MediaStorePlayerConfiguration extends Message<MediaStorePlayerConfiguration> {
25849
26392
  /**
25850
26393
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
25851
26394
  */
25852
26395
  id?: MediaNodeId;
25853
26396
 
25854
26397
  /**
25855
- * @generated from field: string name = 2;
25856
- */
25857
- name = "";
25858
-
25859
- /**
25860
- * @generated from field: string source_name = 3;
26398
+ * @generated from field: string source_name = 2;
25861
26399
  */
25862
26400
  sourceName = "";
25863
26401
 
25864
26402
  /**
25865
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
26403
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 3;
25866
26404
  */
25867
26405
  statsSampling?: StreamStatisticsSampling;
25868
26406
 
25869
26407
  /**
25870
- * @generated from field: norsk.api.media.StreamSelection stream_selection = 5;
25871
- */
25872
- streamSelection?: StreamSelection;
25873
-
25874
- /**
25875
- * @generated from field: repeated norsk.api.media.SingleCut cuts = 6;
26408
+ * @generated from field: repeated norsk.api.media.SingleCut cuts = 4;
25876
26409
  */
25877
26410
  cuts: SingleCut[] = [];
25878
26411
 
25879
- /**
25880
- * @generated from field: bool trim_partial_segments = 7;
25881
- */
25882
- trimPartialSegments = false;
25883
-
25884
- constructor(data?: PartialMessage<FrameStorePlayerConfiguration>) {
26412
+ constructor(data?: PartialMessage<MediaStorePlayerConfiguration>) {
25885
26413
  super();
25886
26414
  proto3.util.initPartial(data, this);
25887
26415
  }
25888
26416
 
25889
26417
  static readonly runtime = proto3;
25890
- static readonly typeName = "norsk.api.media.FrameStorePlayerConfiguration";
26418
+ static readonly typeName = "norsk.api.media.MediaStorePlayerConfiguration";
25891
26419
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25892
26420
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
25893
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25894
- { no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25895
- { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
25896
- { no: 5, name: "stream_selection", kind: "message", T: StreamSelection },
25897
- { no: 6, name: "cuts", kind: "message", T: SingleCut, repeated: true },
25898
- { no: 7, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26421
+ { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26422
+ { no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
26423
+ { no: 4, name: "cuts", kind: "message", T: SingleCut, repeated: true },
25899
26424
  ]);
25900
26425
 
25901
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerConfiguration {
25902
- return new FrameStorePlayerConfiguration().fromBinary(bytes, options);
26426
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStorePlayerConfiguration {
26427
+ return new MediaStorePlayerConfiguration().fromBinary(bytes, options);
25903
26428
  }
25904
26429
 
25905
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
25906
- return new FrameStorePlayerConfiguration().fromJson(jsonValue, options);
26430
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStorePlayerConfiguration {
26431
+ return new MediaStorePlayerConfiguration().fromJson(jsonValue, options);
25907
26432
  }
25908
26433
 
25909
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
25910
- return new FrameStorePlayerConfiguration().fromJsonString(jsonString, options);
26434
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStorePlayerConfiguration {
26435
+ return new MediaStorePlayerConfiguration().fromJsonString(jsonString, options);
25911
26436
  }
25912
26437
 
25913
- static equals(a: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined, b: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined): boolean {
25914
- return proto3.util.equals(FrameStorePlayerConfiguration, a, b);
26438
+ static equals(a: MediaStorePlayerConfiguration | PlainMessage<MediaStorePlayerConfiguration> | undefined, b: MediaStorePlayerConfiguration | PlainMessage<MediaStorePlayerConfiguration> | undefined): boolean {
26439
+ return proto3.util.equals(MediaStorePlayerConfiguration, a, b);
25915
26440
  }
25916
26441
  }
25917
26442
 
25918
26443
  /**
25919
- * @generated from message norsk.api.media.FrameStorePlayerMessage
26444
+ * @generated from message norsk.api.media.MediaStorePlayerMessage
25920
26445
  */
25921
- export class FrameStorePlayerMessage extends Message<FrameStorePlayerMessage> {
26446
+ export class MediaStorePlayerMessage extends Message<MediaStorePlayerMessage> {
25922
26447
  /**
25923
- * @generated from oneof norsk.api.media.FrameStorePlayerMessage.message
26448
+ * @generated from oneof norsk.api.media.MediaStorePlayerMessage.message
25924
26449
  */
25925
26450
  message: {
25926
26451
  /**
25927
- * @generated from field: norsk.api.media.FrameStorePlayerConfiguration initial_config = 1;
26452
+ * @generated from field: norsk.api.media.MediaStorePlayerConfiguration initial_config = 1;
25928
26453
  */
25929
- value: FrameStorePlayerConfiguration;
26454
+ value: MediaStorePlayerConfiguration;
25930
26455
  case: "initialConfig";
25931
26456
  } | {
25932
26457
  /**
@@ -25936,41 +26461,41 @@ export class FrameStorePlayerMessage extends Message<FrameStorePlayerMessage> {
25936
26461
  case: "nudge";
25937
26462
  } | { case: undefined; value?: undefined } = { case: undefined };
25938
26463
 
25939
- constructor(data?: PartialMessage<FrameStorePlayerMessage>) {
26464
+ constructor(data?: PartialMessage<MediaStorePlayerMessage>) {
25940
26465
  super();
25941
26466
  proto3.util.initPartial(data, this);
25942
26467
  }
25943
26468
 
25944
26469
  static readonly runtime = proto3;
25945
- static readonly typeName = "norsk.api.media.FrameStorePlayerMessage";
26470
+ static readonly typeName = "norsk.api.media.MediaStorePlayerMessage";
25946
26471
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25947
- { no: 1, name: "initial_config", kind: "message", T: FrameStorePlayerConfiguration, oneof: "message" },
26472
+ { no: 1, name: "initial_config", kind: "message", T: MediaStorePlayerConfiguration, oneof: "message" },
25948
26473
  { no: 2, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
25949
26474
  ]);
25950
26475
 
25951
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerMessage {
25952
- return new FrameStorePlayerMessage().fromBinary(bytes, options);
26476
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStorePlayerMessage {
26477
+ return new MediaStorePlayerMessage().fromBinary(bytes, options);
25953
26478
  }
25954
26479
 
25955
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerMessage {
25956
- return new FrameStorePlayerMessage().fromJson(jsonValue, options);
26480
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStorePlayerMessage {
26481
+ return new MediaStorePlayerMessage().fromJson(jsonValue, options);
25957
26482
  }
25958
26483
 
25959
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerMessage {
25960
- return new FrameStorePlayerMessage().fromJsonString(jsonString, options);
26484
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStorePlayerMessage {
26485
+ return new MediaStorePlayerMessage().fromJsonString(jsonString, options);
25961
26486
  }
25962
26487
 
25963
- static equals(a: FrameStorePlayerMessage | PlainMessage<FrameStorePlayerMessage> | undefined, b: FrameStorePlayerMessage | PlainMessage<FrameStorePlayerMessage> | undefined): boolean {
25964
- return proto3.util.equals(FrameStorePlayerMessage, a, b);
26488
+ static equals(a: MediaStorePlayerMessage | PlainMessage<MediaStorePlayerMessage> | undefined, b: MediaStorePlayerMessage | PlainMessage<MediaStorePlayerMessage> | undefined): boolean {
26489
+ return proto3.util.equals(MediaStorePlayerMessage, a, b);
25965
26490
  }
25966
26491
  }
25967
26492
 
25968
26493
  /**
25969
- * @generated from message norsk.api.media.FrameStorePlayerEvent
26494
+ * @generated from message norsk.api.media.MediaStorePlayerEvent
25970
26495
  */
25971
- export class FrameStorePlayerEvent extends Message<FrameStorePlayerEvent> {
26496
+ export class MediaStorePlayerEvent extends Message<MediaStorePlayerEvent> {
25972
26497
  /**
25973
- * @generated from oneof norsk.api.media.FrameStorePlayerEvent.message
26498
+ * @generated from oneof norsk.api.media.MediaStorePlayerEvent.message
25974
26499
  */
25975
26500
  message: {
25976
26501
  /**
@@ -25992,33 +26517,33 @@ export class FrameStorePlayerEvent extends Message<FrameStorePlayerEvent> {
25992
26517
  case: "streamStatistics";
25993
26518
  } | { case: undefined; value?: undefined } = { case: undefined };
25994
26519
 
25995
- constructor(data?: PartialMessage<FrameStorePlayerEvent>) {
26520
+ constructor(data?: PartialMessage<MediaStorePlayerEvent>) {
25996
26521
  super();
25997
26522
  proto3.util.initPartial(data, this);
25998
26523
  }
25999
26524
 
26000
26525
  static readonly runtime = proto3;
26001
- static readonly typeName = "norsk.api.media.FrameStorePlayerEvent";
26526
+ static readonly typeName = "norsk.api.media.MediaStorePlayerEvent";
26002
26527
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26003
26528
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
26004
26529
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
26005
26530
  { no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
26006
26531
  ]);
26007
26532
 
26008
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerEvent {
26009
- return new FrameStorePlayerEvent().fromBinary(bytes, options);
26533
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStorePlayerEvent {
26534
+ return new MediaStorePlayerEvent().fromBinary(bytes, options);
26010
26535
  }
26011
26536
 
26012
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerEvent {
26013
- return new FrameStorePlayerEvent().fromJson(jsonValue, options);
26537
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStorePlayerEvent {
26538
+ return new MediaStorePlayerEvent().fromJson(jsonValue, options);
26014
26539
  }
26015
26540
 
26016
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerEvent {
26017
- return new FrameStorePlayerEvent().fromJsonString(jsonString, options);
26541
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStorePlayerEvent {
26542
+ return new MediaStorePlayerEvent().fromJsonString(jsonString, options);
26018
26543
  }
26019
26544
 
26020
- static equals(a: FrameStorePlayerEvent | PlainMessage<FrameStorePlayerEvent> | undefined, b: FrameStorePlayerEvent | PlainMessage<FrameStorePlayerEvent> | undefined): boolean {
26021
- return proto3.util.equals(FrameStorePlayerEvent, a, b);
26545
+ static equals(a: MediaStorePlayerEvent | PlainMessage<MediaStorePlayerEvent> | undefined, b: MediaStorePlayerEvent | PlainMessage<MediaStorePlayerEvent> | undefined): boolean {
26546
+ return proto3.util.equals(MediaStorePlayerEvent, a, b);
26022
26547
  }
26023
26548
  }
26024
26549