@cc-livekit/protocol 1.39.3
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 +7285 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +13646 -0
- package/dist/index.d.mts +13646 -0
- package/dist/index.d.ts +13646 -0
- package/dist/index.mjs +7009 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +42 -0
- package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
- package/src/gen/livekit_agent_dispatch_pb.js +103 -0
- package/src/gen/livekit_agent_pb.d.ts +758 -0
- package/src/gen/livekit_agent_pb.js +269 -0
- package/src/gen/livekit_analytics_pb.d.ts +1379 -0
- package/src/gen/livekit_analytics_pb.js +397 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
- package/src/gen/livekit_cloud_agent_pb.js +327 -0
- package/src/gen/livekit_egress_pb.d.ts +2151 -0
- package/src/gen/livekit_egress_pb.js +625 -0
- package/src/gen/livekit_ingress_pb.d.ts +864 -0
- package/src/gen/livekit_ingress_pb.js +272 -0
- package/src/gen/livekit_internal_pb.d.ts +786 -0
- package/src/gen/livekit_internal_pb.js +227 -0
- package/src/gen/livekit_metrics_pb.d.ts +376 -0
- package/src/gen/livekit_metrics_pb.js +97 -0
- package/src/gen/livekit_models_pb.d.ts +3083 -0
- package/src/gen/livekit_models_pb.js +998 -0
- package/src/gen/livekit_room_pb.d.ts +899 -0
- package/src/gen/livekit_room_pb.js +300 -0
- package/src/gen/livekit_rtc_pb.d.ts +2134 -0
- package/src/gen/livekit_rtc_pb.js +668 -0
- package/src/gen/livekit_sip_pb.d.ts +2619 -0
- package/src/gen/livekit_sip_pb.js +771 -0
- package/src/gen/livekit_temptalk_pb.d.ts +473 -0
- package/src/gen/livekit_temptalk_pb.js +167 -0
- package/src/gen/livekit_webhook_pb.d.ts +106 -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 +12 -0
- package/src/index.js +13 -0
|
@@ -0,0 +1,771 @@
|
|
|
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.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_sip.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { Duration, proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
import { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
|
|
22
|
+
import { RoomConfiguration } from "./livekit_room_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum livekit.SIPStatusCode
|
|
26
|
+
*/
|
|
27
|
+
export const SIPStatusCode = /*@__PURE__*/ proto3.makeEnum(
|
|
28
|
+
"livekit.SIPStatusCode",
|
|
29
|
+
[
|
|
30
|
+
{no: 0, name: "SIP_STATUS_UNKNOWN"},
|
|
31
|
+
{no: 100, name: "SIP_STATUS_TRYING"},
|
|
32
|
+
{no: 180, name: "SIP_STATUS_RINGING"},
|
|
33
|
+
{no: 181, name: "SIP_STATUS_CALL_IS_FORWARDED"},
|
|
34
|
+
{no: 182, name: "SIP_STATUS_QUEUED"},
|
|
35
|
+
{no: 183, name: "SIP_STATUS_SESSION_PROGRESS"},
|
|
36
|
+
{no: 200, name: "SIP_STATUS_OK"},
|
|
37
|
+
{no: 202, name: "SIP_STATUS_ACCEPTED"},
|
|
38
|
+
{no: 301, name: "SIP_STATUS_MOVED_PERMANENTLY"},
|
|
39
|
+
{no: 302, name: "SIP_STATUS_MOVED_TEMPORARILY"},
|
|
40
|
+
{no: 305, name: "SIP_STATUS_USE_PROXY"},
|
|
41
|
+
{no: 400, name: "SIP_STATUS_BAD_REQUEST"},
|
|
42
|
+
{no: 401, name: "SIP_STATUS_UNAUTHORIZED"},
|
|
43
|
+
{no: 402, name: "SIP_STATUS_PAYMENT_REQUIRED"},
|
|
44
|
+
{no: 403, name: "SIP_STATUS_FORBIDDEN"},
|
|
45
|
+
{no: 404, name: "SIP_STATUS_NOTFOUND"},
|
|
46
|
+
{no: 405, name: "SIP_STATUS_METHOD_NOT_ALLOWED"},
|
|
47
|
+
{no: 406, name: "SIP_STATUS_NOT_ACCEPTABLE"},
|
|
48
|
+
{no: 407, name: "SIP_STATUS_PROXY_AUTH_REQUIRED"},
|
|
49
|
+
{no: 408, name: "SIP_STATUS_REQUEST_TIMEOUT"},
|
|
50
|
+
{no: 409, name: "SIP_STATUS_CONFLICT"},
|
|
51
|
+
{no: 410, name: "SIP_STATUS_GONE"},
|
|
52
|
+
{no: 413, name: "SIP_STATUS_REQUEST_ENTITY_TOO_LARGE"},
|
|
53
|
+
{no: 414, name: "SIP_STATUS_REQUEST_URI_TOO_LONG"},
|
|
54
|
+
{no: 415, name: "SIP_STATUS_UNSUPPORTED_MEDIA_TYPE"},
|
|
55
|
+
{no: 416, name: "SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE"},
|
|
56
|
+
{no: 420, name: "SIP_STATUS_BAD_EXTENSION"},
|
|
57
|
+
{no: 421, name: "SIP_STATUS_EXTENSION_REQUIRED"},
|
|
58
|
+
{no: 423, name: "SIP_STATUS_INTERVAL_TOO_BRIEF"},
|
|
59
|
+
{no: 480, name: "SIP_STATUS_TEMPORARILY_UNAVAILABLE"},
|
|
60
|
+
{no: 481, name: "SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS"},
|
|
61
|
+
{no: 482, name: "SIP_STATUS_LOOP_DETECTED"},
|
|
62
|
+
{no: 483, name: "SIP_STATUS_TOO_MANY_HOPS"},
|
|
63
|
+
{no: 484, name: "SIP_STATUS_ADDRESS_INCOMPLETE"},
|
|
64
|
+
{no: 485, name: "SIP_STATUS_AMBIGUOUS"},
|
|
65
|
+
{no: 486, name: "SIP_STATUS_BUSY_HERE"},
|
|
66
|
+
{no: 487, name: "SIP_STATUS_REQUEST_TERMINATED"},
|
|
67
|
+
{no: 488, name: "SIP_STATUS_NOT_ACCEPTABLE_HERE"},
|
|
68
|
+
{no: 500, name: "SIP_STATUS_INTERNAL_SERVER_ERROR"},
|
|
69
|
+
{no: 501, name: "SIP_STATUS_NOT_IMPLEMENTED"},
|
|
70
|
+
{no: 502, name: "SIP_STATUS_BAD_GATEWAY"},
|
|
71
|
+
{no: 503, name: "SIP_STATUS_SERVICE_UNAVAILABLE"},
|
|
72
|
+
{no: 504, name: "SIP_STATUS_GATEWAY_TIMEOUT"},
|
|
73
|
+
{no: 505, name: "SIP_STATUS_VERSION_NOT_SUPPORTED"},
|
|
74
|
+
{no: 513, name: "SIP_STATUS_MESSAGE_TOO_LARGE"},
|
|
75
|
+
{no: 600, name: "SIP_STATUS_GLOBAL_BUSY_EVERYWHERE"},
|
|
76
|
+
{no: 603, name: "SIP_STATUS_GLOBAL_DECLINE"},
|
|
77
|
+
{no: 604, name: "SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE"},
|
|
78
|
+
{no: 606, name: "SIP_STATUS_GLOBAL_NOT_ACCEPTABLE"},
|
|
79
|
+
],
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from enum livekit.SIPTransport
|
|
84
|
+
*/
|
|
85
|
+
export const SIPTransport = /*@__PURE__*/ proto3.makeEnum(
|
|
86
|
+
"livekit.SIPTransport",
|
|
87
|
+
[
|
|
88
|
+
{no: 0, name: "SIP_TRANSPORT_AUTO"},
|
|
89
|
+
{no: 1, name: "SIP_TRANSPORT_UDP"},
|
|
90
|
+
{no: 2, name: "SIP_TRANSPORT_TCP"},
|
|
91
|
+
{no: 3, name: "SIP_TRANSPORT_TLS"},
|
|
92
|
+
],
|
|
93
|
+
);
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from enum livekit.SIPHeaderOptions
|
|
97
|
+
*/
|
|
98
|
+
export const SIPHeaderOptions = /*@__PURE__*/ proto3.makeEnum(
|
|
99
|
+
"livekit.SIPHeaderOptions",
|
|
100
|
+
[
|
|
101
|
+
{no: 0, name: "SIP_NO_HEADERS"},
|
|
102
|
+
{no: 1, name: "SIP_X_HEADERS"},
|
|
103
|
+
{no: 2, name: "SIP_ALL_HEADERS"},
|
|
104
|
+
],
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @generated from enum livekit.SIPMediaEncryption
|
|
109
|
+
*/
|
|
110
|
+
export const SIPMediaEncryption = /*@__PURE__*/ proto3.makeEnum(
|
|
111
|
+
"livekit.SIPMediaEncryption",
|
|
112
|
+
[
|
|
113
|
+
{no: 0, name: "SIP_MEDIA_ENCRYPT_DISABLE"},
|
|
114
|
+
{no: 1, name: "SIP_MEDIA_ENCRYPT_ALLOW"},
|
|
115
|
+
{no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE"},
|
|
116
|
+
],
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum livekit.SIPCallStatus
|
|
121
|
+
*/
|
|
122
|
+
export const SIPCallStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
123
|
+
"livekit.SIPCallStatus",
|
|
124
|
+
[
|
|
125
|
+
{no: 0, name: "SCS_CALL_INCOMING"},
|
|
126
|
+
{no: 1, name: "SCS_PARTICIPANT_JOINED"},
|
|
127
|
+
{no: 2, name: "SCS_ACTIVE"},
|
|
128
|
+
{no: 3, name: "SCS_DISCONNECTED"},
|
|
129
|
+
{no: 4, name: "SCS_ERROR"},
|
|
130
|
+
],
|
|
131
|
+
);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from enum livekit.SIPTransferStatus
|
|
135
|
+
*/
|
|
136
|
+
export const SIPTransferStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
137
|
+
"livekit.SIPTransferStatus",
|
|
138
|
+
[
|
|
139
|
+
{no: 0, name: "STS_TRANSFER_ONGOING"},
|
|
140
|
+
{no: 1, name: "STS_TRANSFER_FAILED"},
|
|
141
|
+
{no: 2, name: "STS_TRANSFER_SUCCESSFUL"},
|
|
142
|
+
],
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from enum livekit.SIPFeature
|
|
147
|
+
*/
|
|
148
|
+
export const SIPFeature = /*@__PURE__*/ proto3.makeEnum(
|
|
149
|
+
"livekit.SIPFeature",
|
|
150
|
+
[
|
|
151
|
+
{no: 0, name: "NONE"},
|
|
152
|
+
{no: 1, name: "KRISP_ENABLED"},
|
|
153
|
+
],
|
|
154
|
+
);
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @generated from enum livekit.SIPCallDirection
|
|
158
|
+
*/
|
|
159
|
+
export const SIPCallDirection = /*@__PURE__*/ proto3.makeEnum(
|
|
160
|
+
"livekit.SIPCallDirection",
|
|
161
|
+
[
|
|
162
|
+
{no: 0, name: "SCD_UNKNOWN"},
|
|
163
|
+
{no: 1, name: "SCD_INBOUND"},
|
|
164
|
+
{no: 2, name: "SCD_OUTBOUND"},
|
|
165
|
+
],
|
|
166
|
+
);
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* SIPStatus is returned as an error detail in CreateSIPParticipant.
|
|
170
|
+
*
|
|
171
|
+
* @generated from message livekit.SIPStatus
|
|
172
|
+
*/
|
|
173
|
+
export const SIPStatus = /*@__PURE__*/ proto3.makeMessageType(
|
|
174
|
+
"livekit.SIPStatus",
|
|
175
|
+
() => [
|
|
176
|
+
{ no: 1, name: "code", kind: "enum", T: proto3.getEnumType(SIPStatusCode) },
|
|
177
|
+
{ no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
178
|
+
],
|
|
179
|
+
);
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @generated from message livekit.CreateSIPTrunkRequest
|
|
183
|
+
* @deprecated
|
|
184
|
+
*/
|
|
185
|
+
export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
186
|
+
"livekit.CreateSIPTrunkRequest",
|
|
187
|
+
() => [
|
|
188
|
+
{ no: 1, name: "inbound_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
189
|
+
{ no: 2, name: "outbound_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
190
|
+
{ no: 3, name: "outbound_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
191
|
+
{ no: 4, name: "inbound_numbers_regex", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
192
|
+
{ no: 9, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
193
|
+
{ no: 5, name: "inbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
194
|
+
{ no: 6, name: "inbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
195
|
+
{ no: 7, name: "outbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
196
|
+
{ no: 8, name: "outbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
197
|
+
{ no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
198
|
+
{ no: 11, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
199
|
+
],
|
|
200
|
+
);
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from message livekit.SIPTrunkInfo
|
|
204
|
+
* @deprecated
|
|
205
|
+
*/
|
|
206
|
+
export const SIPTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
207
|
+
"livekit.SIPTrunkInfo",
|
|
208
|
+
() => [
|
|
209
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
210
|
+
{ no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) },
|
|
211
|
+
{ no: 2, name: "inbound_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
212
|
+
{ no: 3, name: "outbound_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
213
|
+
{ no: 4, name: "outbound_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
214
|
+
{ no: 13, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
|
|
215
|
+
{ no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
216
|
+
{ no: 10, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
217
|
+
{ no: 6, name: "inbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
218
|
+
{ no: 7, name: "inbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
219
|
+
{ no: 8, name: "outbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
220
|
+
{ no: 9, name: "outbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
221
|
+
{ no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
222
|
+
{ no: 12, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
223
|
+
],
|
|
224
|
+
);
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @generated from enum livekit.SIPTrunkInfo.TrunkKind
|
|
228
|
+
*/
|
|
229
|
+
export const SIPTrunkInfo_TrunkKind = /*@__PURE__*/ proto3.makeEnum(
|
|
230
|
+
"livekit.SIPTrunkInfo.TrunkKind",
|
|
231
|
+
[
|
|
232
|
+
{no: 0, name: "TRUNK_LEGACY"},
|
|
233
|
+
{no: 1, name: "TRUNK_INBOUND"},
|
|
234
|
+
{no: 2, name: "TRUNK_OUTBOUND"},
|
|
235
|
+
],
|
|
236
|
+
);
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* @generated from message livekit.CreateSIPInboundTrunkRequest
|
|
240
|
+
*/
|
|
241
|
+
export const CreateSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
242
|
+
"livekit.CreateSIPInboundTrunkRequest",
|
|
243
|
+
() => [
|
|
244
|
+
{ no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo },
|
|
245
|
+
],
|
|
246
|
+
);
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @generated from message livekit.UpdateSIPInboundTrunkRequest
|
|
250
|
+
*/
|
|
251
|
+
export const UpdateSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
252
|
+
"livekit.UpdateSIPInboundTrunkRequest",
|
|
253
|
+
() => [
|
|
254
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
255
|
+
{ no: 2, name: "replace", kind: "message", T: SIPInboundTrunkInfo, oneof: "action" },
|
|
256
|
+
{ no: 3, name: "update", kind: "message", T: SIPInboundTrunkUpdate, oneof: "action" },
|
|
257
|
+
],
|
|
258
|
+
);
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* @generated from message livekit.SIPInboundTrunkInfo
|
|
262
|
+
*/
|
|
263
|
+
export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
264
|
+
"livekit.SIPInboundTrunkInfo",
|
|
265
|
+
() => [
|
|
266
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
267
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
268
|
+
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
269
|
+
{ no: 4, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
270
|
+
{ no: 5, name: "allowed_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
271
|
+
{ no: 6, name: "allowed_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
272
|
+
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
273
|
+
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
274
|
+
{ no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
275
|
+
{ no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
276
|
+
{ no: 14, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
277
|
+
{ no: 15, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
278
|
+
{ no: 11, name: "ringing_timeout", kind: "message", T: Duration },
|
|
279
|
+
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
280
|
+
{ no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
281
|
+
{ no: 16, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
282
|
+
],
|
|
283
|
+
);
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @generated from message livekit.SIPInboundTrunkUpdate
|
|
287
|
+
*/
|
|
288
|
+
export const SIPInboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
289
|
+
"livekit.SIPInboundTrunkUpdate",
|
|
290
|
+
() => [
|
|
291
|
+
{ no: 1, name: "numbers", kind: "message", T: ListUpdate },
|
|
292
|
+
{ no: 2, name: "allowed_addresses", kind: "message", T: ListUpdate },
|
|
293
|
+
{ no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
|
|
294
|
+
{ no: 4, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
295
|
+
{ no: 5, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
296
|
+
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
297
|
+
{ no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
298
|
+
{ no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
299
|
+
],
|
|
300
|
+
);
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @generated from message livekit.CreateSIPOutboundTrunkRequest
|
|
304
|
+
*/
|
|
305
|
+
export const CreateSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
306
|
+
"livekit.CreateSIPOutboundTrunkRequest",
|
|
307
|
+
() => [
|
|
308
|
+
{ no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo },
|
|
309
|
+
],
|
|
310
|
+
);
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* @generated from message livekit.UpdateSIPOutboundTrunkRequest
|
|
314
|
+
*/
|
|
315
|
+
export const UpdateSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
316
|
+
"livekit.UpdateSIPOutboundTrunkRequest",
|
|
317
|
+
() => [
|
|
318
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
319
|
+
{ no: 2, name: "replace", kind: "message", T: SIPOutboundTrunkInfo, oneof: "action" },
|
|
320
|
+
{ no: 3, name: "update", kind: "message", T: SIPOutboundTrunkUpdate, oneof: "action" },
|
|
321
|
+
],
|
|
322
|
+
);
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from message livekit.SIPOutboundTrunkInfo
|
|
326
|
+
*/
|
|
327
|
+
export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
328
|
+
"livekit.SIPOutboundTrunkInfo",
|
|
329
|
+
() => [
|
|
330
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
331
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
332
|
+
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
333
|
+
{ no: 4, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
334
|
+
{ no: 14, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
335
|
+
{ no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
|
|
336
|
+
{ no: 6, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
337
|
+
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
338
|
+
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
339
|
+
{ no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
340
|
+
{ no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
341
|
+
{ no: 11, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
342
|
+
{ no: 12, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
343
|
+
{ no: 13, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
344
|
+
],
|
|
345
|
+
);
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @generated from message livekit.SIPOutboundTrunkUpdate
|
|
349
|
+
*/
|
|
350
|
+
export const SIPOutboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
351
|
+
"livekit.SIPOutboundTrunkUpdate",
|
|
352
|
+
() => [
|
|
353
|
+
{ no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
354
|
+
{ no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport), opt: true },
|
|
355
|
+
{ no: 9, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
356
|
+
{ no: 3, name: "numbers", kind: "message", T: ListUpdate },
|
|
357
|
+
{ no: 4, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
358
|
+
{ no: 5, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
359
|
+
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
360
|
+
{ no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
361
|
+
{ no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
362
|
+
],
|
|
363
|
+
);
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* @generated from message livekit.GetSIPInboundTrunkRequest
|
|
367
|
+
*/
|
|
368
|
+
export const GetSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
369
|
+
"livekit.GetSIPInboundTrunkRequest",
|
|
370
|
+
() => [
|
|
371
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
372
|
+
],
|
|
373
|
+
);
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @generated from message livekit.GetSIPInboundTrunkResponse
|
|
377
|
+
*/
|
|
378
|
+
export const GetSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
379
|
+
"livekit.GetSIPInboundTrunkResponse",
|
|
380
|
+
() => [
|
|
381
|
+
{ no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo },
|
|
382
|
+
],
|
|
383
|
+
);
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @generated from message livekit.GetSIPOutboundTrunkRequest
|
|
387
|
+
*/
|
|
388
|
+
export const GetSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
389
|
+
"livekit.GetSIPOutboundTrunkRequest",
|
|
390
|
+
() => [
|
|
391
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
392
|
+
],
|
|
393
|
+
);
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @generated from message livekit.GetSIPOutboundTrunkResponse
|
|
397
|
+
*/
|
|
398
|
+
export const GetSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
399
|
+
"livekit.GetSIPOutboundTrunkResponse",
|
|
400
|
+
() => [
|
|
401
|
+
{ no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo },
|
|
402
|
+
],
|
|
403
|
+
);
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @generated from message livekit.ListSIPTrunkRequest
|
|
407
|
+
* @deprecated
|
|
408
|
+
*/
|
|
409
|
+
export const ListSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
410
|
+
"livekit.ListSIPTrunkRequest",
|
|
411
|
+
() => [
|
|
412
|
+
{ no: 1, name: "page", kind: "message", T: Pagination },
|
|
413
|
+
],
|
|
414
|
+
);
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @generated from message livekit.ListSIPTrunkResponse
|
|
418
|
+
* @deprecated
|
|
419
|
+
*/
|
|
420
|
+
export const ListSIPTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
421
|
+
"livekit.ListSIPTrunkResponse",
|
|
422
|
+
() => [
|
|
423
|
+
{ no: 1, name: "items", kind: "message", T: SIPTrunkInfo, repeated: true },
|
|
424
|
+
],
|
|
425
|
+
);
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
429
|
+
*
|
|
430
|
+
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
431
|
+
*/
|
|
432
|
+
export const ListSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
433
|
+
"livekit.ListSIPInboundTrunkRequest",
|
|
434
|
+
() => [
|
|
435
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
436
|
+
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
437
|
+
{ no: 2, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
438
|
+
],
|
|
439
|
+
);
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* @generated from message livekit.ListSIPInboundTrunkResponse
|
|
443
|
+
*/
|
|
444
|
+
export const ListSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
445
|
+
"livekit.ListSIPInboundTrunkResponse",
|
|
446
|
+
() => [
|
|
447
|
+
{ no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true },
|
|
448
|
+
],
|
|
449
|
+
);
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
453
|
+
*
|
|
454
|
+
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
455
|
+
*/
|
|
456
|
+
export const ListSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
457
|
+
"livekit.ListSIPOutboundTrunkRequest",
|
|
458
|
+
() => [
|
|
459
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
460
|
+
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
461
|
+
{ no: 2, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
462
|
+
],
|
|
463
|
+
);
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* @generated from message livekit.ListSIPOutboundTrunkResponse
|
|
467
|
+
*/
|
|
468
|
+
export const ListSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
469
|
+
"livekit.ListSIPOutboundTrunkResponse",
|
|
470
|
+
() => [
|
|
471
|
+
{ no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true },
|
|
472
|
+
],
|
|
473
|
+
);
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* @generated from message livekit.DeleteSIPTrunkRequest
|
|
477
|
+
*/
|
|
478
|
+
export const DeleteSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
479
|
+
"livekit.DeleteSIPTrunkRequest",
|
|
480
|
+
() => [
|
|
481
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
482
|
+
],
|
|
483
|
+
);
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* @generated from message livekit.SIPDispatchRuleDirect
|
|
487
|
+
*/
|
|
488
|
+
export const SIPDispatchRuleDirect = /*@__PURE__*/ proto3.makeMessageType(
|
|
489
|
+
"livekit.SIPDispatchRuleDirect",
|
|
490
|
+
() => [
|
|
491
|
+
{ no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
492
|
+
{ no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
493
|
+
],
|
|
494
|
+
);
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* @generated from message livekit.SIPDispatchRuleIndividual
|
|
498
|
+
*/
|
|
499
|
+
export const SIPDispatchRuleIndividual = /*@__PURE__*/ proto3.makeMessageType(
|
|
500
|
+
"livekit.SIPDispatchRuleIndividual",
|
|
501
|
+
() => [
|
|
502
|
+
{ no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
503
|
+
{ no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
504
|
+
],
|
|
505
|
+
);
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* @generated from message livekit.SIPDispatchRuleCallee
|
|
509
|
+
*/
|
|
510
|
+
export const SIPDispatchRuleCallee = /*@__PURE__*/ proto3.makeMessageType(
|
|
511
|
+
"livekit.SIPDispatchRuleCallee",
|
|
512
|
+
() => [
|
|
513
|
+
{ no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
514
|
+
{ no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
515
|
+
{ no: 3, name: "randomize", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
516
|
+
],
|
|
517
|
+
);
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* @generated from message livekit.SIPDispatchRule
|
|
521
|
+
*/
|
|
522
|
+
export const SIPDispatchRule = /*@__PURE__*/ proto3.makeMessageType(
|
|
523
|
+
"livekit.SIPDispatchRule",
|
|
524
|
+
() => [
|
|
525
|
+
{ no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" },
|
|
526
|
+
{ no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" },
|
|
527
|
+
{ no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" },
|
|
528
|
+
],
|
|
529
|
+
);
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* @generated from message livekit.CreateSIPDispatchRuleRequest
|
|
533
|
+
*/
|
|
534
|
+
export const CreateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
535
|
+
"livekit.CreateSIPDispatchRuleRequest",
|
|
536
|
+
() => [
|
|
537
|
+
{ no: 10, name: "dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
|
|
538
|
+
{ no: 1, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
539
|
+
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
540
|
+
{ no: 3, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
541
|
+
{ no: 6, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
542
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
543
|
+
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
544
|
+
{ no: 7, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
545
|
+
{ no: 8, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
546
|
+
{ no: 9, name: "room_config", kind: "message", T: RoomConfiguration },
|
|
547
|
+
],
|
|
548
|
+
);
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* @generated from message livekit.UpdateSIPDispatchRuleRequest
|
|
552
|
+
*/
|
|
553
|
+
export const UpdateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
554
|
+
"livekit.UpdateSIPDispatchRuleRequest",
|
|
555
|
+
() => [
|
|
556
|
+
{ no: 1, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
557
|
+
{ no: 2, name: "replace", kind: "message", T: SIPDispatchRuleInfo, oneof: "action" },
|
|
558
|
+
{ no: 3, name: "update", kind: "message", T: SIPDispatchRuleUpdate, oneof: "action" },
|
|
559
|
+
],
|
|
560
|
+
);
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @generated from message livekit.SIPDispatchRuleInfo
|
|
564
|
+
*/
|
|
565
|
+
export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
566
|
+
"livekit.SIPDispatchRuleInfo",
|
|
567
|
+
() => [
|
|
568
|
+
{ no: 1, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
569
|
+
{ no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
570
|
+
{ no: 3, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
571
|
+
{ no: 4, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
572
|
+
{ no: 7, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
573
|
+
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
574
|
+
{ no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
575
|
+
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
576
|
+
{ no: 9, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
577
|
+
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
|
|
578
|
+
{ no: 11, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
579
|
+
{ no: 12, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
580
|
+
],
|
|
581
|
+
);
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* @generated from message livekit.SIPDispatchRuleUpdate
|
|
585
|
+
*/
|
|
586
|
+
export const SIPDispatchRuleUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
587
|
+
"livekit.SIPDispatchRuleUpdate",
|
|
588
|
+
() => [
|
|
589
|
+
{ no: 1, name: "trunk_ids", kind: "message", T: ListUpdate },
|
|
590
|
+
{ no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
591
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
592
|
+
{ no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
593
|
+
{ no: 5, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
594
|
+
{ no: 6, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
595
|
+
],
|
|
596
|
+
);
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
|
|
600
|
+
*
|
|
601
|
+
* @generated from message livekit.ListSIPDispatchRuleRequest
|
|
602
|
+
*/
|
|
603
|
+
export const ListSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
604
|
+
"livekit.ListSIPDispatchRuleRequest",
|
|
605
|
+
() => [
|
|
606
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
607
|
+
{ no: 1, name: "dispatch_rule_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
608
|
+
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
609
|
+
],
|
|
610
|
+
);
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* @generated from message livekit.ListSIPDispatchRuleResponse
|
|
614
|
+
*/
|
|
615
|
+
export const ListSIPDispatchRuleResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
616
|
+
"livekit.ListSIPDispatchRuleResponse",
|
|
617
|
+
() => [
|
|
618
|
+
{ no: 1, name: "items", kind: "message", T: SIPDispatchRuleInfo, repeated: true },
|
|
619
|
+
],
|
|
620
|
+
);
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* @generated from message livekit.DeleteSIPDispatchRuleRequest
|
|
624
|
+
*/
|
|
625
|
+
export const DeleteSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
626
|
+
"livekit.DeleteSIPDispatchRuleRequest",
|
|
627
|
+
() => [
|
|
628
|
+
{ no: 1, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
629
|
+
],
|
|
630
|
+
);
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* @generated from message livekit.SIPOutboundConfig
|
|
634
|
+
*/
|
|
635
|
+
export const SIPOutboundConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
636
|
+
"livekit.SIPOutboundConfig",
|
|
637
|
+
() => [
|
|
638
|
+
{ no: 1, name: "hostname", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
639
|
+
{ no: 7, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
640
|
+
{ no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
|
|
641
|
+
{ no: 3, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
642
|
+
{ no: 4, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
643
|
+
{ no: 5, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
644
|
+
{ no: 6, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
645
|
+
],
|
|
646
|
+
);
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* A SIP Participant is a singular SIP session connected to a LiveKit room via
|
|
650
|
+
* a SIP Trunk into a SIP DispatchRule
|
|
651
|
+
*
|
|
652
|
+
* @generated from message livekit.CreateSIPParticipantRequest
|
|
653
|
+
*/
|
|
654
|
+
export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
655
|
+
"livekit.CreateSIPParticipantRequest",
|
|
656
|
+
() => [
|
|
657
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
658
|
+
{ no: 20, name: "trunk", kind: "message", T: SIPOutboundConfig },
|
|
659
|
+
{ no: 2, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
660
|
+
{ no: 15, name: "sip_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
661
|
+
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
662
|
+
{ no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
663
|
+
{ no: 7, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
664
|
+
{ no: 8, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
665
|
+
{ no: 9, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
666
|
+
{ no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
667
|
+
{ no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
668
|
+
{ no: 13, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
669
|
+
{ no: 10, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
670
|
+
{ no: 16, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
671
|
+
{ no: 17, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
672
|
+
{ no: 11, name: "ringing_timeout", kind: "message", T: Duration },
|
|
673
|
+
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
674
|
+
{ no: 14, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
675
|
+
{ no: 18, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
676
|
+
{ no: 19, name: "wait_until_answered", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
677
|
+
],
|
|
678
|
+
);
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* @generated from message livekit.SIPParticipantInfo
|
|
682
|
+
*/
|
|
683
|
+
export const SIPParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
684
|
+
"livekit.SIPParticipantInfo",
|
|
685
|
+
() => [
|
|
686
|
+
{ no: 1, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
687
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
688
|
+
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
689
|
+
{ no: 4, name: "sip_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
690
|
+
],
|
|
691
|
+
);
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* @generated from message livekit.TransferSIPParticipantRequest
|
|
695
|
+
*/
|
|
696
|
+
export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
697
|
+
"livekit.TransferSIPParticipantRequest",
|
|
698
|
+
() => [
|
|
699
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
700
|
+
{ no: 2, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
701
|
+
{ no: 3, name: "transfer_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
702
|
+
{ no: 4, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
703
|
+
{ no: 5, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
704
|
+
{ no: 6, name: "ringing_timeout", kind: "message", T: Duration },
|
|
705
|
+
],
|
|
706
|
+
);
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* @generated from message livekit.SIPCallInfo
|
|
710
|
+
*/
|
|
711
|
+
export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
712
|
+
"livekit.SIPCallInfo",
|
|
713
|
+
() => [
|
|
714
|
+
{ no: 1, name: "call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
715
|
+
{ no: 2, name: "trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
716
|
+
{ no: 16, name: "dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
717
|
+
{ no: 17, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
718
|
+
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
719
|
+
{ no: 4, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
720
|
+
{ no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
721
|
+
{ no: 18, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
722
|
+
{ no: 6, name: "from_uri", kind: "message", T: SIPUri },
|
|
723
|
+
{ no: 7, name: "to_uri", kind: "message", T: SIPUri },
|
|
724
|
+
{ no: 9, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
725
|
+
{ no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
726
|
+
{ no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
727
|
+
{ no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true },
|
|
728
|
+
{ no: 15, name: "call_direction", kind: "enum", T: proto3.getEnumType(SIPCallDirection) },
|
|
729
|
+
{ no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) },
|
|
730
|
+
{ no: 22, name: "created_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
731
|
+
{ no: 23, name: "started_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
732
|
+
{ no: 24, name: "ended_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
733
|
+
{ no: 12, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
734
|
+
{ no: 13, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
735
|
+
{ no: 19, name: "call_status_code", kind: "message", T: SIPStatus },
|
|
736
|
+
{ no: 20, name: "audio_codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
737
|
+
{ no: 21, name: "media_encryption", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
738
|
+
],
|
|
739
|
+
);
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* @generated from message livekit.SIPTransferInfo
|
|
743
|
+
*/
|
|
744
|
+
export const SIPTransferInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
745
|
+
"livekit.SIPTransferInfo",
|
|
746
|
+
() => [
|
|
747
|
+
{ no: 1, name: "transfer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
748
|
+
{ no: 2, name: "call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
749
|
+
{ no: 3, name: "transfer_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
750
|
+
{ no: 4, name: "transfer_initiated_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
751
|
+
{ no: 5, name: "transfer_completed_at_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
752
|
+
{ no: 6, name: "transfer_status", kind: "enum", T: proto3.getEnumType(SIPTransferStatus) },
|
|
753
|
+
{ no: 7, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
754
|
+
{ no: 8, name: "transfer_status_code", kind: "message", T: SIPStatus },
|
|
755
|
+
],
|
|
756
|
+
);
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* @generated from message livekit.SIPUri
|
|
760
|
+
*/
|
|
761
|
+
export const SIPUri = /*@__PURE__*/ proto3.makeMessageType(
|
|
762
|
+
"livekit.SIPUri",
|
|
763
|
+
() => [
|
|
764
|
+
{ no: 1, name: "user", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
765
|
+
{ no: 2, name: "host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
766
|
+
{ no: 3, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
767
|
+
{ no: 4, name: "port", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
768
|
+
{ no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
|
|
769
|
+
],
|
|
770
|
+
);
|
|
771
|
+
|