@livekit/protocol 1.45.6 → 1.45.8
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/dist/index.cjs +117 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +206 -7
- package/dist/index.d.mts +206 -7
- package/dist/index.d.ts +206 -7
- package/dist/index.mjs +117 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +86 -1
- package/src/gen/agent/livekit_agent_session_pb.js +32 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +15 -0
- package/src/gen/livekit_agent_dispatch_pb.js +3 -0
- package/src/gen/livekit_agent_pb.d.ts +10 -0
- package/src/gen/livekit_agent_pb.js +2 -0
- package/src/gen/livekit_sip_pb.d.ts +89 -4
- package/src/gen/livekit_sip_pb.js +26 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
6
|
+
import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -81,6 +81,41 @@ export declare enum UserState {
|
|
|
81
81
|
US_AWAY = 2,
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* @generated from enum livekit.agent.AmdCategory
|
|
86
|
+
*/
|
|
87
|
+
export declare enum AmdCategory {
|
|
88
|
+
/**
|
|
89
|
+
* @generated from enum value: AMD_UNKNOWN = 0;
|
|
90
|
+
*/
|
|
91
|
+
AMD_UNKNOWN = 0,
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from enum value: AMD_HUMAN = 1;
|
|
95
|
+
*/
|
|
96
|
+
AMD_HUMAN = 1,
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from enum value: AMD_MACHINE_IVR = 2;
|
|
100
|
+
*/
|
|
101
|
+
AMD_MACHINE_IVR = 2,
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from enum value: AMD_MACHINE_VM = 3;
|
|
105
|
+
*/
|
|
106
|
+
AMD_MACHINE_VM = 3,
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from enum value: AMD_MACHINE_UNAVAILABLE = 4;
|
|
110
|
+
*/
|
|
111
|
+
AMD_MACHINE_UNAVAILABLE = 4,
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from enum value: AMD_UNCERTAIN = 5;
|
|
115
|
+
*/
|
|
116
|
+
AMD_UNCERTAIN = 5,
|
|
117
|
+
}
|
|
118
|
+
|
|
84
119
|
/**
|
|
85
120
|
* @generated from message livekit.agent.MetricsReport
|
|
86
121
|
*/
|
|
@@ -880,6 +915,12 @@ export declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
880
915
|
*/
|
|
881
916
|
value: AgentSessionEvent_SessionUsageUpdated;
|
|
882
917
|
case: "sessionUsageUpdated";
|
|
918
|
+
} | {
|
|
919
|
+
/**
|
|
920
|
+
* @generated from field: livekit.agent.AgentSessionEvent.AmdPrediction amd_prediction = 18;
|
|
921
|
+
*/
|
|
922
|
+
value: AgentSessionEvent_AmdPrediction;
|
|
923
|
+
case: "amdPrediction";
|
|
883
924
|
} | { case: undefined; value?: undefined };
|
|
884
925
|
|
|
885
926
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -1105,6 +1146,50 @@ export declare class AgentSessionEvent_OverlappingSpeech extends Message<AgentSe
|
|
|
1105
1146
|
static equals(a: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined, b: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined): boolean;
|
|
1106
1147
|
}
|
|
1107
1148
|
|
|
1149
|
+
/**
|
|
1150
|
+
* @generated from message livekit.agent.AgentSessionEvent.AmdPrediction
|
|
1151
|
+
*/
|
|
1152
|
+
export declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessionEvent_AmdPrediction> {
|
|
1153
|
+
/**
|
|
1154
|
+
* @generated from field: google.protobuf.Duration speech_duration = 1;
|
|
1155
|
+
*/
|
|
1156
|
+
speechDuration?: Duration;
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* @generated from field: livekit.agent.AmdCategory category = 2;
|
|
1160
|
+
*/
|
|
1161
|
+
category: AmdCategory;
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* @generated from field: string reason = 3;
|
|
1165
|
+
*/
|
|
1166
|
+
reason: string;
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* @generated from field: string transcript = 4;
|
|
1170
|
+
*/
|
|
1171
|
+
transcript: string;
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* @generated from field: google.protobuf.Duration delay = 5;
|
|
1175
|
+
*/
|
|
1176
|
+
delay?: Duration;
|
|
1177
|
+
|
|
1178
|
+
constructor(data?: PartialMessage<AgentSessionEvent_AmdPrediction>);
|
|
1179
|
+
|
|
1180
|
+
static readonly runtime: typeof proto3;
|
|
1181
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.AmdPrediction";
|
|
1182
|
+
static readonly fields: FieldList;
|
|
1183
|
+
|
|
1184
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1185
|
+
|
|
1186
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1187
|
+
|
|
1188
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1189
|
+
|
|
1190
|
+
static equals(a: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined, b: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined): boolean;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1108
1193
|
/**
|
|
1109
1194
|
* @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
|
|
1110
1195
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
6
|
+
import { Duration, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @generated from enum livekit.agent.ChatRole
|
|
@@ -44,6 +44,21 @@ export const UserState = /*@__PURE__*/ proto3.makeEnum(
|
|
|
44
44
|
],
|
|
45
45
|
);
|
|
46
46
|
|
|
47
|
+
/**
|
|
48
|
+
* @generated from enum livekit.agent.AmdCategory
|
|
49
|
+
*/
|
|
50
|
+
export const AmdCategory = /*@__PURE__*/ proto3.makeEnum(
|
|
51
|
+
"livekit.agent.AmdCategory",
|
|
52
|
+
[
|
|
53
|
+
{no: 0, name: "AMD_UNKNOWN"},
|
|
54
|
+
{no: 1, name: "AMD_HUMAN"},
|
|
55
|
+
{no: 2, name: "AMD_MACHINE_IVR"},
|
|
56
|
+
{no: 3, name: "AMD_MACHINE_VM"},
|
|
57
|
+
{no: 4, name: "AMD_MACHINE_UNAVAILABLE"},
|
|
58
|
+
{no: 5, name: "AMD_UNCERTAIN"},
|
|
59
|
+
],
|
|
60
|
+
);
|
|
61
|
+
|
|
47
62
|
/**
|
|
48
63
|
* @generated from message livekit.agent.MetricsReport
|
|
49
64
|
*/
|
|
@@ -287,6 +302,7 @@ export const AgentSessionEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
287
302
|
{ no: 15, name: "error", kind: "message", T: AgentSessionEvent_Error, oneof: "event" },
|
|
288
303
|
{ no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
|
|
289
304
|
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
|
|
305
|
+
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
|
|
290
306
|
],
|
|
291
307
|
);
|
|
292
308
|
|
|
@@ -375,6 +391,21 @@ export const AgentSessionEvent_OverlappingSpeech = /*@__PURE__*/ proto3.makeMess
|
|
|
375
391
|
{localName: "AgentSessionEvent_OverlappingSpeech"},
|
|
376
392
|
);
|
|
377
393
|
|
|
394
|
+
/**
|
|
395
|
+
* @generated from message livekit.agent.AgentSessionEvent.AmdPrediction
|
|
396
|
+
*/
|
|
397
|
+
export const AgentSessionEvent_AmdPrediction = /*@__PURE__*/ proto3.makeMessageType(
|
|
398
|
+
"livekit.agent.AgentSessionEvent.AmdPrediction",
|
|
399
|
+
() => [
|
|
400
|
+
{ no: 1, name: "speech_duration", kind: "message", T: Duration },
|
|
401
|
+
{ no: 2, name: "category", kind: "enum", T: proto3.getEnumType(AmdCategory) },
|
|
402
|
+
{ no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
403
|
+
{ no: 4, name: "transcript", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
404
|
+
{ no: 5, name: "delay", kind: "message", T: Duration },
|
|
405
|
+
],
|
|
406
|
+
{localName: "AgentSessionEvent_AmdPrediction"},
|
|
407
|
+
);
|
|
408
|
+
|
|
378
409
|
/**
|
|
379
410
|
* @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
|
|
380
411
|
*/
|
|
@@ -66,6 +66,11 @@ export declare class CreateAgentDispatchRequest extends Message<CreateAgentDispa
|
|
|
66
66
|
*/
|
|
67
67
|
restartPolicy: JobRestartPolicy;
|
|
68
68
|
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string deployment = 5;
|
|
71
|
+
*/
|
|
72
|
+
deployment: string;
|
|
73
|
+
|
|
69
74
|
constructor(data?: PartialMessage<CreateAgentDispatchRequest>);
|
|
70
75
|
|
|
71
76
|
static readonly runtime: typeof proto3;
|
|
@@ -102,6 +107,11 @@ export declare class RoomAgentDispatch extends Message<RoomAgentDispatch> {
|
|
|
102
107
|
*/
|
|
103
108
|
restartPolicy: JobRestartPolicy;
|
|
104
109
|
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: string deployment = 4;
|
|
112
|
+
*/
|
|
113
|
+
deployment: string;
|
|
114
|
+
|
|
105
115
|
constructor(data?: PartialMessage<RoomAgentDispatch>);
|
|
106
116
|
|
|
107
117
|
static readonly runtime: typeof proto3;
|
|
@@ -239,6 +249,11 @@ export declare class AgentDispatch extends Message<AgentDispatch> {
|
|
|
239
249
|
*/
|
|
240
250
|
restartPolicy: JobRestartPolicy;
|
|
241
251
|
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: string deployment = 7;
|
|
254
|
+
*/
|
|
255
|
+
deployment: string;
|
|
256
|
+
|
|
242
257
|
constructor(data?: PartialMessage<AgentDispatch>);
|
|
243
258
|
|
|
244
259
|
static readonly runtime: typeof proto3;
|
|
@@ -41,6 +41,7 @@ export const CreateAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
41
41
|
{ no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
42
|
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
43
43
|
{ no: 4, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
44
|
+
{ no: 5, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
44
45
|
],
|
|
45
46
|
);
|
|
46
47
|
|
|
@@ -53,6 +54,7 @@ export const RoomAgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
53
54
|
{ no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
54
55
|
{ no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
55
56
|
{ no: 3, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
57
|
+
{ no: 4, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
56
58
|
],
|
|
57
59
|
);
|
|
58
60
|
|
|
@@ -100,6 +102,7 @@ export const AgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
100
102
|
{ no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
101
103
|
{ no: 5, name: "state", kind: "message", T: AgentDispatchState },
|
|
102
104
|
{ no: 6, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
105
|
+
{ no: 7, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
103
106
|
],
|
|
104
107
|
);
|
|
105
108
|
|
|
@@ -136,6 +136,11 @@ export declare class Job extends Message<Job> {
|
|
|
136
136
|
*/
|
|
137
137
|
enableRecording: boolean;
|
|
138
138
|
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string deployment = 11;
|
|
141
|
+
*/
|
|
142
|
+
deployment: string;
|
|
143
|
+
|
|
139
144
|
constructor(data?: PartialMessage<Job>);
|
|
140
145
|
|
|
141
146
|
static readonly runtime: typeof proto3;
|
|
@@ -471,6 +476,11 @@ export declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest
|
|
|
471
476
|
*/
|
|
472
477
|
allowedPermissions?: ParticipantPermission;
|
|
473
478
|
|
|
479
|
+
/**
|
|
480
|
+
* @generated from field: string deployment = 9;
|
|
481
|
+
*/
|
|
482
|
+
deployment: string;
|
|
483
|
+
|
|
474
484
|
constructor(data?: PartialMessage<RegisterWorkerRequest>);
|
|
475
485
|
|
|
476
486
|
static readonly runtime: typeof proto3;
|
|
@@ -72,6 +72,7 @@ export const Job = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
72
72
|
{ no: 7, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
73
|
{ no: 8, name: "state", kind: "message", T: JobState },
|
|
74
74
|
{ no: 10, name: "enable_recording", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
75
|
+
{ no: 11, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
75
76
|
],
|
|
76
77
|
);
|
|
77
78
|
|
|
@@ -171,6 +172,7 @@ export const RegisterWorkerRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
171
172
|
{ no: 5, name: "ping_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
172
173
|
{ no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
173
174
|
{ no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission },
|
|
175
|
+
{ no: 9, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
174
176
|
],
|
|
175
177
|
);
|
|
176
178
|
|
|
@@ -728,6 +728,73 @@ export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest
|
|
|
728
728
|
static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
+
/**
|
|
732
|
+
* @generated from message livekit.SIPCodec
|
|
733
|
+
*/
|
|
734
|
+
export declare class SIPCodec extends Message<SIPCodec> {
|
|
735
|
+
/**
|
|
736
|
+
* @generated from field: string name = 1;
|
|
737
|
+
*/
|
|
738
|
+
name: string;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* @generated from field: uint32 rate = 2;
|
|
742
|
+
*/
|
|
743
|
+
rate: number;
|
|
744
|
+
|
|
745
|
+
constructor(data?: PartialMessage<SIPCodec>);
|
|
746
|
+
|
|
747
|
+
static readonly runtime: typeof proto3;
|
|
748
|
+
static readonly typeName = "livekit.SIPCodec";
|
|
749
|
+
static readonly fields: FieldList;
|
|
750
|
+
|
|
751
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPCodec;
|
|
752
|
+
|
|
753
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPCodec;
|
|
754
|
+
|
|
755
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPCodec;
|
|
756
|
+
|
|
757
|
+
static equals(a: SIPCodec | PlainMessage<SIPCodec> | undefined, b: SIPCodec | PlainMessage<SIPCodec> | undefined): boolean;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* @generated from message livekit.SIPMediaConfig
|
|
762
|
+
*/
|
|
763
|
+
export declare class SIPMediaConfig extends Message<SIPMediaConfig> {
|
|
764
|
+
/**
|
|
765
|
+
* if set, ignore the default codecs and use the list below.
|
|
766
|
+
*
|
|
767
|
+
* @generated from field: bool only_listed_codecs = 1;
|
|
768
|
+
*/
|
|
769
|
+
onlyListedCodecs: boolean;
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* List of allowed codecs. If only_listed_codecs is not set, this list is added to default codecs.
|
|
773
|
+
*
|
|
774
|
+
* @generated from field: repeated livekit.SIPCodec codecs = 2;
|
|
775
|
+
*/
|
|
776
|
+
codecs: SIPCodec[];
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* @generated from field: optional livekit.SIPMediaEncryption encryption = 3;
|
|
780
|
+
*/
|
|
781
|
+
encryption?: SIPMediaEncryption;
|
|
782
|
+
|
|
783
|
+
constructor(data?: PartialMessage<SIPMediaConfig>);
|
|
784
|
+
|
|
785
|
+
static readonly runtime: typeof proto3;
|
|
786
|
+
static readonly typeName = "livekit.SIPMediaConfig";
|
|
787
|
+
static readonly fields: FieldList;
|
|
788
|
+
|
|
789
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPMediaConfig;
|
|
790
|
+
|
|
791
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPMediaConfig;
|
|
792
|
+
|
|
793
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPMediaConfig;
|
|
794
|
+
|
|
795
|
+
static equals(a: SIPMediaConfig | PlainMessage<SIPMediaConfig> | undefined, b: SIPMediaConfig | PlainMessage<SIPMediaConfig> | undefined): boolean;
|
|
796
|
+
}
|
|
797
|
+
|
|
731
798
|
/**
|
|
732
799
|
* @generated from message livekit.ProviderInfo
|
|
733
800
|
*/
|
|
@@ -2122,13 +2189,19 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
2122
2189
|
*/
|
|
2123
2190
|
roomConfig?: RoomConfiguration;
|
|
2124
2191
|
|
|
2192
|
+
/**
|
|
2193
|
+
* @generated from field: livekit.SIPMediaConfig media = 16;
|
|
2194
|
+
*/
|
|
2195
|
+
media?: SIPMediaConfig;
|
|
2196
|
+
|
|
2125
2197
|
/**
|
|
2126
2198
|
* @generated from field: bool krisp_enabled = 11;
|
|
2127
2199
|
*/
|
|
2128
2200
|
krispEnabled: boolean;
|
|
2129
2201
|
|
|
2130
2202
|
/**
|
|
2131
|
-
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
|
|
2203
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12 [deprecated = true];
|
|
2204
|
+
* @deprecated
|
|
2132
2205
|
*/
|
|
2133
2206
|
mediaEncryption: SIPMediaEncryption;
|
|
2134
2207
|
|
|
@@ -2187,10 +2260,16 @@ export declare class SIPDispatchRuleUpdate extends Message<SIPDispatchRuleUpdate
|
|
|
2187
2260
|
attributes: { [key: string]: string };
|
|
2188
2261
|
|
|
2189
2262
|
/**
|
|
2190
|
-
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6;
|
|
2263
|
+
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6 [deprecated = true];
|
|
2264
|
+
* @deprecated
|
|
2191
2265
|
*/
|
|
2192
2266
|
mediaEncryption?: SIPMediaEncryption;
|
|
2193
2267
|
|
|
2268
|
+
/**
|
|
2269
|
+
* @generated from field: livekit.SIPMediaConfig media = 7;
|
|
2270
|
+
*/
|
|
2271
|
+
media?: SIPMediaConfig;
|
|
2272
|
+
|
|
2194
2273
|
constructor(data?: PartialMessage<SIPDispatchRuleUpdate>);
|
|
2195
2274
|
|
|
2196
2275
|
static readonly runtime: typeof proto3;
|
|
@@ -2509,10 +2588,16 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2509
2588
|
krispEnabled: boolean;
|
|
2510
2589
|
|
|
2511
2590
|
/**
|
|
2512
|
-
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18;
|
|
2591
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18 [deprecated = true];
|
|
2592
|
+
* @deprecated
|
|
2513
2593
|
*/
|
|
2514
2594
|
mediaEncryption: SIPMediaEncryption;
|
|
2515
2595
|
|
|
2596
|
+
/**
|
|
2597
|
+
* @generated from field: livekit.SIPMediaConfig media = 23;
|
|
2598
|
+
*/
|
|
2599
|
+
media?: SIPMediaConfig;
|
|
2600
|
+
|
|
2516
2601
|
/**
|
|
2517
2602
|
* Wait for the answer for the call before returning.
|
|
2518
2603
|
*
|
|
@@ -2533,7 +2618,7 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2533
2618
|
displayName?: string;
|
|
2534
2619
|
|
|
2535
2620
|
/**
|
|
2536
|
-
* NEXT ID:
|
|
2621
|
+
* NEXT ID: 24
|
|
2537
2622
|
*
|
|
2538
2623
|
* @generated from field: optional livekit.Destination destination = 22;
|
|
2539
2624
|
*/
|
|
@@ -238,6 +238,29 @@ export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
238
238
|
],
|
|
239
239
|
);
|
|
240
240
|
|
|
241
|
+
/**
|
|
242
|
+
* @generated from message livekit.SIPCodec
|
|
243
|
+
*/
|
|
244
|
+
export const SIPCodec = /*@__PURE__*/ proto3.makeMessageType(
|
|
245
|
+
"livekit.SIPCodec",
|
|
246
|
+
() => [
|
|
247
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
248
|
+
{ no: 2, name: "rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
249
|
+
],
|
|
250
|
+
);
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @generated from message livekit.SIPMediaConfig
|
|
254
|
+
*/
|
|
255
|
+
export const SIPMediaConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
256
|
+
"livekit.SIPMediaConfig",
|
|
257
|
+
() => [
|
|
258
|
+
{ no: 1, name: "only_listed_codecs", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
259
|
+
{ no: 2, name: "codecs", kind: "message", T: SIPCodec, repeated: true },
|
|
260
|
+
{ no: 3, name: "encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
261
|
+
],
|
|
262
|
+
);
|
|
263
|
+
|
|
241
264
|
/**
|
|
242
265
|
* @generated from message livekit.ProviderInfo
|
|
243
266
|
*/
|
|
@@ -635,6 +658,7 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
635
658
|
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
636
659
|
{ no: 9, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
637
660
|
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
|
|
661
|
+
{ no: 16, name: "media", kind: "message", T: SIPMediaConfig },
|
|
638
662
|
{ no: 11, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
639
663
|
{ no: 12, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
640
664
|
{ no: 14, name: "created_at", kind: "message", T: Timestamp },
|
|
@@ -654,6 +678,7 @@ export const SIPDispatchRuleUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
654
678
|
{ no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
655
679
|
{ no: 5, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
656
680
|
{ no: 6, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
681
|
+
{ no: 7, name: "media", kind: "message", T: SIPMediaConfig },
|
|
657
682
|
],
|
|
658
683
|
);
|
|
659
684
|
|
|
@@ -736,6 +761,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
736
761
|
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
737
762
|
{ no: 14, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
738
763
|
{ no: 18, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
764
|
+
{ no: 23, name: "media", kind: "message", T: SIPMediaConfig },
|
|
739
765
|
{ no: 19, name: "wait_until_answered", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
740
766
|
{ no: 21, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
741
767
|
{ no: 22, name: "destination", kind: "message", T: Destination, opt: true },
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.45.
|
|
2
|
+
export const version = '1.45.8';
|