@norskvideo/norsk-api 1.0.346 → 1.0.348
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_grpc_pb.d.ts +65 -0
- package/lib/media_grpc_pb.js +123 -3
- package/lib/media_pb.d.ts +357 -19
- package/lib/media_pb.js +342 -16
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +554 -23
- package/package.json +1 -1
package/lib/media_pb.d.ts
CHANGED
|
@@ -2016,19 +2016,22 @@ export declare class CodecPictureStructure_Mpeg2PictureStructure extends Message
|
|
|
2016
2016
|
*/
|
|
2017
2017
|
export declare enum CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo {
|
|
2018
2018
|
/**
|
|
2019
|
-
* There is no gop information, either because it is not coded or this is
|
|
2019
|
+
* There is no gop information, either because it is not coded or this is
|
|
2020
|
+
* not the start of a gop
|
|
2020
2021
|
*
|
|
2021
2022
|
* @generated from enum value: MPEG2_GOP_UNKNOWN = 0;
|
|
2022
2023
|
*/
|
|
2023
2024
|
MPEG2_GOP_UNKNOWN = 0,
|
|
2024
2025
|
/**
|
|
2025
|
-
* Indicates gop information is present and this is the start of a closed
|
|
2026
|
+
* Indicates gop information is present and this is the start of a closed
|
|
2027
|
+
* gop
|
|
2026
2028
|
*
|
|
2027
2029
|
* @generated from enum value: MPEG2_GOP_CLOSED = 1;
|
|
2028
2030
|
*/
|
|
2029
2031
|
MPEG2_GOP_CLOSED = 1,
|
|
2030
2032
|
/**
|
|
2031
|
-
* Indicates gop information is present and this is the start of an open
|
|
2033
|
+
* Indicates gop information is present and this is the start of an open
|
|
2034
|
+
* gop
|
|
2032
2035
|
*
|
|
2033
2036
|
* @generated from enum value: MPEG2_GOP_OPEN = 2;
|
|
2034
2037
|
*/
|
|
@@ -6524,10 +6527,6 @@ export declare class CmafWebVttUpdateConfiguration extends Message<CmafWebVttUpd
|
|
|
6524
6527
|
* @generated from field: uint32 maximum_playlist_segments = 3;
|
|
6525
6528
|
*/
|
|
6526
6529
|
maximumPlaylistSegments: number;
|
|
6527
|
-
/**
|
|
6528
|
-
* @generated from field: norsk.api.media.Interval pts_adjustment = 4;
|
|
6529
|
-
*/
|
|
6530
|
-
ptsAdjustment?: Interval;
|
|
6531
6530
|
/**
|
|
6532
6531
|
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 5;
|
|
6533
6532
|
*/
|
|
@@ -6710,6 +6709,79 @@ export declare class CmafMultiVariantMessage extends Message<CmafMultiVariantMes
|
|
|
6710
6709
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMultiVariantMessage;
|
|
6711
6710
|
static equals(a: CmafMultiVariantMessage | PlainMessage<CmafMultiVariantMessage> | undefined, b: CmafMultiVariantMessage | PlainMessage<CmafMultiVariantMessage> | undefined): boolean;
|
|
6712
6711
|
}
|
|
6712
|
+
/**
|
|
6713
|
+
* @generated from message norsk.api.media.HlsTsMultiVariantConfiguration
|
|
6714
|
+
*/
|
|
6715
|
+
export declare class HlsTsMultiVariantConfiguration extends Message<HlsTsMultiVariantConfiguration> {
|
|
6716
|
+
/**
|
|
6717
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
6718
|
+
*/
|
|
6719
|
+
id?: MediaNodeId;
|
|
6720
|
+
/**
|
|
6721
|
+
* @generated from field: string playlist_name = 2;
|
|
6722
|
+
*/
|
|
6723
|
+
playlistName: string;
|
|
6724
|
+
/**
|
|
6725
|
+
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 3;
|
|
6726
|
+
*/
|
|
6727
|
+
statsSampling?: StreamStatisticsSampling;
|
|
6728
|
+
/**
|
|
6729
|
+
* @generated from field: repeated norsk.api.media.CMAFDestination destinations = 4;
|
|
6730
|
+
*/
|
|
6731
|
+
destinations: CMAFDestination[];
|
|
6732
|
+
/**
|
|
6733
|
+
* Directives to add to the m3u multi variant playlist
|
|
6734
|
+
*
|
|
6735
|
+
* @generated from field: string m3u_additions = 5;
|
|
6736
|
+
*/
|
|
6737
|
+
m3uAdditions: string;
|
|
6738
|
+
constructor(data?: PartialMessage<HlsTsMultiVariantConfiguration>);
|
|
6739
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
6740
|
+
static readonly typeName = "norsk.api.media.HlsTsMultiVariantConfiguration";
|
|
6741
|
+
static readonly fields: FieldList;
|
|
6742
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsMultiVariantConfiguration;
|
|
6743
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsMultiVariantConfiguration;
|
|
6744
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsMultiVariantConfiguration;
|
|
6745
|
+
static equals(a: HlsTsMultiVariantConfiguration | PlainMessage<HlsTsMultiVariantConfiguration> | undefined, b: HlsTsMultiVariantConfiguration | PlainMessage<HlsTsMultiVariantConfiguration> | undefined): boolean;
|
|
6746
|
+
}
|
|
6747
|
+
/**
|
|
6748
|
+
* @generated from message norsk.api.media.HlsTsMultiVariantMessage
|
|
6749
|
+
*/
|
|
6750
|
+
export declare class HlsTsMultiVariantMessage extends Message<HlsTsMultiVariantMessage> {
|
|
6751
|
+
/**
|
|
6752
|
+
* @generated from oneof norsk.api.media.HlsTsMultiVariantMessage.message
|
|
6753
|
+
*/
|
|
6754
|
+
message: {
|
|
6755
|
+
/**
|
|
6756
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
6757
|
+
*/
|
|
6758
|
+
value: Subscription;
|
|
6759
|
+
case: "subscription";
|
|
6760
|
+
} | {
|
|
6761
|
+
/**
|
|
6762
|
+
* @generated from field: norsk.api.media.HlsTsMultiVariantConfiguration configuration = 2;
|
|
6763
|
+
*/
|
|
6764
|
+
value: HlsTsMultiVariantConfiguration;
|
|
6765
|
+
case: "configuration";
|
|
6766
|
+
} | {
|
|
6767
|
+
/**
|
|
6768
|
+
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
|
|
6769
|
+
*/
|
|
6770
|
+
value: UpdateCredentials;
|
|
6771
|
+
case: "updateCredentials";
|
|
6772
|
+
} | {
|
|
6773
|
+
case: undefined;
|
|
6774
|
+
value?: undefined;
|
|
6775
|
+
};
|
|
6776
|
+
constructor(data?: PartialMessage<HlsTsMultiVariantMessage>);
|
|
6777
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
6778
|
+
static readonly typeName = "norsk.api.media.HlsTsMultiVariantMessage";
|
|
6779
|
+
static readonly fields: FieldList;
|
|
6780
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsMultiVariantMessage;
|
|
6781
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsMultiVariantMessage;
|
|
6782
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsMultiVariantMessage;
|
|
6783
|
+
static equals(a: HlsTsMultiVariantMessage | PlainMessage<HlsTsMultiVariantMessage> | undefined, b: HlsTsMultiVariantMessage | PlainMessage<HlsTsMultiVariantMessage> | undefined): boolean;
|
|
6784
|
+
}
|
|
6713
6785
|
/**
|
|
6714
6786
|
* @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
|
|
6715
6787
|
*/
|
|
@@ -6744,12 +6816,6 @@ export declare class HlsTsCombinedPushConfiguration extends Message<HlsTsCombine
|
|
|
6744
6816
|
* @generated from field: string m3u_additions = 7;
|
|
6745
6817
|
*/
|
|
6746
6818
|
m3uAdditions: string;
|
|
6747
|
-
/**
|
|
6748
|
-
* XML fragment to add to the mpd Representation elements
|
|
6749
|
-
*
|
|
6750
|
-
* @generated from field: string mpd_additions = 8;
|
|
6751
|
-
*/
|
|
6752
|
-
mpdAdditions: string;
|
|
6753
6819
|
constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>);
|
|
6754
6820
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
6755
6821
|
static readonly typeName = "norsk.api.media.HlsTsCombinedPushConfiguration";
|
|
@@ -9915,13 +9981,13 @@ export declare class StreamMetadataOverrideConfiguration extends Message<StreamM
|
|
|
9915
9981
|
*/
|
|
9916
9982
|
audioBitrate?: OptionalInt;
|
|
9917
9983
|
/**
|
|
9918
|
-
* * Override the language metadata of an audio stream, or `""` to clear
|
|
9984
|
+
* * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
|
|
9919
9985
|
*
|
|
9920
9986
|
* @generated from field: norsk.api.common.OptionalString audio_language = 4;
|
|
9921
9987
|
*/
|
|
9922
9988
|
audioLanguage?: OptionalString;
|
|
9923
9989
|
/**
|
|
9924
|
-
* * Override the language metadata of a subtitles stream, or `""` to clear
|
|
9990
|
+
* * Override the language metadata of a subtitles stream, or `""` to clear RFC 5646 language tag.
|
|
9925
9991
|
*
|
|
9926
9992
|
* @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
|
|
9927
9993
|
*/
|
|
@@ -9954,13 +10020,13 @@ export declare class StreamMetadataOverrideUpdateConfiguration extends Message<S
|
|
|
9954
10020
|
*/
|
|
9955
10021
|
audioBitrate?: OptionalInt;
|
|
9956
10022
|
/**
|
|
9957
|
-
* * Override the language metadata of an audio stream, or `""` to clear
|
|
10023
|
+
* * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
|
|
9958
10024
|
*
|
|
9959
10025
|
* @generated from field: norsk.api.common.OptionalString audio_language = 4;
|
|
9960
10026
|
*/
|
|
9961
10027
|
audioLanguage?: OptionalString;
|
|
9962
10028
|
/**
|
|
9963
|
-
* * Override the language metadata of a subtitles stream, or `""` to clear
|
|
10029
|
+
* * Override the language metadata of a subtitles stream, or `""` to clear. RFC 5646 language tag.
|
|
9964
10030
|
*
|
|
9965
10031
|
* @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
|
|
9966
10032
|
*/
|
|
@@ -10772,8 +10838,8 @@ export declare class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothE
|
|
|
10772
10838
|
case: "validatedContext";
|
|
10773
10839
|
} | {
|
|
10774
10840
|
/**
|
|
10775
|
-
* Message indicating a transition has succesfully completed for a requested
|
|
10776
|
-
* is now showing
|
|
10841
|
+
* Message indicating a transition has succesfully completed for a requested
|
|
10842
|
+
* switch, i.e. the new source is now showing
|
|
10777
10843
|
*
|
|
10778
10844
|
* @generated from field: norsk.api.media.StreamSwitchTransitionComplete transition_complete = 6;
|
|
10779
10845
|
*/
|
|
@@ -11430,6 +11496,8 @@ export declare class RtpEac3 extends Message<RtpEac3> {
|
|
|
11430
11496
|
*/
|
|
11431
11497
|
clockRate: number;
|
|
11432
11498
|
/**
|
|
11499
|
+
* RFC5646 language tag
|
|
11500
|
+
*
|
|
11433
11501
|
* @generated from field: string language_code = 2;
|
|
11434
11502
|
*/
|
|
11435
11503
|
languageCode: string;
|
|
@@ -11792,6 +11860,276 @@ export declare class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsE
|
|
|
11792
11860
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAwsEvent;
|
|
11793
11861
|
static equals(a: AudioTranscribeAwsEvent | PlainMessage<AudioTranscribeAwsEvent> | undefined, b: AudioTranscribeAwsEvent | PlainMessage<AudioTranscribeAwsEvent> | undefined): boolean;
|
|
11794
11862
|
}
|
|
11863
|
+
/**
|
|
11864
|
+
* @generated from message norsk.api.media.AudioTranscribeAzureConfiguration
|
|
11865
|
+
*/
|
|
11866
|
+
export declare class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAzureConfiguration> {
|
|
11867
|
+
/**
|
|
11868
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
11869
|
+
*/
|
|
11870
|
+
id?: MediaNodeId;
|
|
11871
|
+
/**
|
|
11872
|
+
* @generated from field: uint32 output_stream_id = 2;
|
|
11873
|
+
*/
|
|
11874
|
+
outputStreamId: number;
|
|
11875
|
+
/**
|
|
11876
|
+
* The source language to recognise - an RFC 5646/ IETF BCP 47 language tag, eg en-US,
|
|
11877
|
+
* en-GB, de-DE. Supported languages are found at
|
|
11878
|
+
* https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
|
|
11879
|
+
*
|
|
11880
|
+
* @generated from field: string source_language = 3;
|
|
11881
|
+
*/
|
|
11882
|
+
sourceLanguage: string;
|
|
11883
|
+
/**
|
|
11884
|
+
* The target output languages for translation - technically a RFC 5646 language
|
|
11885
|
+
* tag but but in most cases omitting region, e.g. en, de, zh-Hant.
|
|
11886
|
+
*
|
|
11887
|
+
* Leave this field absent/empty to use the transcription service without
|
|
11888
|
+
* translation, while if any target languages are present the translation
|
|
11889
|
+
* service will be used even if this is the same as the
|
|
11890
|
+
* source language.
|
|
11891
|
+
*
|
|
11892
|
+
* @generated from field: repeated string target_languages = 4;
|
|
11893
|
+
*/
|
|
11894
|
+
targetLanguages: string[];
|
|
11895
|
+
/**
|
|
11896
|
+
* * Key for the Azure Speech Service endpoint
|
|
11897
|
+
*
|
|
11898
|
+
* @generated from field: string azure_key = 5;
|
|
11899
|
+
*/
|
|
11900
|
+
azureKey: string;
|
|
11901
|
+
/**
|
|
11902
|
+
* * Region for the Azure Speech Service endpoint
|
|
11903
|
+
*
|
|
11904
|
+
* @generated from field: string azure_region = 6;
|
|
11905
|
+
*/
|
|
11906
|
+
azureRegion: string;
|
|
11907
|
+
/**
|
|
11908
|
+
* @generated from field: norsk.api.common.OptionalInt maximum_line_length = 7;
|
|
11909
|
+
*/
|
|
11910
|
+
maximumLineLength?: OptionalInt;
|
|
11911
|
+
constructor(data?: PartialMessage<AudioTranscribeAzureConfiguration>);
|
|
11912
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
11913
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeAzureConfiguration";
|
|
11914
|
+
static readonly fields: FieldList;
|
|
11915
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureConfiguration;
|
|
11916
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureConfiguration;
|
|
11917
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureConfiguration;
|
|
11918
|
+
static equals(a: AudioTranscribeAzureConfiguration | PlainMessage<AudioTranscribeAzureConfiguration> | undefined, b: AudioTranscribeAzureConfiguration | PlainMessage<AudioTranscribeAzureConfiguration> | undefined): boolean;
|
|
11919
|
+
}
|
|
11920
|
+
/**
|
|
11921
|
+
* @generated from message norsk.api.media.AudioTranscribeAzureMessage
|
|
11922
|
+
*/
|
|
11923
|
+
export declare class AudioTranscribeAzureMessage extends Message<AudioTranscribeAzureMessage> {
|
|
11924
|
+
/**
|
|
11925
|
+
* @generated from oneof norsk.api.media.AudioTranscribeAzureMessage.message
|
|
11926
|
+
*/
|
|
11927
|
+
message: {
|
|
11928
|
+
/**
|
|
11929
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
11930
|
+
*/
|
|
11931
|
+
value: Subscription;
|
|
11932
|
+
case: "subscription";
|
|
11933
|
+
} | {
|
|
11934
|
+
/**
|
|
11935
|
+
* @generated from field: norsk.api.media.AudioTranscribeAzureConfiguration configuration = 2;
|
|
11936
|
+
*/
|
|
11937
|
+
value: AudioTranscribeAzureConfiguration;
|
|
11938
|
+
case: "configuration";
|
|
11939
|
+
} | {
|
|
11940
|
+
case: undefined;
|
|
11941
|
+
value?: undefined;
|
|
11942
|
+
};
|
|
11943
|
+
constructor(data?: PartialMessage<AudioTranscribeAzureMessage>);
|
|
11944
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
11945
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeAzureMessage";
|
|
11946
|
+
static readonly fields: FieldList;
|
|
11947
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureMessage;
|
|
11948
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureMessage;
|
|
11949
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureMessage;
|
|
11950
|
+
static equals(a: AudioTranscribeAzureMessage | PlainMessage<AudioTranscribeAzureMessage> | undefined, b: AudioTranscribeAzureMessage | PlainMessage<AudioTranscribeAzureMessage> | undefined): boolean;
|
|
11951
|
+
}
|
|
11952
|
+
/**
|
|
11953
|
+
* @generated from message norsk.api.media.AudioTranscribeAzureEvent
|
|
11954
|
+
*/
|
|
11955
|
+
export declare class AudioTranscribeAzureEvent extends Message<AudioTranscribeAzureEvent> {
|
|
11956
|
+
/**
|
|
11957
|
+
* @generated from oneof norsk.api.media.AudioTranscribeAzureEvent.message
|
|
11958
|
+
*/
|
|
11959
|
+
message: {
|
|
11960
|
+
/**
|
|
11961
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
11962
|
+
*/
|
|
11963
|
+
value: MediaNodeId;
|
|
11964
|
+
case: "nodeId";
|
|
11965
|
+
} | {
|
|
11966
|
+
/**
|
|
11967
|
+
* @generated from field: norsk.api.media.Context outbound_context = 2;
|
|
11968
|
+
*/
|
|
11969
|
+
value: Context;
|
|
11970
|
+
case: "outboundContext";
|
|
11971
|
+
} | {
|
|
11972
|
+
/**
|
|
11973
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
|
|
11974
|
+
*/
|
|
11975
|
+
value: SubscriptionResponse;
|
|
11976
|
+
case: "subscriptionResponse";
|
|
11977
|
+
} | {
|
|
11978
|
+
/**
|
|
11979
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
11980
|
+
*/
|
|
11981
|
+
value: Context;
|
|
11982
|
+
case: "inboundContext";
|
|
11983
|
+
} | {
|
|
11984
|
+
case: undefined;
|
|
11985
|
+
value?: undefined;
|
|
11986
|
+
};
|
|
11987
|
+
constructor(data?: PartialMessage<AudioTranscribeAzureEvent>);
|
|
11988
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
11989
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeAzureEvent";
|
|
11990
|
+
static readonly fields: FieldList;
|
|
11991
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureEvent;
|
|
11992
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureEvent;
|
|
11993
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureEvent;
|
|
11994
|
+
static equals(a: AudioTranscribeAzureEvent | PlainMessage<AudioTranscribeAzureEvent> | undefined, b: AudioTranscribeAzureEvent | PlainMessage<AudioTranscribeAzureEvent> | undefined): boolean;
|
|
11995
|
+
}
|
|
11996
|
+
/**
|
|
11997
|
+
* @generated from message norsk.api.media.AudioTranscribeWhisperConfiguration
|
|
11998
|
+
*/
|
|
11999
|
+
export declare class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribeWhisperConfiguration> {
|
|
12000
|
+
/**
|
|
12001
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
12002
|
+
*/
|
|
12003
|
+
id?: MediaNodeId;
|
|
12004
|
+
/**
|
|
12005
|
+
* @generated from field: uint32 output_stream_id = 2;
|
|
12006
|
+
*/
|
|
12007
|
+
outputStreamId: number;
|
|
12008
|
+
/**
|
|
12009
|
+
* @generated from field: norsk.api.common.OptionalInt step_ms = 3;
|
|
12010
|
+
*/
|
|
12011
|
+
stepMs?: OptionalInt;
|
|
12012
|
+
/**
|
|
12013
|
+
* @generated from field: norsk.api.common.OptionalInt length_ms = 4;
|
|
12014
|
+
*/
|
|
12015
|
+
lengthMs?: OptionalInt;
|
|
12016
|
+
/**
|
|
12017
|
+
* @generated from field: norsk.api.common.OptionalInt keep_ms = 5;
|
|
12018
|
+
*/
|
|
12019
|
+
keepMs?: OptionalInt;
|
|
12020
|
+
/**
|
|
12021
|
+
* @generated from field: norsk.api.common.OptionalInt max_tokens = 6;
|
|
12022
|
+
*/
|
|
12023
|
+
maxTokens?: OptionalInt;
|
|
12024
|
+
/**
|
|
12025
|
+
* @generated from field: norsk.api.common.OptionalBool speed_up = 7;
|
|
12026
|
+
*/
|
|
12027
|
+
speedUp?: OptionalBool;
|
|
12028
|
+
/**
|
|
12029
|
+
* @generated from field: norsk.api.common.OptionalBool no_fallback = 8;
|
|
12030
|
+
*/
|
|
12031
|
+
noFallback?: OptionalBool;
|
|
12032
|
+
/**
|
|
12033
|
+
* @generated from field: norsk.api.common.OptionalInt num_threads = 9;
|
|
12034
|
+
*/
|
|
12035
|
+
numThreads?: OptionalInt;
|
|
12036
|
+
/**
|
|
12037
|
+
* @generated from field: norsk.api.common.OptionalBool use_gpu = 10;
|
|
12038
|
+
*/
|
|
12039
|
+
useGpu?: OptionalBool;
|
|
12040
|
+
/**
|
|
12041
|
+
* @generated from field: string language = 11;
|
|
12042
|
+
*/
|
|
12043
|
+
language: string;
|
|
12044
|
+
/**
|
|
12045
|
+
* @generated from field: string model = 12;
|
|
12046
|
+
*/
|
|
12047
|
+
model: string;
|
|
12048
|
+
constructor(data?: PartialMessage<AudioTranscribeWhisperConfiguration>);
|
|
12049
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
12050
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeWhisperConfiguration";
|
|
12051
|
+
static readonly fields: FieldList;
|
|
12052
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperConfiguration;
|
|
12053
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperConfiguration;
|
|
12054
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperConfiguration;
|
|
12055
|
+
static equals(a: AudioTranscribeWhisperConfiguration | PlainMessage<AudioTranscribeWhisperConfiguration> | undefined, b: AudioTranscribeWhisperConfiguration | PlainMessage<AudioTranscribeWhisperConfiguration> | undefined): boolean;
|
|
12056
|
+
}
|
|
12057
|
+
/**
|
|
12058
|
+
* @generated from message norsk.api.media.AudioTranscribeWhisperMessage
|
|
12059
|
+
*/
|
|
12060
|
+
export declare class AudioTranscribeWhisperMessage extends Message<AudioTranscribeWhisperMessage> {
|
|
12061
|
+
/**
|
|
12062
|
+
* @generated from oneof norsk.api.media.AudioTranscribeWhisperMessage.message
|
|
12063
|
+
*/
|
|
12064
|
+
message: {
|
|
12065
|
+
/**
|
|
12066
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
12067
|
+
*/
|
|
12068
|
+
value: Subscription;
|
|
12069
|
+
case: "subscription";
|
|
12070
|
+
} | {
|
|
12071
|
+
/**
|
|
12072
|
+
* @generated from field: norsk.api.media.AudioTranscribeWhisperConfiguration configuration = 2;
|
|
12073
|
+
*/
|
|
12074
|
+
value: AudioTranscribeWhisperConfiguration;
|
|
12075
|
+
case: "configuration";
|
|
12076
|
+
} | {
|
|
12077
|
+
case: undefined;
|
|
12078
|
+
value?: undefined;
|
|
12079
|
+
};
|
|
12080
|
+
constructor(data?: PartialMessage<AudioTranscribeWhisperMessage>);
|
|
12081
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
12082
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeWhisperMessage";
|
|
12083
|
+
static readonly fields: FieldList;
|
|
12084
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperMessage;
|
|
12085
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperMessage;
|
|
12086
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperMessage;
|
|
12087
|
+
static equals(a: AudioTranscribeWhisperMessage | PlainMessage<AudioTranscribeWhisperMessage> | undefined, b: AudioTranscribeWhisperMessage | PlainMessage<AudioTranscribeWhisperMessage> | undefined): boolean;
|
|
12088
|
+
}
|
|
12089
|
+
/**
|
|
12090
|
+
* @generated from message norsk.api.media.AudioTranscribeWhisperEvent
|
|
12091
|
+
*/
|
|
12092
|
+
export declare class AudioTranscribeWhisperEvent extends Message<AudioTranscribeWhisperEvent> {
|
|
12093
|
+
/**
|
|
12094
|
+
* @generated from oneof norsk.api.media.AudioTranscribeWhisperEvent.message
|
|
12095
|
+
*/
|
|
12096
|
+
message: {
|
|
12097
|
+
/**
|
|
12098
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
12099
|
+
*/
|
|
12100
|
+
value: MediaNodeId;
|
|
12101
|
+
case: "nodeId";
|
|
12102
|
+
} | {
|
|
12103
|
+
/**
|
|
12104
|
+
* @generated from field: norsk.api.media.Context outbound_context = 2;
|
|
12105
|
+
*/
|
|
12106
|
+
value: Context;
|
|
12107
|
+
case: "outboundContext";
|
|
12108
|
+
} | {
|
|
12109
|
+
/**
|
|
12110
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
|
|
12111
|
+
*/
|
|
12112
|
+
value: SubscriptionResponse;
|
|
12113
|
+
case: "subscriptionResponse";
|
|
12114
|
+
} | {
|
|
12115
|
+
/**
|
|
12116
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
12117
|
+
*/
|
|
12118
|
+
value: Context;
|
|
12119
|
+
case: "inboundContext";
|
|
12120
|
+
} | {
|
|
12121
|
+
case: undefined;
|
|
12122
|
+
value?: undefined;
|
|
12123
|
+
};
|
|
12124
|
+
constructor(data?: PartialMessage<AudioTranscribeWhisperEvent>);
|
|
12125
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
12126
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeWhisperEvent";
|
|
12127
|
+
static readonly fields: FieldList;
|
|
12128
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperEvent;
|
|
12129
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperEvent;
|
|
12130
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperEvent;
|
|
12131
|
+
static equals(a: AudioTranscribeWhisperEvent | PlainMessage<AudioTranscribeWhisperEvent> | undefined, b: AudioTranscribeWhisperEvent | PlainMessage<AudioTranscribeWhisperEvent> | undefined): boolean;
|
|
12132
|
+
}
|
|
11795
12133
|
/**
|
|
11796
12134
|
* @generated from message norsk.api.media.AncillaryConfiguration
|
|
11797
12135
|
*/
|