@livekit/protocol 1.29.1 → 1.29.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 (115) hide show
  1. package/dist/index.cjs +6261 -51
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +11475 -0
  4. package/dist/index.d.mts +11475 -0
  5. package/dist/index.d.ts +11475 -13
  6. package/dist/index.mjs +6013 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +18 -18
  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 +741 -0
  12. package/src/gen/livekit_agent_pb.js +266 -0
  13. package/src/gen/livekit_analytics_pb.d.ts +889 -0
  14. package/src/gen/livekit_analytics_pb.js +264 -0
  15. package/src/gen/livekit_egress_pb.d.ts +2056 -0
  16. package/src/gen/livekit_egress_pb.js +594 -0
  17. package/src/gen/livekit_ingress_pb.d.ts +843 -0
  18. package/src/gen/livekit_ingress_pb.js +269 -0
  19. package/src/gen/livekit_internal_pb.d.ts +622 -0
  20. package/src/gen/livekit_internal_pb.js +191 -0
  21. package/src/gen/livekit_metrics_pb.d.ts +376 -0
  22. package/src/gen/livekit_metrics_pb.js +97 -0
  23. package/src/gen/livekit_models_pb.d.ts +2837 -0
  24. package/src/gen/livekit_models_pb.js +913 -0
  25. package/src/gen/livekit_room_pb.d.ts +774 -0
  26. package/src/gen/livekit_room_pb.js +259 -0
  27. package/src/gen/livekit_rtc_pb.d.ts +2001 -0
  28. package/src/gen/livekit_rtc_pb.js +634 -0
  29. package/src/gen/livekit_sip_pb.d.ts +1551 -0
  30. package/src/gen/livekit_sip_pb.js +483 -0
  31. package/src/gen/livekit_webhook_pb.d.ts +105 -0
  32. package/src/gen/livekit_webhook_pb.js +42 -0
  33. package/src/gen/version.js +2 -0
  34. package/src/index.d.ts +12 -0
  35. package/{dist → src}/index.js +2 -5
  36. package/dist/gen/livekit_agent_dispatch_pb.cjs +0 -385
  37. package/dist/gen/livekit_agent_dispatch_pb.cjs.map +0 -1
  38. package/dist/gen/livekit_agent_dispatch_pb.d.ts +0 -174
  39. package/dist/gen/livekit_agent_dispatch_pb.d.ts.map +0 -1
  40. package/dist/gen/livekit_agent_dispatch_pb.js +0 -356
  41. package/dist/gen/livekit_agent_dispatch_pb.js.map +0 -1
  42. package/dist/gen/livekit_agent_pb.cjs +0 -881
  43. package/dist/gen/livekit_agent_pb.cjs.map +0 -1
  44. package/dist/gen/livekit_agent_pb.d.ts +0 -575
  45. package/dist/gen/livekit_agent_pb.d.ts.map +0 -1
  46. package/dist/gen/livekit_agent_pb.js +0 -840
  47. package/dist/gen/livekit_agent_pb.js.map +0 -1
  48. package/dist/gen/livekit_analytics_pb.cjs +0 -1087
  49. package/dist/gen/livekit_analytics_pb.cjs.map +0 -1
  50. package/dist/gen/livekit_analytics_pb.d.ts +0 -679
  51. package/dist/gen/livekit_analytics_pb.d.ts.map +0 -1
  52. package/dist/gen/livekit_analytics_pb.js +0 -1053
  53. package/dist/gen/livekit_analytics_pb.js.map +0 -1
  54. package/dist/gen/livekit_egress_pb.cjs +0 -2476
  55. package/dist/gen/livekit_egress_pb.cjs.map +0 -1
  56. package/dist/gen/livekit_egress_pb.d.ts +0 -1720
  57. package/dist/gen/livekit_egress_pb.d.ts.map +0 -1
  58. package/dist/gen/livekit_egress_pb.js +0 -2417
  59. package/dist/gen/livekit_egress_pb.js.map +0 -1
  60. package/dist/gen/livekit_ingress_pb.cjs +0 -1050
  61. package/dist/gen/livekit_ingress_pb.cjs.map +0 -1
  62. package/dist/gen/livekit_ingress_pb.d.ts +0 -660
  63. package/dist/gen/livekit_ingress_pb.d.ts.map +0 -1
  64. package/dist/gen/livekit_ingress_pb.js +0 -1011
  65. package/dist/gen/livekit_ingress_pb.js.map +0 -1
  66. package/dist/gen/livekit_internal_pb.cjs +0 -998
  67. package/dist/gen/livekit_internal_pb.cjs.map +0 -1
  68. package/dist/gen/livekit_internal_pb.d.ts +0 -481
  69. package/dist/gen/livekit_internal_pb.d.ts.map +0 -1
  70. package/dist/gen/livekit_internal_pb.js +0 -968
  71. package/dist/gen/livekit_internal_pb.js.map +0 -1
  72. package/dist/gen/livekit_metrics_pb.cjs +0 -371
  73. package/dist/gen/livekit_metrics_pb.cjs.map +0 -1
  74. package/dist/gen/livekit_metrics_pb.d.ts +0 -304
  75. package/dist/gen/livekit_metrics_pb.d.ts.map +0 -1
  76. package/dist/gen/livekit_metrics_pb.js +0 -344
  77. package/dist/gen/livekit_metrics_pb.js.map +0 -1
  78. package/dist/gen/livekit_models_pb.cjs +0 -3668
  79. package/dist/gen/livekit_models_pb.cjs.map +0 -1
  80. package/dist/gen/livekit_models_pb.d.ts +0 -2265
  81. package/dist/gen/livekit_models_pb.d.ts.map +0 -1
  82. package/dist/gen/livekit_models_pb.js +0 -3588
  83. package/dist/gen/livekit_models_pb.js.map +0 -1
  84. package/dist/gen/livekit_room_pb.cjs +0 -1080
  85. package/dist/gen/livekit_room_pb.cjs.map +0 -1
  86. package/dist/gen/livekit_room_pb.d.ts +0 -580
  87. package/dist/gen/livekit_room_pb.d.ts.map +0 -1
  88. package/dist/gen/livekit_room_pb.js +0 -1038
  89. package/dist/gen/livekit_room_pb.js.map +0 -1
  90. package/dist/gen/livekit_rtc_pb.cjs +0 -2261
  91. package/dist/gen/livekit_rtc_pb.cjs.map +0 -1
  92. package/dist/gen/livekit_rtc_pb.d.ts +0 -1602
  93. package/dist/gen/livekit_rtc_pb.d.ts.map +0 -1
  94. package/dist/gen/livekit_rtc_pb.js +0 -2192
  95. package/dist/gen/livekit_rtc_pb.js.map +0 -1
  96. package/dist/gen/livekit_sip_pb.cjs +0 -2118
  97. package/dist/gen/livekit_sip_pb.cjs.map +0 -1
  98. package/dist/gen/livekit_sip_pb.d.ts +0 -1226
  99. package/dist/gen/livekit_sip_pb.d.ts.map +0 -1
  100. package/dist/gen/livekit_sip_pb.js +0 -2061
  101. package/dist/gen/livekit_sip_pb.js.map +0 -1
  102. package/dist/gen/livekit_webhook_pb.cjs +0 -111
  103. package/dist/gen/livekit_webhook_pb.cjs.map +0 -1
  104. package/dist/gen/livekit_webhook_pb.d.ts +0 -71
  105. package/dist/gen/livekit_webhook_pb.d.ts.map +0 -1
  106. package/dist/gen/livekit_webhook_pb.js +0 -88
  107. package/dist/gen/livekit_webhook_pb.js.map +0 -1
  108. package/dist/gen/version.cjs +0 -28
  109. package/dist/gen/version.cjs.map +0 -1
  110. package/dist/gen/version.d.ts +0 -2
  111. package/dist/gen/version.d.ts.map +0 -1
  112. package/dist/gen/version.js +0 -5
  113. package/dist/gen/version.js.map +0 -1
  114. package/dist/index.d.ts.map +0 -1
  115. package/dist/index.js.map +0 -1
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.29.1",
3
+ "version": "1.29.3",
4
4
  "description": "",
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "import": "dist/index.cjs",
8
- "types": "dist/index.d.ts",
6
+ "require": "dist/index.cjs",
9
7
  "files": [
8
+ "src",
10
9
  "dist"
11
10
  ],
12
11
  "exports": {
13
12
  ".": {
14
- "types": "./dist/index.d.ts",
15
- "import": "./dist/index.js",
16
- "require": "./dist/index.cjs"
17
- },
18
- "./*": {
19
- "types": "./dist/gen/livekit_*_pb.d.ts",
20
- "import": "./dist/gen/livekit_*_pb.js",
21
- "require": "./dist/gen/livekit_*_pb.cjs"
13
+ "import": {
14
+ "types": "./dist/index.d.mts",
15
+ "default": "./dist/index.mjs"
16
+ },
17
+ "require": {
18
+ "types": "./dist/index.d.cts",
19
+ "default": "./dist/index.cjs"
20
+ }
22
21
  }
23
22
  },
23
+ "main": "./dist/index.mjs",
24
+ "types": "./dist/index.d.mts",
24
25
  "keywords": [],
25
26
  "author": "LiveKit",
26
27
  "license": "Apache-2.0",
27
28
  "devDependencies": {
28
29
  "@bufbuild/protoc-gen-es": "^1.10.0",
29
30
  "genversion": "^3.2.0",
30
- "tsup": "^8.3.5",
31
- "typescript": "5.2"
31
+ "typescript": "5.5.4",
32
+ "unbuild": "^2.0.0"
32
33
  },
33
34
  "dependencies": {
34
35
  "@bufbuild/protobuf": "^1.10.0"
35
36
  },
36
37
  "scripts": {
37
- "generate:version": "genversion --esm --semi src/gen/version.ts",
38
- "generate:proto": "mkdir -p src/gen && protoc --es_out src/gen --es_opt target=ts -I=../../protobufs ../../protobufs/livekit_*.proto",
39
- "prebuild": "pnpm generate:version && pnpm generate:proto",
40
- "build": "pnpm prebuild && tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\""
38
+ "generate:proto": "mkdir -p src/gen && protoc --es_out src/gen --es_opt target=dts+js -I=../../protobufs ../../protobufs/livekit_*.proto",
39
+ "generate:version": "genversion --esm --semi src/gen/version.js",
40
+ "build": "pnpm generate:version && pnpm generate:proto && unbuild"
41
41
  }
42
42
  }
@@ -0,0 +1,253 @@
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.0 with parameter "target=dts+js"
16
+ // @generated from file livekit_agent_dispatch.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
+ import type { Job } from "./livekit_agent_pb.js";
23
+
24
+ /**
25
+ * @generated from message livekit.CreateAgentDispatchRequest
26
+ */
27
+ export declare class CreateAgentDispatchRequest extends Message<CreateAgentDispatchRequest> {
28
+ /**
29
+ * @generated from field: string agent_name = 1;
30
+ */
31
+ agentName: string;
32
+
33
+ /**
34
+ * @generated from field: string room = 2;
35
+ */
36
+ room: string;
37
+
38
+ /**
39
+ * @generated from field: string metadata = 3;
40
+ */
41
+ metadata: string;
42
+
43
+ constructor(data?: PartialMessage<CreateAgentDispatchRequest>);
44
+
45
+ static readonly runtime: typeof proto3;
46
+ static readonly typeName = "livekit.CreateAgentDispatchRequest";
47
+ static readonly fields: FieldList;
48
+
49
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAgentDispatchRequest;
50
+
51
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAgentDispatchRequest;
52
+
53
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAgentDispatchRequest;
54
+
55
+ static equals(a: CreateAgentDispatchRequest | PlainMessage<CreateAgentDispatchRequest> | undefined, b: CreateAgentDispatchRequest | PlainMessage<CreateAgentDispatchRequest> | undefined): boolean;
56
+ }
57
+
58
+ /**
59
+ * @generated from message livekit.RoomAgentDispatch
60
+ */
61
+ export declare class RoomAgentDispatch extends Message<RoomAgentDispatch> {
62
+ /**
63
+ * @generated from field: string agent_name = 1;
64
+ */
65
+ agentName: string;
66
+
67
+ /**
68
+ * @generated from field: string metadata = 2;
69
+ */
70
+ metadata: string;
71
+
72
+ constructor(data?: PartialMessage<RoomAgentDispatch>);
73
+
74
+ static readonly runtime: typeof proto3;
75
+ static readonly typeName = "livekit.RoomAgentDispatch";
76
+ static readonly fields: FieldList;
77
+
78
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomAgentDispatch;
79
+
80
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomAgentDispatch;
81
+
82
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomAgentDispatch;
83
+
84
+ static equals(a: RoomAgentDispatch | PlainMessage<RoomAgentDispatch> | undefined, b: RoomAgentDispatch | PlainMessage<RoomAgentDispatch> | undefined): boolean;
85
+ }
86
+
87
+ /**
88
+ * @generated from message livekit.DeleteAgentDispatchRequest
89
+ */
90
+ export declare class DeleteAgentDispatchRequest extends Message<DeleteAgentDispatchRequest> {
91
+ /**
92
+ * @generated from field: string dispatch_id = 1;
93
+ */
94
+ dispatchId: string;
95
+
96
+ /**
97
+ * @generated from field: string room = 2;
98
+ */
99
+ room: string;
100
+
101
+ constructor(data?: PartialMessage<DeleteAgentDispatchRequest>);
102
+
103
+ static readonly runtime: typeof proto3;
104
+ static readonly typeName = "livekit.DeleteAgentDispatchRequest";
105
+ static readonly fields: FieldList;
106
+
107
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteAgentDispatchRequest;
108
+
109
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteAgentDispatchRequest;
110
+
111
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteAgentDispatchRequest;
112
+
113
+ static equals(a: DeleteAgentDispatchRequest | PlainMessage<DeleteAgentDispatchRequest> | undefined, b: DeleteAgentDispatchRequest | PlainMessage<DeleteAgentDispatchRequest> | undefined): boolean;
114
+ }
115
+
116
+ /**
117
+ * @generated from message livekit.ListAgentDispatchRequest
118
+ */
119
+ export declare class ListAgentDispatchRequest extends Message<ListAgentDispatchRequest> {
120
+ /**
121
+ * if set, only the dispatch whose id is given will be returned
122
+ *
123
+ * @generated from field: string dispatch_id = 1;
124
+ */
125
+ dispatchId: string;
126
+
127
+ /**
128
+ * name of the room to list agents for. Must be set.
129
+ *
130
+ * @generated from field: string room = 2;
131
+ */
132
+ room: string;
133
+
134
+ constructor(data?: PartialMessage<ListAgentDispatchRequest>);
135
+
136
+ static readonly runtime: typeof proto3;
137
+ static readonly typeName = "livekit.ListAgentDispatchRequest";
138
+ static readonly fields: FieldList;
139
+
140
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAgentDispatchRequest;
141
+
142
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAgentDispatchRequest;
143
+
144
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAgentDispatchRequest;
145
+
146
+ static equals(a: ListAgentDispatchRequest | PlainMessage<ListAgentDispatchRequest> | undefined, b: ListAgentDispatchRequest | PlainMessage<ListAgentDispatchRequest> | undefined): boolean;
147
+ }
148
+
149
+ /**
150
+ * @generated from message livekit.ListAgentDispatchResponse
151
+ */
152
+ export declare class ListAgentDispatchResponse extends Message<ListAgentDispatchResponse> {
153
+ /**
154
+ * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1;
155
+ */
156
+ agentDispatches: AgentDispatch[];
157
+
158
+ constructor(data?: PartialMessage<ListAgentDispatchResponse>);
159
+
160
+ static readonly runtime: typeof proto3;
161
+ static readonly typeName = "livekit.ListAgentDispatchResponse";
162
+ static readonly fields: FieldList;
163
+
164
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAgentDispatchResponse;
165
+
166
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAgentDispatchResponse;
167
+
168
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAgentDispatchResponse;
169
+
170
+ static equals(a: ListAgentDispatchResponse | PlainMessage<ListAgentDispatchResponse> | undefined, b: ListAgentDispatchResponse | PlainMessage<ListAgentDispatchResponse> | undefined): boolean;
171
+ }
172
+
173
+ /**
174
+ * @generated from message livekit.AgentDispatch
175
+ */
176
+ export declare class AgentDispatch extends Message<AgentDispatch> {
177
+ /**
178
+ * @generated from field: string id = 1;
179
+ */
180
+ id: string;
181
+
182
+ /**
183
+ * @generated from field: string agent_name = 2;
184
+ */
185
+ agentName: string;
186
+
187
+ /**
188
+ * @generated from field: string room = 3;
189
+ */
190
+ room: string;
191
+
192
+ /**
193
+ * @generated from field: string metadata = 4;
194
+ */
195
+ metadata: string;
196
+
197
+ /**
198
+ * @generated from field: livekit.AgentDispatchState state = 5;
199
+ */
200
+ state?: AgentDispatchState;
201
+
202
+ constructor(data?: PartialMessage<AgentDispatch>);
203
+
204
+ static readonly runtime: typeof proto3;
205
+ static readonly typeName = "livekit.AgentDispatch";
206
+ static readonly fields: FieldList;
207
+
208
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDispatch;
209
+
210
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDispatch;
211
+
212
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDispatch;
213
+
214
+ static equals(a: AgentDispatch | PlainMessage<AgentDispatch> | undefined, b: AgentDispatch | PlainMessage<AgentDispatch> | undefined): boolean;
215
+ }
216
+
217
+ /**
218
+ * @generated from message livekit.AgentDispatchState
219
+ */
220
+ export declare class AgentDispatchState extends Message<AgentDispatchState> {
221
+ /**
222
+ * For dispatches of tyoe JT_ROOM, there will be at most 1 job.
223
+ * For dispatches of type JT_PUBLISHER, there will be 1 per publisher.
224
+ *
225
+ * @generated from field: repeated livekit.Job jobs = 1;
226
+ */
227
+ jobs: Job[];
228
+
229
+ /**
230
+ * @generated from field: int64 created_at = 2;
231
+ */
232
+ createdAt: bigint;
233
+
234
+ /**
235
+ * @generated from field: int64 deleted_at = 3;
236
+ */
237
+ deletedAt: bigint;
238
+
239
+ constructor(data?: PartialMessage<AgentDispatchState>);
240
+
241
+ static readonly runtime: typeof proto3;
242
+ static readonly typeName = "livekit.AgentDispatchState";
243
+ static readonly fields: FieldList;
244
+
245
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDispatchState;
246
+
247
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDispatchState;
248
+
249
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDispatchState;
250
+
251
+ static equals(a: AgentDispatchState | PlainMessage<AgentDispatchState> | undefined, b: AgentDispatchState | PlainMessage<AgentDispatchState> | undefined): boolean;
252
+ }
253
+
@@ -0,0 +1,103 @@
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.0 with parameter "target=dts+js"
16
+ // @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import { proto3 } from "@bufbuild/protobuf";
21
+ import { Job } from "./livekit_agent_pb.js";
22
+
23
+ /**
24
+ * @generated from message livekit.CreateAgentDispatchRequest
25
+ */
26
+ export const CreateAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType(
27
+ "livekit.CreateAgentDispatchRequest",
28
+ () => [
29
+ { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
30
+ { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
31
+ { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
+ ],
33
+ );
34
+
35
+ /**
36
+ * @generated from message livekit.RoomAgentDispatch
37
+ */
38
+ export const RoomAgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
39
+ "livekit.RoomAgentDispatch",
40
+ () => [
41
+ { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
42
+ { no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
43
+ ],
44
+ );
45
+
46
+ /**
47
+ * @generated from message livekit.DeleteAgentDispatchRequest
48
+ */
49
+ export const DeleteAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType(
50
+ "livekit.DeleteAgentDispatchRequest",
51
+ () => [
52
+ { no: 1, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
53
+ { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
54
+ ],
55
+ );
56
+
57
+ /**
58
+ * @generated from message livekit.ListAgentDispatchRequest
59
+ */
60
+ export const ListAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType(
61
+ "livekit.ListAgentDispatchRequest",
62
+ () => [
63
+ { no: 1, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
64
+ { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
65
+ ],
66
+ );
67
+
68
+ /**
69
+ * @generated from message livekit.ListAgentDispatchResponse
70
+ */
71
+ export const ListAgentDispatchResponse = /*@__PURE__*/ proto3.makeMessageType(
72
+ "livekit.ListAgentDispatchResponse",
73
+ () => [
74
+ { no: 1, name: "agent_dispatches", kind: "message", T: AgentDispatch, repeated: true },
75
+ ],
76
+ );
77
+
78
+ /**
79
+ * @generated from message livekit.AgentDispatch
80
+ */
81
+ export const AgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
82
+ "livekit.AgentDispatch",
83
+ () => [
84
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
85
+ { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
86
+ { no: 3, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
87
+ { no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
88
+ { no: 5, name: "state", kind: "message", T: AgentDispatchState },
89
+ ],
90
+ );
91
+
92
+ /**
93
+ * @generated from message livekit.AgentDispatchState
94
+ */
95
+ export const AgentDispatchState = /*@__PURE__*/ proto3.makeMessageType(
96
+ "livekit.AgentDispatchState",
97
+ () => [
98
+ { no: 1, name: "jobs", kind: "message", T: Job, repeated: true },
99
+ { no: 2, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
100
+ { no: 3, name: "deleted_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
101
+ ],
102
+ );
103
+