@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.
Files changed (40) hide show
  1. package/dist/index.cjs +7285 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +13646 -0
  4. package/dist/index.d.mts +13646 -0
  5. package/dist/index.d.ts +13646 -0
  6. package/dist/index.mjs +7009 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +42 -0
  9. package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
  10. package/src/gen/livekit_agent_dispatch_pb.js +103 -0
  11. package/src/gen/livekit_agent_pb.d.ts +758 -0
  12. package/src/gen/livekit_agent_pb.js +269 -0
  13. package/src/gen/livekit_analytics_pb.d.ts +1379 -0
  14. package/src/gen/livekit_analytics_pb.js +397 -0
  15. package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
  16. package/src/gen/livekit_cloud_agent_pb.js +327 -0
  17. package/src/gen/livekit_egress_pb.d.ts +2151 -0
  18. package/src/gen/livekit_egress_pb.js +625 -0
  19. package/src/gen/livekit_ingress_pb.d.ts +864 -0
  20. package/src/gen/livekit_ingress_pb.js +272 -0
  21. package/src/gen/livekit_internal_pb.d.ts +786 -0
  22. package/src/gen/livekit_internal_pb.js +227 -0
  23. package/src/gen/livekit_metrics_pb.d.ts +376 -0
  24. package/src/gen/livekit_metrics_pb.js +97 -0
  25. package/src/gen/livekit_models_pb.d.ts +3083 -0
  26. package/src/gen/livekit_models_pb.js +998 -0
  27. package/src/gen/livekit_room_pb.d.ts +899 -0
  28. package/src/gen/livekit_room_pb.js +300 -0
  29. package/src/gen/livekit_rtc_pb.d.ts +2134 -0
  30. package/src/gen/livekit_rtc_pb.js +668 -0
  31. package/src/gen/livekit_sip_pb.d.ts +2619 -0
  32. package/src/gen/livekit_sip_pb.js +771 -0
  33. package/src/gen/livekit_temptalk_pb.d.ts +473 -0
  34. package/src/gen/livekit_temptalk_pb.js +167 -0
  35. package/src/gen/livekit_webhook_pb.d.ts +106 -0
  36. package/src/gen/livekit_webhook_pb.js +42 -0
  37. package/src/gen/version.d.ts +1 -0
  38. package/src/gen/version.js +2 -0
  39. package/src/index.d.ts +12 -0
  40. package/src/index.js +13 -0
@@ -0,0 +1,327 @@
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_cloud_agent.proto (package livekit, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import { proto3, Timestamp } from "@bufbuild/protobuf";
21
+
22
+ /**
23
+ * @generated from message livekit.AgentSecret
24
+ */
25
+ export const AgentSecret = /*@__PURE__*/ proto3.makeMessageType(
26
+ "livekit.AgentSecret",
27
+ () => [
28
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
29
+ { no: 2, name: "value", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
30
+ { no: 3, name: "created_at", kind: "message", T: Timestamp },
31
+ { no: 4, name: "updated_at", kind: "message", T: Timestamp },
32
+ ],
33
+ );
34
+
35
+ /**
36
+ * @generated from message livekit.CreateAgentRequest
37
+ */
38
+ export const CreateAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
39
+ "livekit.CreateAgentRequest",
40
+ () => [
41
+ { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
42
+ { no: 2, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
43
+ { no: 3, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
44
+ { no: 4, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
45
+ { no: 5, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
46
+ { no: 6, name: "regions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
47
+ ],
48
+ );
49
+
50
+ /**
51
+ * @generated from message livekit.CreateAgentResponse
52
+ */
53
+ export const CreateAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
54
+ "livekit.CreateAgentResponse",
55
+ () => [
56
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
57
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
58
+ { no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
59
+ { no: 4, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
60
+ { no: 5, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
61
+ ],
62
+ );
63
+
64
+ /**
65
+ * @generated from message livekit.AgentDeployment
66
+ */
67
+ export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
68
+ "livekit.AgentDeployment",
69
+ () => [
70
+ { no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
71
+ { no: 2, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
72
+ { no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
73
+ { no: 4, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
74
+ { no: 5, name: "min_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
75
+ { no: 6, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
76
+ { no: 7, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
+ { no: 8, name: "cur_cpu", kind: "scalar", T: 9 /* ScalarType.STRING */ },
78
+ { no: 9, name: "cur_mem", kind: "scalar", T: 9 /* ScalarType.STRING */ },
79
+ { no: 10, name: "mem_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
80
+ { no: 11, name: "mem_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
81
+ { no: 12, name: "cpu_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
82
+ ],
83
+ );
84
+
85
+ /**
86
+ * @generated from message livekit.AgentInfo
87
+ */
88
+ export const AgentInfo = /*@__PURE__*/ proto3.makeMessageType(
89
+ "livekit.AgentInfo",
90
+ () => [
91
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
92
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
93
+ { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
94
+ { no: 4, name: "agent_deployments", kind: "message", T: AgentDeployment, repeated: true },
95
+ { no: 5, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
96
+ { no: 6, name: "deployed_at", kind: "message", T: Timestamp },
97
+ ],
98
+ );
99
+
100
+ /**
101
+ * @generated from message livekit.ListAgentsRequest
102
+ */
103
+ export const ListAgentsRequest = /*@__PURE__*/ proto3.makeMessageType(
104
+ "livekit.ListAgentsRequest",
105
+ () => [
106
+ { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
107
+ { no: 2, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
108
+ ],
109
+ );
110
+
111
+ /**
112
+ * @generated from message livekit.ListAgentsResponse
113
+ */
114
+ export const ListAgentsResponse = /*@__PURE__*/ proto3.makeMessageType(
115
+ "livekit.ListAgentsResponse",
116
+ () => [
117
+ { no: 1, name: "agents", kind: "message", T: AgentInfo, repeated: true },
118
+ ],
119
+ );
120
+
121
+ /**
122
+ * @generated from message livekit.AgentVersion
123
+ */
124
+ export const AgentVersion = /*@__PURE__*/ proto3.makeMessageType(
125
+ "livekit.AgentVersion",
126
+ () => [
127
+ { no: 1, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
+ { no: 2, name: "current", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
129
+ { no: 3, name: "created_at", kind: "message", T: Timestamp },
130
+ ],
131
+ );
132
+
133
+ /**
134
+ * @generated from message livekit.ListAgentVersionsRequest
135
+ */
136
+ export const ListAgentVersionsRequest = /*@__PURE__*/ proto3.makeMessageType(
137
+ "livekit.ListAgentVersionsRequest",
138
+ () => [
139
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
140
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
141
+ ],
142
+ );
143
+
144
+ /**
145
+ * @generated from message livekit.ListAgentVersionsResponse
146
+ */
147
+ export const ListAgentVersionsResponse = /*@__PURE__*/ proto3.makeMessageType(
148
+ "livekit.ListAgentVersionsResponse",
149
+ () => [
150
+ { no: 1, name: "versions", kind: "message", T: AgentVersion, repeated: true },
151
+ ],
152
+ );
153
+
154
+ /**
155
+ * @generated from message livekit.UpdateAgentRequest
156
+ */
157
+ export const UpdateAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
158
+ "livekit.UpdateAgentRequest",
159
+ () => [
160
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
161
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
162
+ { no: 3, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
163
+ { no: 4, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
164
+ { no: 5, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
165
+ { no: 6, name: "regions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
166
+ { no: 7, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
167
+ ],
168
+ );
169
+
170
+ /**
171
+ * @generated from message livekit.UpdateAgentResponse
172
+ */
173
+ export const UpdateAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
174
+ "livekit.UpdateAgentResponse",
175
+ () => [
176
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
177
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
178
+ ],
179
+ );
180
+
181
+ /**
182
+ * @generated from message livekit.DeployAgentRequest
183
+ */
184
+ export const DeployAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
185
+ "livekit.DeployAgentRequest",
186
+ () => [
187
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
188
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
189
+ { no: 3, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
190
+ { no: 4, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
191
+ { no: 5, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
192
+ { no: 6, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
193
+ ],
194
+ );
195
+
196
+ /**
197
+ * @generated from message livekit.DeployAgentResponse
198
+ */
199
+ export const DeployAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
200
+ "livekit.DeployAgentResponse",
201
+ () => [
202
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
203
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
204
+ { no: 3, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
205
+ { no: 4, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
206
+ ],
207
+ );
208
+
209
+ /**
210
+ * @generated from message livekit.UpdateAgentSecretsRequest
211
+ */
212
+ export const UpdateAgentSecretsRequest = /*@__PURE__*/ proto3.makeMessageType(
213
+ "livekit.UpdateAgentSecretsRequest",
214
+ () => [
215
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
216
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
217
+ { no: 3, name: "overwrite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
218
+ { no: 4, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
219
+ ],
220
+ );
221
+
222
+ /**
223
+ * @generated from message livekit.UpdateAgentSecretsResponse
224
+ */
225
+ export const UpdateAgentSecretsResponse = /*@__PURE__*/ proto3.makeMessageType(
226
+ "livekit.UpdateAgentSecretsResponse",
227
+ () => [
228
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
229
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
230
+ ],
231
+ );
232
+
233
+ /**
234
+ * @generated from message livekit.RollbackAgentRequest
235
+ */
236
+ export const RollbackAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
237
+ "livekit.RollbackAgentRequest",
238
+ () => [
239
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
240
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
241
+ { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
242
+ ],
243
+ );
244
+
245
+ /**
246
+ * @generated from message livekit.RollbackAgentResponse
247
+ */
248
+ export const RollbackAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
249
+ "livekit.RollbackAgentResponse",
250
+ () => [
251
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
252
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
253
+ ],
254
+ );
255
+
256
+ /**
257
+ * @generated from message livekit.DeleteAgentRequest
258
+ */
259
+ export const DeleteAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
260
+ "livekit.DeleteAgentRequest",
261
+ () => [
262
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
263
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
264
+ ],
265
+ );
266
+
267
+ /**
268
+ * @generated from message livekit.DeleteAgentResponse
269
+ */
270
+ export const DeleteAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
271
+ "livekit.DeleteAgentResponse",
272
+ () => [
273
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
274
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
275
+ ],
276
+ );
277
+
278
+ /**
279
+ * @generated from message livekit.ListAgentSecretsRequest
280
+ */
281
+ export const ListAgentSecretsRequest = /*@__PURE__*/ proto3.makeMessageType(
282
+ "livekit.ListAgentSecretsRequest",
283
+ () => [
284
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
285
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
286
+ ],
287
+ );
288
+
289
+ /**
290
+ * @generated from message livekit.ListAgentSecretsResponse
291
+ */
292
+ export const ListAgentSecretsResponse = /*@__PURE__*/ proto3.makeMessageType(
293
+ "livekit.ListAgentSecretsResponse",
294
+ () => [
295
+ { no: 1, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
296
+ ],
297
+ );
298
+
299
+ /**
300
+ * @generated from message livekit.SettingsParam
301
+ */
302
+ export const SettingsParam = /*@__PURE__*/ proto3.makeMessageType(
303
+ "livekit.SettingsParam",
304
+ () => [
305
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
306
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
307
+ ],
308
+ );
309
+
310
+ /**
311
+ * @generated from message livekit.ClientSettingsResponse
312
+ */
313
+ export const ClientSettingsResponse = /*@__PURE__*/ proto3.makeMessageType(
314
+ "livekit.ClientSettingsResponse",
315
+ () => [
316
+ { no: 1, name: "params", kind: "message", T: SettingsParam, repeated: true },
317
+ ],
318
+ );
319
+
320
+ /**
321
+ * @generated from message livekit.ClientSettingsRequest
322
+ */
323
+ export const ClientSettingsRequest = /*@__PURE__*/ proto3.makeMessageType(
324
+ "livekit.ClientSettingsRequest",
325
+ [],
326
+ );
327
+