@livekit/protocol 1.45.7 → 1.46.0
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 +150 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +352 -16
- package/dist/index.d.mts +352 -16
- package/dist/index.d.ts +352 -16
- package/dist/index.mjs +149 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +208 -0
- package/src/gen/agent/livekit_agent_session_pb.js +76 -0
- package/src/gen/livekit_agent_dispatch_pb.d.ts +6 -6
- package/src/gen/livekit_agent_dispatch_pb.js +3 -3
- package/src/gen/livekit_agent_pb.d.ts +4 -4
- package/src/gen/livekit_agent_pb.js +2 -2
- package/src/gen/livekit_agent_simulation_pb.d.ts +70 -0
- package/src/gen/livekit_agent_simulation_pb.js +14 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +14 -14
- package/src/gen/livekit_cloud_agent_pb.js +7 -7
- package/src/gen/livekit_egress_pb.d.ts +15 -1
- package/src/gen/livekit_egress_pb.js +3 -1
- package/src/gen/livekit_sip_pb.d.ts +106 -4
- package/src/gen/livekit_sip_pb.js +29 -0
- package/src/gen/version.js +1 -1
|
@@ -129,9 +129,9 @@ export declare class AgentSecret extends Message<AgentSecret> {
|
|
|
129
129
|
kind: AgentSecretKind;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
* @generated from field: repeated string
|
|
132
|
+
* @generated from field: repeated string deployments = 6;
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
deployments: string[];
|
|
135
135
|
|
|
136
136
|
constructor(data?: PartialMessage<AgentSecret>);
|
|
137
137
|
|
|
@@ -427,9 +427,9 @@ export declare class AgentDeployment extends Message<AgentDeployment> {
|
|
|
427
427
|
events: AgentEvent[];
|
|
428
428
|
|
|
429
429
|
/**
|
|
430
|
-
* @generated from field: string
|
|
430
|
+
* @generated from field: string deployment = 15;
|
|
431
431
|
*/
|
|
432
|
-
|
|
432
|
+
deployment: string;
|
|
433
433
|
|
|
434
434
|
/**
|
|
435
435
|
* @generated from field: string version = 16;
|
|
@@ -854,9 +854,9 @@ export declare class DeployAgentRequest extends Message<DeployAgentRequest> {
|
|
|
854
854
|
cpuReq: string;
|
|
855
855
|
|
|
856
856
|
/**
|
|
857
|
-
* @generated from field: string
|
|
857
|
+
* @generated from field: string deployment = 7;
|
|
858
858
|
*/
|
|
859
|
-
|
|
859
|
+
deployment: string;
|
|
860
860
|
|
|
861
861
|
constructor(data?: PartialMessage<DeployAgentRequest>);
|
|
862
862
|
|
|
@@ -909,9 +909,9 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
|
|
|
909
909
|
presignedPostRequest?: PresignedPostRequest;
|
|
910
910
|
|
|
911
911
|
/**
|
|
912
|
-
* @generated from field: string
|
|
912
|
+
* @generated from field: string deployment = 7;
|
|
913
913
|
*/
|
|
914
|
-
|
|
914
|
+
deployment: string;
|
|
915
915
|
|
|
916
916
|
constructor(data?: PartialMessage<DeployAgentResponse>);
|
|
917
917
|
|
|
@@ -943,9 +943,9 @@ export declare class DeployAgentV2Request extends Message<DeployAgentV2Request>
|
|
|
943
943
|
secrets: AgentSecret[];
|
|
944
944
|
|
|
945
945
|
/**
|
|
946
|
-
* @generated from field: string
|
|
946
|
+
* @generated from field: string deployment = 3;
|
|
947
947
|
*/
|
|
948
|
-
|
|
948
|
+
deployment: string;
|
|
949
949
|
|
|
950
950
|
constructor(data?: PartialMessage<DeployAgentV2Request>);
|
|
951
951
|
|
|
@@ -992,9 +992,9 @@ export declare class DeployAgentV2Response extends Message<DeployAgentV2Response
|
|
|
992
992
|
presignedReq?: PresignedPostRequest;
|
|
993
993
|
|
|
994
994
|
/**
|
|
995
|
-
* @generated from field: string
|
|
995
|
+
* @generated from field: string deployment = 6;
|
|
996
996
|
*/
|
|
997
|
-
|
|
997
|
+
deployment: string;
|
|
998
998
|
|
|
999
999
|
constructor(data?: PartialMessage<DeployAgentV2Response>);
|
|
1000
1000
|
|
|
@@ -1164,9 +1164,9 @@ export declare class DeleteAgentRequest extends Message<DeleteAgentRequest> {
|
|
|
1164
1164
|
/**
|
|
1165
1165
|
* optional
|
|
1166
1166
|
*
|
|
1167
|
-
* @generated from field: string
|
|
1167
|
+
* @generated from field: string deployment = 3;
|
|
1168
1168
|
*/
|
|
1169
|
-
|
|
1169
|
+
deployment: string;
|
|
1170
1170
|
|
|
1171
1171
|
constructor(data?: PartialMessage<DeleteAgentRequest>);
|
|
1172
1172
|
|
|
@@ -67,7 +67,7 @@ export const AgentSecret = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
67
67
|
{ no: 3, name: "created_at", kind: "message", T: Timestamp },
|
|
68
68
|
{ no: 4, name: "updated_at", kind: "message", T: Timestamp },
|
|
69
69
|
{ no: 5, name: "kind", kind: "enum", T: proto3.getEnumType(AgentSecretKind) },
|
|
70
|
-
{ no: 6, name: "
|
|
70
|
+
{ no: 6, name: "deployments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
71
71
|
],
|
|
72
72
|
);
|
|
73
73
|
|
|
@@ -157,7 +157,7 @@ export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
157
157
|
{ no: 12, name: "cpu_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
158
158
|
{ no: 13, name: "server_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
159
159
|
{ no: 14, name: "events", kind: "message", T: AgentEvent, repeated: true },
|
|
160
|
-
{ no: 15, name: "
|
|
160
|
+
{ no: 15, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
161
|
{ no: 16, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
162
|
{ no: 17, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
163
163
|
],
|
|
@@ -298,7 +298,7 @@ export const DeployAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
298
298
|
{ no: 4, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
299
299
|
{ no: 5, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
300
300
|
{ no: 6, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
301
|
-
{ no: 7, name: "
|
|
301
|
+
{ no: 7, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
302
302
|
],
|
|
303
303
|
);
|
|
304
304
|
|
|
@@ -314,7 +314,7 @@ export const DeployAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
314
314
|
{ no: 4, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
315
315
|
{ no: 5, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
316
316
|
{ no: 6, name: "presigned_post_request", kind: "message", T: PresignedPostRequest },
|
|
317
|
-
{ no: 7, name: "
|
|
317
|
+
{ no: 7, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
318
318
|
],
|
|
319
319
|
);
|
|
320
320
|
|
|
@@ -326,7 +326,7 @@ export const DeployAgentV2Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
326
326
|
() => [
|
|
327
327
|
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
328
328
|
{ no: 2, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
329
|
-
{ no: 3, name: "
|
|
329
|
+
{ no: 3, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
330
330
|
],
|
|
331
331
|
);
|
|
332
332
|
|
|
@@ -341,7 +341,7 @@ export const DeployAgentV2Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
341
341
|
{ no: 3, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
342
342
|
{ no: 4, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
343
343
|
{ no: 5, name: "presigned_req", kind: "message", T: PresignedPostRequest },
|
|
344
|
-
{ no: 6, name: "
|
|
344
|
+
{ no: 6, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
345
345
|
],
|
|
346
346
|
);
|
|
347
347
|
|
|
@@ -401,7 +401,7 @@ export const DeleteAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
401
401
|
() => [
|
|
402
402
|
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
403
403
|
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
404
|
-
{ no: 3, name: "
|
|
404
|
+
{ no: 3, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
405
405
|
],
|
|
406
406
|
);
|
|
407
407
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
-
import type { AudioCodec, ImageCodec, ParticipantInfo_Kind, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
22
|
+
import type { AudioCodec, ImageCodec, ParticipantInfo_Kind, TokenPagination, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.AudioChannel
|
|
@@ -1420,6 +1420,13 @@ export declare class ListEgressRequest extends Message<ListEgressRequest> {
|
|
|
1420
1420
|
*/
|
|
1421
1421
|
active: boolean;
|
|
1422
1422
|
|
|
1423
|
+
/**
|
|
1424
|
+
* next field id: 5
|
|
1425
|
+
*
|
|
1426
|
+
* @generated from field: livekit.TokenPagination page_token = 4;
|
|
1427
|
+
*/
|
|
1428
|
+
pageToken?: TokenPagination;
|
|
1429
|
+
|
|
1423
1430
|
constructor(data?: PartialMessage<ListEgressRequest>);
|
|
1424
1431
|
|
|
1425
1432
|
static readonly runtime: typeof proto3;
|
|
@@ -1444,6 +1451,13 @@ export declare class ListEgressResponse extends Message<ListEgressResponse> {
|
|
|
1444
1451
|
*/
|
|
1445
1452
|
items: EgressInfo[];
|
|
1446
1453
|
|
|
1454
|
+
/**
|
|
1455
|
+
* next field id: 3
|
|
1456
|
+
*
|
|
1457
|
+
* @generated from field: livekit.TokenPagination next_page_token = 2;
|
|
1458
|
+
*/
|
|
1459
|
+
nextPageToken?: TokenPagination;
|
|
1460
|
+
|
|
1447
1461
|
constructor(data?: PartialMessage<ListEgressResponse>);
|
|
1448
1462
|
|
|
1449
1463
|
static readonly runtime: typeof proto3;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
-
import { AudioCodec, ImageCodec, ParticipantInfo_Kind, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
21
|
+
import { AudioCodec, ImageCodec, ParticipantInfo_Kind, TokenPagination, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from enum livekit.AudioChannel
|
|
@@ -471,6 +471,7 @@ export const ListEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
471
471
|
{ no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
472
472
|
{ no: 2, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
473
473
|
{ no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
474
|
+
{ no: 4, name: "page_token", kind: "message", T: TokenPagination },
|
|
474
475
|
],
|
|
475
476
|
);
|
|
476
477
|
|
|
@@ -481,6 +482,7 @@ export const ListEgressResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
481
482
|
"livekit.ListEgressResponse",
|
|
482
483
|
() => [
|
|
483
484
|
{ no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true },
|
|
485
|
+
{ no: 2, name: "next_page_token", kind: "message", T: TokenPagination },
|
|
484
486
|
],
|
|
485
487
|
);
|
|
486
488
|
|
|
@@ -728,6 +728,80 @@ 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
|
+
/**
|
|
784
|
+
* Use specific media timeout. If zero or not specified, will use default timeout.
|
|
785
|
+
*
|
|
786
|
+
* @generated from field: optional google.protobuf.Duration media_timeout = 4;
|
|
787
|
+
*/
|
|
788
|
+
mediaTimeout?: Duration;
|
|
789
|
+
|
|
790
|
+
constructor(data?: PartialMessage<SIPMediaConfig>);
|
|
791
|
+
|
|
792
|
+
static readonly runtime: typeof proto3;
|
|
793
|
+
static readonly typeName = "livekit.SIPMediaConfig";
|
|
794
|
+
static readonly fields: FieldList;
|
|
795
|
+
|
|
796
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPMediaConfig;
|
|
797
|
+
|
|
798
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPMediaConfig;
|
|
799
|
+
|
|
800
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPMediaConfig;
|
|
801
|
+
|
|
802
|
+
static equals(a: SIPMediaConfig | PlainMessage<SIPMediaConfig> | undefined, b: SIPMediaConfig | PlainMessage<SIPMediaConfig> | undefined): boolean;
|
|
803
|
+
}
|
|
804
|
+
|
|
731
805
|
/**
|
|
732
806
|
* @generated from message livekit.ProviderInfo
|
|
733
807
|
*/
|
|
@@ -1025,6 +1099,11 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
1025
1099
|
*/
|
|
1026
1100
|
authPassword: string;
|
|
1027
1101
|
|
|
1102
|
+
/**
|
|
1103
|
+
* @generated from field: string auth_realm = 19;
|
|
1104
|
+
*/
|
|
1105
|
+
authRealm: string;
|
|
1106
|
+
|
|
1028
1107
|
/**
|
|
1029
1108
|
* Include these SIP X-* headers in 200 OK responses.
|
|
1030
1109
|
*
|
|
@@ -1137,6 +1216,11 @@ export declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate
|
|
|
1137
1216
|
*/
|
|
1138
1217
|
authPassword?: string;
|
|
1139
1218
|
|
|
1219
|
+
/**
|
|
1220
|
+
* @generated from field: optional string auth_realm = 9;
|
|
1221
|
+
*/
|
|
1222
|
+
authRealm?: string;
|
|
1223
|
+
|
|
1140
1224
|
/**
|
|
1141
1225
|
* @generated from field: optional string name = 6;
|
|
1142
1226
|
*/
|
|
@@ -2122,13 +2206,19 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
2122
2206
|
*/
|
|
2123
2207
|
roomConfig?: RoomConfiguration;
|
|
2124
2208
|
|
|
2209
|
+
/**
|
|
2210
|
+
* @generated from field: livekit.SIPMediaConfig media = 16;
|
|
2211
|
+
*/
|
|
2212
|
+
media?: SIPMediaConfig;
|
|
2213
|
+
|
|
2125
2214
|
/**
|
|
2126
2215
|
* @generated from field: bool krisp_enabled = 11;
|
|
2127
2216
|
*/
|
|
2128
2217
|
krispEnabled: boolean;
|
|
2129
2218
|
|
|
2130
2219
|
/**
|
|
2131
|
-
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
|
|
2220
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12 [deprecated = true];
|
|
2221
|
+
* @deprecated
|
|
2132
2222
|
*/
|
|
2133
2223
|
mediaEncryption: SIPMediaEncryption;
|
|
2134
2224
|
|
|
@@ -2187,10 +2277,16 @@ export declare class SIPDispatchRuleUpdate extends Message<SIPDispatchRuleUpdate
|
|
|
2187
2277
|
attributes: { [key: string]: string };
|
|
2188
2278
|
|
|
2189
2279
|
/**
|
|
2190
|
-
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6;
|
|
2280
|
+
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6 [deprecated = true];
|
|
2281
|
+
* @deprecated
|
|
2191
2282
|
*/
|
|
2192
2283
|
mediaEncryption?: SIPMediaEncryption;
|
|
2193
2284
|
|
|
2285
|
+
/**
|
|
2286
|
+
* @generated from field: livekit.SIPMediaConfig media = 7;
|
|
2287
|
+
*/
|
|
2288
|
+
media?: SIPMediaConfig;
|
|
2289
|
+
|
|
2194
2290
|
constructor(data?: PartialMessage<SIPDispatchRuleUpdate>);
|
|
2195
2291
|
|
|
2196
2292
|
static readonly runtime: typeof proto3;
|
|
@@ -2509,10 +2605,16 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2509
2605
|
krispEnabled: boolean;
|
|
2510
2606
|
|
|
2511
2607
|
/**
|
|
2512
|
-
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18;
|
|
2608
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18 [deprecated = true];
|
|
2609
|
+
* @deprecated
|
|
2513
2610
|
*/
|
|
2514
2611
|
mediaEncryption: SIPMediaEncryption;
|
|
2515
2612
|
|
|
2613
|
+
/**
|
|
2614
|
+
* @generated from field: livekit.SIPMediaConfig media = 23;
|
|
2615
|
+
*/
|
|
2616
|
+
media?: SIPMediaConfig;
|
|
2617
|
+
|
|
2516
2618
|
/**
|
|
2517
2619
|
* Wait for the answer for the call before returning.
|
|
2518
2620
|
*
|
|
@@ -2533,7 +2635,7 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2533
2635
|
displayName?: string;
|
|
2534
2636
|
|
|
2535
2637
|
/**
|
|
2536
|
-
* NEXT ID:
|
|
2638
|
+
* NEXT ID: 24
|
|
2537
2639
|
*
|
|
2538
2640
|
* @generated from field: optional livekit.Destination destination = 22;
|
|
2539
2641
|
*/
|
|
@@ -238,6 +238,30 @@ 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
|
+
{ no: 4, name: "media_timeout", kind: "message", T: Duration, opt: true },
|
|
262
|
+
],
|
|
263
|
+
);
|
|
264
|
+
|
|
241
265
|
/**
|
|
242
266
|
* @generated from message livekit.ProviderInfo
|
|
243
267
|
*/
|
|
@@ -323,6 +347,7 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
323
347
|
{ no: 6, name: "allowed_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
324
348
|
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
325
349
|
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
350
|
+
{ no: 19, name: "auth_realm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
326
351
|
{ no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
327
352
|
{ no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
328
353
|
{ no: 14, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
@@ -347,6 +372,7 @@ export const SIPInboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
347
372
|
{ no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
|
|
348
373
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
349
374
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
375
|
+
{ no: 9, name: "auth_realm", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
350
376
|
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
351
377
|
{ no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
352
378
|
{ no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
@@ -635,6 +661,7 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
635
661
|
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
636
662
|
{ no: 9, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
637
663
|
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
|
|
664
|
+
{ no: 16, name: "media", kind: "message", T: SIPMediaConfig },
|
|
638
665
|
{ no: 11, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
639
666
|
{ no: 12, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
640
667
|
{ no: 14, name: "created_at", kind: "message", T: Timestamp },
|
|
@@ -654,6 +681,7 @@ export const SIPDispatchRuleUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
654
681
|
{ no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
655
682
|
{ no: 5, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
656
683
|
{ no: 6, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
684
|
+
{ no: 7, name: "media", kind: "message", T: SIPMediaConfig },
|
|
657
685
|
],
|
|
658
686
|
);
|
|
659
687
|
|
|
@@ -736,6 +764,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
736
764
|
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
737
765
|
{ no: 14, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
738
766
|
{ no: 18, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
767
|
+
{ no: 23, name: "media", kind: "message", T: SIPMediaConfig },
|
|
739
768
|
{ no: 19, name: "wait_until_answered", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
740
769
|
{ no: 21, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
741
770
|
{ 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.
|
|
2
|
+
export const version = '1.46.0';
|