@norskvideo/norsk-api 1.0.364 → 1.0.367

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,6 @@
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
4
  /**
5
5
  * Enumeration of possible channel positions.
6
6
  *
@@ -3901,9 +3901,9 @@ export declare class TestCardVideoConfiguration extends Message<TestCardVideoCon
3901
3901
  */
3902
3902
  sourceName: string;
3903
3903
  /**
3904
- * @generated from field: int32 number_of_frames = 4;
3904
+ * @generated from field: norsk.api.common.UInt32OrInfinity number_of_frames = 4;
3905
3905
  */
3906
- numberOfFrames: number;
3906
+ numberOfFrames?: UInt32OrInfinity;
3907
3907
  /**
3908
3908
  * @generated from field: bool realtime = 5;
3909
3909
  */
@@ -4134,15 +4134,19 @@ export declare class DeltacastInputConfiguration extends Message<DeltacastInputC
4134
4134
  */
4135
4135
  deviceId: number;
4136
4136
  /**
4137
- * @generated from field: uint32 channel_index = 4;
4137
+ * @generated from field: bool capture_video = 4;
4138
+ */
4139
+ captureVideo: boolean;
4140
+ /**
4141
+ * @generated from field: uint32 channel_index = 5;
4138
4142
  */
4139
4143
  channelIndex: number;
4140
4144
  /**
4141
- * @generated from field: uint32 audio_channel_mask = 5;
4145
+ * @generated from field: uint32 audio_channel_mask = 6;
4142
4146
  */
4143
4147
  audioChannelMask: number;
4144
4148
  /**
4145
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 6;
4149
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 7;
4146
4150
  */
4147
4151
  statsSampling?: StreamStatisticsSampling;
4148
4152
  constructor(data?: PartialMessage<DeltacastInputConfiguration>);
@@ -4483,6 +4487,18 @@ export declare class FileMp4InputMessage extends Message<FileMp4InputMessage> {
4483
4487
  */
4484
4488
  value: Empty;
4485
4489
  case: "pause";
4490
+ } | {
4491
+ /**
4492
+ * @generated from field: norsk.api.media.FileMp4InputSeek seek = 6;
4493
+ */
4494
+ value: FileMp4InputSeek;
4495
+ case: "seek";
4496
+ } | {
4497
+ /**
4498
+ * @generated from field: norsk.api.media.FileMp4InputPlayUntil playUntil = 7;
4499
+ */
4500
+ value: FileMp4InputPlayUntil;
4501
+ case: "playUntil";
4486
4502
  } | {
4487
4503
  case: undefined;
4488
4504
  value?: undefined;
@@ -4496,6 +4512,40 @@ export declare class FileMp4InputMessage extends Message<FileMp4InputMessage> {
4496
4512
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputMessage;
4497
4513
  static equals(a: FileMp4InputMessage | PlainMessage<FileMp4InputMessage> | undefined, b: FileMp4InputMessage | PlainMessage<FileMp4InputMessage> | undefined): boolean;
4498
4514
  }
4515
+ /**
4516
+ * @generated from message norsk.api.media.FileMp4InputSeek
4517
+ */
4518
+ export declare class FileMp4InputSeek extends Message<FileMp4InputSeek> {
4519
+ /**
4520
+ * @generated from field: uint32 offset_ms = 1;
4521
+ */
4522
+ offsetMs: number;
4523
+ constructor(data?: PartialMessage<FileMp4InputSeek>);
4524
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
4525
+ static readonly typeName = "norsk.api.media.FileMp4InputSeek";
4526
+ static readonly fields: FieldList;
4527
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputSeek;
4528
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputSeek;
4529
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputSeek;
4530
+ static equals(a: FileMp4InputSeek | PlainMessage<FileMp4InputSeek> | undefined, b: FileMp4InputSeek | PlainMessage<FileMp4InputSeek> | undefined): boolean;
4531
+ }
4532
+ /**
4533
+ * @generated from message norsk.api.media.FileMp4InputPlayUntil
4534
+ */
4535
+ export declare class FileMp4InputPlayUntil extends Message<FileMp4InputPlayUntil> {
4536
+ /**
4537
+ * @generated from field: uint32 offset_ms = 1;
4538
+ */
4539
+ offsetMs: number;
4540
+ constructor(data?: PartialMessage<FileMp4InputPlayUntil>);
4541
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
4542
+ static readonly typeName = "norsk.api.media.FileMp4InputPlayUntil";
4543
+ static readonly fields: FieldList;
4544
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputPlayUntil;
4545
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputPlayUntil;
4546
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputPlayUntil;
4547
+ static equals(a: FileMp4InputPlayUntil | PlainMessage<FileMp4InputPlayUntil> | undefined, b: FileMp4InputPlayUntil | PlainMessage<FileMp4InputPlayUntil> | undefined): boolean;
4548
+ }
4499
4549
  /**
4500
4550
  * @generated from message norsk.api.media.FileMp4InputStatus
4501
4551
  */
@@ -4524,7 +4574,15 @@ export declare enum FileMp4InputStatus_State {
4524
4574
  /**
4525
4575
  * @generated from enum value: INPUT_STATUS_EOF = 1;
4526
4576
  */
4527
- INPUT_STATUS_EOF = 1
4577
+ INPUT_STATUS_EOF = 1,
4578
+ /**
4579
+ * @generated from enum value: INPUT_STATUS_EOF_LOOPING = 2;
4580
+ */
4581
+ INPUT_STATUS_EOF_LOOPING = 2,
4582
+ /**
4583
+ * @generated from enum value: INPUT_STATUS_STOP_POSITION = 3;
4584
+ */
4585
+ INPUT_STATUS_STOP_POSITION = 3
4528
4586
  }
4529
4587
  /**
4530
4588
  * @generated from message norsk.api.media.FileMp4InputInfo
@@ -7796,6 +7854,18 @@ export declare class HlsPushDestination extends Message<HlsPushDestination> {
7796
7854
  * @generated from field: float part_hold_back_seconds = 9;
7797
7855
  */
7798
7856
  partHoldBackSeconds: number;
7857
+ /**
7858
+ * whether the server supports gzip compression on PUT/POST requests
7859
+ *
7860
+ * @generated from field: bool supports_gzip = 10;
7861
+ */
7862
+ supportsGzip: boolean;
7863
+ /**
7864
+ * Whether to use TLS or plain TCP transport, by default TLS used if port is 443
7865
+ *
7866
+ * @generated from field: norsk.api.common.OptionalBool tls_transport = 11;
7867
+ */
7868
+ tlsTransport?: OptionalBool;
7799
7869
  constructor(data?: PartialMessage<HlsPushDestination>);
7800
7870
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
7801
7871
  static readonly typeName = "norsk.api.media.HlsPushDestination";
@@ -14745,6 +14815,40 @@ export declare class StreamConditionConfiguration extends Message<StreamConditio
14745
14815
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionConfiguration;
14746
14816
  static equals(a: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined, b: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined): boolean;
14747
14817
  }
14818
+ /**
14819
+ * @generated from message norsk.api.media.StreamConditionSpliceOut
14820
+ */
14821
+ export declare class StreamConditionSpliceOut extends Message<StreamConditionSpliceOut> {
14822
+ /**
14823
+ * @generated from field: norsk.api.media.Interval pts = 1;
14824
+ */
14825
+ pts?: Interval;
14826
+ constructor(data?: PartialMessage<StreamConditionSpliceOut>);
14827
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
14828
+ static readonly typeName = "norsk.api.media.StreamConditionSpliceOut";
14829
+ static readonly fields: FieldList;
14830
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionSpliceOut;
14831
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionSpliceOut;
14832
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionSpliceOut;
14833
+ static equals(a: StreamConditionSpliceOut | PlainMessage<StreamConditionSpliceOut> | undefined, b: StreamConditionSpliceOut | PlainMessage<StreamConditionSpliceOut> | undefined): boolean;
14834
+ }
14835
+ /**
14836
+ * @generated from message norsk.api.media.StreamConditionSpliceIn
14837
+ */
14838
+ export declare class StreamConditionSpliceIn extends Message<StreamConditionSpliceIn> {
14839
+ /**
14840
+ * @generated from field: norsk.api.media.Interval pts = 1;
14841
+ */
14842
+ pts?: Interval;
14843
+ constructor(data?: PartialMessage<StreamConditionSpliceIn>);
14844
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
14845
+ static readonly typeName = "norsk.api.media.StreamConditionSpliceIn";
14846
+ static readonly fields: FieldList;
14847
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionSpliceIn;
14848
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionSpliceIn;
14849
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionSpliceIn;
14850
+ static equals(a: StreamConditionSpliceIn | PlainMessage<StreamConditionSpliceIn> | undefined, b: StreamConditionSpliceIn | PlainMessage<StreamConditionSpliceIn> | undefined): boolean;
14851
+ }
14748
14852
  /**
14749
14853
  * @generated from message norsk.api.media.StreamConditionMessage
14750
14854
  */
@@ -14764,6 +14868,18 @@ export declare class StreamConditionMessage extends Message<StreamConditionMessa
14764
14868
  */
14765
14869
  value: Subscription;
14766
14870
  case: "subscription";
14871
+ } | {
14872
+ /**
14873
+ * @generated from field: norsk.api.media.StreamConditionSpliceOut splice_out = 3;
14874
+ */
14875
+ value: StreamConditionSpliceOut;
14876
+ case: "spliceOut";
14877
+ } | {
14878
+ /**
14879
+ * @generated from field: norsk.api.media.StreamConditionSpliceOut splice_in = 4;
14880
+ */
14881
+ value: StreamConditionSpliceOut;
14882
+ case: "spliceIn";
14767
14883
  } | {
14768
14884
  case: undefined;
14769
14885
  value?: undefined;
@@ -15785,6 +15901,27 @@ export declare class MediaStoreRecorderConfiguration extends Message<MediaStoreR
15785
15901
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderConfiguration;
15786
15902
  static equals(a: MediaStoreRecorderConfiguration | PlainMessage<MediaStoreRecorderConfiguration> | undefined, b: MediaStoreRecorderConfiguration | PlainMessage<MediaStoreRecorderConfiguration> | undefined): boolean;
15787
15903
  }
15904
+ /**
15905
+ * @generated from message norsk.api.media.MediaStoreSnapshotConfiguration
15906
+ */
15907
+ export declare class MediaStoreSnapshotConfiguration extends Message<MediaStoreSnapshotConfiguration> {
15908
+ /**
15909
+ * @generated from field: string name = 1;
15910
+ */
15911
+ name: string;
15912
+ /**
15913
+ * @generated from field: string path = 2;
15914
+ */
15915
+ path: string;
15916
+ constructor(data?: PartialMessage<MediaStoreSnapshotConfiguration>);
15917
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
15918
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotConfiguration";
15919
+ static readonly fields: FieldList;
15920
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotConfiguration;
15921
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotConfiguration;
15922
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotConfiguration;
15923
+ static equals(a: MediaStoreSnapshotConfiguration | PlainMessage<MediaStoreSnapshotConfiguration> | undefined, b: MediaStoreSnapshotConfiguration | PlainMessage<MediaStoreSnapshotConfiguration> | undefined): boolean;
15924
+ }
15788
15925
  /**
15789
15926
  * @generated from message norsk.api.media.StreamSelection
15790
15927
  */
@@ -15827,13 +15964,17 @@ export declare class SingleCut extends Message<SingleCut> {
15827
15964
  */
15828
15965
  durationMs: number;
15829
15966
  /**
15830
- * @generated from field: bool trim_partial_segments = 5;
15967
+ * @generated from field: bool trim_partial_gops = 5;
15831
15968
  */
15832
- trimPartialSegments: boolean;
15969
+ trimPartialGops: boolean;
15833
15970
  /**
15834
15971
  * @generated from field: norsk.api.common.OptionalInt session_num = 6;
15835
15972
  */
15836
15973
  sessionNum?: OptionalInt;
15974
+ /**
15975
+ * @generated from field: norsk.api.common.UInt32OrInfinity repeat_count = 7;
15976
+ */
15977
+ repeatCount?: UInt32OrInfinity;
15837
15978
  constructor(data?: PartialMessage<SingleCut>);
15838
15979
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
15839
15980
  static readonly typeName = "norsk.api.media.SingleCut";
@@ -15844,9 +15985,9 @@ export declare class SingleCut extends Message<SingleCut> {
15844
15985
  static equals(a: SingleCut | PlainMessage<SingleCut> | undefined, b: SingleCut | PlainMessage<SingleCut> | undefined): boolean;
15845
15986
  }
15846
15987
  /**
15847
- * @generated from message norsk.api.media.MediaStoreCutRequest
15988
+ * @generated from message norsk.api.media.StartMediaStoreCut
15848
15989
  */
15849
- export declare class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
15990
+ export declare class StartMediaStoreCut extends Message<StartMediaStoreCut> {
15850
15991
  /**
15851
15992
  * @generated from field: string id = 1;
15852
15993
  */
@@ -15860,27 +16001,72 @@ export declare class MediaStoreCutRequest extends Message<MediaStoreCutRequest>
15860
16001
  */
15861
16002
  fileName: string;
15862
16003
  /**
15863
- * @generated from field: norsk.api.media.MediaStoreCutRequest.FileFormat file_format = 4;
16004
+ * @generated from field: norsk.api.media.StartMediaStoreCut.FileFormat file_format = 4;
15864
16005
  */
15865
- fileFormat: MediaStoreCutRequest_FileFormat;
15866
- constructor(data?: PartialMessage<MediaStoreCutRequest>);
16006
+ fileFormat: StartMediaStoreCut_FileFormat;
16007
+ constructor(data?: PartialMessage<StartMediaStoreCut>);
15867
16008
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
15868
- static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
16009
+ static readonly typeName = "norsk.api.media.StartMediaStoreCut";
15869
16010
  static readonly fields: FieldList;
15870
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest;
15871
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest;
15872
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest;
15873
- static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean;
16011
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartMediaStoreCut;
16012
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartMediaStoreCut;
16013
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartMediaStoreCut;
16014
+ static equals(a: StartMediaStoreCut | PlainMessage<StartMediaStoreCut> | undefined, b: StartMediaStoreCut | PlainMessage<StartMediaStoreCut> | undefined): boolean;
15874
16015
  }
15875
16016
  /**
15876
- * @generated from enum norsk.api.media.MediaStoreCutRequest.FileFormat
16017
+ * @generated from enum norsk.api.media.StartMediaStoreCut.FileFormat
15877
16018
  */
15878
- export declare enum MediaStoreCutRequest_FileFormat {
16019
+ export declare enum StartMediaStoreCut_FileFormat {
15879
16020
  /**
15880
16021
  * @generated from enum value: CUT_MP4 = 0;
15881
16022
  */
15882
16023
  CUT_MP4 = 0
15883
16024
  }
16025
+ /**
16026
+ * @generated from message norsk.api.media.CancelMediaStoreCut
16027
+ */
16028
+ export declare class CancelMediaStoreCut extends Message<CancelMediaStoreCut> {
16029
+ constructor(data?: PartialMessage<CancelMediaStoreCut>);
16030
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16031
+ static readonly typeName = "norsk.api.media.CancelMediaStoreCut";
16032
+ static readonly fields: FieldList;
16033
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CancelMediaStoreCut;
16034
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CancelMediaStoreCut;
16035
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CancelMediaStoreCut;
16036
+ static equals(a: CancelMediaStoreCut | PlainMessage<CancelMediaStoreCut> | undefined, b: CancelMediaStoreCut | PlainMessage<CancelMediaStoreCut> | undefined): boolean;
16037
+ }
16038
+ /**
16039
+ * @generated from message norsk.api.media.MediaStoreCutRequest
16040
+ */
16041
+ export declare class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
16042
+ /**
16043
+ * @generated from oneof norsk.api.media.MediaStoreCutRequest.message
16044
+ */
16045
+ message: {
16046
+ /**
16047
+ * @generated from field: norsk.api.media.StartMediaStoreCut start_cut = 1;
16048
+ */
16049
+ value: StartMediaStoreCut;
16050
+ case: "startCut";
16051
+ } | {
16052
+ /**
16053
+ * @generated from field: norsk.api.media.CancelMediaStoreCut cancel_cut = 2;
16054
+ */
16055
+ value: CancelMediaStoreCut;
16056
+ case: "cancelCut";
16057
+ } | {
16058
+ case: undefined;
16059
+ value?: undefined;
16060
+ };
16061
+ constructor(data?: PartialMessage<MediaStoreCutRequest>);
16062
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16063
+ static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
16064
+ static readonly fields: FieldList;
16065
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest;
16066
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest;
16067
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest;
16068
+ static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean;
16069
+ }
15884
16070
  /**
15885
16071
  * @generated from message norsk.api.media.Progress
15886
16072
  */
@@ -15985,6 +16171,167 @@ export declare class MediaStoreRecorderEvent extends Message<MediaStoreRecorderE
15985
16171
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreRecorderEvent;
15986
16172
  static equals(a: MediaStoreRecorderEvent | PlainMessage<MediaStoreRecorderEvent> | undefined, b: MediaStoreRecorderEvent | PlainMessage<MediaStoreRecorderEvent> | undefined): boolean;
15987
16173
  }
16174
+ /**
16175
+ * @generated from message norsk.api.media.MediaStoreSnapshotMessage
16176
+ */
16177
+ export declare class MediaStoreSnapshotMessage extends Message<MediaStoreSnapshotMessage> {
16178
+ /**
16179
+ * @generated from oneof norsk.api.media.MediaStoreSnapshotMessage.message
16180
+ */
16181
+ message: {
16182
+ /**
16183
+ * @generated from field: norsk.api.media.MediaStoreSnapshotConfiguration configuration = 1;
16184
+ */
16185
+ value: MediaStoreSnapshotConfiguration;
16186
+ case: "configuration";
16187
+ } | {
16188
+ /**
16189
+ * @generated from field: google.protobuf.Empty update = 2;
16190
+ */
16191
+ value: Empty;
16192
+ case: "update";
16193
+ } | {
16194
+ case: undefined;
16195
+ value?: undefined;
16196
+ };
16197
+ constructor(data?: PartialMessage<MediaStoreSnapshotMessage>);
16198
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16199
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotMessage";
16200
+ static readonly fields: FieldList;
16201
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotMessage;
16202
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotMessage;
16203
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotMessage;
16204
+ static equals(a: MediaStoreSnapshotMessage | PlainMessage<MediaStoreSnapshotMessage> | undefined, b: MediaStoreSnapshotMessage | PlainMessage<MediaStoreSnapshotMessage> | undefined): boolean;
16205
+ }
16206
+ /**
16207
+ * @generated from message norsk.api.media.MediaStoreSnapshotEvent
16208
+ */
16209
+ export declare class MediaStoreSnapshotEvent extends Message<MediaStoreSnapshotEvent> {
16210
+ /**
16211
+ * @generated from oneof norsk.api.media.MediaStoreSnapshotEvent.message
16212
+ */
16213
+ message: {
16214
+ /**
16215
+ * @generated from field: google.protobuf.Empty snapshot_loaded = 1;
16216
+ */
16217
+ value: Empty;
16218
+ case: "snapshotLoaded";
16219
+ } | {
16220
+ /**
16221
+ * @generated from field: google.protobuf.Empty snapshot_updated = 2;
16222
+ */
16223
+ value: Empty;
16224
+ case: "snapshotUpdated";
16225
+ } | {
16226
+ /**
16227
+ * @generated from field: google.protobuf.Empty snapshot_update_failed = 3;
16228
+ */
16229
+ value: Empty;
16230
+ case: "snapshotUpdateFailed";
16231
+ } | {
16232
+ case: undefined;
16233
+ value?: undefined;
16234
+ };
16235
+ constructor(data?: PartialMessage<MediaStoreSnapshotEvent>);
16236
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16237
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotEvent";
16238
+ static readonly fields: FieldList;
16239
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotEvent;
16240
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotEvent;
16241
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotEvent;
16242
+ static equals(a: MediaStoreSnapshotEvent | PlainMessage<MediaStoreSnapshotEvent> | undefined, b: MediaStoreSnapshotEvent | PlainMessage<MediaStoreSnapshotEvent> | undefined): boolean;
16243
+ }
16244
+ /**
16245
+ * If the store pre-exists and the hash matches, use it
16246
+ * If the hash doesn't match, then either import or error
16247
+ *
16248
+ * @generated from message norsk.api.media.MediaStoreAssetFileWithHash
16249
+ */
16250
+ export declare class MediaStoreAssetFileWithHash extends Message<MediaStoreAssetFileWithHash> {
16251
+ /**
16252
+ * @generated from field: string file = 1;
16253
+ */
16254
+ file: string;
16255
+ /**
16256
+ * @generated from field: string hash = 2;
16257
+ */
16258
+ hash: string;
16259
+ /**
16260
+ * @generated from field: bool error_on_hash_mismatch = 3;
16261
+ */
16262
+ errorOnHashMismatch: boolean;
16263
+ constructor(data?: PartialMessage<MediaStoreAssetFileWithHash>);
16264
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16265
+ static readonly typeName = "norsk.api.media.MediaStoreAssetFileWithHash";
16266
+ static readonly fields: FieldList;
16267
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFileWithHash;
16268
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetFileWithHash;
16269
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetFileWithHash;
16270
+ static equals(a: MediaStoreAssetFileWithHash | PlainMessage<MediaStoreAssetFileWithHash> | undefined, b: MediaStoreAssetFileWithHash | PlainMessage<MediaStoreAssetFileWithHash> | undefined): boolean;
16271
+ }
16272
+ /**
16273
+ * As above, but calculate the hash (sha256sum)
16274
+ *
16275
+ * @generated from message norsk.api.media.MediaStoreAssetFile
16276
+ */
16277
+ export declare class MediaStoreAssetFile extends Message<MediaStoreAssetFile> {
16278
+ /**
16279
+ * @generated from field: string file = 1;
16280
+ */
16281
+ file: string;
16282
+ /**
16283
+ * @generated from field: bool error_on_hash_mismatch = 2;
16284
+ */
16285
+ errorOnHashMismatch: boolean;
16286
+ constructor(data?: PartialMessage<MediaStoreAssetFile>);
16287
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16288
+ static readonly typeName = "norsk.api.media.MediaStoreAssetFile";
16289
+ static readonly fields: FieldList;
16290
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFile;
16291
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetFile;
16292
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetFile;
16293
+ static equals(a: MediaStoreAssetFile | PlainMessage<MediaStoreAssetFile> | undefined, b: MediaStoreAssetFile | PlainMessage<MediaStoreAssetFile> | undefined): boolean;
16294
+ }
16295
+ /**
16296
+ * @generated from message norsk.api.media.MediaStoreAssetSource
16297
+ */
16298
+ export declare class MediaStoreAssetSource extends Message<MediaStoreAssetSource> {
16299
+ /**
16300
+ * @generated from oneof norsk.api.media.MediaStoreAssetSource.message
16301
+ */
16302
+ message: {
16303
+ /**
16304
+ * Load a pre-existing asset - check there's a hash but that's all
16305
+ *
16306
+ * @generated from field: google.protobuf.Empty no_load = 1;
16307
+ */
16308
+ value: Empty;
16309
+ case: "noLoad";
16310
+ } | {
16311
+ /**
16312
+ * @generated from field: norsk.api.media.MediaStoreAssetFileWithHash file_with_hash = 2;
16313
+ */
16314
+ value: MediaStoreAssetFileWithHash;
16315
+ case: "fileWithHash";
16316
+ } | {
16317
+ /**
16318
+ * @generated from field: norsk.api.media.MediaStoreAssetFile file = 3;
16319
+ */
16320
+ value: MediaStoreAssetFile;
16321
+ case: "file";
16322
+ } | {
16323
+ case: undefined;
16324
+ value?: undefined;
16325
+ };
16326
+ constructor(data?: PartialMessage<MediaStoreAssetSource>);
16327
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16328
+ static readonly typeName = "norsk.api.media.MediaStoreAssetSource";
16329
+ static readonly fields: FieldList;
16330
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetSource;
16331
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetSource;
16332
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetSource;
16333
+ static equals(a: MediaStoreAssetSource | PlainMessage<MediaStoreAssetSource> | undefined, b: MediaStoreAssetSource | PlainMessage<MediaStoreAssetSource> | undefined): boolean;
16334
+ }
15988
16335
  /**
15989
16336
  * @generated from message norsk.api.media.MediaStoreAssetSettings
15990
16337
  */
@@ -15994,9 +16341,9 @@ export declare class MediaStoreAssetSettings extends Message<MediaStoreAssetSett
15994
16341
  */
15995
16342
  mediaStoreName: string;
15996
16343
  /**
15997
- * @generated from field: string file_name = 2;
16344
+ * @generated from field: norsk.api.media.MediaStoreAssetSource asset_source = 2;
15998
16345
  */
15999
- fileName: string;
16346
+ assetSource?: MediaStoreAssetSource;
16000
16347
  /**
16001
16348
  * @generated from field: string path = 3;
16002
16349
  */
@@ -16082,6 +16429,12 @@ export declare class MediaStoreCutEvent extends Message<MediaStoreCutEvent> {
16082
16429
  */
16083
16430
  value: MediaStoreCutComplete;
16084
16431
  case: "cutComplete";
16432
+ } | {
16433
+ /**
16434
+ * @generated from field: google.protobuf.Empty cut_cancelled = 3;
16435
+ */
16436
+ value: Empty;
16437
+ case: "cutCancelled";
16085
16438
  } | {
16086
16439
  case: undefined;
16087
16440
  value?: undefined;