@livekit/protocol 1.45.7 → 1.45.8
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 +45 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +100 -15
- package/dist/index.d.mts +100 -15
- package/dist/index.d.ts +100 -15
- package/dist/index.mjs +44 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +6 -6
- package/src/gen/livekit_agent_dispatch_pb.js +3 -3
- package/src/gen/livekit_agent_pb.d.ts +4 -4
- package/src/gen/livekit_agent_pb.js +2 -2
- package/src/gen/livekit_sip_pb.d.ts +89 -4
- package/src/gen/livekit_sip_pb.js +26 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -67,9 +67,9 @@ export declare class CreateAgentDispatchRequest extends Message<CreateAgentDispa
|
|
|
67
67
|
restartPolicy: JobRestartPolicy;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* @generated from field: string
|
|
70
|
+
* @generated from field: string deployment = 5;
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
deployment: string;
|
|
73
73
|
|
|
74
74
|
constructor(data?: PartialMessage<CreateAgentDispatchRequest>);
|
|
75
75
|
|
|
@@ -108,9 +108,9 @@ export declare class RoomAgentDispatch extends Message<RoomAgentDispatch> {
|
|
|
108
108
|
restartPolicy: JobRestartPolicy;
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
* @generated from field: string
|
|
111
|
+
* @generated from field: string deployment = 4;
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
deployment: string;
|
|
114
114
|
|
|
115
115
|
constructor(data?: PartialMessage<RoomAgentDispatch>);
|
|
116
116
|
|
|
@@ -250,9 +250,9 @@ export declare class AgentDispatch extends Message<AgentDispatch> {
|
|
|
250
250
|
restartPolicy: JobRestartPolicy;
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
|
-
* @generated from field: string
|
|
253
|
+
* @generated from field: string deployment = 7;
|
|
254
254
|
*/
|
|
255
|
-
|
|
255
|
+
deployment: string;
|
|
256
256
|
|
|
257
257
|
constructor(data?: PartialMessage<AgentDispatch>);
|
|
258
258
|
|
|
@@ -41,7 +41,7 @@ export const CreateAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
41
41
|
{ no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
42
|
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
43
43
|
{ no: 4, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
44
|
-
{ no: 5, name: "
|
|
44
|
+
{ no: 5, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
45
45
|
],
|
|
46
46
|
);
|
|
47
47
|
|
|
@@ -54,7 +54,7 @@ export const RoomAgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
54
54
|
{ no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
55
55
|
{ no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
56
56
|
{ no: 3, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
57
|
-
{ no: 4, name: "
|
|
57
|
+
{ no: 4, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
58
|
],
|
|
59
59
|
);
|
|
60
60
|
|
|
@@ -102,7 +102,7 @@ export const AgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
102
102
|
{ no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
103
103
|
{ no: 5, name: "state", kind: "message", T: AgentDispatchState },
|
|
104
104
|
{ no: 6, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
|
|
105
|
-
{ no: 7, name: "
|
|
105
|
+
{ no: 7, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
106
106
|
],
|
|
107
107
|
);
|
|
108
108
|
|
|
@@ -137,9 +137,9 @@ export declare class Job extends Message<Job> {
|
|
|
137
137
|
enableRecording: boolean;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* @generated from field: string
|
|
140
|
+
* @generated from field: string deployment = 11;
|
|
141
141
|
*/
|
|
142
|
-
|
|
142
|
+
deployment: string;
|
|
143
143
|
|
|
144
144
|
constructor(data?: PartialMessage<Job>);
|
|
145
145
|
|
|
@@ -477,9 +477,9 @@ export declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest
|
|
|
477
477
|
allowedPermissions?: ParticipantPermission;
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
|
-
* @generated from field: string
|
|
480
|
+
* @generated from field: string deployment = 9;
|
|
481
481
|
*/
|
|
482
|
-
|
|
482
|
+
deployment: string;
|
|
483
483
|
|
|
484
484
|
constructor(data?: PartialMessage<RegisterWorkerRequest>);
|
|
485
485
|
|
|
@@ -72,7 +72,7 @@ export const Job = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
72
72
|
{ no: 7, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
73
|
{ no: 8, name: "state", kind: "message", T: JobState },
|
|
74
74
|
{ no: 10, name: "enable_recording", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
75
|
-
{ no: 11, name: "
|
|
75
|
+
{ no: 11, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
76
|
],
|
|
77
77
|
);
|
|
78
78
|
|
|
@@ -172,7 +172,7 @@ export const RegisterWorkerRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
172
172
|
{ no: 5, name: "ping_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
173
173
|
{ no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
174
174
|
{ no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission },
|
|
175
|
-
{ no: 9, name: "
|
|
175
|
+
{ no: 9, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
176
176
|
],
|
|
177
177
|
);
|
|
178
178
|
|
|
@@ -728,6 +728,73 @@ export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest
|
|
|
728
728
|
static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
+
/**
|
|
732
|
+
* @generated from message livekit.SIPCodec
|
|
733
|
+
*/
|
|
734
|
+
export declare class SIPCodec extends Message<SIPCodec> {
|
|
735
|
+
/**
|
|
736
|
+
* @generated from field: string name = 1;
|
|
737
|
+
*/
|
|
738
|
+
name: string;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* @generated from field: uint32 rate = 2;
|
|
742
|
+
*/
|
|
743
|
+
rate: number;
|
|
744
|
+
|
|
745
|
+
constructor(data?: PartialMessage<SIPCodec>);
|
|
746
|
+
|
|
747
|
+
static readonly runtime: typeof proto3;
|
|
748
|
+
static readonly typeName = "livekit.SIPCodec";
|
|
749
|
+
static readonly fields: FieldList;
|
|
750
|
+
|
|
751
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPCodec;
|
|
752
|
+
|
|
753
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPCodec;
|
|
754
|
+
|
|
755
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPCodec;
|
|
756
|
+
|
|
757
|
+
static equals(a: SIPCodec | PlainMessage<SIPCodec> | undefined, b: SIPCodec | PlainMessage<SIPCodec> | undefined): boolean;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* @generated from message livekit.SIPMediaConfig
|
|
762
|
+
*/
|
|
763
|
+
export declare class SIPMediaConfig extends Message<SIPMediaConfig> {
|
|
764
|
+
/**
|
|
765
|
+
* if set, ignore the default codecs and use the list below.
|
|
766
|
+
*
|
|
767
|
+
* @generated from field: bool only_listed_codecs = 1;
|
|
768
|
+
*/
|
|
769
|
+
onlyListedCodecs: boolean;
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* List of allowed codecs. If only_listed_codecs is not set, this list is added to default codecs.
|
|
773
|
+
*
|
|
774
|
+
* @generated from field: repeated livekit.SIPCodec codecs = 2;
|
|
775
|
+
*/
|
|
776
|
+
codecs: SIPCodec[];
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* @generated from field: optional livekit.SIPMediaEncryption encryption = 3;
|
|
780
|
+
*/
|
|
781
|
+
encryption?: SIPMediaEncryption;
|
|
782
|
+
|
|
783
|
+
constructor(data?: PartialMessage<SIPMediaConfig>);
|
|
784
|
+
|
|
785
|
+
static readonly runtime: typeof proto3;
|
|
786
|
+
static readonly typeName = "livekit.SIPMediaConfig";
|
|
787
|
+
static readonly fields: FieldList;
|
|
788
|
+
|
|
789
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPMediaConfig;
|
|
790
|
+
|
|
791
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPMediaConfig;
|
|
792
|
+
|
|
793
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPMediaConfig;
|
|
794
|
+
|
|
795
|
+
static equals(a: SIPMediaConfig | PlainMessage<SIPMediaConfig> | undefined, b: SIPMediaConfig | PlainMessage<SIPMediaConfig> | undefined): boolean;
|
|
796
|
+
}
|
|
797
|
+
|
|
731
798
|
/**
|
|
732
799
|
* @generated from message livekit.ProviderInfo
|
|
733
800
|
*/
|
|
@@ -2122,13 +2189,19 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
2122
2189
|
*/
|
|
2123
2190
|
roomConfig?: RoomConfiguration;
|
|
2124
2191
|
|
|
2192
|
+
/**
|
|
2193
|
+
* @generated from field: livekit.SIPMediaConfig media = 16;
|
|
2194
|
+
*/
|
|
2195
|
+
media?: SIPMediaConfig;
|
|
2196
|
+
|
|
2125
2197
|
/**
|
|
2126
2198
|
* @generated from field: bool krisp_enabled = 11;
|
|
2127
2199
|
*/
|
|
2128
2200
|
krispEnabled: boolean;
|
|
2129
2201
|
|
|
2130
2202
|
/**
|
|
2131
|
-
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
|
|
2203
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12 [deprecated = true];
|
|
2204
|
+
* @deprecated
|
|
2132
2205
|
*/
|
|
2133
2206
|
mediaEncryption: SIPMediaEncryption;
|
|
2134
2207
|
|
|
@@ -2187,10 +2260,16 @@ export declare class SIPDispatchRuleUpdate extends Message<SIPDispatchRuleUpdate
|
|
|
2187
2260
|
attributes: { [key: string]: string };
|
|
2188
2261
|
|
|
2189
2262
|
/**
|
|
2190
|
-
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6;
|
|
2263
|
+
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6 [deprecated = true];
|
|
2264
|
+
* @deprecated
|
|
2191
2265
|
*/
|
|
2192
2266
|
mediaEncryption?: SIPMediaEncryption;
|
|
2193
2267
|
|
|
2268
|
+
/**
|
|
2269
|
+
* @generated from field: livekit.SIPMediaConfig media = 7;
|
|
2270
|
+
*/
|
|
2271
|
+
media?: SIPMediaConfig;
|
|
2272
|
+
|
|
2194
2273
|
constructor(data?: PartialMessage<SIPDispatchRuleUpdate>);
|
|
2195
2274
|
|
|
2196
2275
|
static readonly runtime: typeof proto3;
|
|
@@ -2509,10 +2588,16 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2509
2588
|
krispEnabled: boolean;
|
|
2510
2589
|
|
|
2511
2590
|
/**
|
|
2512
|
-
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18;
|
|
2591
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18 [deprecated = true];
|
|
2592
|
+
* @deprecated
|
|
2513
2593
|
*/
|
|
2514
2594
|
mediaEncryption: SIPMediaEncryption;
|
|
2515
2595
|
|
|
2596
|
+
/**
|
|
2597
|
+
* @generated from field: livekit.SIPMediaConfig media = 23;
|
|
2598
|
+
*/
|
|
2599
|
+
media?: SIPMediaConfig;
|
|
2600
|
+
|
|
2516
2601
|
/**
|
|
2517
2602
|
* Wait for the answer for the call before returning.
|
|
2518
2603
|
*
|
|
@@ -2533,7 +2618,7 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2533
2618
|
displayName?: string;
|
|
2534
2619
|
|
|
2535
2620
|
/**
|
|
2536
|
-
* NEXT ID:
|
|
2621
|
+
* NEXT ID: 24
|
|
2537
2622
|
*
|
|
2538
2623
|
* @generated from field: optional livekit.Destination destination = 22;
|
|
2539
2624
|
*/
|
|
@@ -238,6 +238,29 @@ export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
238
238
|
],
|
|
239
239
|
);
|
|
240
240
|
|
|
241
|
+
/**
|
|
242
|
+
* @generated from message livekit.SIPCodec
|
|
243
|
+
*/
|
|
244
|
+
export const SIPCodec = /*@__PURE__*/ proto3.makeMessageType(
|
|
245
|
+
"livekit.SIPCodec",
|
|
246
|
+
() => [
|
|
247
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
248
|
+
{ no: 2, name: "rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
249
|
+
],
|
|
250
|
+
);
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @generated from message livekit.SIPMediaConfig
|
|
254
|
+
*/
|
|
255
|
+
export const SIPMediaConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
256
|
+
"livekit.SIPMediaConfig",
|
|
257
|
+
() => [
|
|
258
|
+
{ no: 1, name: "only_listed_codecs", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
259
|
+
{ no: 2, name: "codecs", kind: "message", T: SIPCodec, repeated: true },
|
|
260
|
+
{ no: 3, name: "encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
261
|
+
],
|
|
262
|
+
);
|
|
263
|
+
|
|
241
264
|
/**
|
|
242
265
|
* @generated from message livekit.ProviderInfo
|
|
243
266
|
*/
|
|
@@ -635,6 +658,7 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
635
658
|
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
636
659
|
{ no: 9, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
637
660
|
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
|
|
661
|
+
{ no: 16, name: "media", kind: "message", T: SIPMediaConfig },
|
|
638
662
|
{ no: 11, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
639
663
|
{ no: 12, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
640
664
|
{ no: 14, name: "created_at", kind: "message", T: Timestamp },
|
|
@@ -654,6 +678,7 @@ export const SIPDispatchRuleUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
654
678
|
{ no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
655
679
|
{ no: 5, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
656
680
|
{ no: 6, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
681
|
+
{ no: 7, name: "media", kind: "message", T: SIPMediaConfig },
|
|
657
682
|
],
|
|
658
683
|
);
|
|
659
684
|
|
|
@@ -736,6 +761,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
736
761
|
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
737
762
|
{ no: 14, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
738
763
|
{ no: 18, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
764
|
+
{ no: 23, name: "media", kind: "message", T: SIPMediaConfig },
|
|
739
765
|
{ no: 19, name: "wait_until_answered", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
740
766
|
{ no: 21, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
741
767
|
{ no: 22, name: "destination", kind: "message", T: Destination, opt: true },
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.45.
|
|
2
|
+
export const version = '1.45.8';
|