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