@norskvideo/norsk-api 1.0.365 → 1.0.368

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.d.ts CHANGED
@@ -1,6 +1,23 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Empty, Message, Timestamp } from "@bufbuild/protobuf";
3
- import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, Version } from "./shared/common_pb.js";
3
+ import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, UInt32OrInfinity, Version } from "./shared/common_pb.js";
4
+ /**
5
+ * @generated from enum norsk.api.media.NodeMetricsMode
6
+ */
7
+ export declare enum NodeMetricsMode {
8
+ /**
9
+ * @generated from enum value: NODE_METRICS_ENABLE = 0;
10
+ */
11
+ NODE_METRICS_ENABLE = 0,
12
+ /**
13
+ * @generated from enum value: NODE_METRICS_MINIMAL = 1;
14
+ */
15
+ NODE_METRICS_MINIMAL = 1,
16
+ /**
17
+ * @generated from enum value: NODE_METRICS_NONE = 2;
18
+ */
19
+ NODE_METRICS_NONE = 2
20
+ }
4
21
  /**
5
22
  * Enumeration of possible channel positions.
6
23
  *
@@ -3901,9 +3918,9 @@ export declare class TestCardVideoConfiguration extends Message<TestCardVideoCon
3901
3918
  */
3902
3919
  sourceName: string;
3903
3920
  /**
3904
- * @generated from field: int32 number_of_frames = 4;
3921
+ * @generated from field: norsk.api.common.UInt32OrInfinity number_of_frames = 4;
3905
3922
  */
3906
- numberOfFrames: number;
3923
+ numberOfFrames?: UInt32OrInfinity;
3907
3924
  /**
3908
3925
  * @generated from field: bool realtime = 5;
3909
3926
  */
@@ -4134,15 +4151,19 @@ export declare class DeltacastInputConfiguration extends Message<DeltacastInputC
4134
4151
  */
4135
4152
  deviceId: number;
4136
4153
  /**
4137
- * @generated from field: uint32 channel_index = 4;
4154
+ * @generated from field: bool capture_video = 4;
4155
+ */
4156
+ captureVideo: boolean;
4157
+ /**
4158
+ * @generated from field: uint32 channel_index = 5;
4138
4159
  */
4139
4160
  channelIndex: number;
4140
4161
  /**
4141
- * @generated from field: uint32 audio_channel_mask = 5;
4162
+ * @generated from field: uint32 audio_channel_mask = 6;
4142
4163
  */
4143
4164
  audioChannelMask: number;
4144
4165
  /**
4145
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 6;
4166
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 7;
4146
4167
  */
4147
4168
  statsSampling?: StreamStatisticsSampling;
4148
4169
  constructor(data?: PartialMessage<DeltacastInputConfiguration>);
@@ -4483,6 +4504,18 @@ export declare class FileMp4InputMessage extends Message<FileMp4InputMessage> {
4483
4504
  */
4484
4505
  value: Empty;
4485
4506
  case: "pause";
4507
+ } | {
4508
+ /**
4509
+ * @generated from field: norsk.api.media.FileMp4InputSeek seek = 6;
4510
+ */
4511
+ value: FileMp4InputSeek;
4512
+ case: "seek";
4513
+ } | {
4514
+ /**
4515
+ * @generated from field: norsk.api.media.FileMp4InputPlayUntil playUntil = 7;
4516
+ */
4517
+ value: FileMp4InputPlayUntil;
4518
+ case: "playUntil";
4486
4519
  } | {
4487
4520
  case: undefined;
4488
4521
  value?: undefined;
@@ -4496,6 +4529,40 @@ export declare class FileMp4InputMessage extends Message<FileMp4InputMessage> {
4496
4529
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputMessage;
4497
4530
  static equals(a: FileMp4InputMessage | PlainMessage<FileMp4InputMessage> | undefined, b: FileMp4InputMessage | PlainMessage<FileMp4InputMessage> | undefined): boolean;
4498
4531
  }
4532
+ /**
4533
+ * @generated from message norsk.api.media.FileMp4InputSeek
4534
+ */
4535
+ export declare class FileMp4InputSeek extends Message<FileMp4InputSeek> {
4536
+ /**
4537
+ * @generated from field: uint32 offset_ms = 1;
4538
+ */
4539
+ offsetMs: number;
4540
+ constructor(data?: PartialMessage<FileMp4InputSeek>);
4541
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
4542
+ static readonly typeName = "norsk.api.media.FileMp4InputSeek";
4543
+ static readonly fields: FieldList;
4544
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputSeek;
4545
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputSeek;
4546
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputSeek;
4547
+ static equals(a: FileMp4InputSeek | PlainMessage<FileMp4InputSeek> | undefined, b: FileMp4InputSeek | PlainMessage<FileMp4InputSeek> | undefined): boolean;
4548
+ }
4549
+ /**
4550
+ * @generated from message norsk.api.media.FileMp4InputPlayUntil
4551
+ */
4552
+ export declare class FileMp4InputPlayUntil extends Message<FileMp4InputPlayUntil> {
4553
+ /**
4554
+ * @generated from field: uint32 offset_ms = 1;
4555
+ */
4556
+ offsetMs: number;
4557
+ constructor(data?: PartialMessage<FileMp4InputPlayUntil>);
4558
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
4559
+ static readonly typeName = "norsk.api.media.FileMp4InputPlayUntil";
4560
+ static readonly fields: FieldList;
4561
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputPlayUntil;
4562
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputPlayUntil;
4563
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputPlayUntil;
4564
+ static equals(a: FileMp4InputPlayUntil | PlainMessage<FileMp4InputPlayUntil> | undefined, b: FileMp4InputPlayUntil | PlainMessage<FileMp4InputPlayUntil> | undefined): boolean;
4565
+ }
4499
4566
  /**
4500
4567
  * @generated from message norsk.api.media.FileMp4InputStatus
4501
4568
  */
@@ -4524,7 +4591,15 @@ export declare enum FileMp4InputStatus_State {
4524
4591
  /**
4525
4592
  * @generated from enum value: INPUT_STATUS_EOF = 1;
4526
4593
  */
4527
- INPUT_STATUS_EOF = 1
4594
+ INPUT_STATUS_EOF = 1,
4595
+ /**
4596
+ * @generated from enum value: INPUT_STATUS_EOF_LOOPING = 2;
4597
+ */
4598
+ INPUT_STATUS_EOF_LOOPING = 2,
4599
+ /**
4600
+ * @generated from enum value: INPUT_STATUS_STOP_POSITION = 3;
4601
+ */
4602
+ INPUT_STATUS_STOP_POSITION = 3
4528
4603
  }
4529
4604
  /**
4530
4605
  * @generated from message norsk.api.media.FileMp4InputInfo
@@ -6356,6 +6431,14 @@ export declare class AudioBuildMultichannelConfiguration extends Message<AudioBu
6356
6431
  * @generated from field: norsk.api.media.SampleRate sample_rate = 8;
6357
6432
  */
6358
6433
  sampleRate: SampleRate;
6434
+ /**
6435
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 9;
6436
+ */
6437
+ metrics: NodeMetricsMode;
6438
+ /**
6439
+ * @generated from field: norsk.api.media.SampleFormat sampleFormat = 10;
6440
+ */
6441
+ sampleFormat: SampleFormat;
6359
6442
  constructor(data?: PartialMessage<AudioBuildMultichannelConfiguration>);
6360
6443
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6361
6444
  static readonly typeName = "norsk.api.media.AudioBuildMultichannelConfiguration";
@@ -6489,6 +6572,10 @@ export declare class AudioSplitMultichannelConfiguration extends Message<AudioSp
6489
6572
  * @generated from field: norsk.api.media.RenditionName output_rendition_name = 5;
6490
6573
  */
6491
6574
  outputRenditionName?: RenditionName;
6575
+ /**
6576
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 6;
6577
+ */
6578
+ metrics: NodeMetricsMode;
6492
6579
  constructor(data?: PartialMessage<AudioSplitMultichannelConfiguration>);
6493
6580
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6494
6581
  static readonly typeName = "norsk.api.media.AudioSplitMultichannelConfiguration";
@@ -6781,6 +6868,10 @@ export declare class CmafVideoConfiguration extends Message<CmafVideoConfigurati
6781
6868
  * @generated from field: norsk.api.common.OptionalString name = 11;
6782
6869
  */
6783
6870
  name?: OptionalString;
6871
+ /**
6872
+ * @generated from field: bool pdt_every_segment = 12;
6873
+ */
6874
+ pdtEverySegment: boolean;
6784
6875
  constructor(data?: PartialMessage<CmafVideoConfiguration>);
6785
6876
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6786
6877
  static readonly typeName = "norsk.api.media.CmafVideoConfiguration";
@@ -6874,6 +6965,10 @@ export declare class HlsTsVideoConfiguration extends Message<HlsTsVideoConfigura
6874
6965
  * @generated from field: norsk.api.common.OptionalString name = 9;
6875
6966
  */
6876
6967
  name?: OptionalString;
6968
+ /**
6969
+ * @generated from field: bool pdt_every_segment = 10;
6970
+ */
6971
+ pdtEverySegment: boolean;
6877
6972
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>);
6878
6973
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6879
6974
  static readonly typeName = "norsk.api.media.HlsTsVideoConfiguration";
@@ -6975,6 +7070,10 @@ export declare class CmafAudioConfiguration extends Message<CmafAudioConfigurati
6975
7070
  * @generated from field: norsk.api.common.OptionalString name = 12;
6976
7071
  */
6977
7072
  name?: OptionalString;
7073
+ /**
7074
+ * @generated from field: bool pdt_every_segment = 13;
7075
+ */
7076
+ pdtEverySegment: boolean;
6978
7077
  constructor(data?: PartialMessage<CmafAudioConfiguration>);
6979
7078
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6980
7079
  static readonly typeName = "norsk.api.media.CmafAudioConfiguration";
@@ -7068,6 +7167,10 @@ export declare class HlsTsAudioConfiguration extends Message<HlsTsAudioConfigura
7068
7167
  * @generated from field: norsk.api.common.OptionalString name = 9;
7069
7168
  */
7070
7169
  name?: OptionalString;
7170
+ /**
7171
+ * @generated from field: bool pdt_every_segment = 10;
7172
+ */
7173
+ pdtEverySegment: boolean;
7071
7174
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>);
7072
7175
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
7073
7176
  static readonly typeName = "norsk.api.media.HlsTsAudioConfiguration";
@@ -7141,6 +7244,10 @@ export declare class CmafWebVttConfiguration extends Message<CmafWebVttConfigura
7141
7244
  * @generated from field: norsk.api.common.OptionalString name = 9;
7142
7245
  */
7143
7246
  name?: OptionalString;
7247
+ /**
7248
+ * @generated from field: bool pdt_every_segment = 10;
7249
+ */
7250
+ pdtEverySegment: boolean;
7144
7251
  constructor(data?: PartialMessage<CmafWebVttConfiguration>);
7145
7252
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
7146
7253
  static readonly typeName = "norsk.api.media.CmafWebVttConfiguration";
@@ -7747,6 +7854,10 @@ export declare class HlsTsCombinedPushConfiguration extends Message<HlsTsCombine
7747
7854
  * @generated from field: norsk.api.common.OptionalString name = 9;
7748
7855
  */
7749
7856
  name?: OptionalString;
7857
+ /**
7858
+ * @generated from field: bool pdt_every_segment = 10;
7859
+ */
7860
+ pdtEverySegment: boolean;
7750
7861
  constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>);
7751
7862
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
7752
7863
  static readonly typeName = "norsk.api.media.HlsTsCombinedPushConfiguration";
@@ -7796,6 +7907,18 @@ export declare class HlsPushDestination extends Message<HlsPushDestination> {
7796
7907
  * @generated from field: float part_hold_back_seconds = 9;
7797
7908
  */
7798
7909
  partHoldBackSeconds: number;
7910
+ /**
7911
+ * whether the server supports gzip compression on PUT/POST requests
7912
+ *
7913
+ * @generated from field: bool supports_gzip = 10;
7914
+ */
7915
+ supportsGzip: boolean;
7916
+ /**
7917
+ * Whether to use TLS or plain TCP transport, by default TLS used if port is 443
7918
+ *
7919
+ * @generated from field: norsk.api.common.OptionalBool tls_transport = 11;
7920
+ */
7921
+ tlsTransport?: OptionalBool;
7799
7922
  constructor(data?: PartialMessage<HlsPushDestination>);
7800
7923
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
7801
7924
  static readonly typeName = "norsk.api.media.HlsPushDestination";
@@ -15831,6 +15954,27 @@ export declare class MediaStoreRecorderConfiguration extends Message<MediaStoreR
15831
15954
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderConfiguration;
15832
15955
  static equals(a: MediaStoreRecorderConfiguration | PlainMessage<MediaStoreRecorderConfiguration> | undefined, b: MediaStoreRecorderConfiguration | PlainMessage<MediaStoreRecorderConfiguration> | undefined): boolean;
15833
15956
  }
15957
+ /**
15958
+ * @generated from message norsk.api.media.MediaStoreSnapshotConfiguration
15959
+ */
15960
+ export declare class MediaStoreSnapshotConfiguration extends Message<MediaStoreSnapshotConfiguration> {
15961
+ /**
15962
+ * @generated from field: string name = 1;
15963
+ */
15964
+ name: string;
15965
+ /**
15966
+ * @generated from field: string path = 2;
15967
+ */
15968
+ path: string;
15969
+ constructor(data?: PartialMessage<MediaStoreSnapshotConfiguration>);
15970
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
15971
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotConfiguration";
15972
+ static readonly fields: FieldList;
15973
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotConfiguration;
15974
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotConfiguration;
15975
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotConfiguration;
15976
+ static equals(a: MediaStoreSnapshotConfiguration | PlainMessage<MediaStoreSnapshotConfiguration> | undefined, b: MediaStoreSnapshotConfiguration | PlainMessage<MediaStoreSnapshotConfiguration> | undefined): boolean;
15977
+ }
15834
15978
  /**
15835
15979
  * @generated from message norsk.api.media.StreamSelection
15836
15980
  */
@@ -15880,6 +16024,10 @@ export declare class SingleCut extends Message<SingleCut> {
15880
16024
  * @generated from field: norsk.api.common.OptionalInt session_num = 6;
15881
16025
  */
15882
16026
  sessionNum?: OptionalInt;
16027
+ /**
16028
+ * @generated from field: norsk.api.common.UInt32OrInfinity repeat_count = 7;
16029
+ */
16030
+ repeatCount?: UInt32OrInfinity;
15883
16031
  constructor(data?: PartialMessage<SingleCut>);
15884
16032
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
15885
16033
  static readonly typeName = "norsk.api.media.SingleCut";
@@ -15890,9 +16038,9 @@ export declare class SingleCut extends Message<SingleCut> {
15890
16038
  static equals(a: SingleCut | PlainMessage<SingleCut> | undefined, b: SingleCut | PlainMessage<SingleCut> | undefined): boolean;
15891
16039
  }
15892
16040
  /**
15893
- * @generated from message norsk.api.media.MediaStoreCutRequest
16041
+ * @generated from message norsk.api.media.StartMediaStoreCut
15894
16042
  */
15895
- export declare class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
16043
+ export declare class StartMediaStoreCut extends Message<StartMediaStoreCut> {
15896
16044
  /**
15897
16045
  * @generated from field: string id = 1;
15898
16046
  */
@@ -15906,27 +16054,72 @@ export declare class MediaStoreCutRequest extends Message<MediaStoreCutRequest>
15906
16054
  */
15907
16055
  fileName: string;
15908
16056
  /**
15909
- * @generated from field: norsk.api.media.MediaStoreCutRequest.FileFormat file_format = 4;
16057
+ * @generated from field: norsk.api.media.StartMediaStoreCut.FileFormat file_format = 4;
15910
16058
  */
15911
- fileFormat: MediaStoreCutRequest_FileFormat;
15912
- constructor(data?: PartialMessage<MediaStoreCutRequest>);
16059
+ fileFormat: StartMediaStoreCut_FileFormat;
16060
+ constructor(data?: PartialMessage<StartMediaStoreCut>);
15913
16061
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
15914
- static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
16062
+ static readonly typeName = "norsk.api.media.StartMediaStoreCut";
15915
16063
  static readonly fields: FieldList;
15916
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest;
15917
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest;
15918
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest;
15919
- static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean;
16064
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartMediaStoreCut;
16065
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartMediaStoreCut;
16066
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartMediaStoreCut;
16067
+ static equals(a: StartMediaStoreCut | PlainMessage<StartMediaStoreCut> | undefined, b: StartMediaStoreCut | PlainMessage<StartMediaStoreCut> | undefined): boolean;
15920
16068
  }
15921
16069
  /**
15922
- * @generated from enum norsk.api.media.MediaStoreCutRequest.FileFormat
16070
+ * @generated from enum norsk.api.media.StartMediaStoreCut.FileFormat
15923
16071
  */
15924
- export declare enum MediaStoreCutRequest_FileFormat {
16072
+ export declare enum StartMediaStoreCut_FileFormat {
15925
16073
  /**
15926
16074
  * @generated from enum value: CUT_MP4 = 0;
15927
16075
  */
15928
16076
  CUT_MP4 = 0
15929
16077
  }
16078
+ /**
16079
+ * @generated from message norsk.api.media.CancelMediaStoreCut
16080
+ */
16081
+ export declare class CancelMediaStoreCut extends Message<CancelMediaStoreCut> {
16082
+ constructor(data?: PartialMessage<CancelMediaStoreCut>);
16083
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16084
+ static readonly typeName = "norsk.api.media.CancelMediaStoreCut";
16085
+ static readonly fields: FieldList;
16086
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CancelMediaStoreCut;
16087
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CancelMediaStoreCut;
16088
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CancelMediaStoreCut;
16089
+ static equals(a: CancelMediaStoreCut | PlainMessage<CancelMediaStoreCut> | undefined, b: CancelMediaStoreCut | PlainMessage<CancelMediaStoreCut> | undefined): boolean;
16090
+ }
16091
+ /**
16092
+ * @generated from message norsk.api.media.MediaStoreCutRequest
16093
+ */
16094
+ export declare class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
16095
+ /**
16096
+ * @generated from oneof norsk.api.media.MediaStoreCutRequest.message
16097
+ */
16098
+ message: {
16099
+ /**
16100
+ * @generated from field: norsk.api.media.StartMediaStoreCut start_cut = 1;
16101
+ */
16102
+ value: StartMediaStoreCut;
16103
+ case: "startCut";
16104
+ } | {
16105
+ /**
16106
+ * @generated from field: norsk.api.media.CancelMediaStoreCut cancel_cut = 2;
16107
+ */
16108
+ value: CancelMediaStoreCut;
16109
+ case: "cancelCut";
16110
+ } | {
16111
+ case: undefined;
16112
+ value?: undefined;
16113
+ };
16114
+ constructor(data?: PartialMessage<MediaStoreCutRequest>);
16115
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16116
+ static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
16117
+ static readonly fields: FieldList;
16118
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest;
16119
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest;
16120
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest;
16121
+ static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean;
16122
+ }
15930
16123
  /**
15931
16124
  * @generated from message norsk.api.media.Progress
15932
16125
  */
@@ -16031,6 +16224,167 @@ export declare class MediaStoreRecorderEvent extends Message<MediaStoreRecorderE
16031
16224
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderEvent;
16032
16225
  static equals(a: MediaStoreRecorderEvent | PlainMessage<MediaStoreRecorderEvent> | undefined, b: MediaStoreRecorderEvent | PlainMessage<MediaStoreRecorderEvent> | undefined): boolean;
16033
16226
  }
16227
+ /**
16228
+ * @generated from message norsk.api.media.MediaStoreSnapshotMessage
16229
+ */
16230
+ export declare class MediaStoreSnapshotMessage extends Message<MediaStoreSnapshotMessage> {
16231
+ /**
16232
+ * @generated from oneof norsk.api.media.MediaStoreSnapshotMessage.message
16233
+ */
16234
+ message: {
16235
+ /**
16236
+ * @generated from field: norsk.api.media.MediaStoreSnapshotConfiguration configuration = 1;
16237
+ */
16238
+ value: MediaStoreSnapshotConfiguration;
16239
+ case: "configuration";
16240
+ } | {
16241
+ /**
16242
+ * @generated from field: google.protobuf.Empty update = 2;
16243
+ */
16244
+ value: Empty;
16245
+ case: "update";
16246
+ } | {
16247
+ case: undefined;
16248
+ value?: undefined;
16249
+ };
16250
+ constructor(data?: PartialMessage<MediaStoreSnapshotMessage>);
16251
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16252
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotMessage";
16253
+ static readonly fields: FieldList;
16254
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotMessage;
16255
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotMessage;
16256
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotMessage;
16257
+ static equals(a: MediaStoreSnapshotMessage | PlainMessage<MediaStoreSnapshotMessage> | undefined, b: MediaStoreSnapshotMessage | PlainMessage<MediaStoreSnapshotMessage> | undefined): boolean;
16258
+ }
16259
+ /**
16260
+ * @generated from message norsk.api.media.MediaStoreSnapshotEvent
16261
+ */
16262
+ export declare class MediaStoreSnapshotEvent extends Message<MediaStoreSnapshotEvent> {
16263
+ /**
16264
+ * @generated from oneof norsk.api.media.MediaStoreSnapshotEvent.message
16265
+ */
16266
+ message: {
16267
+ /**
16268
+ * @generated from field: google.protobuf.Empty snapshot_loaded = 1;
16269
+ */
16270
+ value: Empty;
16271
+ case: "snapshotLoaded";
16272
+ } | {
16273
+ /**
16274
+ * @generated from field: google.protobuf.Empty snapshot_updated = 2;
16275
+ */
16276
+ value: Empty;
16277
+ case: "snapshotUpdated";
16278
+ } | {
16279
+ /**
16280
+ * @generated from field: google.protobuf.Empty snapshot_update_failed = 3;
16281
+ */
16282
+ value: Empty;
16283
+ case: "snapshotUpdateFailed";
16284
+ } | {
16285
+ case: undefined;
16286
+ value?: undefined;
16287
+ };
16288
+ constructor(data?: PartialMessage<MediaStoreSnapshotEvent>);
16289
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16290
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotEvent";
16291
+ static readonly fields: FieldList;
16292
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotEvent;
16293
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotEvent;
16294
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotEvent;
16295
+ static equals(a: MediaStoreSnapshotEvent | PlainMessage<MediaStoreSnapshotEvent> | undefined, b: MediaStoreSnapshotEvent | PlainMessage<MediaStoreSnapshotEvent> | undefined): boolean;
16296
+ }
16297
+ /**
16298
+ * If the store pre-exists and the hash matches, use it
16299
+ * If the hash doesn't match, then either import or error
16300
+ *
16301
+ * @generated from message norsk.api.media.MediaStoreAssetFileWithHash
16302
+ */
16303
+ export declare class MediaStoreAssetFileWithHash extends Message<MediaStoreAssetFileWithHash> {
16304
+ /**
16305
+ * @generated from field: string file = 1;
16306
+ */
16307
+ file: string;
16308
+ /**
16309
+ * @generated from field: string hash = 2;
16310
+ */
16311
+ hash: string;
16312
+ /**
16313
+ * @generated from field: bool import_if_needed = 3;
16314
+ */
16315
+ importIfNeeded: boolean;
16316
+ constructor(data?: PartialMessage<MediaStoreAssetFileWithHash>);
16317
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16318
+ static readonly typeName = "norsk.api.media.MediaStoreAssetFileWithHash";
16319
+ static readonly fields: FieldList;
16320
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFileWithHash;
16321
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetFileWithHash;
16322
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetFileWithHash;
16323
+ static equals(a: MediaStoreAssetFileWithHash | PlainMessage<MediaStoreAssetFileWithHash> | undefined, b: MediaStoreAssetFileWithHash | PlainMessage<MediaStoreAssetFileWithHash> | undefined): boolean;
16324
+ }
16325
+ /**
16326
+ * As above, but calculate the hash (sha256sum)
16327
+ *
16328
+ * @generated from message norsk.api.media.MediaStoreAssetFile
16329
+ */
16330
+ export declare class MediaStoreAssetFile extends Message<MediaStoreAssetFile> {
16331
+ /**
16332
+ * @generated from field: string file = 1;
16333
+ */
16334
+ file: string;
16335
+ /**
16336
+ * @generated from field: bool import_if_needed = 2;
16337
+ */
16338
+ importIfNeeded: boolean;
16339
+ constructor(data?: PartialMessage<MediaStoreAssetFile>);
16340
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16341
+ static readonly typeName = "norsk.api.media.MediaStoreAssetFile";
16342
+ static readonly fields: FieldList;
16343
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFile;
16344
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetFile;
16345
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetFile;
16346
+ static equals(a: MediaStoreAssetFile | PlainMessage<MediaStoreAssetFile> | undefined, b: MediaStoreAssetFile | PlainMessage<MediaStoreAssetFile> | undefined): boolean;
16347
+ }
16348
+ /**
16349
+ * @generated from message norsk.api.media.MediaStoreAssetSource
16350
+ */
16351
+ export declare class MediaStoreAssetSource extends Message<MediaStoreAssetSource> {
16352
+ /**
16353
+ * @generated from oneof norsk.api.media.MediaStoreAssetSource.message
16354
+ */
16355
+ message: {
16356
+ /**
16357
+ * Load a pre-existing asset - check there's a hash but that's all
16358
+ *
16359
+ * @generated from field: google.protobuf.Empty no_load = 1;
16360
+ */
16361
+ value: Empty;
16362
+ case: "noLoad";
16363
+ } | {
16364
+ /**
16365
+ * @generated from field: norsk.api.media.MediaStoreAssetFileWithHash file_with_hash = 2;
16366
+ */
16367
+ value: MediaStoreAssetFileWithHash;
16368
+ case: "fileWithHash";
16369
+ } | {
16370
+ /**
16371
+ * @generated from field: norsk.api.media.MediaStoreAssetFile file = 3;
16372
+ */
16373
+ value: MediaStoreAssetFile;
16374
+ case: "file";
16375
+ } | {
16376
+ case: undefined;
16377
+ value?: undefined;
16378
+ };
16379
+ constructor(data?: PartialMessage<MediaStoreAssetSource>);
16380
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16381
+ static readonly typeName = "norsk.api.media.MediaStoreAssetSource";
16382
+ static readonly fields: FieldList;
16383
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetSource;
16384
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetSource;
16385
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetSource;
16386
+ static equals(a: MediaStoreAssetSource | PlainMessage<MediaStoreAssetSource> | undefined, b: MediaStoreAssetSource | PlainMessage<MediaStoreAssetSource> | undefined): boolean;
16387
+ }
16034
16388
  /**
16035
16389
  * @generated from message norsk.api.media.MediaStoreAssetSettings
16036
16390
  */
@@ -16040,9 +16394,9 @@ export declare class MediaStoreAssetSettings extends Message<MediaStoreAssetSett
16040
16394
  */
16041
16395
  mediaStoreName: string;
16042
16396
  /**
16043
- * @generated from field: string file_name = 2;
16397
+ * @generated from field: norsk.api.media.MediaStoreAssetSource asset_source = 2;
16044
16398
  */
16045
- fileName: string;
16399
+ assetSource?: MediaStoreAssetSource;
16046
16400
  /**
16047
16401
  * @generated from field: string path = 3;
16048
16402
  */
@@ -16128,6 +16482,12 @@ export declare class MediaStoreCutEvent extends Message<MediaStoreCutEvent> {
16128
16482
  */
16129
16483
  value: MediaStoreCutComplete;
16130
16484
  case: "cutComplete";
16485
+ } | {
16486
+ /**
16487
+ * @generated from field: google.protobuf.Empty cut_cancelled = 3;
16488
+ */
16489
+ value: Empty;
16490
+ case: "cutCancelled";
16131
16491
  } | {
16132
16492
  case: undefined;
16133
16493
  value?: undefined;