@rapidaai/react 1.1.40 → 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-DH7vizd4.d.mts → device-selector-BdvX9x_8.d.mts} +603 -543
- package/dist/{device-selector-DH7vizd4.d.ts → device-selector-BdvX9x_8.d.ts} +603 -543
- package/dist/index.d.mts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +924 -698
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +238 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-QQVXG47Q.mjs.map +0 -1
|
@@ -39,15 +39,34 @@ var require_common_pb = __commonJS({
|
|
|
39
39
|
var global = function() {
|
|
40
40
|
return this || window || global || self || Function("return this")();
|
|
41
41
|
}.call(null);
|
|
42
|
+
var google_protobuf_any_pb = require("google-protobuf/google/protobuf/any_pb.js");
|
|
43
|
+
goog.object.extend(proto, google_protobuf_any_pb);
|
|
42
44
|
var google_protobuf_timestamp_pb = require("google-protobuf/google/protobuf/timestamp_pb.js");
|
|
43
45
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
44
46
|
var google_protobuf_struct_pb = require("google-protobuf/google/protobuf/struct_pb.js");
|
|
45
47
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
46
48
|
goog.exportSymbol("proto.Argument", null, global);
|
|
47
49
|
goog.exportSymbol("proto.AssistantConversation", null, global);
|
|
50
|
+
goog.exportSymbol("proto.AssistantConversationAssistantMessage", null, global);
|
|
51
|
+
goog.exportSymbol("proto.AssistantConversationAssistantMessage.MessageCase", null, global);
|
|
52
|
+
goog.exportSymbol("proto.AssistantConversationAssistantTransferAction", null, global);
|
|
53
|
+
goog.exportSymbol("proto.AssistantConversationConfiguration", null, global);
|
|
48
54
|
goog.exportSymbol("proto.AssistantConversationContext", null, global);
|
|
55
|
+
goog.exportSymbol("proto.AssistantConversationDeviationAction", null, global);
|
|
56
|
+
goog.exportSymbol("proto.AssistantConversationDisconnectAction", null, global);
|
|
57
|
+
goog.exportSymbol("proto.AssistantConversationInterruption", null, global);
|
|
58
|
+
goog.exportSymbol("proto.AssistantConversationInterruption.InterruptionType", null, global);
|
|
49
59
|
goog.exportSymbol("proto.AssistantConversationMessage", null, global);
|
|
60
|
+
goog.exportSymbol("proto.AssistantConversationMessageAudioContent", null, global);
|
|
61
|
+
goog.exportSymbol("proto.AssistantConversationMessageTextContent", null, global);
|
|
62
|
+
goog.exportSymbol("proto.AssistantConversationPhoneCallTransferAction", null, global);
|
|
50
63
|
goog.exportSymbol("proto.AssistantConversationRecording", null, global);
|
|
64
|
+
goog.exportSymbol("proto.AssistantConversationUserMessage", null, global);
|
|
65
|
+
goog.exportSymbol("proto.AssistantConversationUserMessage.MessageCase", null, global);
|
|
66
|
+
goog.exportSymbol("proto.AssistantConverstationApiRequestAction", null, global);
|
|
67
|
+
goog.exportSymbol("proto.AssistantConverstationEndpointAction", null, global);
|
|
68
|
+
goog.exportSymbol("proto.AssistantConverstationHoldAction", null, global);
|
|
69
|
+
goog.exportSymbol("proto.AssistantConverstationKnowledgeRetrievalAction", null, global);
|
|
51
70
|
goog.exportSymbol("proto.AssistantDefinition", null, global);
|
|
52
71
|
goog.exportSymbol("proto.BaseResponse", null, global);
|
|
53
72
|
goog.exportSymbol("proto.Content", null, global);
|
|
@@ -300,6 +319,104 @@ var require_common_pb = __commonJS({
|
|
|
300
319
|
if (goog.DEBUG && !COMPILED) {
|
|
301
320
|
proto.GetAllConversationMessageResponse.displayName = "proto.GetAllConversationMessageResponse";
|
|
302
321
|
}
|
|
322
|
+
proto.AssistantConversationConfiguration = function(opt_data) {
|
|
323
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
324
|
+
};
|
|
325
|
+
goog.inherits(proto.AssistantConversationConfiguration, jspb.Message);
|
|
326
|
+
if (goog.DEBUG && !COMPILED) {
|
|
327
|
+
proto.AssistantConversationConfiguration.displayName = "proto.AssistantConversationConfiguration";
|
|
328
|
+
}
|
|
329
|
+
proto.AssistantConversationDisconnectAction = function(opt_data) {
|
|
330
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
331
|
+
};
|
|
332
|
+
goog.inherits(proto.AssistantConversationDisconnectAction, jspb.Message);
|
|
333
|
+
if (goog.DEBUG && !COMPILED) {
|
|
334
|
+
proto.AssistantConversationDisconnectAction.displayName = "proto.AssistantConversationDisconnectAction";
|
|
335
|
+
}
|
|
336
|
+
proto.AssistantConverstationHoldAction = function(opt_data) {
|
|
337
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
338
|
+
};
|
|
339
|
+
goog.inherits(proto.AssistantConverstationHoldAction, jspb.Message);
|
|
340
|
+
if (goog.DEBUG && !COMPILED) {
|
|
341
|
+
proto.AssistantConverstationHoldAction.displayName = "proto.AssistantConverstationHoldAction";
|
|
342
|
+
}
|
|
343
|
+
proto.AssistantConverstationKnowledgeRetrievalAction = function(opt_data) {
|
|
344
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
345
|
+
};
|
|
346
|
+
goog.inherits(proto.AssistantConverstationKnowledgeRetrievalAction, jspb.Message);
|
|
347
|
+
if (goog.DEBUG && !COMPILED) {
|
|
348
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.displayName = "proto.AssistantConverstationKnowledgeRetrievalAction";
|
|
349
|
+
}
|
|
350
|
+
proto.AssistantConverstationApiRequestAction = function(opt_data) {
|
|
351
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
352
|
+
};
|
|
353
|
+
goog.inherits(proto.AssistantConverstationApiRequestAction, jspb.Message);
|
|
354
|
+
if (goog.DEBUG && !COMPILED) {
|
|
355
|
+
proto.AssistantConverstationApiRequestAction.displayName = "proto.AssistantConverstationApiRequestAction";
|
|
356
|
+
}
|
|
357
|
+
proto.AssistantConverstationEndpointAction = function(opt_data) {
|
|
358
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
359
|
+
};
|
|
360
|
+
goog.inherits(proto.AssistantConverstationEndpointAction, jspb.Message);
|
|
361
|
+
if (goog.DEBUG && !COMPILED) {
|
|
362
|
+
proto.AssistantConverstationEndpointAction.displayName = "proto.AssistantConverstationEndpointAction";
|
|
363
|
+
}
|
|
364
|
+
proto.AssistantConversationDeviationAction = function(opt_data) {
|
|
365
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
366
|
+
};
|
|
367
|
+
goog.inherits(proto.AssistantConversationDeviationAction, jspb.Message);
|
|
368
|
+
if (goog.DEBUG && !COMPILED) {
|
|
369
|
+
proto.AssistantConversationDeviationAction.displayName = "proto.AssistantConversationDeviationAction";
|
|
370
|
+
}
|
|
371
|
+
proto.AssistantConversationAssistantTransferAction = function(opt_data) {
|
|
372
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
373
|
+
};
|
|
374
|
+
goog.inherits(proto.AssistantConversationAssistantTransferAction, jspb.Message);
|
|
375
|
+
if (goog.DEBUG && !COMPILED) {
|
|
376
|
+
proto.AssistantConversationAssistantTransferAction.displayName = "proto.AssistantConversationAssistantTransferAction";
|
|
377
|
+
}
|
|
378
|
+
proto.AssistantConversationPhoneCallTransferAction = function(opt_data) {
|
|
379
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
380
|
+
};
|
|
381
|
+
goog.inherits(proto.AssistantConversationPhoneCallTransferAction, jspb.Message);
|
|
382
|
+
if (goog.DEBUG && !COMPILED) {
|
|
383
|
+
proto.AssistantConversationPhoneCallTransferAction.displayName = "proto.AssistantConversationPhoneCallTransferAction";
|
|
384
|
+
}
|
|
385
|
+
proto.AssistantConversationInterruption = function(opt_data) {
|
|
386
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
387
|
+
};
|
|
388
|
+
goog.inherits(proto.AssistantConversationInterruption, jspb.Message);
|
|
389
|
+
if (goog.DEBUG && !COMPILED) {
|
|
390
|
+
proto.AssistantConversationInterruption.displayName = "proto.AssistantConversationInterruption";
|
|
391
|
+
}
|
|
392
|
+
proto.AssistantConversationMessageTextContent = function(opt_data) {
|
|
393
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
394
|
+
};
|
|
395
|
+
goog.inherits(proto.AssistantConversationMessageTextContent, jspb.Message);
|
|
396
|
+
if (goog.DEBUG && !COMPILED) {
|
|
397
|
+
proto.AssistantConversationMessageTextContent.displayName = "proto.AssistantConversationMessageTextContent";
|
|
398
|
+
}
|
|
399
|
+
proto.AssistantConversationMessageAudioContent = function(opt_data) {
|
|
400
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
401
|
+
};
|
|
402
|
+
goog.inherits(proto.AssistantConversationMessageAudioContent, jspb.Message);
|
|
403
|
+
if (goog.DEBUG && !COMPILED) {
|
|
404
|
+
proto.AssistantConversationMessageAudioContent.displayName = "proto.AssistantConversationMessageAudioContent";
|
|
405
|
+
}
|
|
406
|
+
proto.AssistantConversationUserMessage = function(opt_data) {
|
|
407
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.AssistantConversationUserMessage.oneofGroups_);
|
|
408
|
+
};
|
|
409
|
+
goog.inherits(proto.AssistantConversationUserMessage, jspb.Message);
|
|
410
|
+
if (goog.DEBUG && !COMPILED) {
|
|
411
|
+
proto.AssistantConversationUserMessage.displayName = "proto.AssistantConversationUserMessage";
|
|
412
|
+
}
|
|
413
|
+
proto.AssistantConversationAssistantMessage = function(opt_data) {
|
|
414
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.AssistantConversationAssistantMessage.oneofGroups_);
|
|
415
|
+
};
|
|
416
|
+
goog.inherits(proto.AssistantConversationAssistantMessage, jspb.Message);
|
|
417
|
+
if (goog.DEBUG && !COMPILED) {
|
|
418
|
+
proto.AssistantConversationAssistantMessage.displayName = "proto.AssistantConversationAssistantMessage";
|
|
419
|
+
}
|
|
303
420
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
304
421
|
proto.FieldSelector.prototype.toObject = function(opt_includeInstance) {
|
|
305
422
|
return proto.FieldSelector.toObject(opt_includeInstance, this);
|
|
@@ -5852,237 +5969,14 @@ var require_common_pb = __commonJS({
|
|
|
5852
5969
|
proto.GetAllConversationMessageResponse.prototype.hasPaginated = function() {
|
|
5853
5970
|
return jspb.Message.getField(this, 5) != null;
|
|
5854
5971
|
};
|
|
5855
|
-
proto.Source = {
|
|
5856
|
-
WEB_PLUGIN: 0,
|
|
5857
|
-
DEBUGGER: 1,
|
|
5858
|
-
SDK: 2,
|
|
5859
|
-
PHONE_CALL: 3,
|
|
5860
|
-
WHATSAPP: 4
|
|
5861
|
-
};
|
|
5862
|
-
goog.object.extend(exports2, proto);
|
|
5863
|
-
}
|
|
5864
|
-
});
|
|
5865
|
-
|
|
5866
|
-
// src/clients/protos/talk-api_pb.js
|
|
5867
|
-
var require_talk_api_pb = __commonJS({
|
|
5868
|
-
"src/clients/protos/talk-api_pb.js"(exports2) {
|
|
5869
|
-
"use strict";
|
|
5870
|
-
var jspb = require("google-protobuf");
|
|
5871
|
-
var goog = jspb;
|
|
5872
|
-
var global = function() {
|
|
5873
|
-
return this || window || global || self || Function("return this")();
|
|
5874
|
-
}.call(null);
|
|
5875
|
-
var google_protobuf_any_pb = require("google-protobuf/google/protobuf/any_pb.js");
|
|
5876
|
-
goog.object.extend(proto, google_protobuf_any_pb);
|
|
5877
|
-
var google_protobuf_timestamp_pb = require("google-protobuf/google/protobuf/timestamp_pb.js");
|
|
5878
|
-
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
5879
|
-
var common_pb = require_common_pb();
|
|
5880
|
-
goog.object.extend(proto, common_pb);
|
|
5881
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationAssistantMessage", null, global);
|
|
5882
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationAssistantMessage.MessageCase", null, global);
|
|
5883
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationAssistantTransferAction", null, global);
|
|
5884
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationConfiguration", null, global);
|
|
5885
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationDeviationAction", null, global);
|
|
5886
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationDisconnectAction", null, global);
|
|
5887
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationInterruption", null, global);
|
|
5888
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationInterruption.InterruptionType", null, global);
|
|
5889
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationMessageAudioContent", null, global);
|
|
5890
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationMessageTextContent", null, global);
|
|
5891
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationPhoneCallTransferAction", null, global);
|
|
5892
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationUserMessage", null, global);
|
|
5893
|
-
goog.exportSymbol("proto.talk_api.AssistantConversationUserMessage.MessageCase", null, global);
|
|
5894
|
-
goog.exportSymbol("proto.talk_api.AssistantConverstationApiRequestAction", null, global);
|
|
5895
|
-
goog.exportSymbol("proto.talk_api.AssistantConverstationEndpointAction", null, global);
|
|
5896
|
-
goog.exportSymbol("proto.talk_api.AssistantConverstationHoldAction", null, global);
|
|
5897
|
-
goog.exportSymbol("proto.talk_api.AssistantConverstationKnowledgeRetrievalAction", null, global);
|
|
5898
|
-
goog.exportSymbol("proto.talk_api.AssistantMessagingRequest", null, global);
|
|
5899
|
-
goog.exportSymbol("proto.talk_api.AssistantMessagingRequest.RequestCase", null, global);
|
|
5900
|
-
goog.exportSymbol("proto.talk_api.AssistantMessagingResponse", null, global);
|
|
5901
|
-
goog.exportSymbol("proto.talk_api.AssistantMessagingResponse.DataCase", null, global);
|
|
5902
|
-
goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallRequest", null, global);
|
|
5903
|
-
goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallResponse", null, global);
|
|
5904
|
-
goog.exportSymbol("proto.talk_api.CreateConversationMetricRequest", null, global);
|
|
5905
|
-
goog.exportSymbol("proto.talk_api.CreateConversationMetricResponse", null, global);
|
|
5906
|
-
goog.exportSymbol("proto.talk_api.CreateMessageMetricRequest", null, global);
|
|
5907
|
-
goog.exportSymbol("proto.talk_api.CreateMessageMetricResponse", null, global);
|
|
5908
|
-
goog.exportSymbol("proto.talk_api.CreatePhoneCallRequest", null, global);
|
|
5909
|
-
goog.exportSymbol("proto.talk_api.CreatePhoneCallResponse", null, global);
|
|
5910
|
-
proto.talk_api.AssistantConversationConfiguration = function(opt_data) {
|
|
5911
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5912
|
-
};
|
|
5913
|
-
goog.inherits(proto.talk_api.AssistantConversationConfiguration, jspb.Message);
|
|
5914
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5915
|
-
proto.talk_api.AssistantConversationConfiguration.displayName = "proto.talk_api.AssistantConversationConfiguration";
|
|
5916
|
-
}
|
|
5917
|
-
proto.talk_api.AssistantConversationDisconnectAction = function(opt_data) {
|
|
5918
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5919
|
-
};
|
|
5920
|
-
goog.inherits(proto.talk_api.AssistantConversationDisconnectAction, jspb.Message);
|
|
5921
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5922
|
-
proto.talk_api.AssistantConversationDisconnectAction.displayName = "proto.talk_api.AssistantConversationDisconnectAction";
|
|
5923
|
-
}
|
|
5924
|
-
proto.talk_api.AssistantConverstationHoldAction = function(opt_data) {
|
|
5925
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5926
|
-
};
|
|
5927
|
-
goog.inherits(proto.talk_api.AssistantConverstationHoldAction, jspb.Message);
|
|
5928
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5929
|
-
proto.talk_api.AssistantConverstationHoldAction.displayName = "proto.talk_api.AssistantConverstationHoldAction";
|
|
5930
|
-
}
|
|
5931
|
-
proto.talk_api.AssistantConverstationKnowledgeRetrievalAction = function(opt_data) {
|
|
5932
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5933
|
-
};
|
|
5934
|
-
goog.inherits(proto.talk_api.AssistantConverstationKnowledgeRetrievalAction, jspb.Message);
|
|
5935
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5936
|
-
proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.displayName = "proto.talk_api.AssistantConverstationKnowledgeRetrievalAction";
|
|
5937
|
-
}
|
|
5938
|
-
proto.talk_api.AssistantConverstationApiRequestAction = function(opt_data) {
|
|
5939
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5940
|
-
};
|
|
5941
|
-
goog.inherits(proto.talk_api.AssistantConverstationApiRequestAction, jspb.Message);
|
|
5942
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5943
|
-
proto.talk_api.AssistantConverstationApiRequestAction.displayName = "proto.talk_api.AssistantConverstationApiRequestAction";
|
|
5944
|
-
}
|
|
5945
|
-
proto.talk_api.AssistantConverstationEndpointAction = function(opt_data) {
|
|
5946
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5947
|
-
};
|
|
5948
|
-
goog.inherits(proto.talk_api.AssistantConverstationEndpointAction, jspb.Message);
|
|
5949
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5950
|
-
proto.talk_api.AssistantConverstationEndpointAction.displayName = "proto.talk_api.AssistantConverstationEndpointAction";
|
|
5951
|
-
}
|
|
5952
|
-
proto.talk_api.AssistantConversationDeviationAction = function(opt_data) {
|
|
5953
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5954
|
-
};
|
|
5955
|
-
goog.inherits(proto.talk_api.AssistantConversationDeviationAction, jspb.Message);
|
|
5956
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5957
|
-
proto.talk_api.AssistantConversationDeviationAction.displayName = "proto.talk_api.AssistantConversationDeviationAction";
|
|
5958
|
-
}
|
|
5959
|
-
proto.talk_api.AssistantConversationAssistantTransferAction = function(opt_data) {
|
|
5960
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5961
|
-
};
|
|
5962
|
-
goog.inherits(proto.talk_api.AssistantConversationAssistantTransferAction, jspb.Message);
|
|
5963
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5964
|
-
proto.talk_api.AssistantConversationAssistantTransferAction.displayName = "proto.talk_api.AssistantConversationAssistantTransferAction";
|
|
5965
|
-
}
|
|
5966
|
-
proto.talk_api.AssistantConversationPhoneCallTransferAction = function(opt_data) {
|
|
5967
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5968
|
-
};
|
|
5969
|
-
goog.inherits(proto.talk_api.AssistantConversationPhoneCallTransferAction, jspb.Message);
|
|
5970
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5971
|
-
proto.talk_api.AssistantConversationPhoneCallTransferAction.displayName = "proto.talk_api.AssistantConversationPhoneCallTransferAction";
|
|
5972
|
-
}
|
|
5973
|
-
proto.talk_api.AssistantConversationInterruption = function(opt_data) {
|
|
5974
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5975
|
-
};
|
|
5976
|
-
goog.inherits(proto.talk_api.AssistantConversationInterruption, jspb.Message);
|
|
5977
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5978
|
-
proto.talk_api.AssistantConversationInterruption.displayName = "proto.talk_api.AssistantConversationInterruption";
|
|
5979
|
-
}
|
|
5980
|
-
proto.talk_api.AssistantConversationMessageTextContent = function(opt_data) {
|
|
5981
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5982
|
-
};
|
|
5983
|
-
goog.inherits(proto.talk_api.AssistantConversationMessageTextContent, jspb.Message);
|
|
5984
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5985
|
-
proto.talk_api.AssistantConversationMessageTextContent.displayName = "proto.talk_api.AssistantConversationMessageTextContent";
|
|
5986
|
-
}
|
|
5987
|
-
proto.talk_api.AssistantConversationMessageAudioContent = function(opt_data) {
|
|
5988
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5989
|
-
};
|
|
5990
|
-
goog.inherits(proto.talk_api.AssistantConversationMessageAudioContent, jspb.Message);
|
|
5991
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5992
|
-
proto.talk_api.AssistantConversationMessageAudioContent.displayName = "proto.talk_api.AssistantConversationMessageAudioContent";
|
|
5993
|
-
}
|
|
5994
|
-
proto.talk_api.AssistantConversationUserMessage = function(opt_data) {
|
|
5995
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantConversationUserMessage.oneofGroups_);
|
|
5996
|
-
};
|
|
5997
|
-
goog.inherits(proto.talk_api.AssistantConversationUserMessage, jspb.Message);
|
|
5998
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5999
|
-
proto.talk_api.AssistantConversationUserMessage.displayName = "proto.talk_api.AssistantConversationUserMessage";
|
|
6000
|
-
}
|
|
6001
|
-
proto.talk_api.AssistantConversationAssistantMessage = function(opt_data) {
|
|
6002
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_);
|
|
6003
|
-
};
|
|
6004
|
-
goog.inherits(proto.talk_api.AssistantConversationAssistantMessage, jspb.Message);
|
|
6005
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6006
|
-
proto.talk_api.AssistantConversationAssistantMessage.displayName = "proto.talk_api.AssistantConversationAssistantMessage";
|
|
6007
|
-
}
|
|
6008
|
-
proto.talk_api.AssistantMessagingRequest = function(opt_data) {
|
|
6009
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingRequest.oneofGroups_);
|
|
6010
|
-
};
|
|
6011
|
-
goog.inherits(proto.talk_api.AssistantMessagingRequest, jspb.Message);
|
|
6012
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6013
|
-
proto.talk_api.AssistantMessagingRequest.displayName = "proto.talk_api.AssistantMessagingRequest";
|
|
6014
|
-
}
|
|
6015
|
-
proto.talk_api.AssistantMessagingResponse = function(opt_data) {
|
|
6016
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingResponse.oneofGroups_);
|
|
6017
|
-
};
|
|
6018
|
-
goog.inherits(proto.talk_api.AssistantMessagingResponse, jspb.Message);
|
|
6019
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6020
|
-
proto.talk_api.AssistantMessagingResponse.displayName = "proto.talk_api.AssistantMessagingResponse";
|
|
6021
|
-
}
|
|
6022
|
-
proto.talk_api.CreateMessageMetricRequest = function(opt_data) {
|
|
6023
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricRequest.repeatedFields_, null);
|
|
6024
|
-
};
|
|
6025
|
-
goog.inherits(proto.talk_api.CreateMessageMetricRequest, jspb.Message);
|
|
6026
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6027
|
-
proto.talk_api.CreateMessageMetricRequest.displayName = "proto.talk_api.CreateMessageMetricRequest";
|
|
6028
|
-
}
|
|
6029
|
-
proto.talk_api.CreateMessageMetricResponse = function(opt_data) {
|
|
6030
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricResponse.repeatedFields_, null);
|
|
6031
|
-
};
|
|
6032
|
-
goog.inherits(proto.talk_api.CreateMessageMetricResponse, jspb.Message);
|
|
6033
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6034
|
-
proto.talk_api.CreateMessageMetricResponse.displayName = "proto.talk_api.CreateMessageMetricResponse";
|
|
6035
|
-
}
|
|
6036
|
-
proto.talk_api.CreateConversationMetricRequest = function(opt_data) {
|
|
6037
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricRequest.repeatedFields_, null);
|
|
6038
|
-
};
|
|
6039
|
-
goog.inherits(proto.talk_api.CreateConversationMetricRequest, jspb.Message);
|
|
6040
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6041
|
-
proto.talk_api.CreateConversationMetricRequest.displayName = "proto.talk_api.CreateConversationMetricRequest";
|
|
6042
|
-
}
|
|
6043
|
-
proto.talk_api.CreateConversationMetricResponse = function(opt_data) {
|
|
6044
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricResponse.repeatedFields_, null);
|
|
6045
|
-
};
|
|
6046
|
-
goog.inherits(proto.talk_api.CreateConversationMetricResponse, jspb.Message);
|
|
6047
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6048
|
-
proto.talk_api.CreateConversationMetricResponse.displayName = "proto.talk_api.CreateConversationMetricResponse";
|
|
6049
|
-
}
|
|
6050
|
-
proto.talk_api.CreatePhoneCallRequest = function(opt_data) {
|
|
6051
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6052
|
-
};
|
|
6053
|
-
goog.inherits(proto.talk_api.CreatePhoneCallRequest, jspb.Message);
|
|
6054
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6055
|
-
proto.talk_api.CreatePhoneCallRequest.displayName = "proto.talk_api.CreatePhoneCallRequest";
|
|
6056
|
-
}
|
|
6057
|
-
proto.talk_api.CreatePhoneCallResponse = function(opt_data) {
|
|
6058
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6059
|
-
};
|
|
6060
|
-
goog.inherits(proto.talk_api.CreatePhoneCallResponse, jspb.Message);
|
|
6061
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6062
|
-
proto.talk_api.CreatePhoneCallResponse.displayName = "proto.talk_api.CreatePhoneCallResponse";
|
|
6063
|
-
}
|
|
6064
|
-
proto.talk_api.CreateBulkPhoneCallRequest = function(opt_data) {
|
|
6065
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallRequest.repeatedFields_, null);
|
|
6066
|
-
};
|
|
6067
|
-
goog.inherits(proto.talk_api.CreateBulkPhoneCallRequest, jspb.Message);
|
|
6068
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6069
|
-
proto.talk_api.CreateBulkPhoneCallRequest.displayName = "proto.talk_api.CreateBulkPhoneCallRequest";
|
|
6070
|
-
}
|
|
6071
|
-
proto.talk_api.CreateBulkPhoneCallResponse = function(opt_data) {
|
|
6072
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallResponse.repeatedFields_, null);
|
|
6073
|
-
};
|
|
6074
|
-
goog.inherits(proto.talk_api.CreateBulkPhoneCallResponse, jspb.Message);
|
|
6075
|
-
if (goog.DEBUG && !COMPILED) {
|
|
6076
|
-
proto.talk_api.CreateBulkPhoneCallResponse.displayName = "proto.talk_api.CreateBulkPhoneCallResponse";
|
|
6077
|
-
}
|
|
6078
5972
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6079
|
-
proto.
|
|
6080
|
-
return proto.
|
|
5973
|
+
proto.AssistantConversationConfiguration.prototype.toObject = function(opt_includeInstance) {
|
|
5974
|
+
return proto.AssistantConversationConfiguration.toObject(opt_includeInstance, this);
|
|
6081
5975
|
};
|
|
6082
|
-
proto.
|
|
5976
|
+
proto.AssistantConversationConfiguration.toObject = function(includeInstance, msg) {
|
|
6083
5977
|
var f, obj = {
|
|
6084
5978
|
assistantconversationid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
6085
|
-
assistant: (f = msg.getAssistant()) &&
|
|
5979
|
+
assistant: (f = msg.getAssistant()) && proto.AssistantDefinition.toObject(includeInstance, f),
|
|
6086
5980
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6087
5981
|
metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [],
|
|
6088
5982
|
argsMap: (f = msg.getArgsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [],
|
|
@@ -6094,12 +5988,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6094
5988
|
return obj;
|
|
6095
5989
|
};
|
|
6096
5990
|
}
|
|
6097
|
-
proto.
|
|
5991
|
+
proto.AssistantConversationConfiguration.deserializeBinary = function(bytes) {
|
|
6098
5992
|
var reader = new jspb.BinaryReader(bytes);
|
|
6099
|
-
var msg = new proto.
|
|
6100
|
-
return proto.
|
|
5993
|
+
var msg = new proto.AssistantConversationConfiguration();
|
|
5994
|
+
return proto.AssistantConversationConfiguration.deserializeBinaryFromReader(msg, reader);
|
|
6101
5995
|
};
|
|
6102
|
-
proto.
|
|
5996
|
+
proto.AssistantConversationConfiguration.deserializeBinaryFromReader = function(msg, reader) {
|
|
6103
5997
|
while (reader.nextField()) {
|
|
6104
5998
|
if (reader.isEndGroup()) {
|
|
6105
5999
|
break;
|
|
@@ -6114,8 +6008,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
6114
6008
|
msg.setAssistantconversationid(value);
|
|
6115
6009
|
break;
|
|
6116
6010
|
case 2:
|
|
6117
|
-
var value = new
|
|
6118
|
-
reader.readMessage(value,
|
|
6011
|
+
var value = new proto.AssistantDefinition();
|
|
6012
|
+
reader.readMessage(value, proto.AssistantDefinition.deserializeBinaryFromReader);
|
|
6119
6013
|
msg.setAssistant(value);
|
|
6120
6014
|
break;
|
|
6121
6015
|
case 3:
|
|
@@ -6148,12 +6042,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6148
6042
|
}
|
|
6149
6043
|
return msg;
|
|
6150
6044
|
};
|
|
6151
|
-
proto.
|
|
6045
|
+
proto.AssistantConversationConfiguration.prototype.serializeBinary = function() {
|
|
6152
6046
|
var writer = new jspb.BinaryWriter();
|
|
6153
|
-
proto.
|
|
6047
|
+
proto.AssistantConversationConfiguration.serializeBinaryToWriter(this, writer);
|
|
6154
6048
|
return writer.getResultBuffer();
|
|
6155
6049
|
};
|
|
6156
|
-
proto.
|
|
6050
|
+
proto.AssistantConversationConfiguration.serializeBinaryToWriter = function(message, writer) {
|
|
6157
6051
|
var f = void 0;
|
|
6158
6052
|
f = message.getAssistantconversationid();
|
|
6159
6053
|
if (parseInt(f, 10) !== 0) {
|
|
@@ -6167,7 +6061,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
6167
6061
|
writer.writeMessage(
|
|
6168
6062
|
2,
|
|
6169
6063
|
f,
|
|
6170
|
-
|
|
6064
|
+
proto.AssistantDefinition.serializeBinaryToWriter
|
|
6171
6065
|
);
|
|
6172
6066
|
}
|
|
6173
6067
|
f = message.getTime();
|
|
@@ -6191,46 +6085,46 @@ var require_talk_api_pb = __commonJS({
|
|
|
6191
6085
|
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Any.serializeBinaryToWriter);
|
|
6192
6086
|
}
|
|
6193
6087
|
};
|
|
6194
|
-
proto.
|
|
6088
|
+
proto.AssistantConversationConfiguration.prototype.getAssistantconversationid = function() {
|
|
6195
6089
|
return (
|
|
6196
6090
|
/** @type {string} */
|
|
6197
6091
|
jspb.Message.getFieldWithDefault(this, 1, "0")
|
|
6198
6092
|
);
|
|
6199
6093
|
};
|
|
6200
|
-
proto.
|
|
6094
|
+
proto.AssistantConversationConfiguration.prototype.setAssistantconversationid = function(value) {
|
|
6201
6095
|
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
6202
6096
|
};
|
|
6203
|
-
proto.
|
|
6097
|
+
proto.AssistantConversationConfiguration.prototype.getAssistant = function() {
|
|
6204
6098
|
return (
|
|
6205
6099
|
/** @type{?proto.AssistantDefinition} */
|
|
6206
|
-
jspb.Message.getWrapperField(this,
|
|
6100
|
+
jspb.Message.getWrapperField(this, proto.AssistantDefinition, 2)
|
|
6207
6101
|
);
|
|
6208
6102
|
};
|
|
6209
|
-
proto.
|
|
6103
|
+
proto.AssistantConversationConfiguration.prototype.setAssistant = function(value) {
|
|
6210
6104
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
6211
6105
|
};
|
|
6212
|
-
proto.
|
|
6106
|
+
proto.AssistantConversationConfiguration.prototype.clearAssistant = function() {
|
|
6213
6107
|
return this.setAssistant(void 0);
|
|
6214
6108
|
};
|
|
6215
|
-
proto.
|
|
6109
|
+
proto.AssistantConversationConfiguration.prototype.hasAssistant = function() {
|
|
6216
6110
|
return jspb.Message.getField(this, 2) != null;
|
|
6217
6111
|
};
|
|
6218
|
-
proto.
|
|
6112
|
+
proto.AssistantConversationConfiguration.prototype.getTime = function() {
|
|
6219
6113
|
return (
|
|
6220
6114
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
6221
6115
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)
|
|
6222
6116
|
);
|
|
6223
6117
|
};
|
|
6224
|
-
proto.
|
|
6118
|
+
proto.AssistantConversationConfiguration.prototype.setTime = function(value) {
|
|
6225
6119
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
6226
6120
|
};
|
|
6227
|
-
proto.
|
|
6121
|
+
proto.AssistantConversationConfiguration.prototype.clearTime = function() {
|
|
6228
6122
|
return this.setTime(void 0);
|
|
6229
6123
|
};
|
|
6230
|
-
proto.
|
|
6124
|
+
proto.AssistantConversationConfiguration.prototype.hasTime = function() {
|
|
6231
6125
|
return jspb.Message.getField(this, 3) != null;
|
|
6232
6126
|
};
|
|
6233
|
-
proto.
|
|
6127
|
+
proto.AssistantConversationConfiguration.prototype.getMetadataMap = function(opt_noLazyCreate) {
|
|
6234
6128
|
return (
|
|
6235
6129
|
/** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
|
|
6236
6130
|
jspb.Message.getMapField(
|
|
@@ -6241,11 +6135,11 @@ var require_talk_api_pb = __commonJS({
|
|
|
6241
6135
|
)
|
|
6242
6136
|
);
|
|
6243
6137
|
};
|
|
6244
|
-
proto.
|
|
6138
|
+
proto.AssistantConversationConfiguration.prototype.clearMetadataMap = function() {
|
|
6245
6139
|
this.getMetadataMap().clear();
|
|
6246
6140
|
return this;
|
|
6247
6141
|
};
|
|
6248
|
-
proto.
|
|
6142
|
+
proto.AssistantConversationConfiguration.prototype.getArgsMap = function(opt_noLazyCreate) {
|
|
6249
6143
|
return (
|
|
6250
6144
|
/** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
|
|
6251
6145
|
jspb.Message.getMapField(
|
|
@@ -6256,11 +6150,11 @@ var require_talk_api_pb = __commonJS({
|
|
|
6256
6150
|
)
|
|
6257
6151
|
);
|
|
6258
6152
|
};
|
|
6259
|
-
proto.
|
|
6153
|
+
proto.AssistantConversationConfiguration.prototype.clearArgsMap = function() {
|
|
6260
6154
|
this.getArgsMap().clear();
|
|
6261
6155
|
return this;
|
|
6262
6156
|
};
|
|
6263
|
-
proto.
|
|
6157
|
+
proto.AssistantConversationConfiguration.prototype.getOptionsMap = function(opt_noLazyCreate) {
|
|
6264
6158
|
return (
|
|
6265
6159
|
/** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
|
|
6266
6160
|
jspb.Message.getMapField(
|
|
@@ -6271,15 +6165,15 @@ var require_talk_api_pb = __commonJS({
|
|
|
6271
6165
|
)
|
|
6272
6166
|
);
|
|
6273
6167
|
};
|
|
6274
|
-
proto.
|
|
6168
|
+
proto.AssistantConversationConfiguration.prototype.clearOptionsMap = function() {
|
|
6275
6169
|
this.getOptionsMap().clear();
|
|
6276
6170
|
return this;
|
|
6277
6171
|
};
|
|
6278
6172
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6279
|
-
proto.
|
|
6280
|
-
return proto.
|
|
6173
|
+
proto.AssistantConversationDisconnectAction.prototype.toObject = function(opt_includeInstance) {
|
|
6174
|
+
return proto.AssistantConversationDisconnectAction.toObject(opt_includeInstance, this);
|
|
6281
6175
|
};
|
|
6282
|
-
proto.
|
|
6176
|
+
proto.AssistantConversationDisconnectAction.toObject = function(includeInstance, msg) {
|
|
6283
6177
|
var f, obj = {
|
|
6284
6178
|
reason: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6285
6179
|
};
|
|
@@ -6289,12 +6183,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6289
6183
|
return obj;
|
|
6290
6184
|
};
|
|
6291
6185
|
}
|
|
6292
|
-
proto.
|
|
6186
|
+
proto.AssistantConversationDisconnectAction.deserializeBinary = function(bytes) {
|
|
6293
6187
|
var reader = new jspb.BinaryReader(bytes);
|
|
6294
|
-
var msg = new proto.
|
|
6295
|
-
return proto.
|
|
6188
|
+
var msg = new proto.AssistantConversationDisconnectAction();
|
|
6189
|
+
return proto.AssistantConversationDisconnectAction.deserializeBinaryFromReader(msg, reader);
|
|
6296
6190
|
};
|
|
6297
|
-
proto.
|
|
6191
|
+
proto.AssistantConversationDisconnectAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6298
6192
|
while (reader.nextField()) {
|
|
6299
6193
|
if (reader.isEndGroup()) {
|
|
6300
6194
|
break;
|
|
@@ -6315,12 +6209,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6315
6209
|
}
|
|
6316
6210
|
return msg;
|
|
6317
6211
|
};
|
|
6318
|
-
proto.
|
|
6212
|
+
proto.AssistantConversationDisconnectAction.prototype.serializeBinary = function() {
|
|
6319
6213
|
var writer = new jspb.BinaryWriter();
|
|
6320
|
-
proto.
|
|
6214
|
+
proto.AssistantConversationDisconnectAction.serializeBinaryToWriter(this, writer);
|
|
6321
6215
|
return writer.getResultBuffer();
|
|
6322
6216
|
};
|
|
6323
|
-
proto.
|
|
6217
|
+
proto.AssistantConversationDisconnectAction.serializeBinaryToWriter = function(message, writer) {
|
|
6324
6218
|
var f = void 0;
|
|
6325
6219
|
f = message.getReason();
|
|
6326
6220
|
if (f.length > 0) {
|
|
@@ -6330,20 +6224,20 @@ var require_talk_api_pb = __commonJS({
|
|
|
6330
6224
|
);
|
|
6331
6225
|
}
|
|
6332
6226
|
};
|
|
6333
|
-
proto.
|
|
6227
|
+
proto.AssistantConversationDisconnectAction.prototype.getReason = function() {
|
|
6334
6228
|
return (
|
|
6335
6229
|
/** @type {string} */
|
|
6336
6230
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6337
6231
|
);
|
|
6338
6232
|
};
|
|
6339
|
-
proto.
|
|
6233
|
+
proto.AssistantConversationDisconnectAction.prototype.setReason = function(value) {
|
|
6340
6234
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6341
6235
|
};
|
|
6342
6236
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6343
|
-
proto.
|
|
6344
|
-
return proto.
|
|
6237
|
+
proto.AssistantConverstationHoldAction.prototype.toObject = function(opt_includeInstance) {
|
|
6238
|
+
return proto.AssistantConverstationHoldAction.toObject(opt_includeInstance, this);
|
|
6345
6239
|
};
|
|
6346
|
-
proto.
|
|
6240
|
+
proto.AssistantConverstationHoldAction.toObject = function(includeInstance, msg) {
|
|
6347
6241
|
var f, obj = {
|
|
6348
6242
|
holdtime: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
6349
6243
|
};
|
|
@@ -6353,12 +6247,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6353
6247
|
return obj;
|
|
6354
6248
|
};
|
|
6355
6249
|
}
|
|
6356
|
-
proto.
|
|
6250
|
+
proto.AssistantConverstationHoldAction.deserializeBinary = function(bytes) {
|
|
6357
6251
|
var reader = new jspb.BinaryReader(bytes);
|
|
6358
|
-
var msg = new proto.
|
|
6359
|
-
return proto.
|
|
6252
|
+
var msg = new proto.AssistantConverstationHoldAction();
|
|
6253
|
+
return proto.AssistantConverstationHoldAction.deserializeBinaryFromReader(msg, reader);
|
|
6360
6254
|
};
|
|
6361
|
-
proto.
|
|
6255
|
+
proto.AssistantConverstationHoldAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6362
6256
|
while (reader.nextField()) {
|
|
6363
6257
|
if (reader.isEndGroup()) {
|
|
6364
6258
|
break;
|
|
@@ -6379,12 +6273,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6379
6273
|
}
|
|
6380
6274
|
return msg;
|
|
6381
6275
|
};
|
|
6382
|
-
proto.
|
|
6276
|
+
proto.AssistantConverstationHoldAction.prototype.serializeBinary = function() {
|
|
6383
6277
|
var writer = new jspb.BinaryWriter();
|
|
6384
|
-
proto.
|
|
6278
|
+
proto.AssistantConverstationHoldAction.serializeBinaryToWriter(this, writer);
|
|
6385
6279
|
return writer.getResultBuffer();
|
|
6386
6280
|
};
|
|
6387
|
-
proto.
|
|
6281
|
+
proto.AssistantConverstationHoldAction.serializeBinaryToWriter = function(message, writer) {
|
|
6388
6282
|
var f = void 0;
|
|
6389
6283
|
f = message.getHoldtime();
|
|
6390
6284
|
if (f !== 0) {
|
|
@@ -6394,20 +6288,20 @@ var require_talk_api_pb = __commonJS({
|
|
|
6394
6288
|
);
|
|
6395
6289
|
}
|
|
6396
6290
|
};
|
|
6397
|
-
proto.
|
|
6291
|
+
proto.AssistantConverstationHoldAction.prototype.getHoldtime = function() {
|
|
6398
6292
|
return (
|
|
6399
6293
|
/** @type {number} */
|
|
6400
6294
|
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
6401
6295
|
);
|
|
6402
6296
|
};
|
|
6403
|
-
proto.
|
|
6297
|
+
proto.AssistantConverstationHoldAction.prototype.setHoldtime = function(value) {
|
|
6404
6298
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6405
6299
|
};
|
|
6406
6300
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6407
|
-
proto.
|
|
6408
|
-
return proto.
|
|
6301
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.prototype.toObject = function(opt_includeInstance) {
|
|
6302
|
+
return proto.AssistantConverstationKnowledgeRetrievalAction.toObject(opt_includeInstance, this);
|
|
6409
6303
|
};
|
|
6410
|
-
proto.
|
|
6304
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.toObject = function(includeInstance, msg) {
|
|
6411
6305
|
var f, obj = {
|
|
6412
6306
|
query: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6413
6307
|
};
|
|
@@ -6417,12 +6311,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6417
6311
|
return obj;
|
|
6418
6312
|
};
|
|
6419
6313
|
}
|
|
6420
|
-
proto.
|
|
6314
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinary = function(bytes) {
|
|
6421
6315
|
var reader = new jspb.BinaryReader(bytes);
|
|
6422
|
-
var msg = new proto.
|
|
6423
|
-
return proto.
|
|
6316
|
+
var msg = new proto.AssistantConverstationKnowledgeRetrievalAction();
|
|
6317
|
+
return proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader(msg, reader);
|
|
6424
6318
|
};
|
|
6425
|
-
proto.
|
|
6319
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6426
6320
|
while (reader.nextField()) {
|
|
6427
6321
|
if (reader.isEndGroup()) {
|
|
6428
6322
|
break;
|
|
@@ -6443,12 +6337,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6443
6337
|
}
|
|
6444
6338
|
return msg;
|
|
6445
6339
|
};
|
|
6446
|
-
proto.
|
|
6340
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.prototype.serializeBinary = function() {
|
|
6447
6341
|
var writer = new jspb.BinaryWriter();
|
|
6448
|
-
proto.
|
|
6342
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter(this, writer);
|
|
6449
6343
|
return writer.getResultBuffer();
|
|
6450
6344
|
};
|
|
6451
|
-
proto.
|
|
6345
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter = function(message, writer) {
|
|
6452
6346
|
var f = void 0;
|
|
6453
6347
|
f = message.getQuery();
|
|
6454
6348
|
if (f.length > 0) {
|
|
@@ -6458,20 +6352,20 @@ var require_talk_api_pb = __commonJS({
|
|
|
6458
6352
|
);
|
|
6459
6353
|
}
|
|
6460
6354
|
};
|
|
6461
|
-
proto.
|
|
6355
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.prototype.getQuery = function() {
|
|
6462
6356
|
return (
|
|
6463
6357
|
/** @type {string} */
|
|
6464
6358
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6465
6359
|
);
|
|
6466
6360
|
};
|
|
6467
|
-
proto.
|
|
6361
|
+
proto.AssistantConverstationKnowledgeRetrievalAction.prototype.setQuery = function(value) {
|
|
6468
6362
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6469
6363
|
};
|
|
6470
6364
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6471
|
-
proto.
|
|
6472
|
-
return proto.
|
|
6365
|
+
proto.AssistantConverstationApiRequestAction.prototype.toObject = function(opt_includeInstance) {
|
|
6366
|
+
return proto.AssistantConverstationApiRequestAction.toObject(opt_includeInstance, this);
|
|
6473
6367
|
};
|
|
6474
|
-
proto.
|
|
6368
|
+
proto.AssistantConverstationApiRequestAction.toObject = function(includeInstance, msg) {
|
|
6475
6369
|
var f, obj = {};
|
|
6476
6370
|
if (includeInstance) {
|
|
6477
6371
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6479,12 +6373,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6479
6373
|
return obj;
|
|
6480
6374
|
};
|
|
6481
6375
|
}
|
|
6482
|
-
proto.
|
|
6376
|
+
proto.AssistantConverstationApiRequestAction.deserializeBinary = function(bytes) {
|
|
6483
6377
|
var reader = new jspb.BinaryReader(bytes);
|
|
6484
|
-
var msg = new proto.
|
|
6485
|
-
return proto.
|
|
6378
|
+
var msg = new proto.AssistantConverstationApiRequestAction();
|
|
6379
|
+
return proto.AssistantConverstationApiRequestAction.deserializeBinaryFromReader(msg, reader);
|
|
6486
6380
|
};
|
|
6487
|
-
proto.
|
|
6381
|
+
proto.AssistantConverstationApiRequestAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6488
6382
|
while (reader.nextField()) {
|
|
6489
6383
|
if (reader.isEndGroup()) {
|
|
6490
6384
|
break;
|
|
@@ -6498,19 +6392,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6498
6392
|
}
|
|
6499
6393
|
return msg;
|
|
6500
6394
|
};
|
|
6501
|
-
proto.
|
|
6395
|
+
proto.AssistantConverstationApiRequestAction.prototype.serializeBinary = function() {
|
|
6502
6396
|
var writer = new jspb.BinaryWriter();
|
|
6503
|
-
proto.
|
|
6397
|
+
proto.AssistantConverstationApiRequestAction.serializeBinaryToWriter(this, writer);
|
|
6504
6398
|
return writer.getResultBuffer();
|
|
6505
6399
|
};
|
|
6506
|
-
proto.
|
|
6400
|
+
proto.AssistantConverstationApiRequestAction.serializeBinaryToWriter = function(message, writer) {
|
|
6507
6401
|
var f = void 0;
|
|
6508
6402
|
};
|
|
6509
6403
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6510
|
-
proto.
|
|
6511
|
-
return proto.
|
|
6404
|
+
proto.AssistantConverstationEndpointAction.prototype.toObject = function(opt_includeInstance) {
|
|
6405
|
+
return proto.AssistantConverstationEndpointAction.toObject(opt_includeInstance, this);
|
|
6512
6406
|
};
|
|
6513
|
-
proto.
|
|
6407
|
+
proto.AssistantConverstationEndpointAction.toObject = function(includeInstance, msg) {
|
|
6514
6408
|
var f, obj = {};
|
|
6515
6409
|
if (includeInstance) {
|
|
6516
6410
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6518,12 +6412,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6518
6412
|
return obj;
|
|
6519
6413
|
};
|
|
6520
6414
|
}
|
|
6521
|
-
proto.
|
|
6415
|
+
proto.AssistantConverstationEndpointAction.deserializeBinary = function(bytes) {
|
|
6522
6416
|
var reader = new jspb.BinaryReader(bytes);
|
|
6523
|
-
var msg = new proto.
|
|
6524
|
-
return proto.
|
|
6417
|
+
var msg = new proto.AssistantConverstationEndpointAction();
|
|
6418
|
+
return proto.AssistantConverstationEndpointAction.deserializeBinaryFromReader(msg, reader);
|
|
6525
6419
|
};
|
|
6526
|
-
proto.
|
|
6420
|
+
proto.AssistantConverstationEndpointAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6527
6421
|
while (reader.nextField()) {
|
|
6528
6422
|
if (reader.isEndGroup()) {
|
|
6529
6423
|
break;
|
|
@@ -6537,19 +6431,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6537
6431
|
}
|
|
6538
6432
|
return msg;
|
|
6539
6433
|
};
|
|
6540
|
-
proto.
|
|
6434
|
+
proto.AssistantConverstationEndpointAction.prototype.serializeBinary = function() {
|
|
6541
6435
|
var writer = new jspb.BinaryWriter();
|
|
6542
|
-
proto.
|
|
6436
|
+
proto.AssistantConverstationEndpointAction.serializeBinaryToWriter(this, writer);
|
|
6543
6437
|
return writer.getResultBuffer();
|
|
6544
6438
|
};
|
|
6545
|
-
proto.
|
|
6439
|
+
proto.AssistantConverstationEndpointAction.serializeBinaryToWriter = function(message, writer) {
|
|
6546
6440
|
var f = void 0;
|
|
6547
6441
|
};
|
|
6548
6442
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6549
|
-
proto.
|
|
6550
|
-
return proto.
|
|
6443
|
+
proto.AssistantConversationDeviationAction.prototype.toObject = function(opt_includeInstance) {
|
|
6444
|
+
return proto.AssistantConversationDeviationAction.toObject(opt_includeInstance, this);
|
|
6551
6445
|
};
|
|
6552
|
-
proto.
|
|
6446
|
+
proto.AssistantConversationDeviationAction.toObject = function(includeInstance, msg) {
|
|
6553
6447
|
var f, obj = {};
|
|
6554
6448
|
if (includeInstance) {
|
|
6555
6449
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6557,12 +6451,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6557
6451
|
return obj;
|
|
6558
6452
|
};
|
|
6559
6453
|
}
|
|
6560
|
-
proto.
|
|
6454
|
+
proto.AssistantConversationDeviationAction.deserializeBinary = function(bytes) {
|
|
6561
6455
|
var reader = new jspb.BinaryReader(bytes);
|
|
6562
|
-
var msg = new proto.
|
|
6563
|
-
return proto.
|
|
6456
|
+
var msg = new proto.AssistantConversationDeviationAction();
|
|
6457
|
+
return proto.AssistantConversationDeviationAction.deserializeBinaryFromReader(msg, reader);
|
|
6564
6458
|
};
|
|
6565
|
-
proto.
|
|
6459
|
+
proto.AssistantConversationDeviationAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6566
6460
|
while (reader.nextField()) {
|
|
6567
6461
|
if (reader.isEndGroup()) {
|
|
6568
6462
|
break;
|
|
@@ -6576,19 +6470,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6576
6470
|
}
|
|
6577
6471
|
return msg;
|
|
6578
6472
|
};
|
|
6579
|
-
proto.
|
|
6473
|
+
proto.AssistantConversationDeviationAction.prototype.serializeBinary = function() {
|
|
6580
6474
|
var writer = new jspb.BinaryWriter();
|
|
6581
|
-
proto.
|
|
6475
|
+
proto.AssistantConversationDeviationAction.serializeBinaryToWriter(this, writer);
|
|
6582
6476
|
return writer.getResultBuffer();
|
|
6583
6477
|
};
|
|
6584
|
-
proto.
|
|
6478
|
+
proto.AssistantConversationDeviationAction.serializeBinaryToWriter = function(message, writer) {
|
|
6585
6479
|
var f = void 0;
|
|
6586
6480
|
};
|
|
6587
6481
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6588
|
-
proto.
|
|
6589
|
-
return proto.
|
|
6482
|
+
proto.AssistantConversationAssistantTransferAction.prototype.toObject = function(opt_includeInstance) {
|
|
6483
|
+
return proto.AssistantConversationAssistantTransferAction.toObject(opt_includeInstance, this);
|
|
6590
6484
|
};
|
|
6591
|
-
proto.
|
|
6485
|
+
proto.AssistantConversationAssistantTransferAction.toObject = function(includeInstance, msg) {
|
|
6592
6486
|
var f, obj = {};
|
|
6593
6487
|
if (includeInstance) {
|
|
6594
6488
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6596,12 +6490,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6596
6490
|
return obj;
|
|
6597
6491
|
};
|
|
6598
6492
|
}
|
|
6599
|
-
proto.
|
|
6493
|
+
proto.AssistantConversationAssistantTransferAction.deserializeBinary = function(bytes) {
|
|
6600
6494
|
var reader = new jspb.BinaryReader(bytes);
|
|
6601
|
-
var msg = new proto.
|
|
6602
|
-
return proto.
|
|
6495
|
+
var msg = new proto.AssistantConversationAssistantTransferAction();
|
|
6496
|
+
return proto.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader(msg, reader);
|
|
6603
6497
|
};
|
|
6604
|
-
proto.
|
|
6498
|
+
proto.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6605
6499
|
while (reader.nextField()) {
|
|
6606
6500
|
if (reader.isEndGroup()) {
|
|
6607
6501
|
break;
|
|
@@ -6615,19 +6509,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6615
6509
|
}
|
|
6616
6510
|
return msg;
|
|
6617
6511
|
};
|
|
6618
|
-
proto.
|
|
6512
|
+
proto.AssistantConversationAssistantTransferAction.prototype.serializeBinary = function() {
|
|
6619
6513
|
var writer = new jspb.BinaryWriter();
|
|
6620
|
-
proto.
|
|
6514
|
+
proto.AssistantConversationAssistantTransferAction.serializeBinaryToWriter(this, writer);
|
|
6621
6515
|
return writer.getResultBuffer();
|
|
6622
6516
|
};
|
|
6623
|
-
proto.
|
|
6517
|
+
proto.AssistantConversationAssistantTransferAction.serializeBinaryToWriter = function(message, writer) {
|
|
6624
6518
|
var f = void 0;
|
|
6625
6519
|
};
|
|
6626
6520
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6627
|
-
proto.
|
|
6628
|
-
return proto.
|
|
6521
|
+
proto.AssistantConversationPhoneCallTransferAction.prototype.toObject = function(opt_includeInstance) {
|
|
6522
|
+
return proto.AssistantConversationPhoneCallTransferAction.toObject(opt_includeInstance, this);
|
|
6629
6523
|
};
|
|
6630
|
-
proto.
|
|
6524
|
+
proto.AssistantConversationPhoneCallTransferAction.toObject = function(includeInstance, msg) {
|
|
6631
6525
|
var f, obj = {};
|
|
6632
6526
|
if (includeInstance) {
|
|
6633
6527
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6635,12 +6529,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6635
6529
|
return obj;
|
|
6636
6530
|
};
|
|
6637
6531
|
}
|
|
6638
|
-
proto.
|
|
6532
|
+
proto.AssistantConversationPhoneCallTransferAction.deserializeBinary = function(bytes) {
|
|
6639
6533
|
var reader = new jspb.BinaryReader(bytes);
|
|
6640
|
-
var msg = new proto.
|
|
6641
|
-
return proto.
|
|
6534
|
+
var msg = new proto.AssistantConversationPhoneCallTransferAction();
|
|
6535
|
+
return proto.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader(msg, reader);
|
|
6642
6536
|
};
|
|
6643
|
-
proto.
|
|
6537
|
+
proto.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
6644
6538
|
while (reader.nextField()) {
|
|
6645
6539
|
if (reader.isEndGroup()) {
|
|
6646
6540
|
break;
|
|
@@ -6654,19 +6548,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
6654
6548
|
}
|
|
6655
6549
|
return msg;
|
|
6656
6550
|
};
|
|
6657
|
-
proto.
|
|
6551
|
+
proto.AssistantConversationPhoneCallTransferAction.prototype.serializeBinary = function() {
|
|
6658
6552
|
var writer = new jspb.BinaryWriter();
|
|
6659
|
-
proto.
|
|
6553
|
+
proto.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter(this, writer);
|
|
6660
6554
|
return writer.getResultBuffer();
|
|
6661
6555
|
};
|
|
6662
|
-
proto.
|
|
6556
|
+
proto.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter = function(message, writer) {
|
|
6663
6557
|
var f = void 0;
|
|
6664
6558
|
};
|
|
6665
6559
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6666
|
-
proto.
|
|
6667
|
-
return proto.
|
|
6560
|
+
proto.AssistantConversationInterruption.prototype.toObject = function(opt_includeInstance) {
|
|
6561
|
+
return proto.AssistantConversationInterruption.toObject(opt_includeInstance, this);
|
|
6668
6562
|
};
|
|
6669
|
-
proto.
|
|
6563
|
+
proto.AssistantConversationInterruption.toObject = function(includeInstance, msg) {
|
|
6670
6564
|
var f, obj = {
|
|
6671
6565
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6672
6566
|
type: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -6678,12 +6572,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6678
6572
|
return obj;
|
|
6679
6573
|
};
|
|
6680
6574
|
}
|
|
6681
|
-
proto.
|
|
6575
|
+
proto.AssistantConversationInterruption.deserializeBinary = function(bytes) {
|
|
6682
6576
|
var reader = new jspb.BinaryReader(bytes);
|
|
6683
|
-
var msg = new proto.
|
|
6684
|
-
return proto.
|
|
6577
|
+
var msg = new proto.AssistantConversationInterruption();
|
|
6578
|
+
return proto.AssistantConversationInterruption.deserializeBinaryFromReader(msg, reader);
|
|
6685
6579
|
};
|
|
6686
|
-
proto.
|
|
6580
|
+
proto.AssistantConversationInterruption.deserializeBinaryFromReader = function(msg, reader) {
|
|
6687
6581
|
while (reader.nextField()) {
|
|
6688
6582
|
if (reader.isEndGroup()) {
|
|
6689
6583
|
break;
|
|
@@ -6699,7 +6593,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
6699
6593
|
break;
|
|
6700
6594
|
case 2:
|
|
6701
6595
|
var value = (
|
|
6702
|
-
/** @type {!proto.
|
|
6596
|
+
/** @type {!proto.AssistantConversationInterruption.InterruptionType} */
|
|
6703
6597
|
reader.readEnum()
|
|
6704
6598
|
);
|
|
6705
6599
|
msg.setType(value);
|
|
@@ -6716,12 +6610,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6716
6610
|
}
|
|
6717
6611
|
return msg;
|
|
6718
6612
|
};
|
|
6719
|
-
proto.
|
|
6613
|
+
proto.AssistantConversationInterruption.prototype.serializeBinary = function() {
|
|
6720
6614
|
var writer = new jspb.BinaryWriter();
|
|
6721
|
-
proto.
|
|
6615
|
+
proto.AssistantConversationInterruption.serializeBinaryToWriter(this, writer);
|
|
6722
6616
|
return writer.getResultBuffer();
|
|
6723
6617
|
};
|
|
6724
|
-
proto.
|
|
6618
|
+
proto.AssistantConversationInterruption.serializeBinaryToWriter = function(message, writer) {
|
|
6725
6619
|
var f = void 0;
|
|
6726
6620
|
f = message.getId();
|
|
6727
6621
|
if (f.length > 0) {
|
|
@@ -6746,49 +6640,49 @@ var require_talk_api_pb = __commonJS({
|
|
|
6746
6640
|
);
|
|
6747
6641
|
}
|
|
6748
6642
|
};
|
|
6749
|
-
proto.
|
|
6643
|
+
proto.AssistantConversationInterruption.InterruptionType = {
|
|
6750
6644
|
INTERRUPTION_TYPE_UNSPECIFIED: 0,
|
|
6751
6645
|
INTERRUPTION_TYPE_VAD: 1,
|
|
6752
6646
|
INTERRUPTION_TYPE_WORD: 2
|
|
6753
6647
|
};
|
|
6754
|
-
proto.
|
|
6648
|
+
proto.AssistantConversationInterruption.prototype.getId = function() {
|
|
6755
6649
|
return (
|
|
6756
6650
|
/** @type {string} */
|
|
6757
6651
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6758
6652
|
);
|
|
6759
6653
|
};
|
|
6760
|
-
proto.
|
|
6654
|
+
proto.AssistantConversationInterruption.prototype.setId = function(value) {
|
|
6761
6655
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6762
6656
|
};
|
|
6763
|
-
proto.
|
|
6657
|
+
proto.AssistantConversationInterruption.prototype.getType = function() {
|
|
6764
6658
|
return (
|
|
6765
|
-
/** @type {!proto.
|
|
6659
|
+
/** @type {!proto.AssistantConversationInterruption.InterruptionType} */
|
|
6766
6660
|
jspb.Message.getFieldWithDefault(this, 2, 0)
|
|
6767
6661
|
);
|
|
6768
6662
|
};
|
|
6769
|
-
proto.
|
|
6663
|
+
proto.AssistantConversationInterruption.prototype.setType = function(value) {
|
|
6770
6664
|
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
6771
6665
|
};
|
|
6772
|
-
proto.
|
|
6666
|
+
proto.AssistantConversationInterruption.prototype.getTime = function() {
|
|
6773
6667
|
return (
|
|
6774
6668
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
6775
6669
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)
|
|
6776
6670
|
);
|
|
6777
6671
|
};
|
|
6778
|
-
proto.
|
|
6672
|
+
proto.AssistantConversationInterruption.prototype.setTime = function(value) {
|
|
6779
6673
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
6780
6674
|
};
|
|
6781
|
-
proto.
|
|
6675
|
+
proto.AssistantConversationInterruption.prototype.clearTime = function() {
|
|
6782
6676
|
return this.setTime(void 0);
|
|
6783
6677
|
};
|
|
6784
|
-
proto.
|
|
6678
|
+
proto.AssistantConversationInterruption.prototype.hasTime = function() {
|
|
6785
6679
|
return jspb.Message.getField(this, 3) != null;
|
|
6786
6680
|
};
|
|
6787
6681
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6788
|
-
proto.
|
|
6789
|
-
return proto.
|
|
6682
|
+
proto.AssistantConversationMessageTextContent.prototype.toObject = function(opt_includeInstance) {
|
|
6683
|
+
return proto.AssistantConversationMessageTextContent.toObject(opt_includeInstance, this);
|
|
6790
6684
|
};
|
|
6791
|
-
proto.
|
|
6685
|
+
proto.AssistantConversationMessageTextContent.toObject = function(includeInstance, msg) {
|
|
6792
6686
|
var f, obj = {
|
|
6793
6687
|
content: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6794
6688
|
};
|
|
@@ -6798,12 +6692,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6798
6692
|
return obj;
|
|
6799
6693
|
};
|
|
6800
6694
|
}
|
|
6801
|
-
proto.
|
|
6695
|
+
proto.AssistantConversationMessageTextContent.deserializeBinary = function(bytes) {
|
|
6802
6696
|
var reader = new jspb.BinaryReader(bytes);
|
|
6803
|
-
var msg = new proto.
|
|
6804
|
-
return proto.
|
|
6697
|
+
var msg = new proto.AssistantConversationMessageTextContent();
|
|
6698
|
+
return proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader(msg, reader);
|
|
6805
6699
|
};
|
|
6806
|
-
proto.
|
|
6700
|
+
proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader = function(msg, reader) {
|
|
6807
6701
|
while (reader.nextField()) {
|
|
6808
6702
|
if (reader.isEndGroup()) {
|
|
6809
6703
|
break;
|
|
@@ -6824,12 +6718,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6824
6718
|
}
|
|
6825
6719
|
return msg;
|
|
6826
6720
|
};
|
|
6827
|
-
proto.
|
|
6721
|
+
proto.AssistantConversationMessageTextContent.prototype.serializeBinary = function() {
|
|
6828
6722
|
var writer = new jspb.BinaryWriter();
|
|
6829
|
-
proto.
|
|
6723
|
+
proto.AssistantConversationMessageTextContent.serializeBinaryToWriter(this, writer);
|
|
6830
6724
|
return writer.getResultBuffer();
|
|
6831
6725
|
};
|
|
6832
|
-
proto.
|
|
6726
|
+
proto.AssistantConversationMessageTextContent.serializeBinaryToWriter = function(message, writer) {
|
|
6833
6727
|
var f = void 0;
|
|
6834
6728
|
f = message.getContent();
|
|
6835
6729
|
if (f.length > 0) {
|
|
@@ -6839,20 +6733,20 @@ var require_talk_api_pb = __commonJS({
|
|
|
6839
6733
|
);
|
|
6840
6734
|
}
|
|
6841
6735
|
};
|
|
6842
|
-
proto.
|
|
6736
|
+
proto.AssistantConversationMessageTextContent.prototype.getContent = function() {
|
|
6843
6737
|
return (
|
|
6844
6738
|
/** @type {string} */
|
|
6845
6739
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6846
6740
|
);
|
|
6847
6741
|
};
|
|
6848
|
-
proto.
|
|
6742
|
+
proto.AssistantConversationMessageTextContent.prototype.setContent = function(value) {
|
|
6849
6743
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6850
6744
|
};
|
|
6851
6745
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6852
|
-
proto.
|
|
6853
|
-
return proto.
|
|
6746
|
+
proto.AssistantConversationMessageAudioContent.prototype.toObject = function(opt_includeInstance) {
|
|
6747
|
+
return proto.AssistantConversationMessageAudioContent.toObject(opt_includeInstance, this);
|
|
6854
6748
|
};
|
|
6855
|
-
proto.
|
|
6749
|
+
proto.AssistantConversationMessageAudioContent.toObject = function(includeInstance, msg) {
|
|
6856
6750
|
var f, obj = {
|
|
6857
6751
|
content: msg.getContent_asB64()
|
|
6858
6752
|
};
|
|
@@ -6862,12 +6756,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6862
6756
|
return obj;
|
|
6863
6757
|
};
|
|
6864
6758
|
}
|
|
6865
|
-
proto.
|
|
6759
|
+
proto.AssistantConversationMessageAudioContent.deserializeBinary = function(bytes) {
|
|
6866
6760
|
var reader = new jspb.BinaryReader(bytes);
|
|
6867
|
-
var msg = new proto.
|
|
6868
|
-
return proto.
|
|
6761
|
+
var msg = new proto.AssistantConversationMessageAudioContent();
|
|
6762
|
+
return proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader(msg, reader);
|
|
6869
6763
|
};
|
|
6870
|
-
proto.
|
|
6764
|
+
proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader = function(msg, reader) {
|
|
6871
6765
|
while (reader.nextField()) {
|
|
6872
6766
|
if (reader.isEndGroup()) {
|
|
6873
6767
|
break;
|
|
@@ -6888,12 +6782,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6888
6782
|
}
|
|
6889
6783
|
return msg;
|
|
6890
6784
|
};
|
|
6891
|
-
proto.
|
|
6785
|
+
proto.AssistantConversationMessageAudioContent.prototype.serializeBinary = function() {
|
|
6892
6786
|
var writer = new jspb.BinaryWriter();
|
|
6893
|
-
proto.
|
|
6787
|
+
proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter(this, writer);
|
|
6894
6788
|
return writer.getResultBuffer();
|
|
6895
6789
|
};
|
|
6896
|
-
proto.
|
|
6790
|
+
proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter = function(message, writer) {
|
|
6897
6791
|
var f = void 0;
|
|
6898
6792
|
f = message.getContent_asU8();
|
|
6899
6793
|
if (f.length > 0) {
|
|
@@ -6903,13 +6797,13 @@ var require_talk_api_pb = __commonJS({
|
|
|
6903
6797
|
);
|
|
6904
6798
|
}
|
|
6905
6799
|
};
|
|
6906
|
-
proto.
|
|
6800
|
+
proto.AssistantConversationMessageAudioContent.prototype.getContent = function() {
|
|
6907
6801
|
return (
|
|
6908
6802
|
/** @type {!(string|Uint8Array)} */
|
|
6909
6803
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
6910
6804
|
);
|
|
6911
6805
|
};
|
|
6912
|
-
proto.
|
|
6806
|
+
proto.AssistantConversationMessageAudioContent.prototype.getContent_asB64 = function() {
|
|
6913
6807
|
return (
|
|
6914
6808
|
/** @type {string} */
|
|
6915
6809
|
jspb.Message.bytesAsB64(
|
|
@@ -6917,7 +6811,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
6917
6811
|
)
|
|
6918
6812
|
);
|
|
6919
6813
|
};
|
|
6920
|
-
proto.
|
|
6814
|
+
proto.AssistantConversationMessageAudioContent.prototype.getContent_asU8 = function() {
|
|
6921
6815
|
return (
|
|
6922
6816
|
/** @type {!Uint8Array} */
|
|
6923
6817
|
jspb.Message.bytesAsU8(
|
|
@@ -6925,29 +6819,29 @@ var require_talk_api_pb = __commonJS({
|
|
|
6925
6819
|
)
|
|
6926
6820
|
);
|
|
6927
6821
|
};
|
|
6928
|
-
proto.
|
|
6822
|
+
proto.AssistantConversationMessageAudioContent.prototype.setContent = function(value) {
|
|
6929
6823
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
6930
6824
|
};
|
|
6931
|
-
proto.
|
|
6932
|
-
proto.
|
|
6825
|
+
proto.AssistantConversationUserMessage.oneofGroups_ = [[10, 11]];
|
|
6826
|
+
proto.AssistantConversationUserMessage.MessageCase = {
|
|
6933
6827
|
MESSAGE_NOT_SET: 0,
|
|
6934
6828
|
AUDIO: 10,
|
|
6935
6829
|
TEXT: 11
|
|
6936
6830
|
};
|
|
6937
|
-
proto.
|
|
6831
|
+
proto.AssistantConversationUserMessage.prototype.getMessageCase = function() {
|
|
6938
6832
|
return (
|
|
6939
|
-
/** @type {proto.
|
|
6940
|
-
jspb.Message.computeOneofCase(this, proto.
|
|
6833
|
+
/** @type {proto.AssistantConversationUserMessage.MessageCase} */
|
|
6834
|
+
jspb.Message.computeOneofCase(this, proto.AssistantConversationUserMessage.oneofGroups_[0])
|
|
6941
6835
|
);
|
|
6942
6836
|
};
|
|
6943
6837
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6944
|
-
proto.
|
|
6945
|
-
return proto.
|
|
6838
|
+
proto.AssistantConversationUserMessage.prototype.toObject = function(opt_includeInstance) {
|
|
6839
|
+
return proto.AssistantConversationUserMessage.toObject(opt_includeInstance, this);
|
|
6946
6840
|
};
|
|
6947
|
-
proto.
|
|
6841
|
+
proto.AssistantConversationUserMessage.toObject = function(includeInstance, msg) {
|
|
6948
6842
|
var f, obj = {
|
|
6949
|
-
audio: (f = msg.getAudio()) && proto.
|
|
6950
|
-
text: (f = msg.getText()) && proto.
|
|
6843
|
+
audio: (f = msg.getAudio()) && proto.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
|
|
6844
|
+
text: (f = msg.getText()) && proto.AssistantConversationMessageTextContent.toObject(includeInstance, f),
|
|
6951
6845
|
id: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6952
6846
|
completed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
6953
6847
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
@@ -6958,12 +6852,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
6958
6852
|
return obj;
|
|
6959
6853
|
};
|
|
6960
6854
|
}
|
|
6961
|
-
proto.
|
|
6855
|
+
proto.AssistantConversationUserMessage.deserializeBinary = function(bytes) {
|
|
6962
6856
|
var reader = new jspb.BinaryReader(bytes);
|
|
6963
|
-
var msg = new proto.
|
|
6964
|
-
return proto.
|
|
6857
|
+
var msg = new proto.AssistantConversationUserMessage();
|
|
6858
|
+
return proto.AssistantConversationUserMessage.deserializeBinaryFromReader(msg, reader);
|
|
6965
6859
|
};
|
|
6966
|
-
proto.
|
|
6860
|
+
proto.AssistantConversationUserMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
6967
6861
|
while (reader.nextField()) {
|
|
6968
6862
|
if (reader.isEndGroup()) {
|
|
6969
6863
|
break;
|
|
@@ -6971,13 +6865,13 @@ var require_talk_api_pb = __commonJS({
|
|
|
6971
6865
|
var field = reader.getFieldNumber();
|
|
6972
6866
|
switch (field) {
|
|
6973
6867
|
case 10:
|
|
6974
|
-
var value = new proto.
|
|
6975
|
-
reader.readMessage(value, proto.
|
|
6868
|
+
var value = new proto.AssistantConversationMessageAudioContent();
|
|
6869
|
+
reader.readMessage(value, proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
|
|
6976
6870
|
msg.setAudio(value);
|
|
6977
6871
|
break;
|
|
6978
6872
|
case 11:
|
|
6979
|
-
var value = new proto.
|
|
6980
|
-
reader.readMessage(value, proto.
|
|
6873
|
+
var value = new proto.AssistantConversationMessageTextContent();
|
|
6874
|
+
reader.readMessage(value, proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
|
|
6981
6875
|
msg.setText(value);
|
|
6982
6876
|
break;
|
|
6983
6877
|
case 2:
|
|
@@ -7006,19 +6900,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
7006
6900
|
}
|
|
7007
6901
|
return msg;
|
|
7008
6902
|
};
|
|
7009
|
-
proto.
|
|
6903
|
+
proto.AssistantConversationUserMessage.prototype.serializeBinary = function() {
|
|
7010
6904
|
var writer = new jspb.BinaryWriter();
|
|
7011
|
-
proto.
|
|
6905
|
+
proto.AssistantConversationUserMessage.serializeBinaryToWriter(this, writer);
|
|
7012
6906
|
return writer.getResultBuffer();
|
|
7013
6907
|
};
|
|
7014
|
-
proto.
|
|
6908
|
+
proto.AssistantConversationUserMessage.serializeBinaryToWriter = function(message, writer) {
|
|
7015
6909
|
var f = void 0;
|
|
7016
6910
|
f = message.getAudio();
|
|
7017
6911
|
if (f != null) {
|
|
7018
6912
|
writer.writeMessage(
|
|
7019
6913
|
10,
|
|
7020
6914
|
f,
|
|
7021
|
-
proto.
|
|
6915
|
+
proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter
|
|
7022
6916
|
);
|
|
7023
6917
|
}
|
|
7024
6918
|
f = message.getText();
|
|
@@ -7026,7 +6920,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7026
6920
|
writer.writeMessage(
|
|
7027
6921
|
11,
|
|
7028
6922
|
f,
|
|
7029
|
-
proto.
|
|
6923
|
+
proto.AssistantConversationMessageTextContent.serializeBinaryToWriter
|
|
7030
6924
|
);
|
|
7031
6925
|
}
|
|
7032
6926
|
f = message.getId();
|
|
@@ -7052,89 +6946,89 @@ var require_talk_api_pb = __commonJS({
|
|
|
7052
6946
|
);
|
|
7053
6947
|
}
|
|
7054
6948
|
};
|
|
7055
|
-
proto.
|
|
6949
|
+
proto.AssistantConversationUserMessage.prototype.getAudio = function() {
|
|
7056
6950
|
return (
|
|
7057
|
-
/** @type{?proto.
|
|
7058
|
-
jspb.Message.getWrapperField(this, proto.
|
|
6951
|
+
/** @type{?proto.AssistantConversationMessageAudioContent} */
|
|
6952
|
+
jspb.Message.getWrapperField(this, proto.AssistantConversationMessageAudioContent, 10)
|
|
7059
6953
|
);
|
|
7060
6954
|
};
|
|
7061
|
-
proto.
|
|
7062
|
-
return jspb.Message.setOneofWrapperField(this, 10, proto.
|
|
6955
|
+
proto.AssistantConversationUserMessage.prototype.setAudio = function(value) {
|
|
6956
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.AssistantConversationUserMessage.oneofGroups_[0], value);
|
|
7063
6957
|
};
|
|
7064
|
-
proto.
|
|
6958
|
+
proto.AssistantConversationUserMessage.prototype.clearAudio = function() {
|
|
7065
6959
|
return this.setAudio(void 0);
|
|
7066
6960
|
};
|
|
7067
|
-
proto.
|
|
6961
|
+
proto.AssistantConversationUserMessage.prototype.hasAudio = function() {
|
|
7068
6962
|
return jspb.Message.getField(this, 10) != null;
|
|
7069
6963
|
};
|
|
7070
|
-
proto.
|
|
6964
|
+
proto.AssistantConversationUserMessage.prototype.getText = function() {
|
|
7071
6965
|
return (
|
|
7072
|
-
/** @type{?proto.
|
|
7073
|
-
jspb.Message.getWrapperField(this, proto.
|
|
6966
|
+
/** @type{?proto.AssistantConversationMessageTextContent} */
|
|
6967
|
+
jspb.Message.getWrapperField(this, proto.AssistantConversationMessageTextContent, 11)
|
|
7074
6968
|
);
|
|
7075
6969
|
};
|
|
7076
|
-
proto.
|
|
7077
|
-
return jspb.Message.setOneofWrapperField(this, 11, proto.
|
|
6970
|
+
proto.AssistantConversationUserMessage.prototype.setText = function(value) {
|
|
6971
|
+
return jspb.Message.setOneofWrapperField(this, 11, proto.AssistantConversationUserMessage.oneofGroups_[0], value);
|
|
7078
6972
|
};
|
|
7079
|
-
proto.
|
|
6973
|
+
proto.AssistantConversationUserMessage.prototype.clearText = function() {
|
|
7080
6974
|
return this.setText(void 0);
|
|
7081
6975
|
};
|
|
7082
|
-
proto.
|
|
6976
|
+
proto.AssistantConversationUserMessage.prototype.hasText = function() {
|
|
7083
6977
|
return jspb.Message.getField(this, 11) != null;
|
|
7084
6978
|
};
|
|
7085
|
-
proto.
|
|
6979
|
+
proto.AssistantConversationUserMessage.prototype.getId = function() {
|
|
7086
6980
|
return (
|
|
7087
6981
|
/** @type {string} */
|
|
7088
6982
|
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
7089
6983
|
);
|
|
7090
6984
|
};
|
|
7091
|
-
proto.
|
|
6985
|
+
proto.AssistantConversationUserMessage.prototype.setId = function(value) {
|
|
7092
6986
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7093
6987
|
};
|
|
7094
|
-
proto.
|
|
6988
|
+
proto.AssistantConversationUserMessage.prototype.getCompleted = function() {
|
|
7095
6989
|
return (
|
|
7096
6990
|
/** @type {boolean} */
|
|
7097
6991
|
jspb.Message.getBooleanFieldWithDefault(this, 3, false)
|
|
7098
6992
|
);
|
|
7099
6993
|
};
|
|
7100
|
-
proto.
|
|
6994
|
+
proto.AssistantConversationUserMessage.prototype.setCompleted = function(value) {
|
|
7101
6995
|
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
7102
6996
|
};
|
|
7103
|
-
proto.
|
|
6997
|
+
proto.AssistantConversationUserMessage.prototype.getTime = function() {
|
|
7104
6998
|
return (
|
|
7105
6999
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
7106
7000
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)
|
|
7107
7001
|
);
|
|
7108
7002
|
};
|
|
7109
|
-
proto.
|
|
7003
|
+
proto.AssistantConversationUserMessage.prototype.setTime = function(value) {
|
|
7110
7004
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
7111
7005
|
};
|
|
7112
|
-
proto.
|
|
7006
|
+
proto.AssistantConversationUserMessage.prototype.clearTime = function() {
|
|
7113
7007
|
return this.setTime(void 0);
|
|
7114
7008
|
};
|
|
7115
|
-
proto.
|
|
7009
|
+
proto.AssistantConversationUserMessage.prototype.hasTime = function() {
|
|
7116
7010
|
return jspb.Message.getField(this, 4) != null;
|
|
7117
7011
|
};
|
|
7118
|
-
proto.
|
|
7119
|
-
proto.
|
|
7012
|
+
proto.AssistantConversationAssistantMessage.oneofGroups_ = [[10, 11]];
|
|
7013
|
+
proto.AssistantConversationAssistantMessage.MessageCase = {
|
|
7120
7014
|
MESSAGE_NOT_SET: 0,
|
|
7121
7015
|
AUDIO: 10,
|
|
7122
7016
|
TEXT: 11
|
|
7123
7017
|
};
|
|
7124
|
-
proto.
|
|
7018
|
+
proto.AssistantConversationAssistantMessage.prototype.getMessageCase = function() {
|
|
7125
7019
|
return (
|
|
7126
|
-
/** @type {proto.
|
|
7127
|
-
jspb.Message.computeOneofCase(this, proto.
|
|
7020
|
+
/** @type {proto.AssistantConversationAssistantMessage.MessageCase} */
|
|
7021
|
+
jspb.Message.computeOneofCase(this, proto.AssistantConversationAssistantMessage.oneofGroups_[0])
|
|
7128
7022
|
);
|
|
7129
7023
|
};
|
|
7130
7024
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7131
|
-
proto.
|
|
7132
|
-
return proto.
|
|
7025
|
+
proto.AssistantConversationAssistantMessage.prototype.toObject = function(opt_includeInstance) {
|
|
7026
|
+
return proto.AssistantConversationAssistantMessage.toObject(opt_includeInstance, this);
|
|
7133
7027
|
};
|
|
7134
|
-
proto.
|
|
7028
|
+
proto.AssistantConversationAssistantMessage.toObject = function(includeInstance, msg) {
|
|
7135
7029
|
var f, obj = {
|
|
7136
|
-
audio: (f = msg.getAudio()) && proto.
|
|
7137
|
-
text: (f = msg.getText()) && proto.
|
|
7030
|
+
audio: (f = msg.getAudio()) && proto.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
|
|
7031
|
+
text: (f = msg.getText()) && proto.AssistantConversationMessageTextContent.toObject(includeInstance, f),
|
|
7138
7032
|
id: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7139
7033
|
completed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
7140
7034
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
@@ -7145,12 +7039,12 @@ var require_talk_api_pb = __commonJS({
|
|
|
7145
7039
|
return obj;
|
|
7146
7040
|
};
|
|
7147
7041
|
}
|
|
7148
|
-
proto.
|
|
7042
|
+
proto.AssistantConversationAssistantMessage.deserializeBinary = function(bytes) {
|
|
7149
7043
|
var reader = new jspb.BinaryReader(bytes);
|
|
7150
|
-
var msg = new proto.
|
|
7151
|
-
return proto.
|
|
7044
|
+
var msg = new proto.AssistantConversationAssistantMessage();
|
|
7045
|
+
return proto.AssistantConversationAssistantMessage.deserializeBinaryFromReader(msg, reader);
|
|
7152
7046
|
};
|
|
7153
|
-
proto.
|
|
7047
|
+
proto.AssistantConversationAssistantMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
7154
7048
|
while (reader.nextField()) {
|
|
7155
7049
|
if (reader.isEndGroup()) {
|
|
7156
7050
|
break;
|
|
@@ -7158,13 +7052,13 @@ var require_talk_api_pb = __commonJS({
|
|
|
7158
7052
|
var field = reader.getFieldNumber();
|
|
7159
7053
|
switch (field) {
|
|
7160
7054
|
case 10:
|
|
7161
|
-
var value = new proto.
|
|
7162
|
-
reader.readMessage(value, proto.
|
|
7055
|
+
var value = new proto.AssistantConversationMessageAudioContent();
|
|
7056
|
+
reader.readMessage(value, proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
|
|
7163
7057
|
msg.setAudio(value);
|
|
7164
7058
|
break;
|
|
7165
7059
|
case 11:
|
|
7166
|
-
var value = new proto.
|
|
7167
|
-
reader.readMessage(value, proto.
|
|
7060
|
+
var value = new proto.AssistantConversationMessageTextContent();
|
|
7061
|
+
reader.readMessage(value, proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
|
|
7168
7062
|
msg.setText(value);
|
|
7169
7063
|
break;
|
|
7170
7064
|
case 2:
|
|
@@ -7193,19 +7087,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
7193
7087
|
}
|
|
7194
7088
|
return msg;
|
|
7195
7089
|
};
|
|
7196
|
-
proto.
|
|
7090
|
+
proto.AssistantConversationAssistantMessage.prototype.serializeBinary = function() {
|
|
7197
7091
|
var writer = new jspb.BinaryWriter();
|
|
7198
|
-
proto.
|
|
7092
|
+
proto.AssistantConversationAssistantMessage.serializeBinaryToWriter(this, writer);
|
|
7199
7093
|
return writer.getResultBuffer();
|
|
7200
7094
|
};
|
|
7201
|
-
proto.
|
|
7095
|
+
proto.AssistantConversationAssistantMessage.serializeBinaryToWriter = function(message, writer) {
|
|
7202
7096
|
var f = void 0;
|
|
7203
7097
|
f = message.getAudio();
|
|
7204
7098
|
if (f != null) {
|
|
7205
7099
|
writer.writeMessage(
|
|
7206
7100
|
10,
|
|
7207
7101
|
f,
|
|
7208
|
-
proto.
|
|
7102
|
+
proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter
|
|
7209
7103
|
);
|
|
7210
7104
|
}
|
|
7211
7105
|
f = message.getText();
|
|
@@ -7213,7 +7107,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7213
7107
|
writer.writeMessage(
|
|
7214
7108
|
11,
|
|
7215
7109
|
f,
|
|
7216
|
-
proto.
|
|
7110
|
+
proto.AssistantConversationMessageTextContent.serializeBinaryToWriter
|
|
7217
7111
|
);
|
|
7218
7112
|
}
|
|
7219
7113
|
f = message.getId();
|
|
@@ -7239,69 +7133,175 @@ var require_talk_api_pb = __commonJS({
|
|
|
7239
7133
|
);
|
|
7240
7134
|
}
|
|
7241
7135
|
};
|
|
7242
|
-
proto.
|
|
7136
|
+
proto.AssistantConversationAssistantMessage.prototype.getAudio = function() {
|
|
7243
7137
|
return (
|
|
7244
|
-
/** @type{?proto.
|
|
7245
|
-
jspb.Message.getWrapperField(this, proto.
|
|
7138
|
+
/** @type{?proto.AssistantConversationMessageAudioContent} */
|
|
7139
|
+
jspb.Message.getWrapperField(this, proto.AssistantConversationMessageAudioContent, 10)
|
|
7246
7140
|
);
|
|
7247
7141
|
};
|
|
7248
|
-
proto.
|
|
7249
|
-
return jspb.Message.setOneofWrapperField(this, 10, proto.
|
|
7142
|
+
proto.AssistantConversationAssistantMessage.prototype.setAudio = function(value) {
|
|
7143
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.AssistantConversationAssistantMessage.oneofGroups_[0], value);
|
|
7250
7144
|
};
|
|
7251
|
-
proto.
|
|
7145
|
+
proto.AssistantConversationAssistantMessage.prototype.clearAudio = function() {
|
|
7252
7146
|
return this.setAudio(void 0);
|
|
7253
7147
|
};
|
|
7254
|
-
proto.
|
|
7148
|
+
proto.AssistantConversationAssistantMessage.prototype.hasAudio = function() {
|
|
7255
7149
|
return jspb.Message.getField(this, 10) != null;
|
|
7256
7150
|
};
|
|
7257
|
-
proto.
|
|
7151
|
+
proto.AssistantConversationAssistantMessage.prototype.getText = function() {
|
|
7258
7152
|
return (
|
|
7259
|
-
/** @type{?proto.
|
|
7260
|
-
jspb.Message.getWrapperField(this, proto.
|
|
7153
|
+
/** @type{?proto.AssistantConversationMessageTextContent} */
|
|
7154
|
+
jspb.Message.getWrapperField(this, proto.AssistantConversationMessageTextContent, 11)
|
|
7261
7155
|
);
|
|
7262
7156
|
};
|
|
7263
|
-
proto.
|
|
7264
|
-
return jspb.Message.setOneofWrapperField(this, 11, proto.
|
|
7157
|
+
proto.AssistantConversationAssistantMessage.prototype.setText = function(value) {
|
|
7158
|
+
return jspb.Message.setOneofWrapperField(this, 11, proto.AssistantConversationAssistantMessage.oneofGroups_[0], value);
|
|
7265
7159
|
};
|
|
7266
|
-
proto.
|
|
7160
|
+
proto.AssistantConversationAssistantMessage.prototype.clearText = function() {
|
|
7267
7161
|
return this.setText(void 0);
|
|
7268
7162
|
};
|
|
7269
|
-
proto.
|
|
7163
|
+
proto.AssistantConversationAssistantMessage.prototype.hasText = function() {
|
|
7270
7164
|
return jspb.Message.getField(this, 11) != null;
|
|
7271
7165
|
};
|
|
7272
|
-
proto.
|
|
7166
|
+
proto.AssistantConversationAssistantMessage.prototype.getId = function() {
|
|
7273
7167
|
return (
|
|
7274
7168
|
/** @type {string} */
|
|
7275
7169
|
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
7276
7170
|
);
|
|
7277
7171
|
};
|
|
7278
|
-
proto.
|
|
7172
|
+
proto.AssistantConversationAssistantMessage.prototype.setId = function(value) {
|
|
7279
7173
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7280
7174
|
};
|
|
7281
|
-
proto.
|
|
7175
|
+
proto.AssistantConversationAssistantMessage.prototype.getCompleted = function() {
|
|
7282
7176
|
return (
|
|
7283
7177
|
/** @type {boolean} */
|
|
7284
7178
|
jspb.Message.getBooleanFieldWithDefault(this, 3, false)
|
|
7285
7179
|
);
|
|
7286
7180
|
};
|
|
7287
|
-
proto.
|
|
7181
|
+
proto.AssistantConversationAssistantMessage.prototype.setCompleted = function(value) {
|
|
7288
7182
|
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
7289
7183
|
};
|
|
7290
|
-
proto.
|
|
7184
|
+
proto.AssistantConversationAssistantMessage.prototype.getTime = function() {
|
|
7291
7185
|
return (
|
|
7292
7186
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
7293
7187
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)
|
|
7294
7188
|
);
|
|
7295
7189
|
};
|
|
7296
|
-
proto.
|
|
7190
|
+
proto.AssistantConversationAssistantMessage.prototype.setTime = function(value) {
|
|
7297
7191
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
7298
7192
|
};
|
|
7299
|
-
proto.
|
|
7193
|
+
proto.AssistantConversationAssistantMessage.prototype.clearTime = function() {
|
|
7300
7194
|
return this.setTime(void 0);
|
|
7301
7195
|
};
|
|
7302
|
-
proto.
|
|
7196
|
+
proto.AssistantConversationAssistantMessage.prototype.hasTime = function() {
|
|
7303
7197
|
return jspb.Message.getField(this, 4) != null;
|
|
7304
7198
|
};
|
|
7199
|
+
proto.Source = {
|
|
7200
|
+
WEB_PLUGIN: 0,
|
|
7201
|
+
DEBUGGER: 1,
|
|
7202
|
+
SDK: 2,
|
|
7203
|
+
PHONE_CALL: 3,
|
|
7204
|
+
WHATSAPP: 4
|
|
7205
|
+
};
|
|
7206
|
+
goog.object.extend(exports2, proto);
|
|
7207
|
+
}
|
|
7208
|
+
});
|
|
7209
|
+
|
|
7210
|
+
// src/clients/protos/talk-api_pb.js
|
|
7211
|
+
var require_talk_api_pb = __commonJS({
|
|
7212
|
+
"src/clients/protos/talk-api_pb.js"(exports2) {
|
|
7213
|
+
"use strict";
|
|
7214
|
+
var jspb = require("google-protobuf");
|
|
7215
|
+
var goog = jspb;
|
|
7216
|
+
var global = function() {
|
|
7217
|
+
return this || window || global || self || Function("return this")();
|
|
7218
|
+
}.call(null);
|
|
7219
|
+
var google_protobuf_any_pb = require("google-protobuf/google/protobuf/any_pb.js");
|
|
7220
|
+
goog.object.extend(proto, google_protobuf_any_pb);
|
|
7221
|
+
var common_pb = require_common_pb();
|
|
7222
|
+
goog.object.extend(proto, common_pb);
|
|
7223
|
+
goog.exportSymbol("proto.talk_api.AssistantMessagingRequest", null, global);
|
|
7224
|
+
goog.exportSymbol("proto.talk_api.AssistantMessagingRequest.RequestCase", null, global);
|
|
7225
|
+
goog.exportSymbol("proto.talk_api.AssistantMessagingResponse", null, global);
|
|
7226
|
+
goog.exportSymbol("proto.talk_api.AssistantMessagingResponse.DataCase", null, global);
|
|
7227
|
+
goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallRequest", null, global);
|
|
7228
|
+
goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallResponse", null, global);
|
|
7229
|
+
goog.exportSymbol("proto.talk_api.CreateConversationMetricRequest", null, global);
|
|
7230
|
+
goog.exportSymbol("proto.talk_api.CreateConversationMetricResponse", null, global);
|
|
7231
|
+
goog.exportSymbol("proto.talk_api.CreateMessageMetricRequest", null, global);
|
|
7232
|
+
goog.exportSymbol("proto.talk_api.CreateMessageMetricResponse", null, global);
|
|
7233
|
+
goog.exportSymbol("proto.talk_api.CreatePhoneCallRequest", null, global);
|
|
7234
|
+
goog.exportSymbol("proto.talk_api.CreatePhoneCallResponse", null, global);
|
|
7235
|
+
proto.talk_api.AssistantMessagingRequest = function(opt_data) {
|
|
7236
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingRequest.oneofGroups_);
|
|
7237
|
+
};
|
|
7238
|
+
goog.inherits(proto.talk_api.AssistantMessagingRequest, jspb.Message);
|
|
7239
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7240
|
+
proto.talk_api.AssistantMessagingRequest.displayName = "proto.talk_api.AssistantMessagingRequest";
|
|
7241
|
+
}
|
|
7242
|
+
proto.talk_api.AssistantMessagingResponse = function(opt_data) {
|
|
7243
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingResponse.oneofGroups_);
|
|
7244
|
+
};
|
|
7245
|
+
goog.inherits(proto.talk_api.AssistantMessagingResponse, jspb.Message);
|
|
7246
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7247
|
+
proto.talk_api.AssistantMessagingResponse.displayName = "proto.talk_api.AssistantMessagingResponse";
|
|
7248
|
+
}
|
|
7249
|
+
proto.talk_api.CreateMessageMetricRequest = function(opt_data) {
|
|
7250
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricRequest.repeatedFields_, null);
|
|
7251
|
+
};
|
|
7252
|
+
goog.inherits(proto.talk_api.CreateMessageMetricRequest, jspb.Message);
|
|
7253
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7254
|
+
proto.talk_api.CreateMessageMetricRequest.displayName = "proto.talk_api.CreateMessageMetricRequest";
|
|
7255
|
+
}
|
|
7256
|
+
proto.talk_api.CreateMessageMetricResponse = function(opt_data) {
|
|
7257
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricResponse.repeatedFields_, null);
|
|
7258
|
+
};
|
|
7259
|
+
goog.inherits(proto.talk_api.CreateMessageMetricResponse, jspb.Message);
|
|
7260
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7261
|
+
proto.talk_api.CreateMessageMetricResponse.displayName = "proto.talk_api.CreateMessageMetricResponse";
|
|
7262
|
+
}
|
|
7263
|
+
proto.talk_api.CreateConversationMetricRequest = function(opt_data) {
|
|
7264
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricRequest.repeatedFields_, null);
|
|
7265
|
+
};
|
|
7266
|
+
goog.inherits(proto.talk_api.CreateConversationMetricRequest, jspb.Message);
|
|
7267
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7268
|
+
proto.talk_api.CreateConversationMetricRequest.displayName = "proto.talk_api.CreateConversationMetricRequest";
|
|
7269
|
+
}
|
|
7270
|
+
proto.talk_api.CreateConversationMetricResponse = function(opt_data) {
|
|
7271
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricResponse.repeatedFields_, null);
|
|
7272
|
+
};
|
|
7273
|
+
goog.inherits(proto.talk_api.CreateConversationMetricResponse, jspb.Message);
|
|
7274
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7275
|
+
proto.talk_api.CreateConversationMetricResponse.displayName = "proto.talk_api.CreateConversationMetricResponse";
|
|
7276
|
+
}
|
|
7277
|
+
proto.talk_api.CreatePhoneCallRequest = function(opt_data) {
|
|
7278
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7279
|
+
};
|
|
7280
|
+
goog.inherits(proto.talk_api.CreatePhoneCallRequest, jspb.Message);
|
|
7281
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7282
|
+
proto.talk_api.CreatePhoneCallRequest.displayName = "proto.talk_api.CreatePhoneCallRequest";
|
|
7283
|
+
}
|
|
7284
|
+
proto.talk_api.CreatePhoneCallResponse = function(opt_data) {
|
|
7285
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7286
|
+
};
|
|
7287
|
+
goog.inherits(proto.talk_api.CreatePhoneCallResponse, jspb.Message);
|
|
7288
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7289
|
+
proto.talk_api.CreatePhoneCallResponse.displayName = "proto.talk_api.CreatePhoneCallResponse";
|
|
7290
|
+
}
|
|
7291
|
+
proto.talk_api.CreateBulkPhoneCallRequest = function(opt_data) {
|
|
7292
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallRequest.repeatedFields_, null);
|
|
7293
|
+
};
|
|
7294
|
+
goog.inherits(proto.talk_api.CreateBulkPhoneCallRequest, jspb.Message);
|
|
7295
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7296
|
+
proto.talk_api.CreateBulkPhoneCallRequest.displayName = "proto.talk_api.CreateBulkPhoneCallRequest";
|
|
7297
|
+
}
|
|
7298
|
+
proto.talk_api.CreateBulkPhoneCallResponse = function(opt_data) {
|
|
7299
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallResponse.repeatedFields_, null);
|
|
7300
|
+
};
|
|
7301
|
+
goog.inherits(proto.talk_api.CreateBulkPhoneCallResponse, jspb.Message);
|
|
7302
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7303
|
+
proto.talk_api.CreateBulkPhoneCallResponse.displayName = "proto.talk_api.CreateBulkPhoneCallResponse";
|
|
7304
|
+
}
|
|
7305
7305
|
proto.talk_api.AssistantMessagingRequest.oneofGroups_ = [[2, 3]];
|
|
7306
7306
|
proto.talk_api.AssistantMessagingRequest.RequestCase = {
|
|
7307
7307
|
REQUEST_NOT_SET: 0,
|
|
@@ -7320,8 +7320,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7320
7320
|
};
|
|
7321
7321
|
proto.talk_api.AssistantMessagingRequest.toObject = function(includeInstance, msg) {
|
|
7322
7322
|
var f, obj = {
|
|
7323
|
-
configuration: (f = msg.getConfiguration()) &&
|
|
7324
|
-
message: (f = msg.getMessage()) &&
|
|
7323
|
+
configuration: (f = msg.getConfiguration()) && common_pb.AssistantConversationConfiguration.toObject(includeInstance, f),
|
|
7324
|
+
message: (f = msg.getMessage()) && common_pb.AssistantConversationUserMessage.toObject(includeInstance, f)
|
|
7325
7325
|
};
|
|
7326
7326
|
if (includeInstance) {
|
|
7327
7327
|
obj.$jspbMessageInstance = msg;
|
|
@@ -7342,13 +7342,13 @@ var require_talk_api_pb = __commonJS({
|
|
|
7342
7342
|
var field = reader.getFieldNumber();
|
|
7343
7343
|
switch (field) {
|
|
7344
7344
|
case 2:
|
|
7345
|
-
var value = new
|
|
7346
|
-
reader.readMessage(value,
|
|
7345
|
+
var value = new common_pb.AssistantConversationConfiguration();
|
|
7346
|
+
reader.readMessage(value, common_pb.AssistantConversationConfiguration.deserializeBinaryFromReader);
|
|
7347
7347
|
msg.setConfiguration(value);
|
|
7348
7348
|
break;
|
|
7349
7349
|
case 3:
|
|
7350
|
-
var value = new
|
|
7351
|
-
reader.readMessage(value,
|
|
7350
|
+
var value = new common_pb.AssistantConversationUserMessage();
|
|
7351
|
+
reader.readMessage(value, common_pb.AssistantConversationUserMessage.deserializeBinaryFromReader);
|
|
7352
7352
|
msg.setMessage(value);
|
|
7353
7353
|
break;
|
|
7354
7354
|
default:
|
|
@@ -7370,7 +7370,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7370
7370
|
writer.writeMessage(
|
|
7371
7371
|
2,
|
|
7372
7372
|
f,
|
|
7373
|
-
|
|
7373
|
+
common_pb.AssistantConversationConfiguration.serializeBinaryToWriter
|
|
7374
7374
|
);
|
|
7375
7375
|
}
|
|
7376
7376
|
f = message.getMessage();
|
|
@@ -7378,14 +7378,14 @@ var require_talk_api_pb = __commonJS({
|
|
|
7378
7378
|
writer.writeMessage(
|
|
7379
7379
|
3,
|
|
7380
7380
|
f,
|
|
7381
|
-
|
|
7381
|
+
common_pb.AssistantConversationUserMessage.serializeBinaryToWriter
|
|
7382
7382
|
);
|
|
7383
7383
|
}
|
|
7384
7384
|
};
|
|
7385
7385
|
proto.talk_api.AssistantMessagingRequest.prototype.getConfiguration = function() {
|
|
7386
7386
|
return (
|
|
7387
|
-
/** @type{?proto.
|
|
7388
|
-
jspb.Message.getWrapperField(this,
|
|
7387
|
+
/** @type{?proto.AssistantConversationConfiguration} */
|
|
7388
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationConfiguration, 2)
|
|
7389
7389
|
);
|
|
7390
7390
|
};
|
|
7391
7391
|
proto.talk_api.AssistantMessagingRequest.prototype.setConfiguration = function(value) {
|
|
@@ -7399,8 +7399,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7399
7399
|
};
|
|
7400
7400
|
proto.talk_api.AssistantMessagingRequest.prototype.getMessage = function() {
|
|
7401
7401
|
return (
|
|
7402
|
-
/** @type{?proto.
|
|
7403
|
-
jspb.Message.getWrapperField(this,
|
|
7402
|
+
/** @type{?proto.AssistantConversationUserMessage} */
|
|
7403
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationUserMessage, 3)
|
|
7404
7404
|
);
|
|
7405
7405
|
};
|
|
7406
7406
|
proto.talk_api.AssistantMessagingRequest.prototype.setMessage = function(value) {
|
|
@@ -7444,19 +7444,19 @@ var require_talk_api_pb = __commonJS({
|
|
|
7444
7444
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7445
7445
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
7446
7446
|
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
|
|
7447
|
-
configuration: (f = msg.getConfiguration()) &&
|
|
7448
|
-
interruption: (f = msg.getInterruption()) &&
|
|
7449
|
-
user: (f = msg.getUser()) &&
|
|
7450
|
-
assistant: (f = msg.getAssistant()) &&
|
|
7447
|
+
configuration: (f = msg.getConfiguration()) && common_pb.AssistantConversationConfiguration.toObject(includeInstance, f),
|
|
7448
|
+
interruption: (f = msg.getInterruption()) && common_pb.AssistantConversationInterruption.toObject(includeInstance, f),
|
|
7449
|
+
user: (f = msg.getUser()) && common_pb.AssistantConversationUserMessage.toObject(includeInstance, f),
|
|
7450
|
+
assistant: (f = msg.getAssistant()) && common_pb.AssistantConversationAssistantMessage.toObject(includeInstance, f),
|
|
7451
7451
|
message: (f = msg.getMessage()) && common_pb.AssistantConversationMessage.toObject(includeInstance, f),
|
|
7452
|
-
disconnectaction: (f = msg.getDisconnectaction()) &&
|
|
7453
|
-
holdaction: (f = msg.getHoldaction()) &&
|
|
7454
|
-
knowledgeretrievalaction: (f = msg.getKnowledgeretrievalaction()) &&
|
|
7455
|
-
apirequestaction: (f = msg.getApirequestaction()) &&
|
|
7456
|
-
endpointaction: (f = msg.getEndpointaction()) &&
|
|
7457
|
-
deviationaction: (f = msg.getDeviationaction()) &&
|
|
7458
|
-
assistanttransferaction: (f = msg.getAssistanttransferaction()) &&
|
|
7459
|
-
phonecalltransferaction: (f = msg.getPhonecalltransferaction()) &&
|
|
7452
|
+
disconnectaction: (f = msg.getDisconnectaction()) && common_pb.AssistantConversationDisconnectAction.toObject(includeInstance, f),
|
|
7453
|
+
holdaction: (f = msg.getHoldaction()) && common_pb.AssistantConverstationHoldAction.toObject(includeInstance, f),
|
|
7454
|
+
knowledgeretrievalaction: (f = msg.getKnowledgeretrievalaction()) && common_pb.AssistantConverstationKnowledgeRetrievalAction.toObject(includeInstance, f),
|
|
7455
|
+
apirequestaction: (f = msg.getApirequestaction()) && common_pb.AssistantConverstationApiRequestAction.toObject(includeInstance, f),
|
|
7456
|
+
endpointaction: (f = msg.getEndpointaction()) && common_pb.AssistantConverstationEndpointAction.toObject(includeInstance, f),
|
|
7457
|
+
deviationaction: (f = msg.getDeviationaction()) && common_pb.AssistantConversationDeviationAction.toObject(includeInstance, f),
|
|
7458
|
+
assistanttransferaction: (f = msg.getAssistanttransferaction()) && common_pb.AssistantConversationAssistantTransferAction.toObject(includeInstance, f),
|
|
7459
|
+
phonecalltransferaction: (f = msg.getPhonecalltransferaction()) && common_pb.AssistantConversationPhoneCallTransferAction.toObject(includeInstance, f)
|
|
7460
7460
|
};
|
|
7461
7461
|
if (includeInstance) {
|
|
7462
7462
|
obj.$jspbMessageInstance = msg;
|
|
@@ -7496,23 +7496,23 @@ var require_talk_api_pb = __commonJS({
|
|
|
7496
7496
|
msg.setError(value);
|
|
7497
7497
|
break;
|
|
7498
7498
|
case 9:
|
|
7499
|
-
var value = new
|
|
7500
|
-
reader.readMessage(value,
|
|
7499
|
+
var value = new common_pb.AssistantConversationConfiguration();
|
|
7500
|
+
reader.readMessage(value, common_pb.AssistantConversationConfiguration.deserializeBinaryFromReader);
|
|
7501
7501
|
msg.setConfiguration(value);
|
|
7502
7502
|
break;
|
|
7503
7503
|
case 10:
|
|
7504
|
-
var value = new
|
|
7505
|
-
reader.readMessage(value,
|
|
7504
|
+
var value = new common_pb.AssistantConversationInterruption();
|
|
7505
|
+
reader.readMessage(value, common_pb.AssistantConversationInterruption.deserializeBinaryFromReader);
|
|
7506
7506
|
msg.setInterruption(value);
|
|
7507
7507
|
break;
|
|
7508
7508
|
case 11:
|
|
7509
|
-
var value = new
|
|
7510
|
-
reader.readMessage(value,
|
|
7509
|
+
var value = new common_pb.AssistantConversationUserMessage();
|
|
7510
|
+
reader.readMessage(value, common_pb.AssistantConversationUserMessage.deserializeBinaryFromReader);
|
|
7511
7511
|
msg.setUser(value);
|
|
7512
7512
|
break;
|
|
7513
7513
|
case 12:
|
|
7514
|
-
var value = new
|
|
7515
|
-
reader.readMessage(value,
|
|
7514
|
+
var value = new common_pb.AssistantConversationAssistantMessage();
|
|
7515
|
+
reader.readMessage(value, common_pb.AssistantConversationAssistantMessage.deserializeBinaryFromReader);
|
|
7516
7516
|
msg.setAssistant(value);
|
|
7517
7517
|
break;
|
|
7518
7518
|
case 13:
|
|
@@ -7521,43 +7521,43 @@ var require_talk_api_pb = __commonJS({
|
|
|
7521
7521
|
msg.setMessage(value);
|
|
7522
7522
|
break;
|
|
7523
7523
|
case 14:
|
|
7524
|
-
var value = new
|
|
7525
|
-
reader.readMessage(value,
|
|
7524
|
+
var value = new common_pb.AssistantConversationDisconnectAction();
|
|
7525
|
+
reader.readMessage(value, common_pb.AssistantConversationDisconnectAction.deserializeBinaryFromReader);
|
|
7526
7526
|
msg.setDisconnectaction(value);
|
|
7527
7527
|
break;
|
|
7528
7528
|
case 15:
|
|
7529
|
-
var value = new
|
|
7530
|
-
reader.readMessage(value,
|
|
7529
|
+
var value = new common_pb.AssistantConverstationHoldAction();
|
|
7530
|
+
reader.readMessage(value, common_pb.AssistantConverstationHoldAction.deserializeBinaryFromReader);
|
|
7531
7531
|
msg.setHoldaction(value);
|
|
7532
7532
|
break;
|
|
7533
7533
|
case 16:
|
|
7534
|
-
var value = new
|
|
7535
|
-
reader.readMessage(value,
|
|
7534
|
+
var value = new common_pb.AssistantConverstationKnowledgeRetrievalAction();
|
|
7535
|
+
reader.readMessage(value, common_pb.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader);
|
|
7536
7536
|
msg.setKnowledgeretrievalaction(value);
|
|
7537
7537
|
break;
|
|
7538
7538
|
case 17:
|
|
7539
|
-
var value = new
|
|
7540
|
-
reader.readMessage(value,
|
|
7539
|
+
var value = new common_pb.AssistantConverstationApiRequestAction();
|
|
7540
|
+
reader.readMessage(value, common_pb.AssistantConverstationApiRequestAction.deserializeBinaryFromReader);
|
|
7541
7541
|
msg.setApirequestaction(value);
|
|
7542
7542
|
break;
|
|
7543
7543
|
case 18:
|
|
7544
|
-
var value = new
|
|
7545
|
-
reader.readMessage(value,
|
|
7544
|
+
var value = new common_pb.AssistantConverstationEndpointAction();
|
|
7545
|
+
reader.readMessage(value, common_pb.AssistantConverstationEndpointAction.deserializeBinaryFromReader);
|
|
7546
7546
|
msg.setEndpointaction(value);
|
|
7547
7547
|
break;
|
|
7548
7548
|
case 19:
|
|
7549
|
-
var value = new
|
|
7550
|
-
reader.readMessage(value,
|
|
7549
|
+
var value = new common_pb.AssistantConversationDeviationAction();
|
|
7550
|
+
reader.readMessage(value, common_pb.AssistantConversationDeviationAction.deserializeBinaryFromReader);
|
|
7551
7551
|
msg.setDeviationaction(value);
|
|
7552
7552
|
break;
|
|
7553
7553
|
case 20:
|
|
7554
|
-
var value = new
|
|
7555
|
-
reader.readMessage(value,
|
|
7554
|
+
var value = new common_pb.AssistantConversationAssistantTransferAction();
|
|
7555
|
+
reader.readMessage(value, common_pb.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader);
|
|
7556
7556
|
msg.setAssistanttransferaction(value);
|
|
7557
7557
|
break;
|
|
7558
7558
|
case 21:
|
|
7559
|
-
var value = new
|
|
7560
|
-
reader.readMessage(value,
|
|
7559
|
+
var value = new common_pb.AssistantConversationPhoneCallTransferAction();
|
|
7560
|
+
reader.readMessage(value, common_pb.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader);
|
|
7561
7561
|
msg.setPhonecalltransferaction(value);
|
|
7562
7562
|
break;
|
|
7563
7563
|
default:
|
|
@@ -7601,7 +7601,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7601
7601
|
writer.writeMessage(
|
|
7602
7602
|
9,
|
|
7603
7603
|
f,
|
|
7604
|
-
|
|
7604
|
+
common_pb.AssistantConversationConfiguration.serializeBinaryToWriter
|
|
7605
7605
|
);
|
|
7606
7606
|
}
|
|
7607
7607
|
f = message.getInterruption();
|
|
@@ -7609,7 +7609,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7609
7609
|
writer.writeMessage(
|
|
7610
7610
|
10,
|
|
7611
7611
|
f,
|
|
7612
|
-
|
|
7612
|
+
common_pb.AssistantConversationInterruption.serializeBinaryToWriter
|
|
7613
7613
|
);
|
|
7614
7614
|
}
|
|
7615
7615
|
f = message.getUser();
|
|
@@ -7617,7 +7617,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7617
7617
|
writer.writeMessage(
|
|
7618
7618
|
11,
|
|
7619
7619
|
f,
|
|
7620
|
-
|
|
7620
|
+
common_pb.AssistantConversationUserMessage.serializeBinaryToWriter
|
|
7621
7621
|
);
|
|
7622
7622
|
}
|
|
7623
7623
|
f = message.getAssistant();
|
|
@@ -7625,7 +7625,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7625
7625
|
writer.writeMessage(
|
|
7626
7626
|
12,
|
|
7627
7627
|
f,
|
|
7628
|
-
|
|
7628
|
+
common_pb.AssistantConversationAssistantMessage.serializeBinaryToWriter
|
|
7629
7629
|
);
|
|
7630
7630
|
}
|
|
7631
7631
|
f = message.getMessage();
|
|
@@ -7641,7 +7641,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7641
7641
|
writer.writeMessage(
|
|
7642
7642
|
14,
|
|
7643
7643
|
f,
|
|
7644
|
-
|
|
7644
|
+
common_pb.AssistantConversationDisconnectAction.serializeBinaryToWriter
|
|
7645
7645
|
);
|
|
7646
7646
|
}
|
|
7647
7647
|
f = message.getHoldaction();
|
|
@@ -7649,7 +7649,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7649
7649
|
writer.writeMessage(
|
|
7650
7650
|
15,
|
|
7651
7651
|
f,
|
|
7652
|
-
|
|
7652
|
+
common_pb.AssistantConverstationHoldAction.serializeBinaryToWriter
|
|
7653
7653
|
);
|
|
7654
7654
|
}
|
|
7655
7655
|
f = message.getKnowledgeretrievalaction();
|
|
@@ -7657,7 +7657,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7657
7657
|
writer.writeMessage(
|
|
7658
7658
|
16,
|
|
7659
7659
|
f,
|
|
7660
|
-
|
|
7660
|
+
common_pb.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter
|
|
7661
7661
|
);
|
|
7662
7662
|
}
|
|
7663
7663
|
f = message.getApirequestaction();
|
|
@@ -7665,7 +7665,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7665
7665
|
writer.writeMessage(
|
|
7666
7666
|
17,
|
|
7667
7667
|
f,
|
|
7668
|
-
|
|
7668
|
+
common_pb.AssistantConverstationApiRequestAction.serializeBinaryToWriter
|
|
7669
7669
|
);
|
|
7670
7670
|
}
|
|
7671
7671
|
f = message.getEndpointaction();
|
|
@@ -7673,7 +7673,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7673
7673
|
writer.writeMessage(
|
|
7674
7674
|
18,
|
|
7675
7675
|
f,
|
|
7676
|
-
|
|
7676
|
+
common_pb.AssistantConverstationEndpointAction.serializeBinaryToWriter
|
|
7677
7677
|
);
|
|
7678
7678
|
}
|
|
7679
7679
|
f = message.getDeviationaction();
|
|
@@ -7681,7 +7681,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7681
7681
|
writer.writeMessage(
|
|
7682
7682
|
19,
|
|
7683
7683
|
f,
|
|
7684
|
-
|
|
7684
|
+
common_pb.AssistantConversationDeviationAction.serializeBinaryToWriter
|
|
7685
7685
|
);
|
|
7686
7686
|
}
|
|
7687
7687
|
f = message.getAssistanttransferaction();
|
|
@@ -7689,7 +7689,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7689
7689
|
writer.writeMessage(
|
|
7690
7690
|
20,
|
|
7691
7691
|
f,
|
|
7692
|
-
|
|
7692
|
+
common_pb.AssistantConversationAssistantTransferAction.serializeBinaryToWriter
|
|
7693
7693
|
);
|
|
7694
7694
|
}
|
|
7695
7695
|
f = message.getPhonecalltransferaction();
|
|
@@ -7697,7 +7697,7 @@ var require_talk_api_pb = __commonJS({
|
|
|
7697
7697
|
writer.writeMessage(
|
|
7698
7698
|
21,
|
|
7699
7699
|
f,
|
|
7700
|
-
|
|
7700
|
+
common_pb.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter
|
|
7701
7701
|
);
|
|
7702
7702
|
}
|
|
7703
7703
|
};
|
|
@@ -7736,8 +7736,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7736
7736
|
};
|
|
7737
7737
|
proto.talk_api.AssistantMessagingResponse.prototype.getConfiguration = function() {
|
|
7738
7738
|
return (
|
|
7739
|
-
/** @type{?proto.
|
|
7740
|
-
jspb.Message.getWrapperField(this,
|
|
7739
|
+
/** @type{?proto.AssistantConversationConfiguration} */
|
|
7740
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationConfiguration, 9)
|
|
7741
7741
|
);
|
|
7742
7742
|
};
|
|
7743
7743
|
proto.talk_api.AssistantMessagingResponse.prototype.setConfiguration = function(value) {
|
|
@@ -7751,8 +7751,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7751
7751
|
};
|
|
7752
7752
|
proto.talk_api.AssistantMessagingResponse.prototype.getInterruption = function() {
|
|
7753
7753
|
return (
|
|
7754
|
-
/** @type{?proto.
|
|
7755
|
-
jspb.Message.getWrapperField(this,
|
|
7754
|
+
/** @type{?proto.AssistantConversationInterruption} */
|
|
7755
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationInterruption, 10)
|
|
7756
7756
|
);
|
|
7757
7757
|
};
|
|
7758
7758
|
proto.talk_api.AssistantMessagingResponse.prototype.setInterruption = function(value) {
|
|
@@ -7766,8 +7766,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7766
7766
|
};
|
|
7767
7767
|
proto.talk_api.AssistantMessagingResponse.prototype.getUser = function() {
|
|
7768
7768
|
return (
|
|
7769
|
-
/** @type{?proto.
|
|
7770
|
-
jspb.Message.getWrapperField(this,
|
|
7769
|
+
/** @type{?proto.AssistantConversationUserMessage} */
|
|
7770
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationUserMessage, 11)
|
|
7771
7771
|
);
|
|
7772
7772
|
};
|
|
7773
7773
|
proto.talk_api.AssistantMessagingResponse.prototype.setUser = function(value) {
|
|
@@ -7781,8 +7781,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7781
7781
|
};
|
|
7782
7782
|
proto.talk_api.AssistantMessagingResponse.prototype.getAssistant = function() {
|
|
7783
7783
|
return (
|
|
7784
|
-
/** @type{?proto.
|
|
7785
|
-
jspb.Message.getWrapperField(this,
|
|
7784
|
+
/** @type{?proto.AssistantConversationAssistantMessage} */
|
|
7785
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationAssistantMessage, 12)
|
|
7786
7786
|
);
|
|
7787
7787
|
};
|
|
7788
7788
|
proto.talk_api.AssistantMessagingResponse.prototype.setAssistant = function(value) {
|
|
@@ -7811,8 +7811,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7811
7811
|
};
|
|
7812
7812
|
proto.talk_api.AssistantMessagingResponse.prototype.getDisconnectaction = function() {
|
|
7813
7813
|
return (
|
|
7814
|
-
/** @type{?proto.
|
|
7815
|
-
jspb.Message.getWrapperField(this,
|
|
7814
|
+
/** @type{?proto.AssistantConversationDisconnectAction} */
|
|
7815
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationDisconnectAction, 14)
|
|
7816
7816
|
);
|
|
7817
7817
|
};
|
|
7818
7818
|
proto.talk_api.AssistantMessagingResponse.prototype.setDisconnectaction = function(value) {
|
|
@@ -7826,8 +7826,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7826
7826
|
};
|
|
7827
7827
|
proto.talk_api.AssistantMessagingResponse.prototype.getHoldaction = function() {
|
|
7828
7828
|
return (
|
|
7829
|
-
/** @type{?proto.
|
|
7830
|
-
jspb.Message.getWrapperField(this,
|
|
7829
|
+
/** @type{?proto.AssistantConverstationHoldAction} */
|
|
7830
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConverstationHoldAction, 15)
|
|
7831
7831
|
);
|
|
7832
7832
|
};
|
|
7833
7833
|
proto.talk_api.AssistantMessagingResponse.prototype.setHoldaction = function(value) {
|
|
@@ -7841,8 +7841,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7841
7841
|
};
|
|
7842
7842
|
proto.talk_api.AssistantMessagingResponse.prototype.getKnowledgeretrievalaction = function() {
|
|
7843
7843
|
return (
|
|
7844
|
-
/** @type{?proto.
|
|
7845
|
-
jspb.Message.getWrapperField(this,
|
|
7844
|
+
/** @type{?proto.AssistantConverstationKnowledgeRetrievalAction} */
|
|
7845
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConverstationKnowledgeRetrievalAction, 16)
|
|
7846
7846
|
);
|
|
7847
7847
|
};
|
|
7848
7848
|
proto.talk_api.AssistantMessagingResponse.prototype.setKnowledgeretrievalaction = function(value) {
|
|
@@ -7856,8 +7856,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7856
7856
|
};
|
|
7857
7857
|
proto.talk_api.AssistantMessagingResponse.prototype.getApirequestaction = function() {
|
|
7858
7858
|
return (
|
|
7859
|
-
/** @type{?proto.
|
|
7860
|
-
jspb.Message.getWrapperField(this,
|
|
7859
|
+
/** @type{?proto.AssistantConverstationApiRequestAction} */
|
|
7860
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConverstationApiRequestAction, 17)
|
|
7861
7861
|
);
|
|
7862
7862
|
};
|
|
7863
7863
|
proto.talk_api.AssistantMessagingResponse.prototype.setApirequestaction = function(value) {
|
|
@@ -7871,8 +7871,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7871
7871
|
};
|
|
7872
7872
|
proto.talk_api.AssistantMessagingResponse.prototype.getEndpointaction = function() {
|
|
7873
7873
|
return (
|
|
7874
|
-
/** @type{?proto.
|
|
7875
|
-
jspb.Message.getWrapperField(this,
|
|
7874
|
+
/** @type{?proto.AssistantConverstationEndpointAction} */
|
|
7875
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConverstationEndpointAction, 18)
|
|
7876
7876
|
);
|
|
7877
7877
|
};
|
|
7878
7878
|
proto.talk_api.AssistantMessagingResponse.prototype.setEndpointaction = function(value) {
|
|
@@ -7886,8 +7886,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7886
7886
|
};
|
|
7887
7887
|
proto.talk_api.AssistantMessagingResponse.prototype.getDeviationaction = function() {
|
|
7888
7888
|
return (
|
|
7889
|
-
/** @type{?proto.
|
|
7890
|
-
jspb.Message.getWrapperField(this,
|
|
7889
|
+
/** @type{?proto.AssistantConversationDeviationAction} */
|
|
7890
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationDeviationAction, 19)
|
|
7891
7891
|
);
|
|
7892
7892
|
};
|
|
7893
7893
|
proto.talk_api.AssistantMessagingResponse.prototype.setDeviationaction = function(value) {
|
|
@@ -7901,8 +7901,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7901
7901
|
};
|
|
7902
7902
|
proto.talk_api.AssistantMessagingResponse.prototype.getAssistanttransferaction = function() {
|
|
7903
7903
|
return (
|
|
7904
|
-
/** @type{?proto.
|
|
7905
|
-
jspb.Message.getWrapperField(this,
|
|
7904
|
+
/** @type{?proto.AssistantConversationAssistantTransferAction} */
|
|
7905
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationAssistantTransferAction, 20)
|
|
7906
7906
|
);
|
|
7907
7907
|
};
|
|
7908
7908
|
proto.talk_api.AssistantMessagingResponse.prototype.setAssistanttransferaction = function(value) {
|
|
@@ -7916,8 +7916,8 @@ var require_talk_api_pb = __commonJS({
|
|
|
7916
7916
|
};
|
|
7917
7917
|
proto.talk_api.AssistantMessagingResponse.prototype.getPhonecalltransferaction = function() {
|
|
7918
7918
|
return (
|
|
7919
|
-
/** @type{?proto.
|
|
7920
|
-
jspb.Message.getWrapperField(this,
|
|
7919
|
+
/** @type{?proto.AssistantConversationPhoneCallTransferAction} */
|
|
7920
|
+
jspb.Message.getWrapperField(this, common_pb.AssistantConversationPhoneCallTransferAction, 21)
|
|
7921
7921
|
);
|
|
7922
7922
|
};
|
|
7923
7923
|
proto.talk_api.AssistantMessagingResponse.prototype.setPhonecalltransferaction = function(value) {
|
|
@@ -27593,7 +27593,8 @@ var DeviceManager = class _DeviceManager {
|
|
|
27593
27593
|
};
|
|
27594
27594
|
|
|
27595
27595
|
// src/agents/voice-agent.ts
|
|
27596
|
-
var
|
|
27596
|
+
var import_talk_api_pb2 = __toESM(require_talk_api_pb());
|
|
27597
|
+
var import_common_pb9 = __toESM(require_common_pb());
|
|
27597
27598
|
|
|
27598
27599
|
// src/agents/index.ts
|
|
27599
27600
|
var import_talk_api_pb = __toESM(require_talk_api_pb());
|
|
@@ -27756,7 +27757,7 @@ function GetAssistant(connectionConfig, req, authHeader) {
|
|
|
27756
27757
|
}
|
|
27757
27758
|
|
|
27758
27759
|
// src/agents/index.ts
|
|
27759
|
-
var
|
|
27760
|
+
var import_common_pb6 = __toESM(require_common_pb());
|
|
27760
27761
|
var Agent = class extends import_events.EventEmitter {
|
|
27761
27762
|
// Connection and State Management
|
|
27762
27763
|
connectionState = "disconnected" /* Disconnected */;
|
|
@@ -27987,8 +27988,8 @@ var Agent = class extends import_events.EventEmitter {
|
|
|
27987
27988
|
*/
|
|
27988
27989
|
createAssistantTextMessage(content) {
|
|
27989
27990
|
const request = new import_talk_api_pb.AssistantMessagingRequest();
|
|
27990
|
-
const userMessage = new
|
|
27991
|
-
const message = new
|
|
27991
|
+
const userMessage = new import_common_pb6.AssistantConversationUserMessage();
|
|
27992
|
+
const message = new import_common_pb6.AssistantConversationMessageTextContent();
|
|
27992
27993
|
message.setContent(content);
|
|
27993
27994
|
userMessage.setText(message);
|
|
27994
27995
|
request.setMessage(userMessage);
|
|
@@ -28001,8 +28002,8 @@ var Agent = class extends import_events.EventEmitter {
|
|
|
28001
28002
|
*/
|
|
28002
28003
|
createAssistantAudioMessage(content) {
|
|
28003
28004
|
const request = new import_talk_api_pb.AssistantMessagingRequest();
|
|
28004
|
-
const userMessage = new
|
|
28005
|
-
const message = new
|
|
28005
|
+
const userMessage = new import_common_pb6.AssistantConversationUserMessage();
|
|
28006
|
+
const message = new import_common_pb6.AssistantConversationMessageAudioContent();
|
|
28006
28007
|
message.setContent(content);
|
|
28007
28008
|
userMessage.setAudio(message);
|
|
28008
28009
|
request.setMessage(userMessage);
|
|
@@ -28039,7 +28040,7 @@ var Agent = class extends import_events.EventEmitter {
|
|
|
28039
28040
|
*/
|
|
28040
28041
|
_createAssistantConfigureRequest(definition, args, metadatas, options) {
|
|
28041
28042
|
const request = new import_talk_api_pb.AssistantMessagingRequest();
|
|
28042
|
-
const assistantConfiguration = new
|
|
28043
|
+
const assistantConfiguration = new import_common_pb6.AssistantConversationConfiguration();
|
|
28043
28044
|
if (this._conversationId) {
|
|
28044
28045
|
assistantConfiguration.setAssistantconversationid(this._conversationId);
|
|
28045
28046
|
}
|
|
@@ -28536,10 +28537,10 @@ function arrayBufferToUint8(arrayBuffer) {
|
|
|
28536
28537
|
}
|
|
28537
28538
|
|
|
28538
28539
|
// src/types/agent-callback.ts
|
|
28539
|
-
var
|
|
28540
|
+
var import_common_pb8 = __toESM(require_common_pb());
|
|
28540
28541
|
|
|
28541
28542
|
// src/utils/rapida_content.ts
|
|
28542
|
-
var
|
|
28543
|
+
var import_common_pb7 = __toESM(require_common_pb());
|
|
28543
28544
|
var toContentText = (cnt) => {
|
|
28544
28545
|
if (!cnt) return "";
|
|
28545
28546
|
return cnt.filter((x) => x.getContenttype() === "text").map((x) => {
|
|
@@ -28557,9 +28558,9 @@ var ConversationUserMessage = class {
|
|
|
28557
28558
|
if (config) {
|
|
28558
28559
|
Object.assign(this, config.toObject());
|
|
28559
28560
|
switch (config.getMessageCase()) {
|
|
28560
|
-
case
|
|
28561
|
-
case
|
|
28562
|
-
case
|
|
28561
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
|
|
28562
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
|
|
28563
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
|
|
28563
28564
|
this.messageText = config.getText()?.getContent();
|
|
28564
28565
|
}
|
|
28565
28566
|
}
|
|
@@ -28570,9 +28571,9 @@ var ConversationAssistantMessage = class {
|
|
|
28570
28571
|
if (config) {
|
|
28571
28572
|
Object.assign(this, config.toObject());
|
|
28572
28573
|
switch (config.getMessageCase()) {
|
|
28573
|
-
case
|
|
28574
|
-
case
|
|
28575
|
-
case
|
|
28574
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
|
|
28575
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
|
|
28576
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
|
|
28576
28577
|
this.messageText = config.getText()?.getContent();
|
|
28577
28578
|
}
|
|
28578
28579
|
}
|
|
@@ -28839,13 +28840,13 @@ var VoiceAgent = class extends Agent {
|
|
|
28839
28840
|
onHandleInterruption = (interruptionData) => {
|
|
28840
28841
|
if (interruptionData) {
|
|
28841
28842
|
switch (interruptionData.getType()) {
|
|
28842
|
-
case
|
|
28843
|
+
case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_UNSPECIFIED:
|
|
28843
28844
|
console.log("Unspecified interruption type");
|
|
28844
28845
|
break;
|
|
28845
|
-
case
|
|
28846
|
+
case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_VAD:
|
|
28846
28847
|
this.fadeOutAudio();
|
|
28847
28848
|
break;
|
|
28848
|
-
case
|
|
28849
|
+
case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_WORD:
|
|
28849
28850
|
if (this.agentMessages.length > 0) {
|
|
28850
28851
|
const lastIndex = this.agentMessages.length - 1;
|
|
28851
28852
|
this.agentMessages[lastIndex] = {
|
|
@@ -28860,7 +28861,7 @@ var VoiceAgent = class extends Agent {
|
|
|
28860
28861
|
}
|
|
28861
28862
|
this.emit(
|
|
28862
28863
|
"onConversationEvent" /* ConversationEvent */,
|
|
28863
|
-
|
|
28864
|
+
import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION,
|
|
28864
28865
|
interruptionData
|
|
28865
28866
|
);
|
|
28866
28867
|
}
|
|
@@ -28868,9 +28869,9 @@ var VoiceAgent = class extends Agent {
|
|
|
28868
28869
|
onHandleUser = (userContent) => {
|
|
28869
28870
|
if (userContent) {
|
|
28870
28871
|
switch (userContent.getMessageCase()) {
|
|
28871
|
-
case
|
|
28872
|
-
case
|
|
28873
|
-
case
|
|
28872
|
+
case import_common_pb9.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
|
|
28873
|
+
case import_common_pb9.AssistantConversationUserMessage.MessageCase.AUDIO:
|
|
28874
|
+
case import_common_pb9.AssistantConversationUserMessage.MessageCase.TEXT:
|
|
28874
28875
|
const agentTranscript = userContent.getText()?.getContent();
|
|
28875
28876
|
if (agentTranscript) {
|
|
28876
28877
|
if (this.agentMessages.length > 0) {
|
|
@@ -28890,7 +28891,7 @@ var VoiceAgent = class extends Agent {
|
|
|
28890
28891
|
}
|
|
28891
28892
|
this.emit(
|
|
28892
28893
|
"onConversationEvent" /* ConversationEvent */,
|
|
28893
|
-
|
|
28894
|
+
import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER,
|
|
28894
28895
|
userContent
|
|
28895
28896
|
);
|
|
28896
28897
|
}
|
|
@@ -28898,14 +28899,14 @@ var VoiceAgent = class extends Agent {
|
|
|
28898
28899
|
onHandleAssistant = (systemContent) => {
|
|
28899
28900
|
if (systemContent) {
|
|
28900
28901
|
switch (systemContent.getMessageCase()) {
|
|
28901
|
-
case
|
|
28902
|
-
case
|
|
28902
|
+
case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.MESSAGE_NOT_SET:
|
|
28903
|
+
case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.AUDIO:
|
|
28903
28904
|
const content = systemContent.getAudio();
|
|
28904
28905
|
if (content) {
|
|
28905
28906
|
const audioData = content.getContent_asU8();
|
|
28906
28907
|
this.addAudioChunk(new Uint8Array(audioData).buffer);
|
|
28907
28908
|
}
|
|
28908
|
-
case
|
|
28909
|
+
case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.TEXT:
|
|
28909
28910
|
const systemTranscript = systemContent.getText()?.getContent();
|
|
28910
28911
|
if (systemTranscript) {
|
|
28911
28912
|
if (systemContent.getCompleted()) {
|
|
@@ -28962,7 +28963,7 @@ var VoiceAgent = class extends Agent {
|
|
|
28962
28963
|
}
|
|
28963
28964
|
this.emit(
|
|
28964
28965
|
"onConversationEvent" /* ConversationEvent */,
|
|
28965
|
-
|
|
28966
|
+
import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT,
|
|
28966
28967
|
systemContent
|
|
28967
28968
|
);
|
|
28968
28969
|
}
|
|
@@ -28974,22 +28975,22 @@ var VoiceAgent = class extends Agent {
|
|
|
28974
28975
|
*/
|
|
28975
28976
|
onRecieve = async (response) => {
|
|
28976
28977
|
switch (response.getDataCase()) {
|
|
28977
|
-
case
|
|
28978
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
|
|
28978
28979
|
break;
|
|
28979
|
-
case
|
|
28980
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
|
|
28980
28981
|
this.onHandleInterruption(response.getInterruption());
|
|
28981
28982
|
break;
|
|
28982
|
-
case
|
|
28983
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
|
|
28983
28984
|
this.onHandleUser(response.getUser());
|
|
28984
28985
|
break;
|
|
28985
|
-
case
|
|
28986
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
|
|
28986
28987
|
this.onHandleAssistant(response.getAssistant());
|
|
28987
28988
|
break;
|
|
28988
|
-
case
|
|
28989
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
|
|
28989
28990
|
const conversation = response.getConfiguration();
|
|
28990
28991
|
if (!conversation?.getAssistantconversationid()) return;
|
|
28991
28992
|
break;
|
|
28992
|
-
case
|
|
28993
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
|
|
28993
28994
|
break;
|
|
28994
28995
|
default:
|
|
28995
28996
|
break;
|
|
@@ -29002,39 +29003,39 @@ var VoiceAgent = class extends Agent {
|
|
|
29002
29003
|
onCallback = async (response) => {
|
|
29003
29004
|
for (const agentCallback of this.agentCallbacks) {
|
|
29004
29005
|
switch (response.getDataCase()) {
|
|
29005
|
-
case
|
|
29006
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
|
|
29006
29007
|
break;
|
|
29007
|
-
case
|
|
29008
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.APIREQUESTACTION:
|
|
29008
29009
|
if (agentCallback && agentCallback?.onAction) {
|
|
29009
29010
|
agentCallback.onAction(response.getApirequestaction()?.toObject());
|
|
29010
29011
|
}
|
|
29011
29012
|
break;
|
|
29012
|
-
case
|
|
29013
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DISCONNECTACTION:
|
|
29013
29014
|
if (agentCallback && agentCallback?.onAction) {
|
|
29014
29015
|
agentCallback.onAction(response.getDisconnectaction()?.toObject());
|
|
29015
29016
|
}
|
|
29016
29017
|
await this.disconnect();
|
|
29017
29018
|
break;
|
|
29018
|
-
case
|
|
29019
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
|
|
29019
29020
|
if (agentCallback && agentCallback?.onInterrupt) {
|
|
29020
29021
|
agentCallback.onInterrupt(response.getInterruption()?.toObject());
|
|
29021
29022
|
}
|
|
29022
29023
|
break;
|
|
29023
|
-
case
|
|
29024
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
|
|
29024
29025
|
if (agentCallback && agentCallback?.onUserMessage) {
|
|
29025
29026
|
agentCallback.onUserMessage(
|
|
29026
29027
|
new ConversationUserMessage(response.getUser())
|
|
29027
29028
|
);
|
|
29028
29029
|
}
|
|
29029
29030
|
break;
|
|
29030
|
-
case
|
|
29031
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
|
|
29031
29032
|
if (agentCallback && agentCallback?.onAssistantMessage) {
|
|
29032
29033
|
agentCallback.onAssistantMessage(
|
|
29033
29034
|
new ConversationAssistantMessage(response.getAssistant())
|
|
29034
29035
|
);
|
|
29035
29036
|
}
|
|
29036
29037
|
break;
|
|
29037
|
-
case
|
|
29038
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
|
|
29038
29039
|
if (agentCallback && agentCallback?.onConfiguration) {
|
|
29039
29040
|
agentCallback.onConfiguration(
|
|
29040
29041
|
response.getConfiguration()?.toObject()
|
|
@@ -29043,7 +29044,7 @@ var VoiceAgent = class extends Agent {
|
|
|
29043
29044
|
const cnvId = response.getConfiguration()?.getAssistantconversationid();
|
|
29044
29045
|
if (cnvId) this.changeConversation(cnvId);
|
|
29045
29046
|
break;
|
|
29046
|
-
case
|
|
29047
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
|
|
29047
29048
|
if (agentCallback && agentCallback?.onMessage) {
|
|
29048
29049
|
agentCallback.onMessage(
|
|
29049
29050
|
new ConversationMessage(response.getMessage())
|