@livekit/protocol 1.10.1
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/LICENSE +202 -0
- package/package.json +27 -0
- package/src/gen/livekit_agent_pb.d.ts +458 -0
- package/src/gen/livekit_agent_pb.js +188 -0
- package/src/gen/livekit_egress_pb.d.ts +1974 -0
- package/src/gen/livekit_egress_pb.js +573 -0
- package/src/gen/livekit_ingress_pb.d.ts +818 -0
- package/src/gen/livekit_ingress_pb.js +265 -0
- package/src/gen/livekit_models_pb.d.ts +1841 -0
- package/src/gen/livekit_models_pb.js +627 -0
- package/src/gen/livekit_rtc_pb.d.ts +1782 -0
- package/src/gen/livekit_rtc_pb.js +565 -0
- package/src/gen/livekit_sip_pb.d.ts +590 -0
- package/src/gen/livekit_sip_pb.js +200 -0
- package/src/gen/livekit_webhook_pb.d.ts +105 -0
- package/src/gen/livekit_webhook_pb.js +42 -0
- package/src/gen/version.d.ts +1 -0
- package/src/gen/version.js +2 -0
- package/src/index.d.ts +8 -0
- package/src/index.js +8 -0
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
// Copyright 2023 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.7.2 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file livekit_sip.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from message livekit.CreateSIPTrunkRequest
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest> {
|
|
27
|
+
/**
|
|
28
|
+
* CIDR or IPs that traffic is accepted from
|
|
29
|
+
* An empty list means all inbound traffic is accepted.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: repeated string inbound_addresses = 1;
|
|
32
|
+
*/
|
|
33
|
+
inboundAddresses: string[];
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* IP that SIP INVITE is sent too
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string outbound_address = 2;
|
|
39
|
+
*/
|
|
40
|
+
outboundAddress: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Number used to make outbound calls
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: string outbound_number = 3;
|
|
46
|
+
*/
|
|
47
|
+
outboundNumber: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true];
|
|
51
|
+
* @deprecated
|
|
52
|
+
*/
|
|
53
|
+
inboundNumbersRegex: string[];
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Accepted `To` values. This Trunk will only accept a call made to
|
|
57
|
+
* these numbers. This allows you to have distinct Trunks for different phone
|
|
58
|
+
* numbers at the same provider.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: repeated string inbound_numbers = 9;
|
|
61
|
+
*/
|
|
62
|
+
inboundNumbers: string[];
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Username and password used to authenticate inbound and outbound SIP invites
|
|
66
|
+
* May be empty to have no Authentication
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: string inbound_username = 5;
|
|
69
|
+
*/
|
|
70
|
+
inboundUsername: string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: string inbound_password = 6;
|
|
74
|
+
*/
|
|
75
|
+
inboundPassword: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: string outbound_username = 7;
|
|
79
|
+
*/
|
|
80
|
+
outboundUsername: string;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: string outbound_password = 8;
|
|
84
|
+
*/
|
|
85
|
+
outboundPassword: string;
|
|
86
|
+
|
|
87
|
+
constructor(data?: PartialMessage<CreateSIPTrunkRequest>);
|
|
88
|
+
|
|
89
|
+
static readonly runtime: typeof proto3;
|
|
90
|
+
static readonly typeName = "livekit.CreateSIPTrunkRequest";
|
|
91
|
+
static readonly fields: FieldList;
|
|
92
|
+
|
|
93
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPTrunkRequest;
|
|
94
|
+
|
|
95
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPTrunkRequest;
|
|
96
|
+
|
|
97
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPTrunkRequest;
|
|
98
|
+
|
|
99
|
+
static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from message livekit.SIPTrunkInfo
|
|
104
|
+
*/
|
|
105
|
+
export declare class SIPTrunkInfo extends Message<SIPTrunkInfo> {
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: string sip_trunk_id = 1;
|
|
108
|
+
*/
|
|
109
|
+
sipTrunkId: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* CIDR or IPs that traffic is accepted from
|
|
113
|
+
* An empty list means all inbound traffic is accepted.
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: repeated string inbound_addresses = 2;
|
|
116
|
+
*/
|
|
117
|
+
inboundAddresses: string[];
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* IP that SIP INVITE is sent too
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: string outbound_address = 3;
|
|
123
|
+
*/
|
|
124
|
+
outboundAddress: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Number used to make outbound calls
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: string outbound_number = 4;
|
|
130
|
+
*/
|
|
131
|
+
outboundNumber: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true];
|
|
135
|
+
* @deprecated
|
|
136
|
+
*/
|
|
137
|
+
inboundNumbersRegex: string[];
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Accepted `To` values. This Trunk will only accept a call made to
|
|
141
|
+
* these numbers. This allows you to have distinct Trunks for different phone
|
|
142
|
+
* numbers at the same provider.
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: repeated string inbound_numbers = 10;
|
|
145
|
+
*/
|
|
146
|
+
inboundNumbers: string[];
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Username and password used to authenticate inbound and outbound SIP invites
|
|
150
|
+
* May be empty to have no Authentication
|
|
151
|
+
*
|
|
152
|
+
* @generated from field: string inbound_username = 6;
|
|
153
|
+
*/
|
|
154
|
+
inboundUsername: string;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: string inbound_password = 7;
|
|
158
|
+
*/
|
|
159
|
+
inboundPassword: string;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: string outbound_username = 8;
|
|
163
|
+
*/
|
|
164
|
+
outboundUsername: string;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: string outbound_password = 9;
|
|
168
|
+
*/
|
|
169
|
+
outboundPassword: string;
|
|
170
|
+
|
|
171
|
+
constructor(data?: PartialMessage<SIPTrunkInfo>);
|
|
172
|
+
|
|
173
|
+
static readonly runtime: typeof proto3;
|
|
174
|
+
static readonly typeName = "livekit.SIPTrunkInfo";
|
|
175
|
+
static readonly fields: FieldList;
|
|
176
|
+
|
|
177
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPTrunkInfo;
|
|
178
|
+
|
|
179
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPTrunkInfo;
|
|
180
|
+
|
|
181
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPTrunkInfo;
|
|
182
|
+
|
|
183
|
+
static equals(a: SIPTrunkInfo | PlainMessage<SIPTrunkInfo> | undefined, b: SIPTrunkInfo | PlainMessage<SIPTrunkInfo> | undefined): boolean;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @generated from message livekit.ListSIPTrunkRequest
|
|
188
|
+
*/
|
|
189
|
+
export declare class ListSIPTrunkRequest extends Message<ListSIPTrunkRequest> {
|
|
190
|
+
constructor(data?: PartialMessage<ListSIPTrunkRequest>);
|
|
191
|
+
|
|
192
|
+
static readonly runtime: typeof proto3;
|
|
193
|
+
static readonly typeName = "livekit.ListSIPTrunkRequest";
|
|
194
|
+
static readonly fields: FieldList;
|
|
195
|
+
|
|
196
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPTrunkRequest;
|
|
197
|
+
|
|
198
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPTrunkRequest;
|
|
199
|
+
|
|
200
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPTrunkRequest;
|
|
201
|
+
|
|
202
|
+
static equals(a: ListSIPTrunkRequest | PlainMessage<ListSIPTrunkRequest> | undefined, b: ListSIPTrunkRequest | PlainMessage<ListSIPTrunkRequest> | undefined): boolean;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @generated from message livekit.ListSIPTrunkResponse
|
|
207
|
+
*/
|
|
208
|
+
export declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse> {
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: repeated livekit.SIPTrunkInfo items = 1;
|
|
211
|
+
*/
|
|
212
|
+
items: SIPTrunkInfo[];
|
|
213
|
+
|
|
214
|
+
constructor(data?: PartialMessage<ListSIPTrunkResponse>);
|
|
215
|
+
|
|
216
|
+
static readonly runtime: typeof proto3;
|
|
217
|
+
static readonly typeName = "livekit.ListSIPTrunkResponse";
|
|
218
|
+
static readonly fields: FieldList;
|
|
219
|
+
|
|
220
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPTrunkResponse;
|
|
221
|
+
|
|
222
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPTrunkResponse;
|
|
223
|
+
|
|
224
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPTrunkResponse;
|
|
225
|
+
|
|
226
|
+
static equals(a: ListSIPTrunkResponse | PlainMessage<ListSIPTrunkResponse> | undefined, b: ListSIPTrunkResponse | PlainMessage<ListSIPTrunkResponse> | undefined): boolean;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @generated from message livekit.DeleteSIPTrunkRequest
|
|
231
|
+
*/
|
|
232
|
+
export declare class DeleteSIPTrunkRequest extends Message<DeleteSIPTrunkRequest> {
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: string sip_trunk_id = 1;
|
|
235
|
+
*/
|
|
236
|
+
sipTrunkId: string;
|
|
237
|
+
|
|
238
|
+
constructor(data?: PartialMessage<DeleteSIPTrunkRequest>);
|
|
239
|
+
|
|
240
|
+
static readonly runtime: typeof proto3;
|
|
241
|
+
static readonly typeName = "livekit.DeleteSIPTrunkRequest";
|
|
242
|
+
static readonly fields: FieldList;
|
|
243
|
+
|
|
244
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSIPTrunkRequest;
|
|
245
|
+
|
|
246
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSIPTrunkRequest;
|
|
247
|
+
|
|
248
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSIPTrunkRequest;
|
|
249
|
+
|
|
250
|
+
static equals(a: DeleteSIPTrunkRequest | PlainMessage<DeleteSIPTrunkRequest> | undefined, b: DeleteSIPTrunkRequest | PlainMessage<DeleteSIPTrunkRequest> | undefined): boolean;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @generated from message livekit.SIPDispatchRuleDirect
|
|
255
|
+
*/
|
|
256
|
+
export declare class SIPDispatchRuleDirect extends Message<SIPDispatchRuleDirect> {
|
|
257
|
+
/**
|
|
258
|
+
* What room should call be directed into
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: string room_name = 1;
|
|
261
|
+
*/
|
|
262
|
+
roomName: string;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Optional pin required to enter room
|
|
266
|
+
*
|
|
267
|
+
* @generated from field: string pin = 2;
|
|
268
|
+
*/
|
|
269
|
+
pin: string;
|
|
270
|
+
|
|
271
|
+
constructor(data?: PartialMessage<SIPDispatchRuleDirect>);
|
|
272
|
+
|
|
273
|
+
static readonly runtime: typeof proto3;
|
|
274
|
+
static readonly typeName = "livekit.SIPDispatchRuleDirect";
|
|
275
|
+
static readonly fields: FieldList;
|
|
276
|
+
|
|
277
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleDirect;
|
|
278
|
+
|
|
279
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleDirect;
|
|
280
|
+
|
|
281
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleDirect;
|
|
282
|
+
|
|
283
|
+
static equals(a: SIPDispatchRuleDirect | PlainMessage<SIPDispatchRuleDirect> | undefined, b: SIPDispatchRuleDirect | PlainMessage<SIPDispatchRuleDirect> | undefined): boolean;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @generated from message livekit.SIPDispatchRuleIndividual
|
|
288
|
+
*/
|
|
289
|
+
export declare class SIPDispatchRuleIndividual extends Message<SIPDispatchRuleIndividual> {
|
|
290
|
+
/**
|
|
291
|
+
* Prefix used on new room name
|
|
292
|
+
*
|
|
293
|
+
* @generated from field: string room_prefix = 1;
|
|
294
|
+
*/
|
|
295
|
+
roomPrefix: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Optional pin required to enter room
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: string pin = 2;
|
|
301
|
+
*/
|
|
302
|
+
pin: string;
|
|
303
|
+
|
|
304
|
+
constructor(data?: PartialMessage<SIPDispatchRuleIndividual>);
|
|
305
|
+
|
|
306
|
+
static readonly runtime: typeof proto3;
|
|
307
|
+
static readonly typeName = "livekit.SIPDispatchRuleIndividual";
|
|
308
|
+
static readonly fields: FieldList;
|
|
309
|
+
|
|
310
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleIndividual;
|
|
311
|
+
|
|
312
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleIndividual;
|
|
313
|
+
|
|
314
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleIndividual;
|
|
315
|
+
|
|
316
|
+
static equals(a: SIPDispatchRuleIndividual | PlainMessage<SIPDispatchRuleIndividual> | undefined, b: SIPDispatchRuleIndividual | PlainMessage<SIPDispatchRuleIndividual> | undefined): boolean;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @generated from message livekit.SIPDispatchRule
|
|
321
|
+
*/
|
|
322
|
+
export declare class SIPDispatchRule extends Message<SIPDispatchRule> {
|
|
323
|
+
/**
|
|
324
|
+
* @generated from oneof livekit.SIPDispatchRule.rule
|
|
325
|
+
*/
|
|
326
|
+
rule: {
|
|
327
|
+
/**
|
|
328
|
+
* SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room
|
|
329
|
+
* This places users into an existing room. Optionally you can require a pin before a user can
|
|
330
|
+
* enter the room
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1;
|
|
333
|
+
*/
|
|
334
|
+
value: SIPDispatchRuleDirect;
|
|
335
|
+
case: "dispatchRuleDirect";
|
|
336
|
+
} | {
|
|
337
|
+
/**
|
|
338
|
+
* SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller.
|
|
339
|
+
*
|
|
340
|
+
* @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2;
|
|
341
|
+
*/
|
|
342
|
+
value: SIPDispatchRuleIndividual;
|
|
343
|
+
case: "dispatchRuleIndividual";
|
|
344
|
+
} | { case: undefined; value?: undefined };
|
|
345
|
+
|
|
346
|
+
constructor(data?: PartialMessage<SIPDispatchRule>);
|
|
347
|
+
|
|
348
|
+
static readonly runtime: typeof proto3;
|
|
349
|
+
static readonly typeName = "livekit.SIPDispatchRule";
|
|
350
|
+
static readonly fields: FieldList;
|
|
351
|
+
|
|
352
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRule;
|
|
353
|
+
|
|
354
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRule;
|
|
355
|
+
|
|
356
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRule;
|
|
357
|
+
|
|
358
|
+
static equals(a: SIPDispatchRule | PlainMessage<SIPDispatchRule> | undefined, b: SIPDispatchRule | PlainMessage<SIPDispatchRule> | undefined): boolean;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* @generated from message livekit.CreateSIPDispatchRuleRequest
|
|
363
|
+
*/
|
|
364
|
+
export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRuleRequest> {
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: livekit.SIPDispatchRule rule = 1;
|
|
367
|
+
*/
|
|
368
|
+
rule?: SIPDispatchRule;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* What trunks are accepted for this dispatch rule
|
|
372
|
+
* If empty all trunks will match this dispatch rule
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: repeated string trunk_ids = 2;
|
|
375
|
+
*/
|
|
376
|
+
trunkIds: string[];
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* By default the From value (Phone number) is used as the participant identity
|
|
380
|
+
* If true a random value will be used instead
|
|
381
|
+
*
|
|
382
|
+
* @generated from field: bool hide_phone_number = 3;
|
|
383
|
+
*/
|
|
384
|
+
hidePhoneNumber: boolean;
|
|
385
|
+
|
|
386
|
+
constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>);
|
|
387
|
+
|
|
388
|
+
static readonly runtime: typeof proto3;
|
|
389
|
+
static readonly typeName = "livekit.CreateSIPDispatchRuleRequest";
|
|
390
|
+
static readonly fields: FieldList;
|
|
391
|
+
|
|
392
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPDispatchRuleRequest;
|
|
393
|
+
|
|
394
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPDispatchRuleRequest;
|
|
395
|
+
|
|
396
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPDispatchRuleRequest;
|
|
397
|
+
|
|
398
|
+
static equals(a: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined): boolean;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @generated from message livekit.SIPDispatchRuleInfo
|
|
403
|
+
*/
|
|
404
|
+
export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: string sip_dispatch_rule_id = 1;
|
|
407
|
+
*/
|
|
408
|
+
sipDispatchRuleId: string;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: livekit.SIPDispatchRule rule = 2;
|
|
412
|
+
*/
|
|
413
|
+
rule?: SIPDispatchRule;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: repeated string trunk_ids = 3;
|
|
417
|
+
*/
|
|
418
|
+
trunkIds: string[];
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* @generated from field: bool hide_phone_number = 4;
|
|
422
|
+
*/
|
|
423
|
+
hidePhoneNumber: boolean;
|
|
424
|
+
|
|
425
|
+
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
|
|
426
|
+
|
|
427
|
+
static readonly runtime: typeof proto3;
|
|
428
|
+
static readonly typeName = "livekit.SIPDispatchRuleInfo";
|
|
429
|
+
static readonly fields: FieldList;
|
|
430
|
+
|
|
431
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleInfo;
|
|
432
|
+
|
|
433
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleInfo;
|
|
434
|
+
|
|
435
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleInfo;
|
|
436
|
+
|
|
437
|
+
static equals(a: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined, b: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined): boolean;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* @generated from message livekit.ListSIPDispatchRuleRequest
|
|
442
|
+
*/
|
|
443
|
+
export declare class ListSIPDispatchRuleRequest extends Message<ListSIPDispatchRuleRequest> {
|
|
444
|
+
constructor(data?: PartialMessage<ListSIPDispatchRuleRequest>);
|
|
445
|
+
|
|
446
|
+
static readonly runtime: typeof proto3;
|
|
447
|
+
static readonly typeName = "livekit.ListSIPDispatchRuleRequest";
|
|
448
|
+
static readonly fields: FieldList;
|
|
449
|
+
|
|
450
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPDispatchRuleRequest;
|
|
451
|
+
|
|
452
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPDispatchRuleRequest;
|
|
453
|
+
|
|
454
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPDispatchRuleRequest;
|
|
455
|
+
|
|
456
|
+
static equals(a: ListSIPDispatchRuleRequest | PlainMessage<ListSIPDispatchRuleRequest> | undefined, b: ListSIPDispatchRuleRequest | PlainMessage<ListSIPDispatchRuleRequest> | undefined): boolean;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* @generated from message livekit.ListSIPDispatchRuleResponse
|
|
461
|
+
*/
|
|
462
|
+
export declare class ListSIPDispatchRuleResponse extends Message<ListSIPDispatchRuleResponse> {
|
|
463
|
+
/**
|
|
464
|
+
* @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1;
|
|
465
|
+
*/
|
|
466
|
+
items: SIPDispatchRuleInfo[];
|
|
467
|
+
|
|
468
|
+
constructor(data?: PartialMessage<ListSIPDispatchRuleResponse>);
|
|
469
|
+
|
|
470
|
+
static readonly runtime: typeof proto3;
|
|
471
|
+
static readonly typeName = "livekit.ListSIPDispatchRuleResponse";
|
|
472
|
+
static readonly fields: FieldList;
|
|
473
|
+
|
|
474
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPDispatchRuleResponse;
|
|
475
|
+
|
|
476
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPDispatchRuleResponse;
|
|
477
|
+
|
|
478
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPDispatchRuleResponse;
|
|
479
|
+
|
|
480
|
+
static equals(a: ListSIPDispatchRuleResponse | PlainMessage<ListSIPDispatchRuleResponse> | undefined, b: ListSIPDispatchRuleResponse | PlainMessage<ListSIPDispatchRuleResponse> | undefined): boolean;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @generated from message livekit.DeleteSIPDispatchRuleRequest
|
|
485
|
+
*/
|
|
486
|
+
export declare class DeleteSIPDispatchRuleRequest extends Message<DeleteSIPDispatchRuleRequest> {
|
|
487
|
+
/**
|
|
488
|
+
* @generated from field: string sip_dispatch_rule_id = 1;
|
|
489
|
+
*/
|
|
490
|
+
sipDispatchRuleId: string;
|
|
491
|
+
|
|
492
|
+
constructor(data?: PartialMessage<DeleteSIPDispatchRuleRequest>);
|
|
493
|
+
|
|
494
|
+
static readonly runtime: typeof proto3;
|
|
495
|
+
static readonly typeName = "livekit.DeleteSIPDispatchRuleRequest";
|
|
496
|
+
static readonly fields: FieldList;
|
|
497
|
+
|
|
498
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSIPDispatchRuleRequest;
|
|
499
|
+
|
|
500
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSIPDispatchRuleRequest;
|
|
501
|
+
|
|
502
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSIPDispatchRuleRequest;
|
|
503
|
+
|
|
504
|
+
static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage<DeleteSIPDispatchRuleRequest> | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage<DeleteSIPDispatchRuleRequest> | undefined): boolean;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* A SIP Participant is a singular SIP session connected to a LiveKit room via
|
|
509
|
+
* a SIP Trunk into a SIP DispatchRule
|
|
510
|
+
*
|
|
511
|
+
* @generated from message livekit.CreateSIPParticipantRequest
|
|
512
|
+
*/
|
|
513
|
+
export declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRequest> {
|
|
514
|
+
/**
|
|
515
|
+
* What SIP Trunk should be used to dial the user
|
|
516
|
+
*
|
|
517
|
+
* @generated from field: string sip_trunk_id = 1;
|
|
518
|
+
*/
|
|
519
|
+
sipTrunkId: string;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* What number should be dialed via SIP
|
|
523
|
+
*
|
|
524
|
+
* @generated from field: string sip_call_to = 2;
|
|
525
|
+
*/
|
|
526
|
+
sipCallTo: string;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* What LiveKit room should this participant be connected too
|
|
530
|
+
*
|
|
531
|
+
* @generated from field: string room_name = 3;
|
|
532
|
+
*/
|
|
533
|
+
roomName: string;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Optional identity of the participant in LiveKit room
|
|
537
|
+
*
|
|
538
|
+
* @generated from field: string participant_identity = 4;
|
|
539
|
+
*/
|
|
540
|
+
participantIdentity: string;
|
|
541
|
+
|
|
542
|
+
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
543
|
+
|
|
544
|
+
static readonly runtime: typeof proto3;
|
|
545
|
+
static readonly typeName = "livekit.CreateSIPParticipantRequest";
|
|
546
|
+
static readonly fields: FieldList;
|
|
547
|
+
|
|
548
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPParticipantRequest;
|
|
549
|
+
|
|
550
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPParticipantRequest;
|
|
551
|
+
|
|
552
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPParticipantRequest;
|
|
553
|
+
|
|
554
|
+
static equals(a: CreateSIPParticipantRequest | PlainMessage<CreateSIPParticipantRequest> | undefined, b: CreateSIPParticipantRequest | PlainMessage<CreateSIPParticipantRequest> | undefined): boolean;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* @generated from message livekit.SIPParticipantInfo
|
|
559
|
+
*/
|
|
560
|
+
export declare class SIPParticipantInfo extends Message<SIPParticipantInfo> {
|
|
561
|
+
/**
|
|
562
|
+
* @generated from field: string participant_id = 1;
|
|
563
|
+
*/
|
|
564
|
+
participantId: string;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* @generated from field: string participant_identity = 2;
|
|
568
|
+
*/
|
|
569
|
+
participantIdentity: string;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* @generated from field: string room_name = 3;
|
|
573
|
+
*/
|
|
574
|
+
roomName: string;
|
|
575
|
+
|
|
576
|
+
constructor(data?: PartialMessage<SIPParticipantInfo>);
|
|
577
|
+
|
|
578
|
+
static readonly runtime: typeof proto3;
|
|
579
|
+
static readonly typeName = "livekit.SIPParticipantInfo";
|
|
580
|
+
static readonly fields: FieldList;
|
|
581
|
+
|
|
582
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPParticipantInfo;
|
|
583
|
+
|
|
584
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPParticipantInfo;
|
|
585
|
+
|
|
586
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPParticipantInfo;
|
|
587
|
+
|
|
588
|
+
static equals(a: SIPParticipantInfo | PlainMessage<SIPParticipantInfo> | undefined, b: SIPParticipantInfo | PlainMessage<SIPParticipantInfo> | undefined): boolean;
|
|
589
|
+
}
|
|
590
|
+
|