@rapidaai/react 1.1.41 → 1.1.42
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/{chunk-QQVXG47Q.mjs → chunk-B372Y6DW.mjs} +608 -605
- package/dist/chunk-B372Y6DW.mjs.map +1 -0
- package/dist/components/device-selector.d.mts +1 -1
- package/dist/components/device-selector.d.ts +1 -1
- package/dist/components/device-selector.js +603 -602
- package/dist/components/device-selector.js.map +1 -1
- package/dist/components/device-selector.mjs +1 -1
- package/dist/{device-selector-52RA7Wz0.d.mts → device-selector-BdvX9x_8.d.mts} +603 -543
- package/dist/{device-selector-52RA7Wz0.d.ts → device-selector-BdvX9x_8.d.ts} +603 -543
- package/dist/index.d.mts +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js +913 -687
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +227 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-QQVXG47Q.mjs.map +0 -1
|
@@ -14,15 +14,34 @@ var require_common_pb = __commonJS({
|
|
|
14
14
|
var global = function() {
|
|
15
15
|
return this || window || global || self || Function("return this")();
|
|
16
16
|
}.call(null);
|
|
17
|
+
var google_protobuf_any_pb = __require("google-protobuf/google/protobuf/any_pb.js");
|
|
18
|
+
goog.object.extend(proto, google_protobuf_any_pb);
|
|
17
19
|
var google_protobuf_timestamp_pb = __require("google-protobuf/google/protobuf/timestamp_pb.js");
|
|
18
20
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
19
21
|
var google_protobuf_struct_pb = __require("google-protobuf/google/protobuf/struct_pb.js");
|
|
20
22
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
21
23
|
goog.exportSymbol("proto.Argument", null, global);
|
|
22
24
|
goog.exportSymbol("proto.AssistantConversation", null, global);
|
|
25
|
+
goog.exportSymbol("proto.AssistantConversationAssistantMessage", null, global);
|
|
26
|
+
goog.exportSymbol("proto.AssistantConversationAssistantMessage.MessageCase", null, global);
|
|
27
|
+
goog.exportSymbol("proto.AssistantConversationAssistantTransferAction", null, global);
|
|
28
|
+
goog.exportSymbol("proto.AssistantConversationConfiguration", null, global);
|
|
23
29
|
goog.exportSymbol("proto.AssistantConversationContext", null, global);
|
|
30
|
+
goog.exportSymbol("proto.AssistantConversationDeviationAction", null, global);
|
|
31
|
+
goog.exportSymbol("proto.AssistantConversationDisconnectAction", null, global);
|
|
32
|
+
goog.exportSymbol("proto.AssistantConversationInterruption", null, global);
|
|
33
|
+
goog.exportSymbol("proto.AssistantConversationInterruption.InterruptionType", null, global);
|
|
24
34
|
goog.exportSymbol("proto.AssistantConversationMessage", null, global);
|
|
35
|
+
goog.exportSymbol("proto.AssistantConversationMessageAudioContent", null, global);
|
|
36
|
+
goog.exportSymbol("proto.AssistantConversationMessageTextContent", null, global);
|
|
37
|
+
goog.exportSymbol("proto.AssistantConversationPhoneCallTransferAction", null, global);
|
|
25
38
|
goog.exportSymbol("proto.AssistantConversationRecording", null, global);
|
|
39
|
+
goog.exportSymbol("proto.AssistantConversationUserMessage", null, global);
|
|
40
|
+
goog.exportSymbol("proto.AssistantConversationUserMessage.MessageCase", null, global);
|
|
41
|
+
goog.exportSymbol("proto.AssistantConverstationApiRequestAction", null, global);
|
|
42
|
+
goog.exportSymbol("proto.AssistantConverstationEndpointAction", null, global);
|
|
43
|
+
goog.exportSymbol("proto.AssistantConverstationHoldAction", null, global);
|
|
44
|
+
goog.exportSymbol("proto.AssistantConverstationKnowledgeRetrievalAction", null, global);
|
|
26
45
|
goog.exportSymbol("proto.AssistantDefinition", null, global);
|
|
27
46
|
goog.exportSymbol("proto.BaseResponse", null, global);
|
|
28
47
|
goog.exportSymbol("proto.Content", null, global);
|
|
@@ -275,6 +294,104 @@ var require_common_pb = __commonJS({
|
|
|
275
294
|
if (goog.DEBUG && !COMPILED) {
|
|
276
295
|
proto.GetAllConversationMessageResponse.displayName = "proto.GetAllConversationMessageResponse";
|
|
277
296
|
}
|
|
297
|
+
proto.AssistantConversationConfiguration = function(opt_data) {
|
|
298
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
299
|
+
};
|
|
300
|
+
goog.inherits(proto.AssistantConversationConfiguration, jspb.Message);
|
|
301
|
+
if (goog.DEBUG && !COMPILED) {
|
|
302
|
+
proto.AssistantConversationConfiguration.displayName = "proto.AssistantConversationConfiguration";
|
|
303
|
+
}
|
|
304
|
+
proto.AssistantConversationDisconnectAction = function(opt_data) {
|
|
305
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
306
|
+
};
|
|
307
|
+
goog.inherits(proto.AssistantConversationDisconnectAction, jspb.Message);
|
|
308
|
+
if (goog.DEBUG && !COMPILED) {
|
|
309
|
+
proto.AssistantConversationDisconnectAction.displayName = "proto.AssistantConversationDisconnectAction";
|
|
310
|
+
}
|
|
311
|
+
proto.AssistantConverstationHoldAction = function(opt_data) {
|
|
312
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
313
|
+
};
|
|
314
|
+
goog.inherits(proto.AssistantConverstationHoldAction, jspb.Message);
|
|
315
|
+
if (goog.DEBUG && !COMPILED) {
|
|
316
|
+
proto.AssistantConverstationHoldAction.displayName = "proto.AssistantConverstationHoldAction";
|
|
317
|
+
}
|
|
318
|
+
proto.AssistantConverstationKnowledgeRetrievalAction = function(opt_data) {
|
|
319
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
320
|
+
};
|
|
321
|
+
goog.inherits(proto.AssistantConverstationKnowledgeRetrievalAction, jspb.Message);
|
|
322
|
+
if (goog.DEBUG && !COMPILED) {
|
|
323
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.displayName = "proto.AssistantConverstationKnowledgeRetrievalAction";
|
|
324
|
+
}
|
|
325
|
+
proto.AssistantConverstationApiRequestAction = function(opt_data) {
|
|
326
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
327
|
+
};
|
|
328
|
+
goog.inherits(proto.AssistantConverstationApiRequestAction, jspb.Message);
|
|
329
|
+
if (goog.DEBUG && !COMPILED) {
|
|
330
|
+
proto.AssistantConverstationApiRequestAction.displayName = "proto.AssistantConverstationApiRequestAction";
|
|
331
|
+
}
|
|
332
|
+
proto.AssistantConverstationEndpointAction = function(opt_data) {
|
|
333
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
334
|
+
};
|
|
335
|
+
goog.inherits(proto.AssistantConverstationEndpointAction, jspb.Message);
|
|
336
|
+
if (goog.DEBUG && !COMPILED) {
|
|
337
|
+
proto.AssistantConverstationEndpointAction.displayName = "proto.AssistantConverstationEndpointAction";
|
|
338
|
+
}
|
|
339
|
+
proto.AssistantConversationDeviationAction = function(opt_data) {
|
|
340
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
341
|
+
};
|
|
342
|
+
goog.inherits(proto.AssistantConversationDeviationAction, jspb.Message);
|
|
343
|
+
if (goog.DEBUG && !COMPILED) {
|
|
344
|
+
proto.AssistantConversationDeviationAction.displayName = "proto.AssistantConversationDeviationAction";
|
|
345
|
+
}
|
|
346
|
+
proto.AssistantConversationAssistantTransferAction = function(opt_data) {
|
|
347
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
348
|
+
};
|
|
349
|
+
goog.inherits(proto.AssistantConversationAssistantTransferAction, jspb.Message);
|
|
350
|
+
if (goog.DEBUG && !COMPILED) {
|
|
351
|
+
proto.AssistantConversationAssistantTransferAction.displayName = "proto.AssistantConversationAssistantTransferAction";
|
|
352
|
+
}
|
|
353
|
+
proto.AssistantConversationPhoneCallTransferAction = function(opt_data) {
|
|
354
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
355
|
+
};
|
|
356
|
+
goog.inherits(proto.AssistantConversationPhoneCallTransferAction, jspb.Message);
|
|
357
|
+
if (goog.DEBUG && !COMPILED) {
|
|
358
|
+
proto.AssistantConversationPhoneCallTransferAction.displayName = "proto.AssistantConversationPhoneCallTransferAction";
|
|
359
|
+
}
|
|
360
|
+
proto.AssistantConversationInterruption = function(opt_data) {
|
|
361
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
362
|
+
};
|
|
363
|
+
goog.inherits(proto.AssistantConversationInterruption, jspb.Message);
|
|
364
|
+
if (goog.DEBUG && !COMPILED) {
|
|
365
|
+
proto.AssistantConversationInterruption.displayName = "proto.AssistantConversationInterruption";
|
|
366
|
+
}
|
|
367
|
+
proto.AssistantConversationMessageTextContent = function(opt_data) {
|
|
368
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
369
|
+
};
|
|
370
|
+
goog.inherits(proto.AssistantConversationMessageTextContent, jspb.Message);
|
|
371
|
+
if (goog.DEBUG && !COMPILED) {
|
|
372
|
+
proto.AssistantConversationMessageTextContent.displayName = "proto.AssistantConversationMessageTextContent";
|
|
373
|
+
}
|
|
374
|
+
proto.AssistantConversationMessageAudioContent = function(opt_data) {
|
|
375
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
376
|
+
};
|
|
377
|
+
goog.inherits(proto.AssistantConversationMessageAudioContent, jspb.Message);
|
|
378
|
+
if (goog.DEBUG && !COMPILED) {
|
|
379
|
+
proto.AssistantConversationMessageAudioContent.displayName = "proto.AssistantConversationMessageAudioContent";
|
|
380
|
+
}
|
|
381
|
+
proto.AssistantConversationUserMessage = function(opt_data) {
|
|
382
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.AssistantConversationUserMessage.oneofGroups_);
|
|
383
|
+
};
|
|
384
|
+
goog.inherits(proto.AssistantConversationUserMessage, jspb.Message);
|
|
385
|
+
if (goog.DEBUG && !COMPILED) {
|
|
386
|
+
proto.AssistantConversationUserMessage.displayName = "proto.AssistantConversationUserMessage";
|
|
387
|
+
}
|
|
388
|
+
proto.AssistantConversationAssistantMessage = function(opt_data) {
|
|
389
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.AssistantConversationAssistantMessage.oneofGroups_);
|
|
390
|
+
};
|
|
391
|
+
goog.inherits(proto.AssistantConversationAssistantMessage, jspb.Message);
|
|
392
|
+
if (goog.DEBUG && !COMPILED) {
|
|
393
|
+
proto.AssistantConversationAssistantMessage.displayName = "proto.AssistantConversationAssistantMessage";
|
|
394
|
+
}
|
|
278
395
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
279
396
|
proto.FieldSelector.prototype.toObject = function(opt_includeInstance) {
|
|
280
397
|
return proto.FieldSelector.toObject(opt_includeInstance, this);
|
|
@@ -5827,237 +5944,14 @@ var require_common_pb = __commonJS({
|
|
|
5827
5944
|
proto.GetAllConversationMessageResponse.prototype.hasPaginated = function() {
|
|
5828
5945
|
return jspb.Message.getField(this, 5) != null;
|
|
5829
5946
|
};
|
|
5830
|
-
proto.Source = {
|
|
5831
|
-
WEB_PLUGIN: 0,
|
|
5832
|
-
DEBUGGER: 1,
|
|
5833
|
-
SDK: 2,
|
|
5834
|
-
PHONE_CALL: 3,
|
|
5835
|
-
WHATSAPP: 4
|
|
5836
|
-
};
|
|
5837
|
-
goog.object.extend(exports, proto);
|
|
5838
|
-
}
|
|
5839
|
-
});
|
|
5840
|
-
|
|
5841
|
-
// src/clients/protos/talk-api_pb.js
|
|
5842
|
-
var require_talk_api_pb = __commonJS({
|
|
5843
|
-
"src/clients/protos/talk-api_pb.js"(exports) {
|
|
5844
|
-
"use strict";
|
|
5845
|
-
var jspb = __require("google-protobuf");
|
|
5846
|
-
var goog = jspb;
|
|
5847
|
-
var global = function() {
|
|
5848
|
-
return this || window || global || self || Function("return this")();
|
|
5849
|
-
}.call(null);
|
|
5850
|
-
var google_protobuf_any_pb = __require("google-protobuf/google/protobuf/any_pb.js");
|
|
5851
|
-
goog.object.extend(proto, google_protobuf_any_pb);
|
|
5852
|
-
var google_protobuf_timestamp_pb = __require("google-protobuf/google/protobuf/timestamp_pb.js");
|
|
5853
|
-
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
5854
|
-
var common_pb = require_common_pb();
|
|
5855
|
-
goog.object.extend(proto, common_pb);
|
|
5856
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationAssistantMessage", null, global);
|
|
5857
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationAssistantMessage.MessageCase", null, global);
|
|
5858
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationAssistantTransferAction", null, global);
|
|
5859
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationConfiguration", null, global);
|
|
5860
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationDeviationAction", null, global);
|
|
5861
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationDisconnectAction", null, global);
|
|
5862
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationInterruption", null, global);
|
|
5863
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationInterruption.InterruptionType", null, global);
|
|
5864
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationMessageAudioContent", null, global);
|
|
5865
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationMessageTextContent", null, global);
|
|
5866
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationPhoneCallTransferAction", null, global);
|
|
5867
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationUserMessage", null, global);
|
|
5868
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationUserMessage.MessageCase", null, global);
|
|
5869
|
-
goog.exportSymbol("proto.talk_api.AssistantConverstationApiRequestAction", null, global);
|
|
5870
|
-
goog.exportSymbol("proto.talk_api.AssistantConverstationEndpointAction", null, global);
|
|
5871
|
-
goog.exportSymbol("proto.talk_api.AssistantConverstationHoldAction", null, global);
|
|
5872
|
-
goog.exportSymbol("proto.talk_api.AssistantConverstationKnowledgeRetrievalAction", null, global);
|
|
5873
|
-
goog.exportSymbol("proto.talk_api.AssistantMessagingRequest", null, global);
|
|
5874
|
-
goog.exportSymbol("proto.talk_api.AssistantMessagingRequest.RequestCase", null, global);
|
|
5875
|
-
goog.exportSymbol("proto.talk_api.AssistantMessagingResponse", null, global);
|
|
5876
|
-
goog.exportSymbol("proto.talk_api.AssistantMessagingResponse.DataCase", null, global);
|
|
5877
|
-
goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallRequest", null, global);
|
|
5878
|
-
goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallResponse", null, global);
|
|
5879
|
-
goog.exportSymbol("proto.talk_api.CreateConversationMetricRequest", null, global);
|
|
5880
|
-
goog.exportSymbol("proto.talk_api.CreateConversationMetricResponse", null, global);
|
|
5881
|
-
goog.exportSymbol("proto.talk_api.CreateMessageMetricRequest", null, global);
|
|
5882
|
-
goog.exportSymbol("proto.talk_api.CreateMessageMetricResponse", null, global);
|
|
5883
|
-
goog.exportSymbol("proto.talk_api.CreatePhoneCallRequest", null, global);
|
|
5884
|
-
goog.exportSymbol("proto.talk_api.CreatePhoneCallResponse", null, global);
|
|
5885
|
-
proto.talk_api.AssistantConversationConfiguration = function(opt_data) {
|
|
5886
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5887
|
-
};
|
|
5888
|
-
goog.inherits(proto.talk_api.AssistantConversationConfiguration, jspb.Message);
|
|
5889
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5890
|
-
proto.talk_api.AssistantConversationConfiguration.displayName = "proto.talk_api.AssistantConversationConfiguration";
|
|
5891
|
-
}
|
|
5892
|
-
proto.talk_api.AssistantConversationDisconnectAction = function(opt_data) {
|
|
5893
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5894
|
-
};
|
|
5895
|
-
goog.inherits(proto.talk_api.AssistantConversationDisconnectAction, jspb.Message);
|
|
5896
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5897
|
-
proto.talk_api.AssistantConversationDisconnectAction.displayName = "proto.talk_api.AssistantConversationDisconnectAction";
|
|
5898
|
-
}
|
|
5899
|
-
proto.talk_api.AssistantConverstationHoldAction = function(opt_data) {
|
|
5900
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5901
|
-
};
|
|
5902
|
-
goog.inherits(proto.talk_api.AssistantConverstationHoldAction, jspb.Message);
|
|
5903
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5904
|
-
proto.talk_api.AssistantConverstationHoldAction.displayName = "proto.talk_api.AssistantConverstationHoldAction";
|
|
5905
|
-
}
|
|
5906
|
-
proto.talk_api.AssistantConverstationKnowledgeRetrievalAction = function(opt_data) {
|
|
5907
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5908
|
-
};
|
|
5909
|
-
goog.inherits(proto.talk_api.AssistantConverstationKnowledgeRetrievalAction, jspb.Message);
|
|
5910
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5911
|
-
proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.displayName = "proto.talk_api.AssistantConverstationKnowledgeRetrievalAction";
|
|
5912
|
-
}
|
|
5913
|
-
proto.talk_api.AssistantConverstationApiRequestAction = function(opt_data) {
|
|
5914
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5915
|
-
};
|
|
5916
|
-
goog.inherits(proto.talk_api.AssistantConverstationApiRequestAction, jspb.Message);
|
|
5917
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5918
|
-
proto.talk_api.AssistantConverstationApiRequestAction.displayName = "proto.talk_api.AssistantConverstationApiRequestAction";
|
|
5919
|
-
}
|
|
5920
|
-
proto.talk_api.AssistantConverstationEndpointAction = function(opt_data) {
|
|
5921
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5922
|
-
};
|
|
5923
|
-
goog.inherits(proto.talk_api.AssistantConverstationEndpointAction, jspb.Message);
|
|
5924
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5925
|
-
proto.talk_api.AssistantConverstationEndpointAction.displayName = "proto.talk_api.AssistantConverstationEndpointAction";
|
|
5926
|
-
}
|
|
5927
|
-
proto.talk_api.AssistantConversationDeviationAction = function(opt_data) {
|
|
5928
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5929
|
-
};
|
|
5930
|
-
goog.inherits(proto.talk_api.AssistantConversationDeviationAction, jspb.Message);
|
|
5931
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5932
|
-
proto.talk_api.AssistantConversationDeviationAction.displayName = "proto.talk_api.AssistantConversationDeviationAction";
|
|
5933
|
-
}
|
|
5934
|
-
proto.talk_api.AssistantConversationAssistantTransferAction = function(opt_data) {
|
|
5935
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5936
|
-
};
|
|
5937
|
-
goog.inherits(proto.talk_api.AssistantConversationAssistantTransferAction, jspb.Message);
|
|
5938
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5939
|
-
proto.talk_api.AssistantConversationAssistantTransferAction.displayName = "proto.talk_api.AssistantConversationAssistantTransferAction";
|
|
5940
|
-
}
|
|
5941
|
-
proto.talk_api.AssistantConversationPhoneCallTransferAction = function(opt_data) {
|
|
5942
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5943
|
-
};
|
|
5944
|
-
goog.inherits(proto.talk_api.AssistantConversationPhoneCallTransferAction, jspb.Message);
|
|
5945
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5946
|
-
proto.talk_api.AssistantConversationPhoneCallTransferAction.displayName = "proto.talk_api.AssistantConversationPhoneCallTransferAction";
|
|
5947
|
-
}
|
|
5948
|
-
proto.talk_api.AssistantConversationInterruption = function(opt_data) {
|
|
5949
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5950
|
-
};
|
|
5951
|
-
goog.inherits(proto.talk_api.AssistantConversationInterruption, jspb.Message);
|
|
5952
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5953
|
-
proto.talk_api.AssistantConversationInterruption.displayName = "proto.talk_api.AssistantConversationInterruption";
|
|
5954
|
-
}
|
|
5955
|
-
proto.talk_api.AssistantConversationMessageTextContent = function(opt_data) {
|
|
5956
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5957
|
-
};
|
|
5958
|
-
goog.inherits(proto.talk_api.AssistantConversationMessageTextContent, jspb.Message);
|
|
5959
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5960
|
-
proto.talk_api.AssistantConversationMessageTextContent.displayName = "proto.talk_api.AssistantConversationMessageTextContent";
|
|
5961
|
-
}
|
|
5962
|
-
proto.talk_api.AssistantConversationMessageAudioContent = function(opt_data) {
|
|
5963
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5964
|
-
};
|
|
5965
|
-
goog.inherits(proto.talk_api.AssistantConversationMessageAudioContent, jspb.Message);
|
|
5966
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5967
|
-
proto.talk_api.AssistantConversationMessageAudioContent.displayName = "proto.talk_api.AssistantConversationMessageAudioContent";
|
|
5968
|
-
}
|
|
5969
|
-
proto.talk_api.AssistantConversationUserMessage = function(opt_data) {
|
|
5970
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantConversationUserMessage.oneofGroups_);
|
|
5971
|
-
};
|
|
5972
|
-
goog.inherits(proto.talk_api.AssistantConversationUserMessage, jspb.Message);
|
|
5973
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5974
|
-
proto.talk_api.AssistantConversationUserMessage.displayName = "proto.talk_api.AssistantConversationUserMessage";
|
|
5975
|
-
}
|
|
5976
|
-
proto.talk_api.AssistantConversationAssistantMessage = function(opt_data) {
|
|
5977
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_);
|
|
5978
|
-
};
|
|
5979
|
-
goog.inherits(proto.talk_api.AssistantConversationAssistantMessage, jspb.Message);
|
|
5980
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5981
|
-
proto.talk_api.AssistantConversationAssistantMessage.displayName = "proto.talk_api.AssistantConversationAssistantMessage";
|
|
5982
|
-
}
|
|
5983
|
-
proto.talk_api.AssistantMessagingRequest = function(opt_data) {
|
|
5984
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingRequest.oneofGroups_);
|
|
5985
|
-
};
|
|
5986
|
-
goog.inherits(proto.talk_api.AssistantMessagingRequest, jspb.Message);
|
|
5987
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5988
|
-
proto.talk_api.AssistantMessagingRequest.displayName = "proto.talk_api.AssistantMessagingRequest";
|
|
5989
|
-
}
|
|
5990
|
-
proto.talk_api.AssistantMessagingResponse = function(opt_data) {
|
|
5991
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingResponse.oneofGroups_);
|
|
5992
|
-
};
|
|
5993
|
-
goog.inherits(proto.talk_api.AssistantMessagingResponse, jspb.Message);
|
|
5994
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5995
|
-
proto.talk_api.AssistantMessagingResponse.displayName = "proto.talk_api.AssistantMessagingResponse";
|
|
5996
|
-
}
|
|
5997
|
-
proto.talk_api.CreateMessageMetricRequest = function(opt_data) {
|
|
5998
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricRequest.repeatedFields_, null);
|
|
5999
|
-
};
|
|
6000
|
-
goog.inherits(proto.talk_api.CreateMessageMetricRequest, jspb.Message);
|
|
6001
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6002
|
-
proto.talk_api.CreateMessageMetricRequest.displayName = "proto.talk_api.CreateMessageMetricRequest";
|
|
6003
|
-
}
|
|
6004
|
-
proto.talk_api.CreateMessageMetricResponse = function(opt_data) {
|
|
6005
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricResponse.repeatedFields_, null);
|
|
6006
|
-
};
|
|
6007
|
-
goog.inherits(proto.talk_api.CreateMessageMetricResponse, jspb.Message);
|
|
6008
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6009
|
-
proto.talk_api.CreateMessageMetricResponse.displayName = "proto.talk_api.CreateMessageMetricResponse";
|
|
6010
|
-
}
|
|
6011
|
-
proto.talk_api.CreateConversationMetricRequest = function(opt_data) {
|
|
6012
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricRequest.repeatedFields_, null);
|
|
6013
|
-
};
|
|
6014
|
-
goog.inherits(proto.talk_api.CreateConversationMetricRequest, jspb.Message);
|
|
6015
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6016
|
-
proto.talk_api.CreateConversationMetricRequest.displayName = "proto.talk_api.CreateConversationMetricRequest";
|
|
6017
|
-
}
|
|
6018
|
-
proto.talk_api.CreateConversationMetricResponse = function(opt_data) {
|
|
6019
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricResponse.repeatedFields_, null);
|
|
6020
|
-
};
|
|
6021
|
-
goog.inherits(proto.talk_api.CreateConversationMetricResponse, jspb.Message);
|
|
6022
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6023
|
-
proto.talk_api.CreateConversationMetricResponse.displayName = "proto.talk_api.CreateConversationMetricResponse";
|
|
6024
|
-
}
|
|
6025
|
-
proto.talk_api.CreatePhoneCallRequest = function(opt_data) {
|
|
6026
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6027
|
-
};
|
|
6028
|
-
goog.inherits(proto.talk_api.CreatePhoneCallRequest, jspb.Message);
|
|
6029
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6030
|
-
proto.talk_api.CreatePhoneCallRequest.displayName = "proto.talk_api.CreatePhoneCallRequest";
|
|
6031
|
-
}
|
|
6032
|
-
proto.talk_api.CreatePhoneCallResponse = function(opt_data) {
|
|
6033
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6034
|
-
};
|
|
6035
|
-
goog.inherits(proto.talk_api.CreatePhoneCallResponse, jspb.Message);
|
|
6036
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6037
|
-
proto.talk_api.CreatePhoneCallResponse.displayName = "proto.talk_api.CreatePhoneCallResponse";
|
|
6038
|
-
}
|
|
6039
|
-
proto.talk_api.CreateBulkPhoneCallRequest = function(opt_data) {
|
|
6040
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallRequest.repeatedFields_, null);
|
|
6041
|
-
};
|
|
6042
|
-
goog.inherits(proto.talk_api.CreateBulkPhoneCallRequest, jspb.Message);
|
|
6043
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6044
|
-
proto.talk_api.CreateBulkPhoneCallRequest.displayName = "proto.talk_api.CreateBulkPhoneCallRequest";
|
|
6045
|
-
}
|
|
6046
|
-
proto.talk_api.CreateBulkPhoneCallResponse = function(opt_data) {
|
|
6047
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallResponse.repeatedFields_, null);
|
|
6048
|
-
};
|
|
6049
|
-
goog.inherits(proto.talk_api.CreateBulkPhoneCallResponse, jspb.Message);
|
|
6050
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6051
|
-
proto.talk_api.CreateBulkPhoneCallResponse.displayName = "proto.talk_api.CreateBulkPhoneCallResponse";
|
|
6052
|
-
}
|
|
6053
5947
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6054
|
-
proto.
|
|
6055
|
-
return proto.
|
|
5948
|
+
proto.AssistantConversationConfiguration.prototype.toObject = function(opt_includeInstance) {
|
|
5949
|
+
return proto.AssistantConversationConfiguration.toObject(opt_includeInstance, this);
|
|
6056
5950
|
};
|
|
6057
|
-
proto.
|
|
5951
|
+
proto.AssistantConversationConfiguration.toObject = function(includeInstance, msg) {
|
|
6058
5952
|
var f, obj = {
|
|
6059
5953
|
assistantconversationid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
6060
|
-
assistant: (f = msg.getAssistant()) &&
|
|
5954
|
+
assistant: (f = msg.getAssistant()) && proto.AssistantDefinition.toObject(includeInstance, f),
|
|
6061
5955
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6062
5956
|
metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [],
|
|
6063
5957
|
argsMap: (f = msg.getArgsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [],
|
|
@@ -6069,12 +5963,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6069
5963
|
return obj;
|
|
6070
5964
|
};
|
|
6071
5965
|
}
|
|
6072
|
-
proto.
|
|
5966
|
+
proto.AssistantConversationConfiguration.deserializeBinary = function(bytes) {
|
|
6073
5967
|
var reader = new jspb.BinaryReader(bytes);
|
|
6074
|
-
var msg = new proto.
|
|
6075
|
-
return proto.
|
|
5968
|
+
var msg = new proto.AssistantConversationConfiguration();
|
|
5969
|
+
return proto.AssistantConversationConfiguration.deserializeBinaryFromReader(msg, reader);
|
|
6076
5970
|
};
|
|
6077
|
-
proto.
|
|
5971
|
+
proto.AssistantConversationConfiguration.deserializeBinaryFromReader = function(msg, reader) {
|
|
6078
5972
|
while (reader.nextField()) {
|
|
6079
5973
|
if (reader.isEndGroup()) {
|
|
6080
5974
|
break;
|
|
@@ -6089,8 +5983,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
6089
5983
|
msg.setAssistantconversationid(value);
|
|
6090
5984
|
break;
|
|
6091
5985
|
case 2:
|
|
6092
|
-
var value = new
|
|
6093
|
-
reader.readMessage(value,
|
|
5986
|
+
var value = new proto.AssistantDefinition();
|
|
5987
|
+
reader.readMessage(value, proto.AssistantDefinition.deserializeBinaryFromReader);
|
|
6094
5988
|
msg.setAssistant(value);
|
|
6095
5989
|
break;
|
|
6096
5990
|
case 3:
|
|
@@ -6123,12 +6017,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6123
6017
|
}
|
|
6124
6018
|
return msg;
|
|
6125
6019
|
};
|
|
6126
|
-
proto.
|
|
6020
|
+
proto.AssistantConversationConfiguration.prototype.serializeBinary = function() {
|
|
6127
6021
|
var writer = new jspb.BinaryWriter();
|
|
6128
|
-
proto.
|
|
6022
|
+
proto.AssistantConversationConfiguration.serializeBinaryToWriter(this, writer);
|
|
6129
6023
|
return writer.getResultBuffer();
|
|
6130
6024
|
};
|
|
6131
|
-
proto.
|
|
6025
|
+
proto.AssistantConversationConfiguration.serializeBinaryToWriter = function(message, writer) {
|
|
6132
6026
|
var f = void 0;
|
|
6133
6027
|
f = message.getAssistantconversationid();
|
|
6134
6028
|
if (parseInt(f, 10) !== 0) {
|
|
@@ -6142,7 +6036,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
6142
6036
|
writer.writeMessage(
|
|
6143
6037
|
2,
|
|
6144
6038
|
f,
|
|
6145
|
-
|
|
6039
|
+
proto.AssistantDefinition.serializeBinaryToWriter
|
|
6146
6040
|
);
|
|
6147
6041
|
}
|
|
6148
6042
|
f = message.getTime();
|
|
@@ -6166,46 +6060,46 @@ var require_talk_api_pb = __commonJS({
|
|
|
6166
6060
|
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Any.serializeBinaryToWriter);
|
|
6167
6061
|
}
|
|
6168
6062
|
};
|
|
6169
|
-
proto.
|
|
6063
|
+
proto.AssistantConversationConfiguration.prototype.getAssistantconversationid = function() {
|
|
6170
6064
|
return (
|
|
6171
6065
|
/** @type {string} */
|
|
6172
6066
|
jspb.Message.getFieldWithDefault(this, 1, "0")
|
|
6173
6067
|
);
|
|
6174
6068
|
};
|
|
6175
|
-
proto.
|
|
6069
|
+
proto.AssistantConversationConfiguration.prototype.setAssistantconversationid = function(value) {
|
|
6176
6070
|
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
6177
6071
|
};
|
|
6178
|
-
proto.
|
|
6072
|
+
proto.AssistantConversationConfiguration.prototype.getAssistant = function() {
|
|
6179
6073
|
return (
|
|
6180
6074
|
/** @type{?proto.AssistantDefinition} */
|
|
6181
|
-
jspb.Message.getWrapperField(this,
|
|
6075
|
+
jspb.Message.getWrapperField(this, proto.AssistantDefinition, 2)
|
|
6182
6076
|
);
|
|
6183
6077
|
};
|
|
6184
|
-
proto.
|
|
6078
|
+
proto.AssistantConversationConfiguration.prototype.setAssistant = function(value) {
|
|
6185
6079
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
6186
6080
|
};
|
|
6187
|
-
proto.
|
|
6081
|
+
proto.AssistantConversationConfiguration.prototype.clearAssistant = function() {
|
|
6188
6082
|
return this.setAssistant(void 0);
|
|
6189
6083
|
};
|
|
6190
|
-
proto.
|
|
6084
|
+
proto.AssistantConversationConfiguration.prototype.hasAssistant = function() {
|
|
6191
6085
|
return jspb.Message.getField(this, 2) != null;
|
|
6192
6086
|
};
|
|
6193
|
-
proto.
|
|
6087
|
+
proto.AssistantConversationConfiguration.prototype.getTime = function() {
|
|
6194
6088
|
return (
|
|
6195
6089
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
6196
6090
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)
|
|
6197
6091
|
);
|
|
6198
6092
|
};
|
|
6199
|
-
proto.
|
|
6093
|
+
proto.AssistantConversationConfiguration.prototype.setTime = function(value) {
|
|
6200
6094
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
6201
6095
|
};
|
|
6202
|
-
proto.
|
|
6096
|
+
proto.AssistantConversationConfiguration.prototype.clearTime = function() {
|
|
6203
6097
|
return this.setTime(void 0);
|
|
6204
6098
|
};
|
|
6205
|
-
proto.
|
|
6099
|
+
proto.AssistantConversationConfiguration.prototype.hasTime = function() {
|
|
6206
6100
|
return jspb.Message.getField(this, 3) != null;
|
|
6207
6101
|
};
|
|
6208
|
-
proto.
|
|
6102
|
+
proto.AssistantConversationConfiguration.prototype.getMetadataMap = function(opt_noLazyCreate) {
|
|
6209
6103
|
return (
|
|
6210
6104
|
/** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
|
|
6211
6105
|
jspb.Message.getMapField(
|
|
@@ -6216,11 +6110,11 @@ var require_talk_api_pb = __commonJS({
|
|
|
6216
6110
|
)
|
|
6217
6111
|
);
|
|
6218
6112
|
};
|
|
6219
|
-
proto.
|
|
6113
|
+
proto.AssistantConversationConfiguration.prototype.clearMetadataMap = function() {
|
|
6220
6114
|
this.getMetadataMap().clear();
|
|
6221
6115
|
return this;
|
|
6222
6116
|
};
|
|
6223
|
-
proto.
|
|
6117
|
+
proto.AssistantConversationConfiguration.prototype.getArgsMap = function(opt_noLazyCreate) {
|
|
6224
6118
|
return (
|
|
6225
6119
|
/** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
|
|
6226
6120
|
jspb.Message.getMapField(
|
|
@@ -6231,11 +6125,11 @@ var require_talk_api_pb = __commonJS({
|
|
|
6231
6125
|
)
|
|
6232
6126
|
);
|
|
6233
6127
|
};
|
|
6234
|
-
proto.
|
|
6128
|
+
proto.AssistantConversationConfiguration.prototype.clearArgsMap = function() {
|
|
6235
6129
|
this.getArgsMap().clear();
|
|
6236
6130
|
return this;
|
|
6237
6131
|
};
|
|
6238
|
-
proto.
|
|
6132
|
+
proto.AssistantConversationConfiguration.prototype.getOptionsMap = function(opt_noLazyCreate) {
|
|
6239
6133
|
return (
|
|
6240
6134
|
/** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
|
|
6241
6135
|
jspb.Message.getMapField(
|
|
@@ -6246,15 +6140,15 @@ var require_talk_api_pb = __commonJS({
|
|
|
6246
6140
|
)
|
|
6247
6141
|
);
|
|
6248
6142
|
};
|
|
6249
|
-
proto.
|
|
6143
|
+
proto.AssistantConversationConfiguration.prototype.clearOptionsMap = function() {
|
|
6250
6144
|
this.getOptionsMap().clear();
|
|
6251
6145
|
return this;
|
|
6252
6146
|
};
|
|
6253
6147
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6254
|
-
proto.
|
|
6255
|
-
return proto.
|
|
6148
|
+
proto.AssistantConversationDisconnectAction.prototype.toObject = function(opt_includeInstance) {
|
|
6149
|
+
return proto.AssistantConversationDisconnectAction.toObject(opt_includeInstance, this);
|
|
6256
6150
|
};
|
|
6257
|
-
proto.
|
|
6151
|
+
proto.AssistantConversationDisconnectAction.toObject = function(includeInstance, msg) {
|
|
6258
6152
|
var f, obj = {
|
|
6259
6153
|
reason: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6260
6154
|
};
|
|
@@ -6264,12 +6158,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6264
6158
|
return obj;
|
|
6265
6159
|
};
|
|
6266
6160
|
}
|
|
6267
|
-
proto.
|
|
6161
|
+
proto.AssistantConversationDisconnectAction.deserializeBinary = function(bytes) {
|
|
6268
6162
|
var reader = new jspb.BinaryReader(bytes);
|
|
6269
|
-
var msg = new proto.
|
|
6270
|
-
return proto.
|
|
6163
|
+
var msg = new proto.AssistantConversationDisconnectAction();
|
|
6164
|
+
return proto.AssistantConversationDisconnectAction.deserializeBinaryFromReader(msg, reader);
|
|
6271
6165
|
};
|
|
6272
|
-
proto.
|
|
6166
|
+
proto.AssistantConversationDisconnectAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6273
6167
|
while (reader.nextField()) {
|
|
6274
6168
|
if (reader.isEndGroup()) {
|
|
6275
6169
|
break;
|
|
@@ -6290,12 +6184,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6290
6184
|
}
|
|
6291
6185
|
return msg;
|
|
6292
6186
|
};
|
|
6293
|
-
proto.
|
|
6187
|
+
proto.AssistantConversationDisconnectAction.prototype.serializeBinary = function() {
|
|
6294
6188
|
var writer = new jspb.BinaryWriter();
|
|
6295
|
-
proto.
|
|
6189
|
+
proto.AssistantConversationDisconnectAction.serializeBinaryToWriter(this, writer);
|
|
6296
6190
|
return writer.getResultBuffer();
|
|
6297
6191
|
};
|
|
6298
|
-
proto.
|
|
6192
|
+
proto.AssistantConversationDisconnectAction.serializeBinaryToWriter = function(message, writer) {
|
|
6299
6193
|
var f = void 0;
|
|
6300
6194
|
f = message.getReason();
|
|
6301
6195
|
if (f.length > 0) {
|
|
@@ -6305,20 +6199,20 @@ var require_talk_api_pb = __commonJS({
|
|
|
6305
6199
|
);
|
|
6306
6200
|
}
|
|
6307
6201
|
};
|
|
6308
|
-
proto.
|
|
6202
|
+
proto.AssistantConversationDisconnectAction.prototype.getReason = function() {
|
|
6309
6203
|
return (
|
|
6310
6204
|
/** @type {string} */
|
|
6311
6205
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6312
6206
|
);
|
|
6313
6207
|
};
|
|
6314
|
-
proto.
|
|
6208
|
+
proto.AssistantConversationDisconnectAction.prototype.setReason = function(value) {
|
|
6315
6209
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6316
6210
|
};
|
|
6317
6211
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6318
|
-
proto.
|
|
6319
|
-
return proto.
|
|
6212
|
+
proto.AssistantConverstationHoldAction.prototype.toObject = function(opt_includeInstance) {
|
|
6213
|
+
return proto.AssistantConverstationHoldAction.toObject(opt_includeInstance, this);
|
|
6320
6214
|
};
|
|
6321
|
-
proto.
|
|
6215
|
+
proto.AssistantConverstationHoldAction.toObject = function(includeInstance, msg) {
|
|
6322
6216
|
var f, obj = {
|
|
6323
6217
|
holdtime: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
6324
6218
|
};
|
|
@@ -6328,12 +6222,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6328
6222
|
return obj;
|
|
6329
6223
|
};
|
|
6330
6224
|
}
|
|
6331
|
-
proto.
|
|
6225
|
+
proto.AssistantConverstationHoldAction.deserializeBinary = function(bytes) {
|
|
6332
6226
|
var reader = new jspb.BinaryReader(bytes);
|
|
6333
|
-
var msg = new proto.
|
|
6334
|
-
return proto.
|
|
6227
|
+
var msg = new proto.AssistantConverstationHoldAction();
|
|
6228
|
+
return proto.AssistantConverstationHoldAction.deserializeBinaryFromReader(msg, reader);
|
|
6335
6229
|
};
|
|
6336
|
-
proto.
|
|
6230
|
+
proto.AssistantConverstationHoldAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6337
6231
|
while (reader.nextField()) {
|
|
6338
6232
|
if (reader.isEndGroup()) {
|
|
6339
6233
|
break;
|
|
@@ -6354,12 +6248,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6354
6248
|
}
|
|
6355
6249
|
return msg;
|
|
6356
6250
|
};
|
|
6357
|
-
proto.
|
|
6251
|
+
proto.AssistantConverstationHoldAction.prototype.serializeBinary = function() {
|
|
6358
6252
|
var writer = new jspb.BinaryWriter();
|
|
6359
|
-
proto.
|
|
6253
|
+
proto.AssistantConverstationHoldAction.serializeBinaryToWriter(this, writer);
|
|
6360
6254
|
return writer.getResultBuffer();
|
|
6361
6255
|
};
|
|
6362
|
-
proto.
|
|
6256
|
+
proto.AssistantConverstationHoldAction.serializeBinaryToWriter = function(message, writer) {
|
|
6363
6257
|
var f = void 0;
|
|
6364
6258
|
f = message.getHoldtime();
|
|
6365
6259
|
if (f !== 0) {
|
|
@@ -6369,20 +6263,20 @@ var require_talk_api_pb = __commonJS({
|
|
|
6369
6263
|
);
|
|
6370
6264
|
}
|
|
6371
6265
|
};
|
|
6372
|
-
proto.
|
|
6266
|
+
proto.AssistantConverstationHoldAction.prototype.getHoldtime = function() {
|
|
6373
6267
|
return (
|
|
6374
6268
|
/** @type {number} */
|
|
6375
6269
|
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
6376
6270
|
);
|
|
6377
6271
|
};
|
|
6378
|
-
proto.
|
|
6272
|
+
proto.AssistantConverstationHoldAction.prototype.setHoldtime = function(value) {
|
|
6379
6273
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6380
6274
|
};
|
|
6381
6275
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6382
|
-
proto.
|
|
6383
|
-
return proto.
|
|
6276
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.prototype.toObject = function(opt_includeInstance) {
|
|
6277
|
+
return proto.AssistantConverstationKnowledgeRetrievalAction.toObject(opt_includeInstance, this);
|
|
6384
6278
|
};
|
|
6385
|
-
proto.
|
|
6279
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.toObject = function(includeInstance, msg) {
|
|
6386
6280
|
var f, obj = {
|
|
6387
6281
|
query: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6388
6282
|
};
|
|
@@ -6392,12 +6286,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6392
6286
|
return obj;
|
|
6393
6287
|
};
|
|
6394
6288
|
}
|
|
6395
|
-
proto.
|
|
6289
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinary = function(bytes) {
|
|
6396
6290
|
var reader = new jspb.BinaryReader(bytes);
|
|
6397
|
-
var msg = new proto.
|
|
6398
|
-
return proto.
|
|
6291
|
+
var msg = new proto.AssistantConverstationKnowledgeRetrievalAction();
|
|
6292
|
+
return proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader(msg, reader);
|
|
6399
6293
|
};
|
|
6400
|
-
proto.
|
|
6294
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6401
6295
|
while (reader.nextField()) {
|
|
6402
6296
|
if (reader.isEndGroup()) {
|
|
6403
6297
|
break;
|
|
@@ -6418,12 +6312,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6418
6312
|
}
|
|
6419
6313
|
return msg;
|
|
6420
6314
|
};
|
|
6421
|
-
proto.
|
|
6315
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.prototype.serializeBinary = function() {
|
|
6422
6316
|
var writer = new jspb.BinaryWriter();
|
|
6423
|
-
proto.
|
|
6317
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter(this, writer);
|
|
6424
6318
|
return writer.getResultBuffer();
|
|
6425
6319
|
};
|
|
6426
|
-
proto.
|
|
6320
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter = function(message, writer) {
|
|
6427
6321
|
var f = void 0;
|
|
6428
6322
|
f = message.getQuery();
|
|
6429
6323
|
if (f.length > 0) {
|
|
@@ -6433,20 +6327,20 @@ var require_talk_api_pb = __commonJS({
|
|
|
6433
6327
|
);
|
|
6434
6328
|
}
|
|
6435
6329
|
};
|
|
6436
|
-
proto.
|
|
6330
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.prototype.getQuery = function() {
|
|
6437
6331
|
return (
|
|
6438
6332
|
/** @type {string} */
|
|
6439
6333
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6440
6334
|
);
|
|
6441
6335
|
};
|
|
6442
|
-
proto.
|
|
6336
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.prototype.setQuery = function(value) {
|
|
6443
6337
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6444
6338
|
};
|
|
6445
6339
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6446
|
-
proto.
|
|
6447
|
-
return proto.
|
|
6340
|
+
proto.AssistantConverstationApiRequestAction.prototype.toObject = function(opt_includeInstance) {
|
|
6341
|
+
return proto.AssistantConverstationApiRequestAction.toObject(opt_includeInstance, this);
|
|
6448
6342
|
};
|
|
6449
|
-
proto.
|
|
6343
|
+
proto.AssistantConverstationApiRequestAction.toObject = function(includeInstance, msg) {
|
|
6450
6344
|
var f, obj = {};
|
|
6451
6345
|
if (includeInstance) {
|
|
6452
6346
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6454,12 +6348,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6454
6348
|
return obj;
|
|
6455
6349
|
};
|
|
6456
6350
|
}
|
|
6457
|
-
proto.
|
|
6351
|
+
proto.AssistantConverstationApiRequestAction.deserializeBinary = function(bytes) {
|
|
6458
6352
|
var reader = new jspb.BinaryReader(bytes);
|
|
6459
|
-
var msg = new proto.
|
|
6460
|
-
return proto.
|
|
6353
|
+
var msg = new proto.AssistantConverstationApiRequestAction();
|
|
6354
|
+
return proto.AssistantConverstationApiRequestAction.deserializeBinaryFromReader(msg, reader);
|
|
6461
6355
|
};
|
|
6462
|
-
proto.
|
|
6356
|
+
proto.AssistantConverstationApiRequestAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6463
6357
|
while (reader.nextField()) {
|
|
6464
6358
|
if (reader.isEndGroup()) {
|
|
6465
6359
|
break;
|
|
@@ -6473,19 +6367,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6473
6367
|
}
|
|
6474
6368
|
return msg;
|
|
6475
6369
|
};
|
|
6476
|
-
proto.
|
|
6370
|
+
proto.AssistantConverstationApiRequestAction.prototype.serializeBinary = function() {
|
|
6477
6371
|
var writer = new jspb.BinaryWriter();
|
|
6478
|
-
proto.
|
|
6372
|
+
proto.AssistantConverstationApiRequestAction.serializeBinaryToWriter(this, writer);
|
|
6479
6373
|
return writer.getResultBuffer();
|
|
6480
6374
|
};
|
|
6481
|
-
proto.
|
|
6375
|
+
proto.AssistantConverstationApiRequestAction.serializeBinaryToWriter = function(message, writer) {
|
|
6482
6376
|
var f = void 0;
|
|
6483
6377
|
};
|
|
6484
6378
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6485
|
-
proto.
|
|
6486
|
-
return proto.
|
|
6379
|
+
proto.AssistantConverstationEndpointAction.prototype.toObject = function(opt_includeInstance) {
|
|
6380
|
+
return proto.AssistantConverstationEndpointAction.toObject(opt_includeInstance, this);
|
|
6487
6381
|
};
|
|
6488
|
-
proto.
|
|
6382
|
+
proto.AssistantConverstationEndpointAction.toObject = function(includeInstance, msg) {
|
|
6489
6383
|
var f, obj = {};
|
|
6490
6384
|
if (includeInstance) {
|
|
6491
6385
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6493,12 +6387,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6493
6387
|
return obj;
|
|
6494
6388
|
};
|
|
6495
6389
|
}
|
|
6496
|
-
proto.
|
|
6390
|
+
proto.AssistantConverstationEndpointAction.deserializeBinary = function(bytes) {
|
|
6497
6391
|
var reader = new jspb.BinaryReader(bytes);
|
|
6498
|
-
var msg = new proto.
|
|
6499
|
-
return proto.
|
|
6392
|
+
var msg = new proto.AssistantConverstationEndpointAction();
|
|
6393
|
+
return proto.AssistantConverstationEndpointAction.deserializeBinaryFromReader(msg, reader);
|
|
6500
6394
|
};
|
|
6501
|
-
proto.
|
|
6395
|
+
proto.AssistantConverstationEndpointAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6502
6396
|
while (reader.nextField()) {
|
|
6503
6397
|
if (reader.isEndGroup()) {
|
|
6504
6398
|
break;
|
|
@@ -6512,19 +6406,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6512
6406
|
}
|
|
6513
6407
|
return msg;
|
|
6514
6408
|
};
|
|
6515
|
-
proto.
|
|
6409
|
+
proto.AssistantConverstationEndpointAction.prototype.serializeBinary = function() {
|
|
6516
6410
|
var writer = new jspb.BinaryWriter();
|
|
6517
|
-
proto.
|
|
6411
|
+
proto.AssistantConverstationEndpointAction.serializeBinaryToWriter(this, writer);
|
|
6518
6412
|
return writer.getResultBuffer();
|
|
6519
6413
|
};
|
|
6520
|
-
proto.
|
|
6414
|
+
proto.AssistantConverstationEndpointAction.serializeBinaryToWriter = function(message, writer) {
|
|
6521
6415
|
var f = void 0;
|
|
6522
6416
|
};
|
|
6523
6417
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6524
|
-
proto.
|
|
6525
|
-
return proto.
|
|
6418
|
+
proto.AssistantConversationDeviationAction.prototype.toObject = function(opt_includeInstance) {
|
|
6419
|
+
return proto.AssistantConversationDeviationAction.toObject(opt_includeInstance, this);
|
|
6526
6420
|
};
|
|
6527
|
-
proto.
|
|
6421
|
+
proto.AssistantConversationDeviationAction.toObject = function(includeInstance, msg) {
|
|
6528
6422
|
var f, obj = {};
|
|
6529
6423
|
if (includeInstance) {
|
|
6530
6424
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6532,12 +6426,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6532
6426
|
return obj;
|
|
6533
6427
|
};
|
|
6534
6428
|
}
|
|
6535
|
-
proto.
|
|
6429
|
+
proto.AssistantConversationDeviationAction.deserializeBinary = function(bytes) {
|
|
6536
6430
|
var reader = new jspb.BinaryReader(bytes);
|
|
6537
|
-
var msg = new proto.
|
|
6538
|
-
return proto.
|
|
6431
|
+
var msg = new proto.AssistantConversationDeviationAction();
|
|
6432
|
+
return proto.AssistantConversationDeviationAction.deserializeBinaryFromReader(msg, reader);
|
|
6539
6433
|
};
|
|
6540
|
-
proto.
|
|
6434
|
+
proto.AssistantConversationDeviationAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6541
6435
|
while (reader.nextField()) {
|
|
6542
6436
|
if (reader.isEndGroup()) {
|
|
6543
6437
|
break;
|
|
@@ -6551,19 +6445,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6551
6445
|
}
|
|
6552
6446
|
return msg;
|
|
6553
6447
|
};
|
|
6554
|
-
proto.
|
|
6448
|
+
proto.AssistantConversationDeviationAction.prototype.serializeBinary = function() {
|
|
6555
6449
|
var writer = new jspb.BinaryWriter();
|
|
6556
|
-
proto.
|
|
6450
|
+
proto.AssistantConversationDeviationAction.serializeBinaryToWriter(this, writer);
|
|
6557
6451
|
return writer.getResultBuffer();
|
|
6558
6452
|
};
|
|
6559
|
-
proto.
|
|
6453
|
+
proto.AssistantConversationDeviationAction.serializeBinaryToWriter = function(message, writer) {
|
|
6560
6454
|
var f = void 0;
|
|
6561
6455
|
};
|
|
6562
6456
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6563
|
-
proto.
|
|
6564
|
-
return proto.
|
|
6457
|
+
proto.AssistantConversationAssistantTransferAction.prototype.toObject = function(opt_includeInstance) {
|
|
6458
|
+
return proto.AssistantConversationAssistantTransferAction.toObject(opt_includeInstance, this);
|
|
6565
6459
|
};
|
|
6566
|
-
proto.
|
|
6460
|
+
proto.AssistantConversationAssistantTransferAction.toObject = function(includeInstance, msg) {
|
|
6567
6461
|
var f, obj = {};
|
|
6568
6462
|
if (includeInstance) {
|
|
6569
6463
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6571,12 +6465,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6571
6465
|
return obj;
|
|
6572
6466
|
};
|
|
6573
6467
|
}
|
|
6574
|
-
proto.
|
|
6468
|
+
proto.AssistantConversationAssistantTransferAction.deserializeBinary = function(bytes) {
|
|
6575
6469
|
var reader = new jspb.BinaryReader(bytes);
|
|
6576
|
-
var msg = new proto.
|
|
6577
|
-
return proto.
|
|
6470
|
+
var msg = new proto.AssistantConversationAssistantTransferAction();
|
|
6471
|
+
return proto.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader(msg, reader);
|
|
6578
6472
|
};
|
|
6579
|
-
proto.
|
|
6473
|
+
proto.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6580
6474
|
while (reader.nextField()) {
|
|
6581
6475
|
if (reader.isEndGroup()) {
|
|
6582
6476
|
break;
|
|
@@ -6590,19 +6484,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6590
6484
|
}
|
|
6591
6485
|
return msg;
|
|
6592
6486
|
};
|
|
6593
|
-
proto.
|
|
6487
|
+
proto.AssistantConversationAssistantTransferAction.prototype.serializeBinary = function() {
|
|
6594
6488
|
var writer = new jspb.BinaryWriter();
|
|
6595
|
-
proto.
|
|
6489
|
+
proto.AssistantConversationAssistantTransferAction.serializeBinaryToWriter(this, writer);
|
|
6596
6490
|
return writer.getResultBuffer();
|
|
6597
6491
|
};
|
|
6598
|
-
proto.
|
|
6492
|
+
proto.AssistantConversationAssistantTransferAction.serializeBinaryToWriter = function(message, writer) {
|
|
6599
6493
|
var f = void 0;
|
|
6600
6494
|
};
|
|
6601
6495
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6602
|
-
proto.
|
|
6603
|
-
return proto.
|
|
6496
|
+
proto.AssistantConversationPhoneCallTransferAction.prototype.toObject = function(opt_includeInstance) {
|
|
6497
|
+
return proto.AssistantConversationPhoneCallTransferAction.toObject(opt_includeInstance, this);
|
|
6604
6498
|
};
|
|
6605
|
-
proto.
|
|
6499
|
+
proto.AssistantConversationPhoneCallTransferAction.toObject = function(includeInstance, msg) {
|
|
6606
6500
|
var f, obj = {};
|
|
6607
6501
|
if (includeInstance) {
|
|
6608
6502
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6610,12 +6504,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6610
6504
|
return obj;
|
|
6611
6505
|
};
|
|
6612
6506
|
}
|
|
6613
|
-
proto.
|
|
6507
|
+
proto.AssistantConversationPhoneCallTransferAction.deserializeBinary = function(bytes) {
|
|
6614
6508
|
var reader = new jspb.BinaryReader(bytes);
|
|
6615
|
-
var msg = new proto.
|
|
6616
|
-
return proto.
|
|
6509
|
+
var msg = new proto.AssistantConversationPhoneCallTransferAction();
|
|
6510
|
+
return proto.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader(msg, reader);
|
|
6617
6511
|
};
|
|
6618
|
-
proto.
|
|
6512
|
+
proto.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6619
6513
|
while (reader.nextField()) {
|
|
6620
6514
|
if (reader.isEndGroup()) {
|
|
6621
6515
|
break;
|
|
@@ -6629,19 +6523,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6629
6523
|
}
|
|
6630
6524
|
return msg;
|
|
6631
6525
|
};
|
|
6632
|
-
proto.
|
|
6526
|
+
proto.AssistantConversationPhoneCallTransferAction.prototype.serializeBinary = function() {
|
|
6633
6527
|
var writer = new jspb.BinaryWriter();
|
|
6634
|
-
proto.
|
|
6528
|
+
proto.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter(this, writer);
|
|
6635
6529
|
return writer.getResultBuffer();
|
|
6636
6530
|
};
|
|
6637
|
-
proto.
|
|
6531
|
+
proto.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter = function(message, writer) {
|
|
6638
6532
|
var f = void 0;
|
|
6639
6533
|
};
|
|
6640
6534
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6641
|
-
proto.
|
|
6642
|
-
return proto.
|
|
6535
|
+
proto.AssistantConversationInterruption.prototype.toObject = function(opt_includeInstance) {
|
|
6536
|
+
return proto.AssistantConversationInterruption.toObject(opt_includeInstance, this);
|
|
6643
6537
|
};
|
|
6644
|
-
proto.
|
|
6538
|
+
proto.AssistantConversationInterruption.toObject = function(includeInstance, msg) {
|
|
6645
6539
|
var f, obj = {
|
|
6646
6540
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6647
6541
|
type: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -6653,12 +6547,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6653
6547
|
return obj;
|
|
6654
6548
|
};
|
|
6655
6549
|
}
|
|
6656
|
-
proto.
|
|
6550
|
+
proto.AssistantConversationInterruption.deserializeBinary = function(bytes) {
|
|
6657
6551
|
var reader = new jspb.BinaryReader(bytes);
|
|
6658
|
-
var msg = new proto.
|
|
6659
|
-
return proto.
|
|
6552
|
+
var msg = new proto.AssistantConversationInterruption();
|
|
6553
|
+
return proto.AssistantConversationInterruption.deserializeBinaryFromReader(msg, reader);
|
|
6660
6554
|
};
|
|
6661
|
-
proto.
|
|
6555
|
+
proto.AssistantConversationInterruption.deserializeBinaryFromReader = function(msg, reader) {
|
|
6662
6556
|
while (reader.nextField()) {
|
|
6663
6557
|
if (reader.isEndGroup()) {
|
|
6664
6558
|
break;
|
|
@@ -6674,7 +6568,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
6674
6568
|
break;
|
|
6675
6569
|
case 2:
|
|
6676
6570
|
var value = (
|
|
6677
|
-
/** @type {!proto.
|
|
6571
|
+
/** @type {!proto.AssistantConversationInterruption.InterruptionType} */
|
|
6678
6572
|
reader.readEnum()
|
|
6679
6573
|
);
|
|
6680
6574
|
msg.setType(value);
|
|
@@ -6691,12 +6585,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6691
6585
|
}
|
|
6692
6586
|
return msg;
|
|
6693
6587
|
};
|
|
6694
|
-
proto.
|
|
6588
|
+
proto.AssistantConversationInterruption.prototype.serializeBinary = function() {
|
|
6695
6589
|
var writer = new jspb.BinaryWriter();
|
|
6696
|
-
proto.
|
|
6590
|
+
proto.AssistantConversationInterruption.serializeBinaryToWriter(this, writer);
|
|
6697
6591
|
return writer.getResultBuffer();
|
|
6698
6592
|
};
|
|
6699
|
-
proto.
|
|
6593
|
+
proto.AssistantConversationInterruption.serializeBinaryToWriter = function(message, writer) {
|
|
6700
6594
|
var f = void 0;
|
|
6701
6595
|
f = message.getId();
|
|
6702
6596
|
if (f.length > 0) {
|
|
@@ -6721,49 +6615,49 @@ var require_talk_api_pb = __commonJS({
|
|
|
6721
6615
|
);
|
|
6722
6616
|
}
|
|
6723
6617
|
};
|
|
6724
|
-
proto.
|
|
6618
|
+
proto.AssistantConversationInterruption.InterruptionType = {
|
|
6725
6619
|
INTERRUPTION_TYPE_UNSPECIFIED: 0,
|
|
6726
6620
|
INTERRUPTION_TYPE_VAD: 1,
|
|
6727
6621
|
INTERRUPTION_TYPE_WORD: 2
|
|
6728
6622
|
};
|
|
6729
|
-
proto.
|
|
6623
|
+
proto.AssistantConversationInterruption.prototype.getId = function() {
|
|
6730
6624
|
return (
|
|
6731
6625
|
/** @type {string} */
|
|
6732
6626
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6733
6627
|
);
|
|
6734
6628
|
};
|
|
6735
|
-
proto.
|
|
6629
|
+
proto.AssistantConversationInterruption.prototype.setId = function(value) {
|
|
6736
6630
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6737
6631
|
};
|
|
6738
|
-
proto.
|
|
6632
|
+
proto.AssistantConversationInterruption.prototype.getType = function() {
|
|
6739
6633
|
return (
|
|
6740
|
-
/** @type {!proto.
|
|
6634
|
+
/** @type {!proto.AssistantConversationInterruption.InterruptionType} */
|
|
6741
6635
|
jspb.Message.getFieldWithDefault(this, 2, 0)
|
|
6742
6636
|
);
|
|
6743
6637
|
};
|
|
6744
|
-
proto.
|
|
6638
|
+
proto.AssistantConversationInterruption.prototype.setType = function(value) {
|
|
6745
6639
|
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
6746
6640
|
};
|
|
6747
|
-
proto.
|
|
6641
|
+
proto.AssistantConversationInterruption.prototype.getTime = function() {
|
|
6748
6642
|
return (
|
|
6749
6643
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
6750
6644
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)
|
|
6751
6645
|
);
|
|
6752
6646
|
};
|
|
6753
|
-
proto.
|
|
6647
|
+
proto.AssistantConversationInterruption.prototype.setTime = function(value) {
|
|
6754
6648
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
6755
6649
|
};
|
|
6756
|
-
proto.
|
|
6650
|
+
proto.AssistantConversationInterruption.prototype.clearTime = function() {
|
|
6757
6651
|
return this.setTime(void 0);
|
|
6758
6652
|
};
|
|
6759
|
-
proto.
|
|
6653
|
+
proto.AssistantConversationInterruption.prototype.hasTime = function() {
|
|
6760
6654
|
return jspb.Message.getField(this, 3) != null;
|
|
6761
6655
|
};
|
|
6762
6656
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6763
|
-
proto.
|
|
6764
|
-
return proto.
|
|
6657
|
+
proto.AssistantConversationMessageTextContent.prototype.toObject = function(opt_includeInstance) {
|
|
6658
|
+
return proto.AssistantConversationMessageTextContent.toObject(opt_includeInstance, this);
|
|
6765
6659
|
};
|
|
6766
|
-
proto.
|
|
6660
|
+
proto.AssistantConversationMessageTextContent.toObject = function(includeInstance, msg) {
|
|
6767
6661
|
var f, obj = {
|
|
6768
6662
|
content: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6769
6663
|
};
|
|
@@ -6773,12 +6667,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6773
6667
|
return obj;
|
|
6774
6668
|
};
|
|
6775
6669
|
}
|
|
6776
|
-
proto.
|
|
6670
|
+
proto.AssistantConversationMessageTextContent.deserializeBinary = function(bytes) {
|
|
6777
6671
|
var reader = new jspb.BinaryReader(bytes);
|
|
6778
|
-
var msg = new proto.
|
|
6779
|
-
return proto.
|
|
6672
|
+
var msg = new proto.AssistantConversationMessageTextContent();
|
|
6673
|
+
return proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader(msg, reader);
|
|
6780
6674
|
};
|
|
6781
|
-
proto.
|
|
6675
|
+
proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader = function(msg, reader) {
|
|
6782
6676
|
while (reader.nextField()) {
|
|
6783
6677
|
if (reader.isEndGroup()) {
|
|
6784
6678
|
break;
|
|
@@ -6799,12 +6693,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6799
6693
|
}
|
|
6800
6694
|
return msg;
|
|
6801
6695
|
};
|
|
6802
|
-
proto.
|
|
6696
|
+
proto.AssistantConversationMessageTextContent.prototype.serializeBinary = function() {
|
|
6803
6697
|
var writer = new jspb.BinaryWriter();
|
|
6804
|
-
proto.
|
|
6698
|
+
proto.AssistantConversationMessageTextContent.serializeBinaryToWriter(this, writer);
|
|
6805
6699
|
return writer.getResultBuffer();
|
|
6806
6700
|
};
|
|
6807
|
-
proto.
|
|
6701
|
+
proto.AssistantConversationMessageTextContent.serializeBinaryToWriter = function(message, writer) {
|
|
6808
6702
|
var f = void 0;
|
|
6809
6703
|
f = message.getContent();
|
|
6810
6704
|
if (f.length > 0) {
|
|
@@ -6814,20 +6708,20 @@ var require_talk_api_pb = __commonJS({
|
|
|
6814
6708
|
);
|
|
6815
6709
|
}
|
|
6816
6710
|
};
|
|
6817
|
-
proto.
|
|
6711
|
+
proto.AssistantConversationMessageTextContent.prototype.getContent = function() {
|
|
6818
6712
|
return (
|
|
6819
6713
|
/** @type {string} */
|
|
6820
6714
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6821
6715
|
);
|
|
6822
6716
|
};
|
|
6823
|
-
proto.
|
|
6717
|
+
proto.AssistantConversationMessageTextContent.prototype.setContent = function(value) {
|
|
6824
6718
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6825
6719
|
};
|
|
6826
6720
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6827
|
-
proto.
|
|
6828
|
-
return proto.
|
|
6721
|
+
proto.AssistantConversationMessageAudioContent.prototype.toObject = function(opt_includeInstance) {
|
|
6722
|
+
return proto.AssistantConversationMessageAudioContent.toObject(opt_includeInstance, this);
|
|
6829
6723
|
};
|
|
6830
|
-
proto.
|
|
6724
|
+
proto.AssistantConversationMessageAudioContent.toObject = function(includeInstance, msg) {
|
|
6831
6725
|
var f, obj = {
|
|
6832
6726
|
content: msg.getContent_asB64()
|
|
6833
6727
|
};
|
|
@@ -6837,12 +6731,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6837
6731
|
return obj;
|
|
6838
6732
|
};
|
|
6839
6733
|
}
|
|
6840
|
-
proto.
|
|
6734
|
+
proto.AssistantConversationMessageAudioContent.deserializeBinary = function(bytes) {
|
|
6841
6735
|
var reader = new jspb.BinaryReader(bytes);
|
|
6842
|
-
var msg = new proto.
|
|
6843
|
-
return proto.
|
|
6736
|
+
var msg = new proto.AssistantConversationMessageAudioContent();
|
|
6737
|
+
return proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader(msg, reader);
|
|
6844
6738
|
};
|
|
6845
|
-
proto.
|
|
6739
|
+
proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader = function(msg, reader) {
|
|
6846
6740
|
while (reader.nextField()) {
|
|
6847
6741
|
if (reader.isEndGroup()) {
|
|
6848
6742
|
break;
|
|
@@ -6863,12 +6757,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6863
6757
|
}
|
|
6864
6758
|
return msg;
|
|
6865
6759
|
};
|
|
6866
|
-
proto.
|
|
6760
|
+
proto.AssistantConversationMessageAudioContent.prototype.serializeBinary = function() {
|
|
6867
6761
|
var writer = new jspb.BinaryWriter();
|
|
6868
|
-
proto.
|
|
6762
|
+
proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter(this, writer);
|
|
6869
6763
|
return writer.getResultBuffer();
|
|
6870
6764
|
};
|
|
6871
|
-
proto.
|
|
6765
|
+
proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter = function(message, writer) {
|
|
6872
6766
|
var f = void 0;
|
|
6873
6767
|
f = message.getContent_asU8();
|
|
6874
6768
|
if (f.length > 0) {
|
|
@@ -6878,13 +6772,13 @@ var require_talk_api_pb = __commonJS({
|
|
|
6878
6772
|
);
|
|
6879
6773
|
}
|
|
6880
6774
|
};
|
|
6881
|
-
proto.
|
|
6775
|
+
proto.AssistantConversationMessageAudioContent.prototype.getContent = function() {
|
|
6882
6776
|
return (
|
|
6883
6777
|
/** @type {!(string|Uint8Array)} */
|
|
6884
6778
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6885
6779
|
);
|
|
6886
6780
|
};
|
|
6887
|
-
proto.
|
|
6781
|
+
proto.AssistantConversationMessageAudioContent.prototype.getContent_asB64 = function() {
|
|
6888
6782
|
return (
|
|
6889
6783
|
/** @type {string} */
|
|
6890
6784
|
jspb.Message.bytesAsB64(
|
|
@@ -6892,7 +6786,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
6892
6786
|
)
|
|
6893
6787
|
);
|
|
6894
6788
|
};
|
|
6895
|
-
proto.
|
|
6789
|
+
proto.AssistantConversationMessageAudioContent.prototype.getContent_asU8 = function() {
|
|
6896
6790
|
return (
|
|
6897
6791
|
/** @type {!Uint8Array} */
|
|
6898
6792
|
jspb.Message.bytesAsU8(
|
|
@@ -6900,29 +6794,29 @@ var require_talk_api_pb = __commonJS({
|
|
|
6900
6794
|
)
|
|
6901
6795
|
);
|
|
6902
6796
|
};
|
|
6903
|
-
proto.
|
|
6797
|
+
proto.AssistantConversationMessageAudioContent.prototype.setContent = function(value) {
|
|
6904
6798
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
6905
6799
|
};
|
|
6906
|
-
proto.
|
|
6907
|
-
proto.
|
|
6800
|
+
proto.AssistantConversationUserMessage.oneofGroups_ = [[10, 11]];
|
|
6801
|
+
proto.AssistantConversationUserMessage.MessageCase = {
|
|
6908
6802
|
MESSAGE_NOT_SET: 0,
|
|
6909
6803
|
AUDIO: 10,
|
|
6910
6804
|
TEXT: 11
|
|
6911
6805
|
};
|
|
6912
|
-
proto.
|
|
6806
|
+
proto.AssistantConversationUserMessage.prototype.getMessageCase = function() {
|
|
6913
6807
|
return (
|
|
6914
|
-
/** @type {proto.
|
|
6915
|
-
jspb.Message.computeOneofCase(this, proto.
|
|
6808
|
+
/** @type {proto.AssistantConversationUserMessage.MessageCase} */
|
|
6809
|
+
jspb.Message.computeOneofCase(this, proto.AssistantConversationUserMessage.oneofGroups_[0])
|
|
6916
6810
|
);
|
|
6917
6811
|
};
|
|
6918
6812
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6919
|
-
proto.
|
|
6920
|
-
return proto.
|
|
6813
|
+
proto.AssistantConversationUserMessage.prototype.toObject = function(opt_includeInstance) {
|
|
6814
|
+
return proto.AssistantConversationUserMessage.toObject(opt_includeInstance, this);
|
|
6921
6815
|
};
|
|
6922
|
-
proto.
|
|
6816
|
+
proto.AssistantConversationUserMessage.toObject = function(includeInstance, msg) {
|
|
6923
6817
|
var f, obj = {
|
|
6924
|
-
audio: (f = msg.getAudio()) && proto.
|
|
6925
|
-
text: (f = msg.getText()) && proto.
|
|
6818
|
+
audio: (f = msg.getAudio()) && proto.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
|
|
6819
|
+
text: (f = msg.getText()) && proto.AssistantConversationMessageTextContent.toObject(includeInstance, f),
|
|
6926
6820
|
id: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6927
6821
|
completed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
6928
6822
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
@@ -6933,12 +6827,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6933
6827
|
return obj;
|
|
6934
6828
|
};
|
|
6935
6829
|
}
|
|
6936
|
-
proto.
|
|
6830
|
+
proto.AssistantConversationUserMessage.deserializeBinary = function(bytes) {
|
|
6937
6831
|
var reader = new jspb.BinaryReader(bytes);
|
|
6938
|
-
var msg = new proto.
|
|
6939
|
-
return proto.
|
|
6832
|
+
var msg = new proto.AssistantConversationUserMessage();
|
|
6833
|
+
return proto.AssistantConversationUserMessage.deserializeBinaryFromReader(msg, reader);
|
|
6940
6834
|
};
|
|
6941
|
-
proto.
|
|
6835
|
+
proto.AssistantConversationUserMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
6942
6836
|
while (reader.nextField()) {
|
|
6943
6837
|
if (reader.isEndGroup()) {
|
|
6944
6838
|
break;
|
|
@@ -6946,13 +6840,13 @@ var require_talk_api_pb = __commonJS({
|
|
|
6946
6840
|
var field = reader.getFieldNumber();
|
|
6947
6841
|
switch (field) {
|
|
6948
6842
|
case 10:
|
|
6949
|
-
var value = new proto.
|
|
6950
|
-
reader.readMessage(value, proto.
|
|
6843
|
+
var value = new proto.AssistantConversationMessageAudioContent();
|
|
6844
|
+
reader.readMessage(value, proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
|
|
6951
6845
|
msg.setAudio(value);
|
|
6952
6846
|
break;
|
|
6953
6847
|
case 11:
|
|
6954
|
-
var value = new proto.
|
|
6955
|
-
reader.readMessage(value, proto.
|
|
6848
|
+
var value = new proto.AssistantConversationMessageTextContent();
|
|
6849
|
+
reader.readMessage(value, proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
|
|
6956
6850
|
msg.setText(value);
|
|
6957
6851
|
break;
|
|
6958
6852
|
case 2:
|
|
@@ -6981,19 +6875,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6981
6875
|
}
|
|
6982
6876
|
return msg;
|
|
6983
6877
|
};
|
|
6984
|
-
proto.
|
|
6878
|
+
proto.AssistantConversationUserMessage.prototype.serializeBinary = function() {
|
|
6985
6879
|
var writer = new jspb.BinaryWriter();
|
|
6986
|
-
proto.
|
|
6880
|
+
proto.AssistantConversationUserMessage.serializeBinaryToWriter(this, writer);
|
|
6987
6881
|
return writer.getResultBuffer();
|
|
6988
6882
|
};
|
|
6989
|
-
proto.
|
|
6883
|
+
proto.AssistantConversationUserMessage.serializeBinaryToWriter = function(message, writer) {
|
|
6990
6884
|
var f = void 0;
|
|
6991
6885
|
f = message.getAudio();
|
|
6992
6886
|
if (f != null) {
|
|
6993
6887
|
writer.writeMessage(
|
|
6994
6888
|
10,
|
|
6995
6889
|
f,
|
|
6996
|
-
proto.
|
|
6890
|
+
proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter
|
|
6997
6891
|
);
|
|
6998
6892
|
}
|
|
6999
6893
|
f = message.getText();
|
|
@@ -7001,7 +6895,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7001
6895
|
writer.writeMessage(
|
|
7002
6896
|
11,
|
|
7003
6897
|
f,
|
|
7004
|
-
proto.
|
|
6898
|
+
proto.AssistantConversationMessageTextContent.serializeBinaryToWriter
|
|
7005
6899
|
);
|
|
7006
6900
|
}
|
|
7007
6901
|
f = message.getId();
|
|
@@ -7027,89 +6921,89 @@ var require_talk_api_pb = __commonJS({
|
|
|
7027
6921
|
);
|
|
7028
6922
|
}
|
|
7029
6923
|
};
|
|
7030
|
-
proto.
|
|
6924
|
+
proto.AssistantConversationUserMessage.prototype.getAudio = function() {
|
|
7031
6925
|
return (
|
|
7032
|
-
/** @type{?proto.
|
|
7033
|
-
jspb.Message.getWrapperField(this, proto.
|
|
6926
|
+
/** @type{?proto.AssistantConversationMessageAudioContent} */
|
|
6927
|
+
jspb.Message.getWrapperField(this, proto.AssistantConversationMessageAudioContent, 10)
|
|
7034
6928
|
);
|
|
7035
6929
|
};
|
|
7036
|
-
proto.
|
|
7037
|
-
return jspb.Message.setOneofWrapperField(this, 10, proto.
|
|
6930
|
+
proto.AssistantConversationUserMessage.prototype.setAudio = function(value) {
|
|
6931
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.AssistantConversationUserMessage.oneofGroups_[0], value);
|
|
7038
6932
|
};
|
|
7039
|
-
proto.
|
|
6933
|
+
proto.AssistantConversationUserMessage.prototype.clearAudio = function() {
|
|
7040
6934
|
return this.setAudio(void 0);
|
|
7041
6935
|
};
|
|
7042
|
-
proto.
|
|
6936
|
+
proto.AssistantConversationUserMessage.prototype.hasAudio = function() {
|
|
7043
6937
|
return jspb.Message.getField(this, 10) != null;
|
|
7044
6938
|
};
|
|
7045
|
-
proto.
|
|
6939
|
+
proto.AssistantConversationUserMessage.prototype.getText = function() {
|
|
7046
6940
|
return (
|
|
7047
|
-
/** @type{?proto.
|
|
7048
|
-
jspb.Message.getWrapperField(this, proto.
|
|
6941
|
+
/** @type{?proto.AssistantConversationMessageTextContent} */
|
|
6942
|
+
jspb.Message.getWrapperField(this, proto.AssistantConversationMessageTextContent, 11)
|
|
7049
6943
|
);
|
|
7050
6944
|
};
|
|
7051
|
-
proto.
|
|
7052
|
-
return jspb.Message.setOneofWrapperField(this, 11, proto.
|
|
6945
|
+
proto.AssistantConversationUserMessage.prototype.setText = function(value) {
|
|
6946
|
+
return jspb.Message.setOneofWrapperField(this, 11, proto.AssistantConversationUserMessage.oneofGroups_[0], value);
|
|
7053
6947
|
};
|
|
7054
|
-
proto.
|
|
6948
|
+
proto.AssistantConversationUserMessage.prototype.clearText = function() {
|
|
7055
6949
|
return this.setText(void 0);
|
|
7056
6950
|
};
|
|
7057
|
-
proto.
|
|
6951
|
+
proto.AssistantConversationUserMessage.prototype.hasText = function() {
|
|
7058
6952
|
return jspb.Message.getField(this, 11) != null;
|
|
7059
6953
|
};
|
|
7060
|
-
proto.
|
|
6954
|
+
proto.AssistantConversationUserMessage.prototype.getId = function() {
|
|
7061
6955
|
return (
|
|
7062
6956
|
/** @type {string} */
|
|
7063
6957
|
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
7064
6958
|
);
|
|
7065
6959
|
};
|
|
7066
|
-
proto.
|
|
6960
|
+
proto.AssistantConversationUserMessage.prototype.setId = function(value) {
|
|
7067
6961
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7068
6962
|
};
|
|
7069
|
-
proto.
|
|
6963
|
+
proto.AssistantConversationUserMessage.prototype.getCompleted = function() {
|
|
7070
6964
|
return (
|
|
7071
6965
|
/** @type {boolean} */
|
|
7072
6966
|
jspb.Message.getBooleanFieldWithDefault(this, 3, false)
|
|
7073
6967
|
);
|
|
7074
6968
|
};
|
|
7075
|
-
proto.
|
|
6969
|
+
proto.AssistantConversationUserMessage.prototype.setCompleted = function(value) {
|
|
7076
6970
|
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
7077
6971
|
};
|
|
7078
|
-
proto.
|
|
6972
|
+
proto.AssistantConversationUserMessage.prototype.getTime = function() {
|
|
7079
6973
|
return (
|
|
7080
6974
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
7081
6975
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)
|
|
7082
6976
|
);
|
|
7083
6977
|
};
|
|
7084
|
-
proto.
|
|
6978
|
+
proto.AssistantConversationUserMessage.prototype.setTime = function(value) {
|
|
7085
6979
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
7086
6980
|
};
|
|
7087
|
-
proto.
|
|
6981
|
+
proto.AssistantConversationUserMessage.prototype.clearTime = function() {
|
|
7088
6982
|
return this.setTime(void 0);
|
|
7089
6983
|
};
|
|
7090
|
-
proto.
|
|
6984
|
+
proto.AssistantConversationUserMessage.prototype.hasTime = function() {
|
|
7091
6985
|
return jspb.Message.getField(this, 4) != null;
|
|
7092
6986
|
};
|
|
7093
|
-
proto.
|
|
7094
|
-
proto.
|
|
6987
|
+
proto.AssistantConversationAssistantMessage.oneofGroups_ = [[10, 11]];
|
|
6988
|
+
proto.AssistantConversationAssistantMessage.MessageCase = {
|
|
7095
6989
|
MESSAGE_NOT_SET: 0,
|
|
7096
6990
|
AUDIO: 10,
|
|
7097
6991
|
TEXT: 11
|
|
7098
6992
|
};
|
|
7099
|
-
proto.
|
|
6993
|
+
proto.AssistantConversationAssistantMessage.prototype.getMessageCase = function() {
|
|
7100
6994
|
return (
|
|
7101
|
-
/** @type {proto.
|
|
7102
|
-
jspb.Message.computeOneofCase(this, proto.
|
|
6995
|
+
/** @type {proto.AssistantConversationAssistantMessage.MessageCase} */
|
|
6996
|
+
jspb.Message.computeOneofCase(this, proto.AssistantConversationAssistantMessage.oneofGroups_[0])
|
|
7103
6997
|
);
|
|
7104
6998
|
};
|
|
7105
6999
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7106
|
-
proto.
|
|
7107
|
-
return proto.
|
|
7000
|
+
proto.AssistantConversationAssistantMessage.prototype.toObject = function(opt_includeInstance) {
|
|
7001
|
+
return proto.AssistantConversationAssistantMessage.toObject(opt_includeInstance, this);
|
|
7108
7002
|
};
|
|
7109
|
-
proto.
|
|
7003
|
+
proto.AssistantConversationAssistantMessage.toObject = function(includeInstance, msg) {
|
|
7110
7004
|
var f, obj = {
|
|
7111
|
-
audio: (f = msg.getAudio()) && proto.
|
|
7112
|
-
text: (f = msg.getText()) && proto.
|
|
7005
|
+
audio: (f = msg.getAudio()) && proto.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
|
|
7006
|
+
text: (f = msg.getText()) && proto.AssistantConversationMessageTextContent.toObject(includeInstance, f),
|
|
7113
7007
|
id: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7114
7008
|
completed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
7115
7009
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
@@ -7120,12 +7014,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
7120
7014
|
return obj;
|
|
7121
7015
|
};
|
|
7122
7016
|
}
|
|
7123
|
-
proto.
|
|
7017
|
+
proto.AssistantConversationAssistantMessage.deserializeBinary = function(bytes) {
|
|
7124
7018
|
var reader = new jspb.BinaryReader(bytes);
|
|
7125
|
-
var msg = new proto.
|
|
7126
|
-
return proto.
|
|
7019
|
+
var msg = new proto.AssistantConversationAssistantMessage();
|
|
7020
|
+
return proto.AssistantConversationAssistantMessage.deserializeBinaryFromReader(msg, reader);
|
|
7127
7021
|
};
|
|
7128
|
-
proto.
|
|
7022
|
+
proto.AssistantConversationAssistantMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
7129
7023
|
while (reader.nextField()) {
|
|
7130
7024
|
if (reader.isEndGroup()) {
|
|
7131
7025
|
break;
|
|
@@ -7133,13 +7027,13 @@ var require_talk_api_pb = __commonJS({
|
|
|
7133
7027
|
var field = reader.getFieldNumber();
|
|
7134
7028
|
switch (field) {
|
|
7135
7029
|
case 10:
|
|
7136
|
-
var value = new proto.
|
|
7137
|
-
reader.readMessage(value, proto.
|
|
7030
|
+
var value = new proto.AssistantConversationMessageAudioContent();
|
|
7031
|
+
reader.readMessage(value, proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
|
|
7138
7032
|
msg.setAudio(value);
|
|
7139
7033
|
break;
|
|
7140
7034
|
case 11:
|
|
7141
|
-
var value = new proto.
|
|
7142
|
-
reader.readMessage(value, proto.
|
|
7035
|
+
var value = new proto.AssistantConversationMessageTextContent();
|
|
7036
|
+
reader.readMessage(value, proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
|
|
7143
7037
|
msg.setText(value);
|
|
7144
7038
|
break;
|
|
7145
7039
|
case 2:
|
|
@@ -7168,19 +7062,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
7168
7062
|
}
|
|
7169
7063
|
return msg;
|
|
7170
7064
|
};
|
|
7171
|
-
proto.
|
|
7065
|
+
proto.AssistantConversationAssistantMessage.prototype.serializeBinary = function() {
|
|
7172
7066
|
var writer = new jspb.BinaryWriter();
|
|
7173
|
-
proto.
|
|
7067
|
+
proto.AssistantConversationAssistantMessage.serializeBinaryToWriter(this, writer);
|
|
7174
7068
|
return writer.getResultBuffer();
|
|
7175
7069
|
};
|
|
7176
|
-
proto.
|
|
7070
|
+
proto.AssistantConversationAssistantMessage.serializeBinaryToWriter = function(message, writer) {
|
|
7177
7071
|
var f = void 0;
|
|
7178
7072
|
f = message.getAudio();
|
|
7179
7073
|
if (f != null) {
|
|
7180
7074
|
writer.writeMessage(
|
|
7181
7075
|
10,
|
|
7182
7076
|
f,
|
|
7183
|
-
proto.
|
|
7077
|
+
proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter
|
|
7184
7078
|
);
|
|
7185
7079
|
}
|
|
7186
7080
|
f = message.getText();
|
|
@@ -7188,7 +7082,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7188
7082
|
writer.writeMessage(
|
|
7189
7083
|
11,
|
|
7190
7084
|
f,
|
|
7191
|
-
proto.
|
|
7085
|
+
proto.AssistantConversationMessageTextContent.serializeBinaryToWriter
|
|
7192
7086
|
);
|
|
7193
7087
|
}
|
|
7194
7088
|
f = message.getId();
|
|
@@ -7214,69 +7108,175 @@ var require_talk_api_pb = __commonJS({
|
|
|
7214
7108
|
);
|
|
7215
7109
|
}
|
|
7216
7110
|
};
|
|
7217
|
-
proto.
|
|
7111
|
+
proto.AssistantConversationAssistantMessage.prototype.getAudio = function() {
|
|
7218
7112
|
return (
|
|
7219
|
-
/** @type{?proto.
|
|
7220
|
-
jspb.Message.getWrapperField(this, proto.
|
|
7113
|
+
/** @type{?proto.AssistantConversationMessageAudioContent} */
|
|
7114
|
+
jspb.Message.getWrapperField(this, proto.AssistantConversationMessageAudioContent, 10)
|
|
7221
7115
|
);
|
|
7222
7116
|
};
|
|
7223
|
-
proto.
|
|
7224
|
-
return jspb.Message.setOneofWrapperField(this, 10, proto.
|
|
7117
|
+
proto.AssistantConversationAssistantMessage.prototype.setAudio = function(value) {
|
|
7118
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.AssistantConversationAssistantMessage.oneofGroups_[0], value);
|
|
7225
7119
|
};
|
|
7226
|
-
proto.
|
|
7120
|
+
proto.AssistantConversationAssistantMessage.prototype.clearAudio = function() {
|
|
7227
7121
|
return this.setAudio(void 0);
|
|
7228
7122
|
};
|
|
7229
|
-
proto.
|
|
7123
|
+
proto.AssistantConversationAssistantMessage.prototype.hasAudio = function() {
|
|
7230
7124
|
return jspb.Message.getField(this, 10) != null;
|
|
7231
7125
|
};
|
|
7232
|
-
proto.
|
|
7126
|
+
proto.AssistantConversationAssistantMessage.prototype.getText = function() {
|
|
7233
7127
|
return (
|
|
7234
|
-
/** @type{?proto.
|
|
7235
|
-
jspb.Message.getWrapperField(this, proto.
|
|
7128
|
+
/** @type{?proto.AssistantConversationMessageTextContent} */
|
|
7129
|
+
jspb.Message.getWrapperField(this, proto.AssistantConversationMessageTextContent, 11)
|
|
7236
7130
|
);
|
|
7237
7131
|
};
|
|
7238
|
-
proto.
|
|
7239
|
-
return jspb.Message.setOneofWrapperField(this, 11, proto.
|
|
7132
|
+
proto.AssistantConversationAssistantMessage.prototype.setText = function(value) {
|
|
7133
|
+
return jspb.Message.setOneofWrapperField(this, 11, proto.AssistantConversationAssistantMessage.oneofGroups_[0], value);
|
|
7240
7134
|
};
|
|
7241
|
-
proto.
|
|
7135
|
+
proto.AssistantConversationAssistantMessage.prototype.clearText = function() {
|
|
7242
7136
|
return this.setText(void 0);
|
|
7243
7137
|
};
|
|
7244
|
-
proto.
|
|
7138
|
+
proto.AssistantConversationAssistantMessage.prototype.hasText = function() {
|
|
7245
7139
|
return jspb.Message.getField(this, 11) != null;
|
|
7246
7140
|
};
|
|
7247
|
-
proto.
|
|
7141
|
+
proto.AssistantConversationAssistantMessage.prototype.getId = function() {
|
|
7248
7142
|
return (
|
|
7249
7143
|
/** @type {string} */
|
|
7250
7144
|
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
7251
7145
|
);
|
|
7252
7146
|
};
|
|
7253
|
-
proto.
|
|
7147
|
+
proto.AssistantConversationAssistantMessage.prototype.setId = function(value) {
|
|
7254
7148
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7255
7149
|
};
|
|
7256
|
-
proto.
|
|
7150
|
+
proto.AssistantConversationAssistantMessage.prototype.getCompleted = function() {
|
|
7257
7151
|
return (
|
|
7258
7152
|
/** @type {boolean} */
|
|
7259
7153
|
jspb.Message.getBooleanFieldWithDefault(this, 3, false)
|
|
7260
7154
|
);
|
|
7261
7155
|
};
|
|
7262
|
-
proto.
|
|
7156
|
+
proto.AssistantConversationAssistantMessage.prototype.setCompleted = function(value) {
|
|
7263
7157
|
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
7264
7158
|
};
|
|
7265
|
-
proto.
|
|
7159
|
+
proto.AssistantConversationAssistantMessage.prototype.getTime = function() {
|
|
7266
7160
|
return (
|
|
7267
7161
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
7268
7162
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)
|
|
7269
7163
|
);
|
|
7270
7164
|
};
|
|
7271
|
-
proto.
|
|
7165
|
+
proto.AssistantConversationAssistantMessage.prototype.setTime = function(value) {
|
|
7272
7166
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
7273
7167
|
};
|
|
7274
|
-
proto.
|
|
7168
|
+
proto.AssistantConversationAssistantMessage.prototype.clearTime = function() {
|
|
7275
7169
|
return this.setTime(void 0);
|
|
7276
7170
|
};
|
|
7277
|
-
proto.
|
|
7171
|
+
proto.AssistantConversationAssistantMessage.prototype.hasTime = function() {
|
|
7278
7172
|
return jspb.Message.getField(this, 4) != null;
|
|
7279
7173
|
};
|
|
7174
|
+
proto.Source = {
|
|
7175
|
+
WEB_PLUGIN: 0,
|
|
7176
|
+
DEBUGGER: 1,
|
|
7177
|
+
SDK: 2,
|
|
7178
|
+
PHONE_CALL: 3,
|
|
7179
|
+
WHATSAPP: 4
|
|
7180
|
+
};
|
|
7181
|
+
goog.object.extend(exports, proto);
|
|
7182
|
+
}
|
|
7183
|
+
});
|
|
7184
|
+
|
|
7185
|
+
// src/clients/protos/talk-api_pb.js
|
|
7186
|
+
var require_talk_api_pb = __commonJS({
|
|
7187
|
+
"src/clients/protos/talk-api_pb.js"(exports) {
|
|
7188
|
+
"use strict";
|
|
7189
|
+
var jspb = __require("google-protobuf");
|
|
7190
|
+
var goog = jspb;
|
|
7191
|
+
var global = function() {
|
|
7192
|
+
return this || window || global || self || Function("return this")();
|
|
7193
|
+
}.call(null);
|
|
7194
|
+
var google_protobuf_any_pb = __require("google-protobuf/google/protobuf/any_pb.js");
|
|
7195
|
+
goog.object.extend(proto, google_protobuf_any_pb);
|
|
7196
|
+
var common_pb = require_common_pb();
|
|
7197
|
+
goog.object.extend(proto, common_pb);
|
|
7198
|
+
goog.exportSymbol("proto.talk_api.AssistantMessagingRequest", null, global);
|
|
7199
|
+
goog.exportSymbol("proto.talk_api.AssistantMessagingRequest.RequestCase", null, global);
|
|
7200
|
+
goog.exportSymbol("proto.talk_api.AssistantMessagingResponse", null, global);
|
|
7201
|
+
goog.exportSymbol("proto.talk_api.AssistantMessagingResponse.DataCase", null, global);
|
|
7202
|
+
goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallRequest", null, global);
|
|
7203
|
+
goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallResponse", null, global);
|
|
7204
|
+
goog.exportSymbol("proto.talk_api.CreateConversationMetricRequest", null, global);
|
|
7205
|
+
goog.exportSymbol("proto.talk_api.CreateConversationMetricResponse", null, global);
|
|
7206
|
+
goog.exportSymbol("proto.talk_api.CreateMessageMetricRequest", null, global);
|
|
7207
|
+
goog.exportSymbol("proto.talk_api.CreateMessageMetricResponse", null, global);
|
|
7208
|
+
goog.exportSymbol("proto.talk_api.CreatePhoneCallRequest", null, global);
|
|
7209
|
+
goog.exportSymbol("proto.talk_api.CreatePhoneCallResponse", null, global);
|
|
7210
|
+
proto.talk_api.AssistantMessagingRequest = function(opt_data) {
|
|
7211
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingRequest.oneofGroups_);
|
|
7212
|
+
};
|
|
7213
|
+
goog.inherits(proto.talk_api.AssistantMessagingRequest, jspb.Message);
|
|
7214
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7215
|
+
proto.talk_api.AssistantMessagingRequest.displayName = "proto.talk_api.AssistantMessagingRequest";
|
|
7216
|
+
}
|
|
7217
|
+
proto.talk_api.AssistantMessagingResponse = function(opt_data) {
|
|
7218
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingResponse.oneofGroups_);
|
|
7219
|
+
};
|
|
7220
|
+
goog.inherits(proto.talk_api.AssistantMessagingResponse, jspb.Message);
|
|
7221
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7222
|
+
proto.talk_api.AssistantMessagingResponse.displayName = "proto.talk_api.AssistantMessagingResponse";
|
|
7223
|
+
}
|
|
7224
|
+
proto.talk_api.CreateMessageMetricRequest = function(opt_data) {
|
|
7225
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricRequest.repeatedFields_, null);
|
|
7226
|
+
};
|
|
7227
|
+
goog.inherits(proto.talk_api.CreateMessageMetricRequest, jspb.Message);
|
|
7228
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7229
|
+
proto.talk_api.CreateMessageMetricRequest.displayName = "proto.talk_api.CreateMessageMetricRequest";
|
|
7230
|
+
}
|
|
7231
|
+
proto.talk_api.CreateMessageMetricResponse = function(opt_data) {
|
|
7232
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricResponse.repeatedFields_, null);
|
|
7233
|
+
};
|
|
7234
|
+
goog.inherits(proto.talk_api.CreateMessageMetricResponse, jspb.Message);
|
|
7235
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7236
|
+
proto.talk_api.CreateMessageMetricResponse.displayName = "proto.talk_api.CreateMessageMetricResponse";
|
|
7237
|
+
}
|
|
7238
|
+
proto.talk_api.CreateConversationMetricRequest = function(opt_data) {
|
|
7239
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricRequest.repeatedFields_, null);
|
|
7240
|
+
};
|
|
7241
|
+
goog.inherits(proto.talk_api.CreateConversationMetricRequest, jspb.Message);
|
|
7242
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7243
|
+
proto.talk_api.CreateConversationMetricRequest.displayName = "proto.talk_api.CreateConversationMetricRequest";
|
|
7244
|
+
}
|
|
7245
|
+
proto.talk_api.CreateConversationMetricResponse = function(opt_data) {
|
|
7246
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricResponse.repeatedFields_, null);
|
|
7247
|
+
};
|
|
7248
|
+
goog.inherits(proto.talk_api.CreateConversationMetricResponse, jspb.Message);
|
|
7249
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7250
|
+
proto.talk_api.CreateConversationMetricResponse.displayName = "proto.talk_api.CreateConversationMetricResponse";
|
|
7251
|
+
}
|
|
7252
|
+
proto.talk_api.CreatePhoneCallRequest = function(opt_data) {
|
|
7253
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7254
|
+
};
|
|
7255
|
+
goog.inherits(proto.talk_api.CreatePhoneCallRequest, jspb.Message);
|
|
7256
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7257
|
+
proto.talk_api.CreatePhoneCallRequest.displayName = "proto.talk_api.CreatePhoneCallRequest";
|
|
7258
|
+
}
|
|
7259
|
+
proto.talk_api.CreatePhoneCallResponse = function(opt_data) {
|
|
7260
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7261
|
+
};
|
|
7262
|
+
goog.inherits(proto.talk_api.CreatePhoneCallResponse, jspb.Message);
|
|
7263
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7264
|
+
proto.talk_api.CreatePhoneCallResponse.displayName = "proto.talk_api.CreatePhoneCallResponse";
|
|
7265
|
+
}
|
|
7266
|
+
proto.talk_api.CreateBulkPhoneCallRequest = function(opt_data) {
|
|
7267
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallRequest.repeatedFields_, null);
|
|
7268
|
+
};
|
|
7269
|
+
goog.inherits(proto.talk_api.CreateBulkPhoneCallRequest, jspb.Message);
|
|
7270
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7271
|
+
proto.talk_api.CreateBulkPhoneCallRequest.displayName = "proto.talk_api.CreateBulkPhoneCallRequest";
|
|
7272
|
+
}
|
|
7273
|
+
proto.talk_api.CreateBulkPhoneCallResponse = function(opt_data) {
|
|
7274
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallResponse.repeatedFields_, null);
|
|
7275
|
+
};
|
|
7276
|
+
goog.inherits(proto.talk_api.CreateBulkPhoneCallResponse, jspb.Message);
|
|
7277
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7278
|
+
proto.talk_api.CreateBulkPhoneCallResponse.displayName = "proto.talk_api.CreateBulkPhoneCallResponse";
|
|
7279
|
+
}
|
|
7280
7280
|
proto.talk_api.AssistantMessagingRequest.oneofGroups_ = [[2, 3]];
|
|
7281
7281
|
proto.talk_api.AssistantMessagingRequest.RequestCase = {
|
|
7282
7282
|
REQUEST_NOT_SET: 0,
|
|
@@ -7295,8 +7295,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7295
7295
|
};
|
|
7296
7296
|
proto.talk_api.AssistantMessagingRequest.toObject = function(includeInstance, msg) {
|
|
7297
7297
|
var f, obj = {
|
|
7298
|
-
configuration: (f = msg.getConfiguration()) &&
|
|
7299
|
-
message: (f = msg.getMessage()) &&
|
|
7298
|
+
configuration: (f = msg.getConfiguration()) && common_pb.AssistantConversationConfiguration.toObject(includeInstance, f),
|
|
7299
|
+
message: (f = msg.getMessage()) && common_pb.AssistantConversationUserMessage.toObject(includeInstance, f)
|
|
7300
7300
|
};
|
|
7301
7301
|
if (includeInstance) {
|
|
7302
7302
|
obj.$jspbMessageInstance = msg;
|
|
@@ -7317,13 +7317,13 @@ var require_talk_api_pb = __commonJS({
|
|
|
7317
7317
|
var field = reader.getFieldNumber();
|
|
7318
7318
|
switch (field) {
|
|
7319
7319
|
case 2:
|
|
7320
|
-
var value = new
|
|
7321
|
-
reader.readMessage(value,
|
|
7320
|
+
var value = new common_pb.AssistantConversationConfiguration();
|
|
7321
|
+
reader.readMessage(value, common_pb.AssistantConversationConfiguration.deserializeBinaryFromReader);
|
|
7322
7322
|
msg.setConfiguration(value);
|
|
7323
7323
|
break;
|
|
7324
7324
|
case 3:
|
|
7325
|
-
var value = new
|
|
7326
|
-
reader.readMessage(value,
|
|
7325
|
+
var value = new common_pb.AssistantConversationUserMessage();
|
|
7326
|
+
reader.readMessage(value, common_pb.AssistantConversationUserMessage.deserializeBinaryFromReader);
|
|
7327
7327
|
msg.setMessage(value);
|
|
7328
7328
|
break;
|
|
7329
7329
|
default:
|
|
@@ -7345,7 +7345,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7345
7345
|
writer.writeMessage(
|
|
7346
7346
|
2,
|
|
7347
7347
|
f,
|
|
7348
|
-
|
|
7348
|
+
common_pb.AssistantConversationConfiguration.serializeBinaryToWriter
|
|
7349
7349
|
);
|
|
7350
7350
|
}
|
|
7351
7351
|
f = message.getMessage();
|
|
@@ -7353,14 +7353,14 @@ var require_talk_api_pb = __commonJS({
|
|
|
7353
7353
|
writer.writeMessage(
|
|
7354
7354
|
3,
|
|
7355
7355
|
f,
|
|
7356
|
-
|
|
7356
|
+
common_pb.AssistantConversationUserMessage.serializeBinaryToWriter
|
|
7357
7357
|
);
|
|
7358
7358
|
}
|
|
7359
7359
|
};
|
|
7360
7360
|
proto.talk_api.AssistantMessagingRequest.prototype.getConfiguration = function() {
|
|
7361
7361
|
return (
|
|
7362
|
-
/** @type{?proto.
|
|
7363
|
-
jspb.Message.getWrapperField(this,
|
|
7362
|
+
/** @type{?proto.AssistantConversationConfiguration} */
|
|
7363
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationConfiguration, 2)
|
|
7364
7364
|
);
|
|
7365
7365
|
};
|
|
7366
7366
|
proto.talk_api.AssistantMessagingRequest.prototype.setConfiguration = function(value) {
|
|
@@ -7374,8 +7374,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7374
7374
|
};
|
|
7375
7375
|
proto.talk_api.AssistantMessagingRequest.prototype.getMessage = function() {
|
|
7376
7376
|
return (
|
|
7377
|
-
/** @type{?proto.
|
|
7378
|
-
jspb.Message.getWrapperField(this,
|
|
7377
|
+
/** @type{?proto.AssistantConversationUserMessage} */
|
|
7378
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationUserMessage, 3)
|
|
7379
7379
|
);
|
|
7380
7380
|
};
|
|
7381
7381
|
proto.talk_api.AssistantMessagingRequest.prototype.setMessage = function(value) {
|
|
@@ -7419,19 +7419,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
7419
7419
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7420
7420
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
7421
7421
|
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
|
|
7422
|
-
configuration: (f = msg.getConfiguration()) &&
|
|
7423
|
-
interruption: (f = msg.getInterruption()) &&
|
|
7424
|
-
user: (f = msg.getUser()) &&
|
|
7425
|
-
assistant: (f = msg.getAssistant()) &&
|
|
7422
|
+
configuration: (f = msg.getConfiguration()) && common_pb.AssistantConversationConfiguration.toObject(includeInstance, f),
|
|
7423
|
+
interruption: (f = msg.getInterruption()) && common_pb.AssistantConversationInterruption.toObject(includeInstance, f),
|
|
7424
|
+
user: (f = msg.getUser()) && common_pb.AssistantConversationUserMessage.toObject(includeInstance, f),
|
|
7425
|
+
assistant: (f = msg.getAssistant()) && common_pb.AssistantConversationAssistantMessage.toObject(includeInstance, f),
|
|
7426
7426
|
message: (f = msg.getMessage()) && common_pb.AssistantConversationMessage.toObject(includeInstance, f),
|
|
7427
|
-
disconnectaction: (f = msg.getDisconnectaction()) &&
|
|
7428
|
-
holdaction: (f = msg.getHoldaction()) &&
|
|
7429
|
-
knowledgeretrievalaction: (f = msg.getKnowledgeretrievalaction()) &&
|
|
7430
|
-
apirequestaction: (f = msg.getApirequestaction()) &&
|
|
7431
|
-
endpointaction: (f = msg.getEndpointaction()) &&
|
|
7432
|
-
deviationaction: (f = msg.getDeviationaction()) &&
|
|
7433
|
-
assistanttransferaction: (f = msg.getAssistanttransferaction()) &&
|
|
7434
|
-
phonecalltransferaction: (f = msg.getPhonecalltransferaction()) &&
|
|
7427
|
+
disconnectaction: (f = msg.getDisconnectaction()) && common_pb.AssistantConversationDisconnectAction.toObject(includeInstance, f),
|
|
7428
|
+
holdaction: (f = msg.getHoldaction()) && common_pb.AssistantConverstationHoldAction.toObject(includeInstance, f),
|
|
7429
|
+
knowledgeretrievalaction: (f = msg.getKnowledgeretrievalaction()) && common_pb.AssistantConverstationKnowledgeRetrievalAction.toObject(includeInstance, f),
|
|
7430
|
+
apirequestaction: (f = msg.getApirequestaction()) && common_pb.AssistantConverstationApiRequestAction.toObject(includeInstance, f),
|
|
7431
|
+
endpointaction: (f = msg.getEndpointaction()) && common_pb.AssistantConverstationEndpointAction.toObject(includeInstance, f),
|
|
7432
|
+
deviationaction: (f = msg.getDeviationaction()) && common_pb.AssistantConversationDeviationAction.toObject(includeInstance, f),
|
|
7433
|
+
assistanttransferaction: (f = msg.getAssistanttransferaction()) && common_pb.AssistantConversationAssistantTransferAction.toObject(includeInstance, f),
|
|
7434
|
+
phonecalltransferaction: (f = msg.getPhonecalltransferaction()) && common_pb.AssistantConversationPhoneCallTransferAction.toObject(includeInstance, f)
|
|
7435
7435
|
};
|
|
7436
7436
|
if (includeInstance) {
|
|
7437
7437
|
obj.$jspbMessageInstance = msg;
|
|
@@ -7471,23 +7471,23 @@ var require_talk_api_pb = __commonJS({
|
|
|
7471
7471
|
msg.setError(value);
|
|
7472
7472
|
break;
|
|
7473
7473
|
case 9:
|
|
7474
|
-
var value = new
|
|
7475
|
-
reader.readMessage(value,
|
|
7474
|
+
var value = new common_pb.AssistantConversationConfiguration();
|
|
7475
|
+
reader.readMessage(value, common_pb.AssistantConversationConfiguration.deserializeBinaryFromReader);
|
|
7476
7476
|
msg.setConfiguration(value);
|
|
7477
7477
|
break;
|
|
7478
7478
|
case 10:
|
|
7479
|
-
var value = new
|
|
7480
|
-
reader.readMessage(value,
|
|
7479
|
+
var value = new common_pb.AssistantConversationInterruption();
|
|
7480
|
+
reader.readMessage(value, common_pb.AssistantConversationInterruption.deserializeBinaryFromReader);
|
|
7481
7481
|
msg.setInterruption(value);
|
|
7482
7482
|
break;
|
|
7483
7483
|
case 11:
|
|
7484
|
-
var value = new
|
|
7485
|
-
reader.readMessage(value,
|
|
7484
|
+
var value = new common_pb.AssistantConversationUserMessage();
|
|
7485
|
+
reader.readMessage(value, common_pb.AssistantConversationUserMessage.deserializeBinaryFromReader);
|
|
7486
7486
|
msg.setUser(value);
|
|
7487
7487
|
break;
|
|
7488
7488
|
case 12:
|
|
7489
|
-
var value = new
|
|
7490
|
-
reader.readMessage(value,
|
|
7489
|
+
var value = new common_pb.AssistantConversationAssistantMessage();
|
|
7490
|
+
reader.readMessage(value, common_pb.AssistantConversationAssistantMessage.deserializeBinaryFromReader);
|
|
7491
7491
|
msg.setAssistant(value);
|
|
7492
7492
|
break;
|
|
7493
7493
|
case 13:
|
|
@@ -7496,43 +7496,43 @@ var require_talk_api_pb = __commonJS({
|
|
|
7496
7496
|
msg.setMessage(value);
|
|
7497
7497
|
break;
|
|
7498
7498
|
case 14:
|
|
7499
|
-
var value = new
|
|
7500
|
-
reader.readMessage(value,
|
|
7499
|
+
var value = new common_pb.AssistantConversationDisconnectAction();
|
|
7500
|
+
reader.readMessage(value, common_pb.AssistantConversationDisconnectAction.deserializeBinaryFromReader);
|
|
7501
7501
|
msg.setDisconnectaction(value);
|
|
7502
7502
|
break;
|
|
7503
7503
|
case 15:
|
|
7504
|
-
var value = new
|
|
7505
|
-
reader.readMessage(value,
|
|
7504
|
+
var value = new common_pb.AssistantConverstationHoldAction();
|
|
7505
|
+
reader.readMessage(value, common_pb.AssistantConverstationHoldAction.deserializeBinaryFromReader);
|
|
7506
7506
|
msg.setHoldaction(value);
|
|
7507
7507
|
break;
|
|
7508
7508
|
case 16:
|
|
7509
|
-
var value = new
|
|
7510
|
-
reader.readMessage(value,
|
|
7509
|
+
var value = new common_pb.AssistantConverstationKnowledgeRetrievalAction();
|
|
7510
|
+
reader.readMessage(value, common_pb.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader);
|
|
7511
7511
|
msg.setKnowledgeretrievalaction(value);
|
|
7512
7512
|
break;
|
|
7513
7513
|
case 17:
|
|
7514
|
-
var value = new
|
|
7515
|
-
reader.readMessage(value,
|
|
7514
|
+
var value = new common_pb.AssistantConverstationApiRequestAction();
|
|
7515
|
+
reader.readMessage(value, common_pb.AssistantConverstationApiRequestAction.deserializeBinaryFromReader);
|
|
7516
7516
|
msg.setApirequestaction(value);
|
|
7517
7517
|
break;
|
|
7518
7518
|
case 18:
|
|
7519
|
-
var value = new
|
|
7520
|
-
reader.readMessage(value,
|
|
7519
|
+
var value = new common_pb.AssistantConverstationEndpointAction();
|
|
7520
|
+
reader.readMessage(value, common_pb.AssistantConverstationEndpointAction.deserializeBinaryFromReader);
|
|
7521
7521
|
msg.setEndpointaction(value);
|
|
7522
7522
|
break;
|
|
7523
7523
|
case 19:
|
|
7524
|
-
var value = new
|
|
7525
|
-
reader.readMessage(value,
|
|
7524
|
+
var value = new common_pb.AssistantConversationDeviationAction();
|
|
7525
|
+
reader.readMessage(value, common_pb.AssistantConversationDeviationAction.deserializeBinaryFromReader);
|
|
7526
7526
|
msg.setDeviationaction(value);
|
|
7527
7527
|
break;
|
|
7528
7528
|
case 20:
|
|
7529
|
-
var value = new
|
|
7530
|
-
reader.readMessage(value,
|
|
7529
|
+
var value = new common_pb.AssistantConversationAssistantTransferAction();
|
|
7530
|
+
reader.readMessage(value, common_pb.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader);
|
|
7531
7531
|
msg.setAssistanttransferaction(value);
|
|
7532
7532
|
break;
|
|
7533
7533
|
case 21:
|
|
7534
|
-
var value = new
|
|
7535
|
-
reader.readMessage(value,
|
|
7534
|
+
var value = new common_pb.AssistantConversationPhoneCallTransferAction();
|
|
7535
|
+
reader.readMessage(value, common_pb.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader);
|
|
7536
7536
|
msg.setPhonecalltransferaction(value);
|
|
7537
7537
|
break;
|
|
7538
7538
|
default:
|
|
@@ -7576,7 +7576,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7576
7576
|
writer.writeMessage(
|
|
7577
7577
|
9,
|
|
7578
7578
|
f,
|
|
7579
|
-
|
|
7579
|
+
common_pb.AssistantConversationConfiguration.serializeBinaryToWriter
|
|
7580
7580
|
);
|
|
7581
7581
|
}
|
|
7582
7582
|
f = message.getInterruption();
|
|
@@ -7584,7 +7584,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7584
7584
|
writer.writeMessage(
|
|
7585
7585
|
10,
|
|
7586
7586
|
f,
|
|
7587
|
-
|
|
7587
|
+
common_pb.AssistantConversationInterruption.serializeBinaryToWriter
|
|
7588
7588
|
);
|
|
7589
7589
|
}
|
|
7590
7590
|
f = message.getUser();
|
|
@@ -7592,7 +7592,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7592
7592
|
writer.writeMessage(
|
|
7593
7593
|
11,
|
|
7594
7594
|
f,
|
|
7595
|
-
|
|
7595
|
+
common_pb.AssistantConversationUserMessage.serializeBinaryToWriter
|
|
7596
7596
|
);
|
|
7597
7597
|
}
|
|
7598
7598
|
f = message.getAssistant();
|
|
@@ -7600,7 +7600,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7600
7600
|
writer.writeMessage(
|
|
7601
7601
|
12,
|
|
7602
7602
|
f,
|
|
7603
|
-
|
|
7603
|
+
common_pb.AssistantConversationAssistantMessage.serializeBinaryToWriter
|
|
7604
7604
|
);
|
|
7605
7605
|
}
|
|
7606
7606
|
f = message.getMessage();
|
|
@@ -7616,7 +7616,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7616
7616
|
writer.writeMessage(
|
|
7617
7617
|
14,
|
|
7618
7618
|
f,
|
|
7619
|
-
|
|
7619
|
+
common_pb.AssistantConversationDisconnectAction.serializeBinaryToWriter
|
|
7620
7620
|
);
|
|
7621
7621
|
}
|
|
7622
7622
|
f = message.getHoldaction();
|
|
@@ -7624,7 +7624,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7624
7624
|
writer.writeMessage(
|
|
7625
7625
|
15,
|
|
7626
7626
|
f,
|
|
7627
|
-
|
|
7627
|
+
common_pb.AssistantConverstationHoldAction.serializeBinaryToWriter
|
|
7628
7628
|
);
|
|
7629
7629
|
}
|
|
7630
7630
|
f = message.getKnowledgeretrievalaction();
|
|
@@ -7632,7 +7632,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7632
7632
|
writer.writeMessage(
|
|
7633
7633
|
16,
|
|
7634
7634
|
f,
|
|
7635
|
-
|
|
7635
|
+
common_pb.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter
|
|
7636
7636
|
);
|
|
7637
7637
|
}
|
|
7638
7638
|
f = message.getApirequestaction();
|
|
@@ -7640,7 +7640,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7640
7640
|
writer.writeMessage(
|
|
7641
7641
|
17,
|
|
7642
7642
|
f,
|
|
7643
|
-
|
|
7643
|
+
common_pb.AssistantConverstationApiRequestAction.serializeBinaryToWriter
|
|
7644
7644
|
);
|
|
7645
7645
|
}
|
|
7646
7646
|
f = message.getEndpointaction();
|
|
@@ -7648,7 +7648,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7648
7648
|
writer.writeMessage(
|
|
7649
7649
|
18,
|
|
7650
7650
|
f,
|
|
7651
|
-
|
|
7651
|
+
common_pb.AssistantConverstationEndpointAction.serializeBinaryToWriter
|
|
7652
7652
|
);
|
|
7653
7653
|
}
|
|
7654
7654
|
f = message.getDeviationaction();
|
|
@@ -7656,7 +7656,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7656
7656
|
writer.writeMessage(
|
|
7657
7657
|
19,
|
|
7658
7658
|
f,
|
|
7659
|
-
|
|
7659
|
+
common_pb.AssistantConversationDeviationAction.serializeBinaryToWriter
|
|
7660
7660
|
);
|
|
7661
7661
|
}
|
|
7662
7662
|
f = message.getAssistanttransferaction();
|
|
@@ -7664,7 +7664,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7664
7664
|
writer.writeMessage(
|
|
7665
7665
|
20,
|
|
7666
7666
|
f,
|
|
7667
|
-
|
|
7667
|
+
common_pb.AssistantConversationAssistantTransferAction.serializeBinaryToWriter
|
|
7668
7668
|
);
|
|
7669
7669
|
}
|
|
7670
7670
|
f = message.getPhonecalltransferaction();
|
|
@@ -7672,7 +7672,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7672
7672
|
writer.writeMessage(
|
|
7673
7673
|
21,
|
|
7674
7674
|
f,
|
|
7675
|
-
|
|
7675
|
+
common_pb.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter
|
|
7676
7676
|
);
|
|
7677
7677
|
}
|
|
7678
7678
|
};
|
|
@@ -7711,8 +7711,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7711
7711
|
};
|
|
7712
7712
|
proto.talk_api.AssistantMessagingResponse.prototype.getConfiguration = function() {
|
|
7713
7713
|
return (
|
|
7714
|
-
/** @type{?proto.
|
|
7715
|
-
jspb.Message.getWrapperField(this,
|
|
7714
|
+
/** @type{?proto.AssistantConversationConfiguration} */
|
|
7715
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationConfiguration, 9)
|
|
7716
7716
|
);
|
|
7717
7717
|
};
|
|
7718
7718
|
proto.talk_api.AssistantMessagingResponse.prototype.setConfiguration = function(value) {
|
|
@@ -7726,8 +7726,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7726
7726
|
};
|
|
7727
7727
|
proto.talk_api.AssistantMessagingResponse.prototype.getInterruption = function() {
|
|
7728
7728
|
return (
|
|
7729
|
-
/** @type{?proto.
|
|
7730
|
-
jspb.Message.getWrapperField(this,
|
|
7729
|
+
/** @type{?proto.AssistantConversationInterruption} */
|
|
7730
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationInterruption, 10)
|
|
7731
7731
|
);
|
|
7732
7732
|
};
|
|
7733
7733
|
proto.talk_api.AssistantMessagingResponse.prototype.setInterruption = function(value) {
|
|
@@ -7741,8 +7741,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7741
7741
|
};
|
|
7742
7742
|
proto.talk_api.AssistantMessagingResponse.prototype.getUser = function() {
|
|
7743
7743
|
return (
|
|
7744
|
-
/** @type{?proto.
|
|
7745
|
-
jspb.Message.getWrapperField(this,
|
|
7744
|
+
/** @type{?proto.AssistantConversationUserMessage} */
|
|
7745
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationUserMessage, 11)
|
|
7746
7746
|
);
|
|
7747
7747
|
};
|
|
7748
7748
|
proto.talk_api.AssistantMessagingResponse.prototype.setUser = function(value) {
|
|
@@ -7756,8 +7756,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7756
7756
|
};
|
|
7757
7757
|
proto.talk_api.AssistantMessagingResponse.prototype.getAssistant = function() {
|
|
7758
7758
|
return (
|
|
7759
|
-
/** @type{?proto.
|
|
7760
|
-
jspb.Message.getWrapperField(this,
|
|
7759
|
+
/** @type{?proto.AssistantConversationAssistantMessage} */
|
|
7760
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationAssistantMessage, 12)
|
|
7761
7761
|
);
|
|
7762
7762
|
};
|
|
7763
7763
|
proto.talk_api.AssistantMessagingResponse.prototype.setAssistant = function(value) {
|
|
@@ -7786,8 +7786,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7786
7786
|
};
|
|
7787
7787
|
proto.talk_api.AssistantMessagingResponse.prototype.getDisconnectaction = function() {
|
|
7788
7788
|
return (
|
|
7789
|
-
/** @type{?proto.
|
|
7790
|
-
jspb.Message.getWrapperField(this,
|
|
7789
|
+
/** @type{?proto.AssistantConversationDisconnectAction} */
|
|
7790
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationDisconnectAction, 14)
|
|
7791
7791
|
);
|
|
7792
7792
|
};
|
|
7793
7793
|
proto.talk_api.AssistantMessagingResponse.prototype.setDisconnectaction = function(value) {
|
|
@@ -7801,8 +7801,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7801
7801
|
};
|
|
7802
7802
|
proto.talk_api.AssistantMessagingResponse.prototype.getHoldaction = function() {
|
|
7803
7803
|
return (
|
|
7804
|
-
/** @type{?proto.
|
|
7805
|
-
jspb.Message.getWrapperField(this,
|
|
7804
|
+
/** @type{?proto.AssistantConverstationHoldAction} */
|
|
7805
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConverstationHoldAction, 15)
|
|
7806
7806
|
);
|
|
7807
7807
|
};
|
|
7808
7808
|
proto.talk_api.AssistantMessagingResponse.prototype.setHoldaction = function(value) {
|
|
@@ -7816,8 +7816,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7816
7816
|
};
|
|
7817
7817
|
proto.talk_api.AssistantMessagingResponse.prototype.getKnowledgeretrievalaction = function() {
|
|
7818
7818
|
return (
|
|
7819
|
-
/** @type{?proto.
|
|
7820
|
-
jspb.Message.getWrapperField(this,
|
|
7819
|
+
/** @type{?proto.AssistantConverstationKnowledgeRetrievalAction} */
|
|
7820
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConverstationKnowledgeRetrievalAction, 16)
|
|
7821
7821
|
);
|
|
7822
7822
|
};
|
|
7823
7823
|
proto.talk_api.AssistantMessagingResponse.prototype.setKnowledgeretrievalaction = function(value) {
|
|
@@ -7831,8 +7831,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7831
7831
|
};
|
|
7832
7832
|
proto.talk_api.AssistantMessagingResponse.prototype.getApirequestaction = function() {
|
|
7833
7833
|
return (
|
|
7834
|
-
/** @type{?proto.
|
|
7835
|
-
jspb.Message.getWrapperField(this,
|
|
7834
|
+
/** @type{?proto.AssistantConverstationApiRequestAction} */
|
|
7835
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConverstationApiRequestAction, 17)
|
|
7836
7836
|
);
|
|
7837
7837
|
};
|
|
7838
7838
|
proto.talk_api.AssistantMessagingResponse.prototype.setApirequestaction = function(value) {
|
|
@@ -7846,8 +7846,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7846
7846
|
};
|
|
7847
7847
|
proto.talk_api.AssistantMessagingResponse.prototype.getEndpointaction = function() {
|
|
7848
7848
|
return (
|
|
7849
|
-
/** @type{?proto.
|
|
7850
|
-
jspb.Message.getWrapperField(this,
|
|
7849
|
+
/** @type{?proto.AssistantConverstationEndpointAction} */
|
|
7850
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConverstationEndpointAction, 18)
|
|
7851
7851
|
);
|
|
7852
7852
|
};
|
|
7853
7853
|
proto.talk_api.AssistantMessagingResponse.prototype.setEndpointaction = function(value) {
|
|
@@ -7861,8 +7861,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7861
7861
|
};
|
|
7862
7862
|
proto.talk_api.AssistantMessagingResponse.prototype.getDeviationaction = function() {
|
|
7863
7863
|
return (
|
|
7864
|
-
/** @type{?proto.
|
|
7865
|
-
jspb.Message.getWrapperField(this,
|
|
7864
|
+
/** @type{?proto.AssistantConversationDeviationAction} */
|
|
7865
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationDeviationAction, 19)
|
|
7866
7866
|
);
|
|
7867
7867
|
};
|
|
7868
7868
|
proto.talk_api.AssistantMessagingResponse.prototype.setDeviationaction = function(value) {
|
|
@@ -7876,8 +7876,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7876
7876
|
};
|
|
7877
7877
|
proto.talk_api.AssistantMessagingResponse.prototype.getAssistanttransferaction = function() {
|
|
7878
7878
|
return (
|
|
7879
|
-
/** @type{?proto.
|
|
7880
|
-
jspb.Message.getWrapperField(this,
|
|
7879
|
+
/** @type{?proto.AssistantConversationAssistantTransferAction} */
|
|
7880
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationAssistantTransferAction, 20)
|
|
7881
7881
|
);
|
|
7882
7882
|
};
|
|
7883
7883
|
proto.talk_api.AssistantMessagingResponse.prototype.setAssistanttransferaction = function(value) {
|
|
@@ -7891,8 +7891,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7891
7891
|
};
|
|
7892
7892
|
proto.talk_api.AssistantMessagingResponse.prototype.getPhonecalltransferaction = function() {
|
|
7893
7893
|
return (
|
|
7894
|
-
/** @type{?proto.
|
|
7895
|
-
jspb.Message.getWrapperField(this,
|
|
7894
|
+
/** @type{?proto.AssistantConversationPhoneCallTransferAction} */
|
|
7895
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationPhoneCallTransferAction, 21)
|
|
7896
7896
|
);
|
|
7897
7897
|
};
|
|
7898
7898
|
proto.talk_api.AssistantMessagingResponse.prototype.setPhonecalltransferaction = function(value) {
|
|
@@ -27567,7 +27567,7 @@ var DeviceManager = class _DeviceManager {
|
|
|
27567
27567
|
};
|
|
27568
27568
|
|
|
27569
27569
|
// src/agents/voice-agent.ts
|
|
27570
|
-
var
|
|
27570
|
+
var import_talk_api_pb2 = __toESM(require_talk_api_pb());
|
|
27571
27571
|
|
|
27572
27572
|
// src/types/agent-event.ts
|
|
27573
27573
|
var AgentEvent = /* @__PURE__ */ ((AgentEvent2) => {
|
|
@@ -27582,6 +27582,9 @@ var AgentEvent = /* @__PURE__ */ ((AgentEvent2) => {
|
|
|
27582
27582
|
return AgentEvent2;
|
|
27583
27583
|
})(AgentEvent || {});
|
|
27584
27584
|
|
|
27585
|
+
// src/agents/voice-agent.ts
|
|
27586
|
+
var import_common_pb9 = __toESM(require_common_pb());
|
|
27587
|
+
|
|
27585
27588
|
// src/types/message.ts
|
|
27586
27589
|
var MessageRole = /* @__PURE__ */ ((MessageRole2) => {
|
|
27587
27590
|
MessageRole2["System"] = "system";
|
|
@@ -28481,7 +28484,7 @@ function GetAllAssistantToolLog(clientCfg, request, auth) {
|
|
|
28481
28484
|
}
|
|
28482
28485
|
|
|
28483
28486
|
// src/agents/index.ts
|
|
28484
|
-
var
|
|
28487
|
+
var import_common_pb6 = __toESM(require_common_pb());
|
|
28485
28488
|
var Agent = class extends EventEmitter {
|
|
28486
28489
|
// Connection and State Management
|
|
28487
28490
|
connectionState = "disconnected" /* Disconnected */;
|
|
@@ -28712,8 +28715,8 @@ var Agent = class extends EventEmitter {
|
|
|
28712
28715
|
*/
|
|
28713
28716
|
createAssistantTextMessage(content) {
|
|
28714
28717
|
const request = new import_talk_api_pb.AssistantMessagingRequest();
|
|
28715
|
-
const userMessage = new
|
|
28716
|
-
const message = new
|
|
28718
|
+
const userMessage = new import_common_pb6.AssistantConversationUserMessage();
|
|
28719
|
+
const message = new import_common_pb6.AssistantConversationMessageTextContent();
|
|
28717
28720
|
message.setContent(content);
|
|
28718
28721
|
userMessage.setText(message);
|
|
28719
28722
|
request.setMessage(userMessage);
|
|
@@ -28726,8 +28729,8 @@ var Agent = class extends EventEmitter {
|
|
|
28726
28729
|
*/
|
|
28727
28730
|
createAssistantAudioMessage(content) {
|
|
28728
28731
|
const request = new import_talk_api_pb.AssistantMessagingRequest();
|
|
28729
|
-
const userMessage = new
|
|
28730
|
-
const message = new
|
|
28732
|
+
const userMessage = new import_common_pb6.AssistantConversationUserMessage();
|
|
28733
|
+
const message = new import_common_pb6.AssistantConversationMessageAudioContent();
|
|
28731
28734
|
message.setContent(content);
|
|
28732
28735
|
userMessage.setAudio(message);
|
|
28733
28736
|
request.setMessage(userMessage);
|
|
@@ -28764,7 +28767,7 @@ var Agent = class extends EventEmitter {
|
|
|
28764
28767
|
*/
|
|
28765
28768
|
_createAssistantConfigureRequest(definition, args, metadatas, options) {
|
|
28766
28769
|
const request = new import_talk_api_pb.AssistantMessagingRequest();
|
|
28767
|
-
const assistantConfiguration = new
|
|
28770
|
+
const assistantConfiguration = new import_common_pb6.AssistantConversationConfiguration();
|
|
28768
28771
|
if (this._conversationId) {
|
|
28769
28772
|
assistantConfiguration.setAssistantconversationid(this._conversationId);
|
|
28770
28773
|
}
|
|
@@ -29261,14 +29264,14 @@ function arrayBufferToUint8(arrayBuffer) {
|
|
|
29261
29264
|
}
|
|
29262
29265
|
|
|
29263
29266
|
// src/types/agent-callback.ts
|
|
29264
|
-
var
|
|
29267
|
+
var import_common_pb8 = __toESM(require_common_pb());
|
|
29265
29268
|
|
|
29266
29269
|
// src/utils/rapida_content.ts
|
|
29267
|
-
var
|
|
29270
|
+
var import_common_pb7 = __toESM(require_common_pb());
|
|
29268
29271
|
var TEXT_CONTENT_FORMAT_RAW = "raw";
|
|
29269
29272
|
var AUDIO_CONTENT_FORMAT_CHUNK = "chunk";
|
|
29270
29273
|
var toTextContent = (str, format) => {
|
|
29271
|
-
const cnt = new
|
|
29274
|
+
const cnt = new import_common_pb7.Content();
|
|
29272
29275
|
if (format) cnt.setContentformat(format);
|
|
29273
29276
|
else cnt.setContentformat(TEXT_CONTENT_FORMAT_RAW);
|
|
29274
29277
|
cnt.setContenttype("text" /* TEXT_CONTENT */);
|
|
@@ -29276,7 +29279,7 @@ var toTextContent = (str, format) => {
|
|
|
29276
29279
|
return cnt;
|
|
29277
29280
|
};
|
|
29278
29281
|
var toStreamAudioContent = (raw) => {
|
|
29279
|
-
const cnt = new
|
|
29282
|
+
const cnt = new import_common_pb7.Content();
|
|
29280
29283
|
cnt.setContentformat(AUDIO_CONTENT_FORMAT_CHUNK);
|
|
29281
29284
|
cnt.setContenttype("audio" /* AUDIO_CONTENT */);
|
|
29282
29285
|
cnt.setContent(raw);
|
|
@@ -29299,9 +29302,9 @@ var ConversationUserMessage = class {
|
|
|
29299
29302
|
if (config) {
|
|
29300
29303
|
Object.assign(this, config.toObject());
|
|
29301
29304
|
switch (config.getMessageCase()) {
|
|
29302
|
-
case
|
|
29303
|
-
case
|
|
29304
|
-
case
|
|
29305
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
|
|
29306
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
|
|
29307
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
|
|
29305
29308
|
this.messageText = config.getText()?.getContent();
|
|
29306
29309
|
}
|
|
29307
29310
|
}
|
|
@@ -29312,9 +29315,9 @@ var ConversationAssistantMessage = class {
|
|
|
29312
29315
|
if (config) {
|
|
29313
29316
|
Object.assign(this, config.toObject());
|
|
29314
29317
|
switch (config.getMessageCase()) {
|
|
29315
|
-
case
|
|
29316
|
-
case
|
|
29317
|
-
case
|
|
29318
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
|
|
29319
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
|
|
29320
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
|
|
29318
29321
|
this.messageText = config.getText()?.getContent();
|
|
29319
29322
|
}
|
|
29320
29323
|
}
|
|
@@ -29581,13 +29584,13 @@ var VoiceAgent = class extends Agent {
|
|
|
29581
29584
|
onHandleInterruption = (interruptionData) => {
|
|
29582
29585
|
if (interruptionData) {
|
|
29583
29586
|
switch (interruptionData.getType()) {
|
|
29584
|
-
case
|
|
29587
|
+
case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_UNSPECIFIED:
|
|
29585
29588
|
console.log("Unspecified interruption type");
|
|
29586
29589
|
break;
|
|
29587
|
-
case
|
|
29590
|
+
case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_VAD:
|
|
29588
29591
|
this.fadeOutAudio();
|
|
29589
29592
|
break;
|
|
29590
|
-
case
|
|
29593
|
+
case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_WORD:
|
|
29591
29594
|
if (this.agentMessages.length > 0) {
|
|
29592
29595
|
const lastIndex = this.agentMessages.length - 1;
|
|
29593
29596
|
this.agentMessages[lastIndex] = {
|
|
@@ -29602,7 +29605,7 @@ var VoiceAgent = class extends Agent {
|
|
|
29602
29605
|
}
|
|
29603
29606
|
this.emit(
|
|
29604
29607
|
"onConversationEvent" /* ConversationEvent */,
|
|
29605
|
-
|
|
29608
|
+
import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION,
|
|
29606
29609
|
interruptionData
|
|
29607
29610
|
);
|
|
29608
29611
|
}
|
|
@@ -29610,9 +29613,9 @@ var VoiceAgent = class extends Agent {
|
|
|
29610
29613
|
onHandleUser = (userContent) => {
|
|
29611
29614
|
if (userContent) {
|
|
29612
29615
|
switch (userContent.getMessageCase()) {
|
|
29613
|
-
case
|
|
29614
|
-
case
|
|
29615
|
-
case
|
|
29616
|
+
case import_common_pb9.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
|
|
29617
|
+
case import_common_pb9.AssistantConversationUserMessage.MessageCase.AUDIO:
|
|
29618
|
+
case import_common_pb9.AssistantConversationUserMessage.MessageCase.TEXT:
|
|
29616
29619
|
const agentTranscript = userContent.getText()?.getContent();
|
|
29617
29620
|
if (agentTranscript) {
|
|
29618
29621
|
if (this.agentMessages.length > 0) {
|
|
@@ -29632,7 +29635,7 @@ var VoiceAgent = class extends Agent {
|
|
|
29632
29635
|
}
|
|
29633
29636
|
this.emit(
|
|
29634
29637
|
"onConversationEvent" /* ConversationEvent */,
|
|
29635
|
-
|
|
29638
|
+
import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER,
|
|
29636
29639
|
userContent
|
|
29637
29640
|
);
|
|
29638
29641
|
}
|
|
@@ -29640,14 +29643,14 @@ var VoiceAgent = class extends Agent {
|
|
|
29640
29643
|
onHandleAssistant = (systemContent) => {
|
|
29641
29644
|
if (systemContent) {
|
|
29642
29645
|
switch (systemContent.getMessageCase()) {
|
|
29643
|
-
case
|
|
29644
|
-
case
|
|
29646
|
+
case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.MESSAGE_NOT_SET:
|
|
29647
|
+
case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.AUDIO:
|
|
29645
29648
|
const content = systemContent.getAudio();
|
|
29646
29649
|
if (content) {
|
|
29647
29650
|
const audioData = content.getContent_asU8();
|
|
29648
29651
|
this.addAudioChunk(new Uint8Array(audioData).buffer);
|
|
29649
29652
|
}
|
|
29650
|
-
case
|
|
29653
|
+
case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.TEXT:
|
|
29651
29654
|
const systemTranscript = systemContent.getText()?.getContent();
|
|
29652
29655
|
if (systemTranscript) {
|
|
29653
29656
|
if (systemContent.getCompleted()) {
|
|
@@ -29704,7 +29707,7 @@ var VoiceAgent = class extends Agent {
|
|
|
29704
29707
|
}
|
|
29705
29708
|
this.emit(
|
|
29706
29709
|
"onConversationEvent" /* ConversationEvent */,
|
|
29707
|
-
|
|
29710
|
+
import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT,
|
|
29708
29711
|
systemContent
|
|
29709
29712
|
);
|
|
29710
29713
|
}
|
|
@@ -29716,22 +29719,22 @@ var VoiceAgent = class extends Agent {
|
|
|
29716
29719
|
*/
|
|
29717
29720
|
onRecieve = async (response) => {
|
|
29718
29721
|
switch (response.getDataCase()) {
|
|
29719
|
-
case
|
|
29722
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
|
|
29720
29723
|
break;
|
|
29721
|
-
case
|
|
29724
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
|
|
29722
29725
|
this.onHandleInterruption(response.getInterruption());
|
|
29723
29726
|
break;
|
|
29724
|
-
case
|
|
29727
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
|
|
29725
29728
|
this.onHandleUser(response.getUser());
|
|
29726
29729
|
break;
|
|
29727
|
-
case
|
|
29730
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
|
|
29728
29731
|
this.onHandleAssistant(response.getAssistant());
|
|
29729
29732
|
break;
|
|
29730
|
-
case
|
|
29733
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
|
|
29731
29734
|
const conversation = response.getConfiguration();
|
|
29732
29735
|
if (!conversation?.getAssistantconversationid()) return;
|
|
29733
29736
|
break;
|
|
29734
|
-
case
|
|
29737
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
|
|
29735
29738
|
break;
|
|
29736
29739
|
default:
|
|
29737
29740
|
break;
|
|
@@ -29744,39 +29747,39 @@ var VoiceAgent = class extends Agent {
|
|
|
29744
29747
|
onCallback = async (response) => {
|
|
29745
29748
|
for (const agentCallback of this.agentCallbacks) {
|
|
29746
29749
|
switch (response.getDataCase()) {
|
|
29747
|
-
case
|
|
29750
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
|
|
29748
29751
|
break;
|
|
29749
|
-
case
|
|
29752
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.APIREQUESTACTION:
|
|
29750
29753
|
if (agentCallback && agentCallback?.onAction) {
|
|
29751
29754
|
agentCallback.onAction(response.getApirequestaction()?.toObject());
|
|
29752
29755
|
}
|
|
29753
29756
|
break;
|
|
29754
|
-
case
|
|
29757
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DISCONNECTACTION:
|
|
29755
29758
|
if (agentCallback && agentCallback?.onAction) {
|
|
29756
29759
|
agentCallback.onAction(response.getDisconnectaction()?.toObject());
|
|
29757
29760
|
}
|
|
29758
29761
|
await this.disconnect();
|
|
29759
29762
|
break;
|
|
29760
|
-
case
|
|
29763
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
|
|
29761
29764
|
if (agentCallback && agentCallback?.onInterrupt) {
|
|
29762
29765
|
agentCallback.onInterrupt(response.getInterruption()?.toObject());
|
|
29763
29766
|
}
|
|
29764
29767
|
break;
|
|
29765
|
-
case
|
|
29768
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
|
|
29766
29769
|
if (agentCallback && agentCallback?.onUserMessage) {
|
|
29767
29770
|
agentCallback.onUserMessage(
|
|
29768
29771
|
new ConversationUserMessage(response.getUser())
|
|
29769
29772
|
);
|
|
29770
29773
|
}
|
|
29771
29774
|
break;
|
|
29772
|
-
case
|
|
29775
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
|
|
29773
29776
|
if (agentCallback && agentCallback?.onAssistantMessage) {
|
|
29774
29777
|
agentCallback.onAssistantMessage(
|
|
29775
29778
|
new ConversationAssistantMessage(response.getAssistant())
|
|
29776
29779
|
);
|
|
29777
29780
|
}
|
|
29778
29781
|
break;
|
|
29779
|
-
case
|
|
29782
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
|
|
29780
29783
|
if (agentCallback && agentCallback?.onConfiguration) {
|
|
29781
29784
|
agentCallback.onConfiguration(
|
|
29782
29785
|
response.getConfiguration()?.toObject()
|
|
@@ -29785,7 +29788,7 @@ var VoiceAgent = class extends Agent {
|
|
|
29785
29788
|
const cnvId = response.getConfiguration()?.getAssistantconversationid();
|
|
29786
29789
|
if (cnvId) this.changeConversation(cnvId);
|
|
29787
29790
|
break;
|
|
29788
|
-
case
|
|
29791
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
|
|
29789
29792
|
if (agentCallback && agentCallback?.onMessage) {
|
|
29790
29793
|
agentCallback.onMessage(
|
|
29791
29794
|
new ConversationMessage(response.getMessage())
|
|
@@ -30189,4 +30192,4 @@ export {
|
|
|
30189
30192
|
useSelectInputDeviceAgent,
|
|
30190
30193
|
DeviceSelectorComponent
|
|
30191
30194
|
};
|
|
30192
|
-
//# sourceMappingURL=chunk-
|
|
30195
|
+
//# sourceMappingURL=chunk-B372Y6DW.mjs.map
|